From 957b116e586522bc1fa7acf539e7ca5a3046902a Mon Sep 17 00:00:00 2001 From: Maciej Swiderski Date: Wed, 16 Oct 2024 14:38:51 +0200 Subject: [PATCH] bumped protobuf version to resolve cve --- pom.xml | 2 +- .../marshalling/impl/AutomatikoMessages.java | 114615 ++++++++------- .../marshalling/impl/JBPMMessages.java | 50369 ------- .../marshalling/automatikomessages.proto | 1 + 4 files changed, 60353 insertions(+), 104634 deletions(-) delete mode 100644 workflow/automatiko-workflow-core/src/main/java/io/automatiko/engine/workflow/marshalling/impl/JBPMMessages.java diff --git a/pom.xml b/pom.xml index 36fd7a753..607bae0ee 100644 --- a/pom.xml +++ b/pom.xml @@ -85,7 +85,7 @@ 1.5.2 3.26.2 4.36.0 - 3.19.6 + 3.25.5 24.1.0 1.4.20 3.29.0-GA diff --git a/workflow/automatiko-workflow-core/src/main/java/io/automatiko/engine/workflow/marshalling/impl/AutomatikoMessages.java b/workflow/automatiko-workflow-core/src/main/java/io/automatiko/engine/workflow/marshalling/impl/AutomatikoMessages.java index 79c472da2..92fc45dfe 100644 --- a/workflow/automatiko-workflow-core/src/main/java/io/automatiko/engine/workflow/marshalling/impl/AutomatikoMessages.java +++ b/workflow/automatiko-workflow-core/src/main/java/io/automatiko/engine/workflow/marshalling/impl/AutomatikoMessages.java @@ -4,55841 +4,61928 @@ package io.automatiko.engine.workflow.marshalling.impl; public final class AutomatikoMessages { - private AutomatikoMessages() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - registry.add(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.processInstance); - registry.add(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.workItem); - registry.add(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.timerId); - registry.add(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.processTimer); - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - public interface HeaderOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Header) - com.google.protobuf.GeneratedMessageV3. - ExtendableMessageOrBuilder
{ - - /** - *
-     * version for which this message was created
-     * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - * @return Whether the version field is set. - */ - boolean hasVersion(); - /** - *
-     * version for which this message was created
-     * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - * @return The version. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version getVersion(); - /** - *
-     * version for which this message was created
-     * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VersionOrBuilder getVersionOrBuilder(); - - /** - *
-     * Signature to prevent security concerns
-     * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - * @return Whether the signature field is set. - */ - boolean hasSignature(); - /** - *
-     * Signature to prevent security concerns
-     * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - * @return The signature. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature getSignature(); - /** - *
-     * Signature to prevent security concerns
-     * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.SignatureOrBuilder getSignatureOrBuilder(); - - /** - *
-     * The list of strategy classes used for this serialization
-     * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - java.util.List - getStrategyList(); - /** - *
-     * The list of strategy classes used for this serialization
-     * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex getStrategy(int index); - /** - *
-     * The list of strategy classes used for this serialization
-     * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - int getStrategyCount(); - /** - *
-     * The list of strategy classes used for this serialization
-     * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - java.util.List - getStrategyOrBuilderList(); - /** - *
-     * The list of strategy classes used for this serialization
-     * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder getStrategyOrBuilder( - int index); - - /** - *
-     * byte blobs
-     * 
- * - * optional bytes payload = 10; - * @return Whether the payload field is set. - */ - boolean hasPayload(); - /** - *
-     * byte blobs
-     * 
- * - * optional bytes payload = 10; - * @return The payload. - */ - com.google.protobuf.ByteString getPayload(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Header} - */ - public static final class Header extends - com.google.protobuf.GeneratedMessageV3.ExtendableMessage< - Header> implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Header) - HeaderOrBuilder { - private static final long serialVersionUID = 0L; - // Use Header.newBuilder() to construct. - private Header(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder builder) { - super(builder); - } - private Header() { - strategy_ = java.util.Collections.emptyList(); - payload_ = com.google.protobuf.ByteString.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Header(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Header( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.Builder subBuilder = null; - if (((bitField0_ & 0x00000001) != 0)) { - subBuilder = version_.toBuilder(); - } - version_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(version_); - version_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000001; - break; - } - case 34: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) != 0)) { - subBuilder = signature_.toBuilder(); - } - signature_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(signature_); - signature_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - case 74: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - strategy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - strategy_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.PARSER, extensionRegistry)); - break; - } - case 82: { - bitField0_ |= 0x00000004; - payload_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { - strategy_ = java.util.Collections.unmodifiableList(strategy_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor; + private AutomatikoMessages() { } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.Builder.class); + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + registry.add(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.processInstance); + registry.add(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.workItem); + registry.add(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.timerId); + registry.add(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.processTimer); } - public interface StrategyIndexOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Header.StrategyIndex) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int32 id = 1; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * optional int32 id = 1; - * @return The id. - */ - int getId(); - - /** - * optional string name = 2; - * @return Whether the name field is set. - */ - boolean hasName(); - /** - * optional string name = 2; - * @return The name. - */ - java.lang.String getName(); - /** - * optional string name = 2; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * optional bytes data = 3; - * @return Whether the data field is set. - */ - boolean hasData(); - /** - * optional bytes data = 3; - * @return The data. - */ - com.google.protobuf.ByteString getData(); + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Header.StrategyIndex} - */ - public static final class StrategyIndex extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Header.StrategyIndex) - StrategyIndexOrBuilder { - private static final long serialVersionUID = 0L; - // Use StrategyIndex.newBuilder() to construct. - private StrategyIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private StrategyIndex() { - name_ = ""; - data_ = com.google.protobuf.ByteString.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new StrategyIndex(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private StrategyIndex( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - id_ = input.readInt32(); - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - name_ = bs; - break; - } - case 26: { - bitField0_ |= 0x00000004; - data_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private int id_; - /** - * optional int32 id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional int32 id = 1; - * @return The id. - */ - @java.lang.Override - public int getId() { - return id_; - } - - public static final int NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object name_; - /** - * optional string name = 2; - * @return Whether the name field is set. - */ - @java.lang.Override - public boolean hasName() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string name = 2; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } - } - /** - * optional string name = 2; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DATA_FIELD_NUMBER = 3; - private com.google.protobuf.ByteString data_; - /** - * optional bytes data = 3; - * @return Whether the data field is set. - */ - @java.lang.Override - public boolean hasData() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional bytes data = 3; - * @return The data. - */ - @java.lang.Override - public com.google.protobuf.ByteString getData() { - return data_; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt32(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeBytes(3, data_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, data_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (getId() - != other.getId()) return false; - } - if (hasName() != other.hasName()) return false; - if (hasName()) { - if (!getName() - .equals(other.getName())) return false; - } - if (hasData() != other.hasData()) return false; - if (hasData()) { - if (!getData() - .equals(other.getData())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId(); - } - if (hasName()) { - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - } - if (hasData()) { - hash = (37 * hash) + DATA_FIELD_NUMBER; - hash = (53 * hash) + getData().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Header.StrategyIndex} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Header.StrategyIndex) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - name_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - data_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.id_ = id_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.name_ = name_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.data_ = data_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.getDefaultInstance()) return this; - if (other.hasId()) { - setId(other.getId()); - } - if (other.hasName()) { - bitField0_ |= 0x00000002; - name_ = other.name_; - onChanged(); - } - if (other.hasData()) { - setData(other.getData()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; + public interface HeaderOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Header) + com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
{ - private int id_ ; /** - * optional int32 id = 1; - * @return Whether the id field is set. + *
+         * version for which this message was created
+         * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; + * + * @return Whether the version field is set. */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } + boolean hasVersion(); + /** - * optional int32 id = 1; - * @return The id. + *
+         * version for which this message was created
+         * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; + * + * @return The version. */ - @java.lang.Override - public int getId() { - return id_; - } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version getVersion(); + /** - * optional int32 id = 1; - * @param value The id to set. - * @return This builder for chaining. + *
+         * version for which this message was created
+         * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; */ - public Builder setId(int value) { - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VersionOrBuilder getVersionOrBuilder(); + /** - * optional int32 id = 1; - * @return This builder for chaining. + *
+         * Signature to prevent security concerns
+         * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; + * + * @return Whether the signature field is set. */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = 0; - onChanged(); - return this; - } + boolean hasSignature(); - private java.lang.Object name_ = ""; /** - * optional string name = 2; - * @return Whether the name field is set. + *
+         * Signature to prevent security concerns
+         * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; + * + * @return The signature. */ - public boolean hasName() { - return ((bitField0_ & 0x00000002) != 0); - } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature getSignature(); + /** - * optional string name = 2; - * @return The name. + *
+         * Signature to prevent security concerns
+         * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.SignatureOrBuilder getSignatureOrBuilder(); + /** - * optional string name = 2; - * @return The bytes for name. + *
+         * The list of strategy classes used for this serialization
+         * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + java.util.List getStrategyList(); + /** - * optional string name = 2; - * @param value The name to set. - * @return This builder for chaining. + *
+         * The list of strategy classes used for this serialization
+         * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - name_ = value; - onChanged(); - return this; - } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex getStrategy(int index); + /** - * optional string name = 2; - * @return This builder for chaining. + *
+         * The list of strategy classes used for this serialization
+         * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; */ - public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000002); - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } + int getStrategyCount(); + /** - * optional string name = 2; - * @param value The bytes for name to set. - * @return This builder for chaining. + *
+         * The list of strategy classes used for this serialization
+         * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - name_ = value; - onChanged(); - return this; - } + java.util.List getStrategyOrBuilderList(); - private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** - * optional bytes data = 3; - * @return Whether the data field is set. + *
+         * The list of strategy classes used for this serialization
+         * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; */ - @java.lang.Override - public boolean hasData() { - return ((bitField0_ & 0x00000004) != 0); - } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder getStrategyOrBuilder( + int index); + /** - * optional bytes data = 3; - * @return The data. + *
+         * byte blobs
+         * 
+ * + * optional bytes payload = 10; + * + * @return Whether the payload field is set. */ - @java.lang.Override - public com.google.protobuf.ByteString getData() { - return data_; - } + boolean hasPayload(); + /** - * optional bytes data = 3; - * @param value The data to set. - * @return This builder for chaining. + *
+         * byte blobs
+         * 
+ * + * optional bytes payload = 10; + * + * @return The payload. */ - public Builder setData(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - data_ = value; - onChanged(); - return this; + com.google.protobuf.ByteString getPayload(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Header} + */ + public static final class Header extends + com.google.protobuf.GeneratedMessageV3.ExtendableMessage
implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Header) + HeaderOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Header.newBuilder() to construct. + private Header( + com.google.protobuf.GeneratedMessageV3.ExtendableBuilder builder) { + super(builder); } - /** - * optional bytes data = 3; - * @return This builder for chaining. - */ - public Builder clearData() { - bitField0_ = (bitField0_ & ~0x00000004); - data_ = getDefaultInstance().getData(); - onChanged(); - return this; + + private Header() { + strategy_ = java.util.Collections.emptyList(); + payload_ = com.google.protobuf.ByteString.EMPTY; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Header(); } @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; } + private Header( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = version_.toBuilder(); + } + version_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(version_); + version_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 34: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) != 0)) { + subBuilder = signature_.toBuilder(); + } + signature_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(signature_); + signature_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 74: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + strategy_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + strategy_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.PARSER, + extensionRegistry)); + break; + } + case 82: { + bitField0_ |= 0x00000004; + payload_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000004) != 0)) { + strategy_ = java.util.Collections.unmodifiableList(strategy_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Header.StrategyIndex) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Header.StrategyIndex) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public StrategyIndex parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StrategyIndex(input, extensionRegistry); + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.Builder.class); } - }; - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public interface StrategyIndexOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Header.StrategyIndex) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private int bitField0_; - public static final int VERSION_FIELD_NUMBER = 1; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version version_; - /** - *
-     * version for which this message was created
-     * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - * @return Whether the version field is set. - */ - @java.lang.Override - public boolean hasVersion() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - *
-     * version for which this message was created
-     * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - * @return The version. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version getVersion() { - return version_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.getDefaultInstance() : version_; - } - /** - *
-     * version for which this message was created
-     * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VersionOrBuilder getVersionOrBuilder() { - return version_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.getDefaultInstance() : version_; - } + /** + * optional int32 id = 1; + * + * @return Whether the id field is set. + */ + boolean hasId(); - public static final int SIGNATURE_FIELD_NUMBER = 4; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature signature_; - /** - *
-     * Signature to prevent security concerns
-     * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - * @return Whether the signature field is set. - */ - @java.lang.Override - public boolean hasSignature() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - *
-     * Signature to prevent security concerns
-     * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - * @return The signature. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature getSignature() { - return signature_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.getDefaultInstance() : signature_; - } - /** - *
-     * Signature to prevent security concerns
-     * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.SignatureOrBuilder getSignatureOrBuilder() { - return signature_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.getDefaultInstance() : signature_; - } + /** + * optional int32 id = 1; + * + * @return The id. + */ + int getId(); - public static final int STRATEGY_FIELD_NUMBER = 9; - private java.util.List strategy_; - /** - *
-     * The list of strategy classes used for this serialization
-     * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - @java.lang.Override - public java.util.List getStrategyList() { - return strategy_; - } - /** - *
-     * The list of strategy classes used for this serialization
-     * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - @java.lang.Override - public java.util.List - getStrategyOrBuilderList() { - return strategy_; - } - /** - *
-     * The list of strategy classes used for this serialization
-     * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - @java.lang.Override - public int getStrategyCount() { - return strategy_.size(); - } - /** - *
-     * The list of strategy classes used for this serialization
-     * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex getStrategy(int index) { - return strategy_.get(index); - } - /** - *
-     * The list of strategy classes used for this serialization
-     * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder getStrategyOrBuilder( - int index) { - return strategy_.get(index); - } + /** + * optional string name = 2; + * + * @return Whether the name field is set. + */ + boolean hasName(); - public static final int PAYLOAD_FIELD_NUMBER = 10; - private com.google.protobuf.ByteString payload_; - /** - *
-     * byte blobs
-     * 
- * - * optional bytes payload = 10; - * @return Whether the payload field is set. - */ - @java.lang.Override - public boolean hasPayload() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - *
-     * byte blobs
-     * 
- * - * optional bytes payload = 10; - * @return The payload. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPayload() { - return payload_; - } + /** + * optional string name = 2; + * + * @return The name. + */ + java.lang.String getName(); - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - if (!extensionsAreInitialized()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } + /** + * optional string name = 2; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .ExtendableMessage.ExtensionWriter - extensionWriter = newExtensionWriter(); - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getVersion()); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(4, getSignature()); - } - for (int i = 0; i < strategy_.size(); i++) { - output.writeMessage(9, strategy_.get(i)); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeBytes(10, payload_); - } - extensionWriter.writeUntil(200, output); - unknownFields.writeTo(output); - } + /** + * optional bytes data = 3; + * + * @return Whether the data field is set. + */ + boolean hasData(); - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getVersion()); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getSignature()); - } - for (int i = 0; i < strategy_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, strategy_.get(i)); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(10, payload_); - } - size += extensionsSerializedSize(); - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + /** + * optional bytes data = 3; + * + * @return The data. + */ + com.google.protobuf.ByteString getData(); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header) obj; - - if (hasVersion() != other.hasVersion()) return false; - if (hasVersion()) { - if (!getVersion() - .equals(other.getVersion())) return false; - } - if (hasSignature() != other.hasSignature()) return false; - if (hasSignature()) { - if (!getSignature() - .equals(other.getSignature())) return false; - } - if (!getStrategyList() - .equals(other.getStrategyList())) return false; - if (hasPayload() != other.hasPayload()) return false; - if (hasPayload()) { - if (!getPayload() - .equals(other.getPayload())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - if (!getExtensionFields().equals(other.getExtensionFields())) - return false; - return true; - } + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Header.StrategyIndex} + */ + public static final class StrategyIndex extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Header.StrategyIndex) + StrategyIndexOrBuilder { + private static final long serialVersionUID = 0L; - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasVersion()) { - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); - } - if (hasSignature()) { - hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; - hash = (53 * hash) + getSignature().hashCode(); - } - if (getStrategyCount() > 0) { - hash = (37 * hash) + STRATEGY_FIELD_NUMBER; - hash = (53 * hash) + getStrategyList().hashCode(); - } - if (hasPayload()) { - hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; - hash = (53 * hash) + getPayload().hashCode(); - } - hash = hashFields(hash, getExtensionFields()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + // Use StrategyIndex.newBuilder() to construct. + private StrategyIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + private StrategyIndex() { + name_ = ""; + data_ = com.google.protobuf.ByteString.EMPTY; + } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StrategyIndex(); + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Header} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.ExtendableBuilder< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header, Builder> implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Header) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HeaderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getVersionFieldBuilder(); - getSignatureFieldBuilder(); - getStrategyFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (versionBuilder_ == null) { - version_ = null; - } else { - versionBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - if (signatureBuilder_ == null) { - signature_ = null; - } else { - signatureBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - if (strategyBuilder_ == null) { - strategy_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - strategyBuilder_.clear(); - } - payload_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - if (versionBuilder_ == null) { - result.version_ = version_; - } else { - result.version_ = versionBuilder_.build(); - } - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - if (signatureBuilder_ == null) { - result.signature_ = signature_; - } else { - result.signature_ = signatureBuilder_.build(); - } - to_bitField0_ |= 0x00000002; - } - if (strategyBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - strategy_ = java.util.Collections.unmodifiableList(strategy_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.strategy_ = strategy_; - } else { - result.strategy_ = strategyBuilder_.build(); - } - if (((from_bitField0_ & 0x00000008) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.payload_ = payload_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder setExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header, Type> extension, - Type value) { - return super.setExtension(extension, value); - } - @java.lang.Override - public Builder setExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header, java.util.List> extension, - int index, Type value) { - return super.setExtension(extension, index, value); - } - @java.lang.Override - public Builder addExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header, java.util.List> extension, - Type value) { - return super.addExtension(extension, value); - } - @java.lang.Override - public Builder clearExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header, ?> extension) { - return super.clearExtension(extension); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.getDefaultInstance()) return this; - if (other.hasVersion()) { - mergeVersion(other.getVersion()); - } - if (other.hasSignature()) { - mergeSignature(other.getSignature()); - } - if (strategyBuilder_ == null) { - if (!other.strategy_.isEmpty()) { - if (strategy_.isEmpty()) { - strategy_ = other.strategy_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureStrategyIsMutable(); - strategy_.addAll(other.strategy_); - } - onChanged(); - } - } else { - if (!other.strategy_.isEmpty()) { - if (strategyBuilder_.isEmpty()) { - strategyBuilder_.dispose(); - strategyBuilder_ = null; - strategy_ = other.strategy_; - bitField0_ = (bitField0_ & ~0x00000004); - strategyBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getStrategyFieldBuilder() : null; - } else { - strategyBuilder_.addAllMessages(other.strategy_); - } - } - } - if (other.hasPayload()) { - setPayload(other.getPayload()); - } - this.mergeExtensionFields(other); - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - if (!extensionsAreInitialized()) { - return false; - } - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version version_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VersionOrBuilder> versionBuilder_; - /** - *
-       * version for which this message was created
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - * @return Whether the version field is set. - */ - public boolean hasVersion() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - *
-       * version for which this message was created
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - * @return The version. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version getVersion() { - if (versionBuilder_ == null) { - return version_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.getDefaultInstance() : version_; - } else { - return versionBuilder_.getMessage(); - } - } - /** - *
-       * version for which this message was created
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - */ - public Builder setVersion(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version value) { - if (versionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - version_ = value; - onChanged(); - } else { - versionBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - return this; - } - /** - *
-       * version for which this message was created
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - */ - public Builder setVersion( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.Builder builderForValue) { - if (versionBuilder_ == null) { - version_ = builderForValue.build(); - onChanged(); - } else { - versionBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - return this; - } - /** - *
-       * version for which this message was created
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - */ - public Builder mergeVersion(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version value) { - if (versionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - version_ != null && - version_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.getDefaultInstance()) { - version_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.newBuilder(version_).mergeFrom(value).buildPartial(); - } else { - version_ = value; - } - onChanged(); - } else { - versionBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000001; - return this; - } - /** - *
-       * version for which this message was created
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - */ - public Builder clearVersion() { - if (versionBuilder_ == null) { - version_ = null; - onChanged(); - } else { - versionBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - /** - *
-       * version for which this message was created
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.Builder getVersionBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getVersionFieldBuilder().getBuilder(); - } - /** - *
-       * version for which this message was created
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VersionOrBuilder getVersionOrBuilder() { - if (versionBuilder_ != null) { - return versionBuilder_.getMessageOrBuilder(); - } else { - return version_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.getDefaultInstance() : version_; - } - } - /** - *
-       * version for which this message was created
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VersionOrBuilder> - getVersionFieldBuilder() { - if (versionBuilder_ == null) { - versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VersionOrBuilder>( - getVersion(), - getParentForChildren(), - isClean()); - version_ = null; - } - return versionBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature signature_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.SignatureOrBuilder> signatureBuilder_; - /** - *
-       * Signature to prevent security concerns
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - * @return Whether the signature field is set. - */ - public boolean hasSignature() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - *
-       * Signature to prevent security concerns
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - * @return The signature. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature getSignature() { - if (signatureBuilder_ == null) { - return signature_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.getDefaultInstance() : signature_; - } else { - return signatureBuilder_.getMessage(); - } - } - /** - *
-       * Signature to prevent security concerns
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - */ - public Builder setSignature(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature value) { - if (signatureBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - signature_ = value; - onChanged(); - } else { - signatureBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - return this; - } - /** - *
-       * Signature to prevent security concerns
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - */ - public Builder setSignature( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.Builder builderForValue) { - if (signatureBuilder_ == null) { - signature_ = builderForValue.build(); - onChanged(); - } else { - signatureBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - return this; - } - /** - *
-       * Signature to prevent security concerns
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - */ - public Builder mergeSignature(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature value) { - if (signatureBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - signature_ != null && - signature_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.getDefaultInstance()) { - signature_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.newBuilder(signature_).mergeFrom(value).buildPartial(); - } else { - signature_ = value; - } - onChanged(); - } else { - signatureBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - return this; - } - /** - *
-       * Signature to prevent security concerns
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - */ - public Builder clearSignature() { - if (signatureBuilder_ == null) { - signature_ = null; - onChanged(); - } else { - signatureBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - /** - *
-       * Signature to prevent security concerns
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.Builder getSignatureBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getSignatureFieldBuilder().getBuilder(); - } - /** - *
-       * Signature to prevent security concerns
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.SignatureOrBuilder getSignatureOrBuilder() { - if (signatureBuilder_ != null) { - return signatureBuilder_.getMessageOrBuilder(); - } else { - return signature_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.getDefaultInstance() : signature_; - } - } - /** - *
-       * Signature to prevent security concerns
-       * 
- * - * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.SignatureOrBuilder> - getSignatureFieldBuilder() { - if (signatureBuilder_ == null) { - signatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.SignatureOrBuilder>( - getSignature(), - getParentForChildren(), - isClean()); - signature_ = null; - } - return signatureBuilder_; - } - - private java.util.List strategy_ = - java.util.Collections.emptyList(); - private void ensureStrategyIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - strategy_ = new java.util.ArrayList(strategy_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder> strategyBuilder_; - - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public java.util.List getStrategyList() { - if (strategyBuilder_ == null) { - return java.util.Collections.unmodifiableList(strategy_); - } else { - return strategyBuilder_.getMessageList(); - } - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public int getStrategyCount() { - if (strategyBuilder_ == null) { - return strategy_.size(); - } else { - return strategyBuilder_.getCount(); - } - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex getStrategy(int index) { - if (strategyBuilder_ == null) { - return strategy_.get(index); - } else { - return strategyBuilder_.getMessage(index); - } - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder setStrategy( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex value) { - if (strategyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureStrategyIsMutable(); - strategy_.set(index, value); - onChanged(); - } else { - strategyBuilder_.setMessage(index, value); - } - return this; - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder setStrategy( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder builderForValue) { - if (strategyBuilder_ == null) { - ensureStrategyIsMutable(); - strategy_.set(index, builderForValue.build()); - onChanged(); - } else { - strategyBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder addStrategy(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex value) { - if (strategyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureStrategyIsMutable(); - strategy_.add(value); - onChanged(); - } else { - strategyBuilder_.addMessage(value); - } - return this; - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder addStrategy( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex value) { - if (strategyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureStrategyIsMutable(); - strategy_.add(index, value); - onChanged(); - } else { - strategyBuilder_.addMessage(index, value); - } - return this; - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder addStrategy( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder builderForValue) { - if (strategyBuilder_ == null) { - ensureStrategyIsMutable(); - strategy_.add(builderForValue.build()); - onChanged(); - } else { - strategyBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder addStrategy( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder builderForValue) { - if (strategyBuilder_ == null) { - ensureStrategyIsMutable(); - strategy_.add(index, builderForValue.build()); - onChanged(); - } else { - strategyBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder addAllStrategy( - java.lang.Iterable values) { - if (strategyBuilder_ == null) { - ensureStrategyIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, strategy_); - onChanged(); - } else { - strategyBuilder_.addAllMessages(values); - } - return this; - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder clearStrategy() { - if (strategyBuilder_ == null) { - strategy_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - strategyBuilder_.clear(); - } - return this; - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder removeStrategy(int index) { - if (strategyBuilder_ == null) { - ensureStrategyIsMutable(); - strategy_.remove(index); - onChanged(); - } else { - strategyBuilder_.remove(index); - } - return this; - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder getStrategyBuilder( - int index) { - return getStrategyFieldBuilder().getBuilder(index); - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder getStrategyOrBuilder( - int index) { - if (strategyBuilder_ == null) { - return strategy_.get(index); } else { - return strategyBuilder_.getMessageOrBuilder(index); - } - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public java.util.List - getStrategyOrBuilderList() { - if (strategyBuilder_ != null) { - return strategyBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(strategy_); - } - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder addStrategyBuilder() { - return getStrategyFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.getDefaultInstance()); - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder addStrategyBuilder( - int index) { - return getStrategyFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.getDefaultInstance()); - } - /** - *
-       * The list of strategy classes used for this serialization
-       * 
- * - * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; - */ - public java.util.List - getStrategyBuilderList() { - return getStrategyFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder> - getStrategyFieldBuilder() { - if (strategyBuilder_ == null) { - strategyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder>( - strategy_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - strategy_ = null; - } - return strategyBuilder_; - } - - private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY; - /** - *
-       * byte blobs
-       * 
- * - * optional bytes payload = 10; - * @return Whether the payload field is set. - */ - @java.lang.Override - public boolean hasPayload() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - *
-       * byte blobs
-       * 
- * - * optional bytes payload = 10; - * @return The payload. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPayload() { - return payload_; - } - /** - *
-       * byte blobs
-       * 
- * - * optional bytes payload = 10; - * @param value The payload to set. - * @return This builder for chaining. - */ - public Builder setPayload(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - payload_ = value; - onChanged(); - return this; - } - /** - *
-       * byte blobs
-       * 
- * - * optional bytes payload = 10; - * @return This builder for chaining. - */ - public Builder clearPayload() { - bitField0_ = (bitField0_ & ~0x00000008); - payload_ = getDefaultInstance().getPayload(); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Header) - } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Header) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header(); - } + private StrategyIndex( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + bitField0_ |= 0x00000001; + id_ = input.readInt32(); + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + name_ = bs; + break; + } + case 26: { + bitField0_ |= 0x00000004; + data_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_descriptor; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser
() { - @java.lang.Override - public Header parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Header(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser
parser() { - return PARSER; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder.class); + } - @java.lang.Override - public com.google.protobuf.Parser
getParserForType() { - return PARSER; - } + private int bitField0_; + public static final int ID_FIELD_NUMBER = 1; + private int id_; - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * optional int32 id = 1; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } - } + /** + * optional int32 id = 1; + * + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } - public interface VersionOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Version) - com.google.protobuf.MessageOrBuilder { + public static final int NAME_FIELD_NUMBER = 2; + private volatile java.lang.Object name_; - /** - * optional int32 version_major = 1; - * @return Whether the versionMajor field is set. - */ - boolean hasVersionMajor(); - /** - * optional int32 version_major = 1; - * @return The versionMajor. - */ - int getVersionMajor(); + /** + * optional string name = 2; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000002) != 0); + } - /** - * optional int32 version_minor = 2; - * @return Whether the versionMinor field is set. - */ - boolean hasVersionMinor(); - /** - * optional int32 version_minor = 2; - * @return The versionMinor. - */ - int getVersionMinor(); + /** + * optional string name = 2; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } + return s; + } + } - /** - * optional int32 version_revision = 3; - * @return Whether the versionRevision field is set. - */ - boolean hasVersionRevision(); - /** - * optional int32 version_revision = 3; - * @return The versionRevision. - */ - int getVersionRevision(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Version} - */ - public static final class Version extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Version) - VersionOrBuilder { - private static final long serialVersionUID = 0L; - // Use Version.newBuilder() to construct. - private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Version() { - } + /** + * optional string name = 2; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Version(); - } + public static final int DATA_FIELD_NUMBER = 3; + private com.google.protobuf.ByteString data_; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Version( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - versionMajor_ = input.readInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - versionMinor_ = input.readInt32(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - versionRevision_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Version_descriptor; - } + /** + * optional bytes data = 3; + * + * @return Whether the data field is set. + */ + @java.lang.Override + public boolean hasData() { + return ((bitField0_ & 0x00000004) != 0); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Version_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.Builder.class); - } + /** + * optional bytes data = 3; + * + * @return The data. + */ + @java.lang.Override + public com.google.protobuf.ByteString getData() { + return data_; + } - private int bitField0_; - public static final int VERSION_MAJOR_FIELD_NUMBER = 1; - private int versionMajor_; - /** - * optional int32 version_major = 1; - * @return Whether the versionMajor field is set. - */ - @java.lang.Override - public boolean hasVersionMajor() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional int32 version_major = 1; - * @return The versionMajor. - */ - @java.lang.Override - public int getVersionMajor() { - return versionMajor_; - } + private byte memoizedIsInitialized = -1; - public static final int VERSION_MINOR_FIELD_NUMBER = 2; - private int versionMinor_; - /** - * optional int32 version_minor = 2; - * @return Whether the versionMinor field is set. - */ - @java.lang.Override - public boolean hasVersionMinor() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional int32 version_minor = 2; - * @return The versionMinor. - */ - @java.lang.Override - public int getVersionMinor() { - return versionMinor_; - } + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; - public static final int VERSION_REVISION_FIELD_NUMBER = 3; - private int versionRevision_; - /** - * optional int32 version_revision = 3; - * @return Whether the versionRevision field is set. - */ - @java.lang.Override - public boolean hasVersionRevision() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional int32 version_revision = 3; - * @return The versionRevision. - */ - @java.lang.Override - public int getVersionRevision() { - return versionRevision_; - } + memoizedIsInitialized = 1; + return true; + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeBytes(3, data_); + } + unknownFields.writeTo(output); + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, data_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt32(1, versionMajor_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt32(2, versionMinor_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeInt32(3, versionRevision_); - } - unknownFields.writeTo(output); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex) obj; - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, versionMajor_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, versionMinor_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, versionRevision_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + if (hasId() != other.hasId()) + return false; + if (hasId()) { + if (getId() != other.getId()) + return false; + } + if (hasName() != other.hasName()) + return false; + if (hasName()) { + if (!getName() + .equals(other.getName())) + return false; + } + if (hasData() != other.hasData()) + return false; + if (hasData()) { + if (!getData() + .equals(other.getData())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version) obj; - - if (hasVersionMajor() != other.hasVersionMajor()) return false; - if (hasVersionMajor()) { - if (getVersionMajor() - != other.getVersionMajor()) return false; - } - if (hasVersionMinor() != other.hasVersionMinor()) return false; - if (hasVersionMinor()) { - if (getVersionMinor() - != other.getVersionMinor()) return false; - } - if (hasVersionRevision() != other.hasVersionRevision()) return false; - if (hasVersionRevision()) { - if (getVersionRevision() - != other.getVersionRevision()) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId(); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (hasData()) { + hash = (37 * hash) + DATA_FIELD_NUMBER; + hash = (53 * hash) + getData().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasVersionMajor()) { - hash = (37 * hash) + VERSION_MAJOR_FIELD_NUMBER; - hash = (53 * hash) + getVersionMajor(); - } - if (hasVersionMinor()) { - hash = (37 * hash) + VERSION_MINOR_FIELD_NUMBER; - hash = (53 * hash) + getVersionMinor(); - } - if (hasVersionRevision()) { - hash = (37 * hash) + VERSION_REVISION_FIELD_NUMBER; - hash = (53 * hash) + getVersionRevision(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Version} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Version) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Version_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Version_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - versionMajor_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - versionMinor_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - versionRevision_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Version_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.versionMajor_ = versionMajor_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.versionMinor_ = versionMinor_; - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.versionRevision_ = versionRevision_; - to_bitField0_ |= 0x00000004; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.getDefaultInstance()) return this; - if (other.hasVersionMajor()) { - setVersionMajor(other.getVersionMajor()); - } - if (other.hasVersionMinor()) { - setVersionMinor(other.getVersionMinor()); - } - if (other.hasVersionRevision()) { - setVersionRevision(other.getVersionRevision()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private int versionMajor_ ; - /** - * optional int32 version_major = 1; - * @return Whether the versionMajor field is set. - */ - @java.lang.Override - public boolean hasVersionMajor() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional int32 version_major = 1; - * @return The versionMajor. - */ - @java.lang.Override - public int getVersionMajor() { - return versionMajor_; - } - /** - * optional int32 version_major = 1; - * @param value The versionMajor to set. - * @return This builder for chaining. - */ - public Builder setVersionMajor(int value) { - bitField0_ |= 0x00000001; - versionMajor_ = value; - onChanged(); - return this; - } - /** - * optional int32 version_major = 1; - * @return This builder for chaining. - */ - public Builder clearVersionMajor() { - bitField0_ = (bitField0_ & ~0x00000001); - versionMajor_ = 0; - onChanged(); - return this; - } - - private int versionMinor_ ; - /** - * optional int32 version_minor = 2; - * @return Whether the versionMinor field is set. - */ - @java.lang.Override - public boolean hasVersionMinor() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional int32 version_minor = 2; - * @return The versionMinor. - */ - @java.lang.Override - public int getVersionMinor() { - return versionMinor_; - } - /** - * optional int32 version_minor = 2; - * @param value The versionMinor to set. - * @return This builder for chaining. - */ - public Builder setVersionMinor(int value) { - bitField0_ |= 0x00000002; - versionMinor_ = value; - onChanged(); - return this; - } - /** - * optional int32 version_minor = 2; - * @return This builder for chaining. - */ - public Builder clearVersionMinor() { - bitField0_ = (bitField0_ & ~0x00000002); - versionMinor_ = 0; - onChanged(); - return this; - } - - private int versionRevision_ ; - /** - * optional int32 version_revision = 3; - * @return Whether the versionRevision field is set. - */ - @java.lang.Override - public boolean hasVersionRevision() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional int32 version_revision = 3; - * @return The versionRevision. - */ - @java.lang.Override - public int getVersionRevision() { - return versionRevision_; - } - /** - * optional int32 version_revision = 3; - * @param value The versionRevision to set. - * @return This builder for chaining. - */ - public Builder setVersionRevision(int value) { - bitField0_ |= 0x00000004; - versionRevision_ = value; - onChanged(); - return this; - } - /** - * optional int32 version_revision = 3; - * @return This builder for chaining. - */ - public Builder clearVersionRevision() { - bitField0_ = (bitField0_ & ~0x00000004); - versionRevision_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Version) - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Version) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version(); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } - public interface SignatureOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Signature) - com.google.protobuf.MessageOrBuilder { + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - /** - * optional string key_alias = 1; - * @return Whether the keyAlias field is set. - */ - boolean hasKeyAlias(); - /** - * optional string key_alias = 1; - * @return The keyAlias. - */ - java.lang.String getKeyAlias(); - /** - * optional string key_alias = 1; - * @return The bytes for keyAlias. - */ - com.google.protobuf.ByteString - getKeyAliasBytes(); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * optional bytes signature = 2; - * @return Whether the signature field is set. - */ - boolean hasSignature(); - /** - * optional bytes signature = 2; - * @return The signature. - */ - com.google.protobuf.ByteString getSignature(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Signature} - */ - public static final class Signature extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Signature) - SignatureOrBuilder { - private static final long serialVersionUID = 0L; - // Use Signature.newBuilder() to construct. - private Signature(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Signature() { - keyAlias_ = ""; - signature_ = com.google.protobuf.ByteString.EMPTY; - } + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Signature(); - } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Signature( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - keyAlias_ = bs; - break; - } - case 18: { - bitField0_ |= 0x00000002; - signature_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Signature_descriptor; - } + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Signature_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.Builder.class); - } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } - private int bitField0_; - public static final int KEY_ALIAS_FIELD_NUMBER = 1; - private volatile java.lang.Object keyAlias_; - /** - * optional string key_alias = 1; - * @return Whether the keyAlias field is set. - */ - @java.lang.Override - public boolean hasKeyAlias() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string key_alias = 1; - * @return The keyAlias. - */ - @java.lang.Override - public java.lang.String getKeyAlias() { - java.lang.Object ref = keyAlias_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - keyAlias_ = s; - } - return s; - } - } - /** - * optional string key_alias = 1; - * @return The bytes for keyAlias. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getKeyAliasBytes() { - java.lang.Object ref = keyAlias_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - keyAlias_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } - public static final int SIGNATURE_FIELD_NUMBER = 2; - private com.google.protobuf.ByteString signature_; - /** - * optional bytes signature = 2; - * @return Whether the signature field is set. - */ - @java.lang.Override - public boolean hasSignature() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional bytes signature = 2; - * @return The signature. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSignature() { - return signature_; - } + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Header.StrategyIndex} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Header.StrategyIndex) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_descriptor; + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder.class); + } - memoizedIsInitialized = 1; - return true; - } + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyAlias_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeBytes(2, signature_); - } - unknownFields.writeTo(output); - } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyAlias_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, signature_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature) obj; - - if (hasKeyAlias() != other.hasKeyAlias()) return false; - if (hasKeyAlias()) { - if (!getKeyAlias() - .equals(other.getKeyAlias())) return false; - } - if (hasSignature() != other.hasSignature()) return false; - if (hasSignature()) { - if (!getSignature() - .equals(other.getSignature())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + @java.lang.Override + public Builder clear() { + super.clear(); + id_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + data_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasKeyAlias()) { - hash = (37 * hash) + KEY_ALIAS_FIELD_NUMBER; - hash = (53 * hash) + getKeyAlias().hashCode(); - } - if (hasSignature()) { - hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; - hash = (53 * hash) + getSignature().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_descriptor; + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex + .getDefaultInstance(); + } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Signature} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Signature) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.SignatureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Signature_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Signature_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - keyAlias_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - signature_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Signature_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.keyAlias_ = keyAlias_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.signature_ = signature_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.getDefaultInstance()) return this; - if (other.hasKeyAlias()) { - bitField0_ |= 0x00000001; - keyAlias_ = other.keyAlias_; - onChanged(); - } - if (other.hasSignature()) { - setSignature(other.getSignature()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object keyAlias_ = ""; - /** - * optional string key_alias = 1; - * @return Whether the keyAlias field is set. - */ - public boolean hasKeyAlias() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string key_alias = 1; - * @return The keyAlias. - */ - public java.lang.String getKeyAlias() { - java.lang.Object ref = keyAlias_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - keyAlias_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string key_alias = 1; - * @return The bytes for keyAlias. - */ - public com.google.protobuf.ByteString - getKeyAliasBytes() { - java.lang.Object ref = keyAlias_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - keyAlias_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string key_alias = 1; - * @param value The keyAlias to set. - * @return This builder for chaining. - */ - public Builder setKeyAlias( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - keyAlias_ = value; - onChanged(); - return this; - } - /** - * optional string key_alias = 1; - * @return This builder for chaining. - */ - public Builder clearKeyAlias() { - bitField0_ = (bitField0_ & ~0x00000001); - keyAlias_ = getDefaultInstance().getKeyAlias(); - onChanged(); - return this; - } - /** - * optional string key_alias = 1; - * @param value The bytes for keyAlias to set. - * @return This builder for chaining. - */ - public Builder setKeyAliasBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - keyAlias_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.ByteString signature_ = com.google.protobuf.ByteString.EMPTY; - /** - * optional bytes signature = 2; - * @return Whether the signature field is set. - */ - @java.lang.Override - public boolean hasSignature() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional bytes signature = 2; - * @return The signature. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSignature() { - return signature_; - } - /** - * optional bytes signature = 2; - * @param value The signature to set. - * @return This builder for chaining. - */ - public Builder setSignature(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - signature_ = value; - onChanged(); - return this; - } - /** - * optional bytes signature = 2; - * @return This builder for chaining. - */ - public Builder clearSignature() { - bitField0_ = (bitField0_ & ~0x00000002); - signature_ = getDefaultInstance().getSignature(); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Signature) - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.id_ = id_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.name_ = name_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.data_ = data_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Signature) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature(); - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Signature parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Signature(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } - } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } - public interface TriggerOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Trigger) - com.google.protobuf.MessageOrBuilder { + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex) other); + } else { + super.mergeFrom(other); + return this; + } + } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; - * @return Whether the type field is set. - */ - boolean hasType(); - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; - * @return The type. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType getType(); + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex + .getDefaultInstance()) + return this; + if (other.hasId()) { + setId(other.getId()); + } + if (other.hasName()) { + bitField0_ |= 0x00000002; + name_ = other.name_; + onChanged(); + } + if (other.hasData()) { + setData(other.getData()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - * @return Whether the cron field is set. - */ - boolean hasCron(); - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - * @return The cron. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger getCron(); - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTriggerOrBuilder getCronOrBuilder(); + @java.lang.Override + public final boolean isInitialized() { + return true; + } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - * @return Whether the interval field is set. - */ - boolean hasInterval(); - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - * @return The interval. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger getInterval(); - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTriggerOrBuilder getIntervalOrBuilder(); + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - * @return Whether the pit field is set. - */ - boolean hasPit(); - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - * @return The pit. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger getPit(); - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTriggerOrBuilder getPitOrBuilder(); + private int bitField0_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - * @return Whether the cmdt field is set. - */ - boolean hasCmdt(); - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - * @return The cmdt. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger getCmdt(); - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTriggerOrBuilder getCmdtOrBuilder(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger} - */ - public static final class Trigger extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Trigger) - TriggerOrBuilder { - private static final long serialVersionUID = 0L; - // Use Trigger.newBuilder() to construct. - private Trigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Trigger() { - type_ = 0; - } + private int id_; - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Trigger(); - } + /** + * optional int32 id = 1; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Trigger( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - int rawValue = input.readEnum(); - @SuppressWarnings("deprecation") - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType value = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType.valueOf(rawValue); - if (value == null) { - unknownFields.mergeVarintField(1, rawValue); - } else { - bitField0_ |= 0x00000001; - type_ = rawValue; - } - break; - } - case 18: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) != 0)) { - subBuilder = cron_.toBuilder(); - } - cron_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cron_); - cron_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - case 26: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) != 0)) { - subBuilder = interval_.toBuilder(); - } - interval_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - case 34: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) != 0)) { - subBuilder = pit_.toBuilder(); - } - pit_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(pit_); - pit_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000008; - break; - } - case 42: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.Builder subBuilder = null; - if (((bitField0_ & 0x00000010) != 0)) { - subBuilder = cmdt_.toBuilder(); - } - cmdt_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cmdt_); - cmdt_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000010; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor; - } + /** + * optional int32 id = 1; + * + * @return The id. + */ + @java.lang.Override + public int getId() { + return id_; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder.class); - } + /** + * optional int32 id = 1; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(int value) { + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } - /** - * Protobuf enum {@code io.automatiko.engine.workflow.marshalling.Trigger.TriggerType} - */ - public enum TriggerType - implements com.google.protobuf.ProtocolMessageEnum { - /** - * CRON = 0; - */ - CRON(0), - /** - * INTERVAL = 1; - */ - INTERVAL(1), - /** - * POINT_IN_TIME = 2; - */ - POINT_IN_TIME(2), - /** - * COMPOSITE_MAX_DURATION = 3; - */ - COMPOSITE_MAX_DURATION(3), - ; - - /** - * CRON = 0; - */ - public static final int CRON_VALUE = 0; - /** - * INTERVAL = 1; - */ - public static final int INTERVAL_VALUE = 1; - /** - * POINT_IN_TIME = 2; - */ - public static final int POINT_IN_TIME_VALUE = 2; - /** - * COMPOSITE_MAX_DURATION = 3; - */ - public static final int COMPOSITE_MAX_DURATION_VALUE = 3; - - - public final int getNumber() { - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static TriggerType valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static TriggerType forNumber(int value) { - switch (value) { - case 0: return CRON; - case 1: return INTERVAL; - case 2: return POINT_IN_TIME; - case 3: return COMPOSITE_MAX_DURATION; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - TriggerType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TriggerType findValueByNumber(int number) { - return TriggerType.forNumber(number); - } - }; + /** + * optional int32 id = 1; + * + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000001); + id_ = 0; + onChanged(); + return this; + } - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDescriptor().getEnumTypes().get(0); - } - - private static final TriggerType[] VALUES = values(); - - public static TriggerType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private TriggerType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:io.automatiko.engine.workflow.marshalling.Trigger.TriggerType) - } + private java.lang.Object name_ = ""; - public interface CronTriggerOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int64 start_time = 1; - * @return Whether the startTime field is set. - */ - boolean hasStartTime(); - /** - * optional int64 start_time = 1; - * @return The startTime. - */ - long getStartTime(); - - /** - * optional int64 end_time = 2; - * @return Whether the endTime field is set. - */ - boolean hasEndTime(); - /** - * optional int64 end_time = 2; - * @return The endTime. - */ - long getEndTime(); - - /** - * optional int32 repeat_limit = 3; - * @return Whether the repeatLimit field is set. - */ - boolean hasRepeatLimit(); - /** - * optional int32 repeat_limit = 3; - * @return The repeatLimit. - */ - int getRepeatLimit(); - - /** - * optional int32 repeat_count = 4; - * @return Whether the repeatCount field is set. - */ - boolean hasRepeatCount(); - /** - * optional int32 repeat_count = 4; - * @return The repeatCount. - */ - int getRepeatCount(); - - /** - * optional string cron_expression = 5; - * @return Whether the cronExpression field is set. - */ - boolean hasCronExpression(); - /** - * optional string cron_expression = 5; - * @return The cronExpression. - */ - java.lang.String getCronExpression(); - /** - * optional string cron_expression = 5; - * @return The bytes for cronExpression. - */ - com.google.protobuf.ByteString - getCronExpressionBytes(); - - /** - * optional int64 next_fire_time = 6; - * @return Whether the nextFireTime field is set. - */ - boolean hasNextFireTime(); - /** - * optional int64 next_fire_time = 6; - * @return The nextFireTime. - */ - long getNextFireTime(); - - /** - * repeated string calendar_name = 7; - * @return A list containing the calendarName. - */ - java.util.List - getCalendarNameList(); - /** - * repeated string calendar_name = 7; - * @return The count of calendarName. - */ - int getCalendarNameCount(); - /** - * repeated string calendar_name = 7; - * @param index The index of the element to return. - * @return The calendarName at the given index. - */ - java.lang.String getCalendarName(int index); - /** - * repeated string calendar_name = 7; - * @param index The index of the value to return. - * @return The bytes of the calendarName at the given index. - */ - com.google.protobuf.ByteString - getCalendarNameBytes(int index); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger} - */ - public static final class CronTrigger extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger) - CronTriggerOrBuilder { - private static final long serialVersionUID = 0L; - // Use CronTrigger.newBuilder() to construct. - private CronTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CronTrigger() { - cronExpression_ = ""; - calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CronTrigger(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CronTrigger( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - startTime_ = input.readInt64(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - endTime_ = input.readInt64(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - repeatLimit_ = input.readInt32(); - break; - } - case 32: { - bitField0_ |= 0x00000008; - repeatCount_ = input.readInt32(); - break; - } - case 42: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000010; - cronExpression_ = bs; - break; - } - case 48: { - bitField0_ |= 0x00000020; - nextFireTime_ = input.readInt64(); - break; - } - case 58: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - calendarName_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000040; - } - calendarName_.add(bs); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000040) != 0)) { - calendarName_ = calendarName_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.Builder.class); - } - - private int bitField0_; - public static final int START_TIME_FIELD_NUMBER = 1; - private long startTime_; - /** - * optional int64 start_time = 1; - * @return Whether the startTime field is set. - */ - @java.lang.Override - public boolean hasStartTime() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional int64 start_time = 1; - * @return The startTime. - */ - @java.lang.Override - public long getStartTime() { - return startTime_; - } - - public static final int END_TIME_FIELD_NUMBER = 2; - private long endTime_; - /** - * optional int64 end_time = 2; - * @return Whether the endTime field is set. - */ - @java.lang.Override - public boolean hasEndTime() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional int64 end_time = 2; - * @return The endTime. - */ - @java.lang.Override - public long getEndTime() { - return endTime_; - } - - public static final int REPEAT_LIMIT_FIELD_NUMBER = 3; - private int repeatLimit_; - /** - * optional int32 repeat_limit = 3; - * @return Whether the repeatLimit field is set. - */ - @java.lang.Override - public boolean hasRepeatLimit() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional int32 repeat_limit = 3; - * @return The repeatLimit. - */ - @java.lang.Override - public int getRepeatLimit() { - return repeatLimit_; - } - - public static final int REPEAT_COUNT_FIELD_NUMBER = 4; - private int repeatCount_; - /** - * optional int32 repeat_count = 4; - * @return Whether the repeatCount field is set. - */ - @java.lang.Override - public boolean hasRepeatCount() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional int32 repeat_count = 4; - * @return The repeatCount. - */ - @java.lang.Override - public int getRepeatCount() { - return repeatCount_; - } - - public static final int CRON_EXPRESSION_FIELD_NUMBER = 5; - private volatile java.lang.Object cronExpression_; - /** - * optional string cron_expression = 5; - * @return Whether the cronExpression field is set. - */ - @java.lang.Override - public boolean hasCronExpression() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional string cron_expression = 5; - * @return The cronExpression. - */ - @java.lang.Override - public java.lang.String getCronExpression() { - java.lang.Object ref = cronExpression_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - cronExpression_ = s; - } - return s; - } - } - /** - * optional string cron_expression = 5; - * @return The bytes for cronExpression. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getCronExpressionBytes() { - java.lang.Object ref = cronExpression_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - cronExpression_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NEXT_FIRE_TIME_FIELD_NUMBER = 6; - private long nextFireTime_; - /** - * optional int64 next_fire_time = 6; - * @return Whether the nextFireTime field is set. - */ - @java.lang.Override - public boolean hasNextFireTime() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional int64 next_fire_time = 6; - * @return The nextFireTime. - */ - @java.lang.Override - public long getNextFireTime() { - return nextFireTime_; - } - - public static final int CALENDAR_NAME_FIELD_NUMBER = 7; - private com.google.protobuf.LazyStringList calendarName_; - /** - * repeated string calendar_name = 7; - * @return A list containing the calendarName. - */ - public com.google.protobuf.ProtocolStringList - getCalendarNameList() { - return calendarName_; - } - /** - * repeated string calendar_name = 7; - * @return The count of calendarName. - */ - public int getCalendarNameCount() { - return calendarName_.size(); - } - /** - * repeated string calendar_name = 7; - * @param index The index of the element to return. - * @return The calendarName at the given index. - */ - public java.lang.String getCalendarName(int index) { - return calendarName_.get(index); - } - /** - * repeated string calendar_name = 7; - * @param index The index of the value to return. - * @return The bytes of the calendarName at the given index. - */ - public com.google.protobuf.ByteString - getCalendarNameBytes(int index) { - return calendarName_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt64(1, startTime_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt64(2, endTime_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeInt32(3, repeatLimit_); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeInt32(4, repeatCount_); - } - if (((bitField0_ & 0x00000010) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, cronExpression_); - } - if (((bitField0_ & 0x00000020) != 0)) { - output.writeInt64(6, nextFireTime_); - } - for (int i = 0; i < calendarName_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, calendarName_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, startTime_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, endTime_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, repeatLimit_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, repeatCount_); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, cronExpression_); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(6, nextFireTime_); - } - { - int dataSize = 0; - for (int i = 0; i < calendarName_.size(); i++) { - dataSize += computeStringSizeNoTag(calendarName_.getRaw(i)); - } - size += dataSize; - size += 1 * getCalendarNameList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger) obj; - - if (hasStartTime() != other.hasStartTime()) return false; - if (hasStartTime()) { - if (getStartTime() - != other.getStartTime()) return false; - } - if (hasEndTime() != other.hasEndTime()) return false; - if (hasEndTime()) { - if (getEndTime() - != other.getEndTime()) return false; - } - if (hasRepeatLimit() != other.hasRepeatLimit()) return false; - if (hasRepeatLimit()) { - if (getRepeatLimit() - != other.getRepeatLimit()) return false; - } - if (hasRepeatCount() != other.hasRepeatCount()) return false; - if (hasRepeatCount()) { - if (getRepeatCount() - != other.getRepeatCount()) return false; - } - if (hasCronExpression() != other.hasCronExpression()) return false; - if (hasCronExpression()) { - if (!getCronExpression() - .equals(other.getCronExpression())) return false; - } - if (hasNextFireTime() != other.hasNextFireTime()) return false; - if (hasNextFireTime()) { - if (getNextFireTime() - != other.getNextFireTime()) return false; - } - if (!getCalendarNameList() - .equals(other.getCalendarNameList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasStartTime()) { - hash = (37 * hash) + START_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getStartTime()); - } - if (hasEndTime()) { - hash = (37 * hash) + END_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEndTime()); - } - if (hasRepeatLimit()) { - hash = (37 * hash) + REPEAT_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getRepeatLimit(); - } - if (hasRepeatCount()) { - hash = (37 * hash) + REPEAT_COUNT_FIELD_NUMBER; - hash = (53 * hash) + getRepeatCount(); - } - if (hasCronExpression()) { - hash = (37 * hash) + CRON_EXPRESSION_FIELD_NUMBER; - hash = (53 * hash) + getCronExpression().hashCode(); - } - if (hasNextFireTime()) { - hash = (37 * hash) + NEXT_FIRE_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNextFireTime()); - } - if (getCalendarNameCount() > 0) { - hash = (37 * hash) + CALENDAR_NAME_FIELD_NUMBER; - hash = (53 * hash) + getCalendarNameList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - startTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000001); - endTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000002); - repeatLimit_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - repeatCount_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - cronExpression_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); - nextFireTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000020); - calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTime_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTime_; - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.repeatLimit_ = repeatLimit_; - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.repeatCount_ = repeatCount_; - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - to_bitField0_ |= 0x00000010; - } - result.cronExpression_ = cronExpression_; - if (((from_bitField0_ & 0x00000020) != 0)) { - result.nextFireTime_ = nextFireTime_; - to_bitField0_ |= 0x00000020; - } - if (((bitField0_ & 0x00000040) != 0)) { - calendarName_ = calendarName_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000040); - } - result.calendarName_ = calendarName_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.getDefaultInstance()) return this; - if (other.hasStartTime()) { - setStartTime(other.getStartTime()); - } - if (other.hasEndTime()) { - setEndTime(other.getEndTime()); - } - if (other.hasRepeatLimit()) { - setRepeatLimit(other.getRepeatLimit()); - } - if (other.hasRepeatCount()) { - setRepeatCount(other.getRepeatCount()); - } - if (other.hasCronExpression()) { - bitField0_ |= 0x00000010; - cronExpression_ = other.cronExpression_; - onChanged(); - } - if (other.hasNextFireTime()) { - setNextFireTime(other.getNextFireTime()); - } - if (!other.calendarName_.isEmpty()) { - if (calendarName_.isEmpty()) { - calendarName_ = other.calendarName_; - bitField0_ = (bitField0_ & ~0x00000040); - } else { - ensureCalendarNameIsMutable(); - calendarName_.addAll(other.calendarName_); + /** + * optional string name = 2; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string name = 2; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string name = 2; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string name = 2; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + name_ = value; + onChanged(); + return this; + } + + /** + * optional string name = 2; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000002); + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + + /** + * optional string name = 2; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + name_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; + + /** + * optional bytes data = 3; + * + * @return Whether the data field is set. + */ + @java.lang.Override + public boolean hasData() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional bytes data = 3; + * + * @return The data. + */ + @java.lang.Override + public com.google.protobuf.ByteString getData() { + return data_; + } + + /** + * optional bytes data = 3; + * + * @param value The data to set. + * @return This builder for chaining. + */ + public Builder setData(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + data_ = value; + onChanged(); + return this; + } + + /** + * optional bytes data = 3; + * + * @return This builder for chaining. + */ + public Builder clearData() { + bitField0_ = (bitField0_ & ~0x00000004); + data_ = getDefaultInstance().getData(); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Header.StrategyIndex) } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Header.StrategyIndex) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex(); + } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StrategyIndex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StrategyIndex(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; } - } - return this; + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + } + private int bitField0_; + public static final int VERSION_FIELD_NUMBER = 1; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version version_; - private long startTime_ ; /** - * optional int64 start_time = 1; - * @return Whether the startTime field is set. + *
+         * version for which this message was created
+         * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; + * + * @return Whether the version field is set. */ @java.lang.Override - public boolean hasStartTime() { - return ((bitField0_ & 0x00000001) != 0); + public boolean hasVersion() { + return ((bitField0_ & 0x00000001) != 0); } + /** - * optional int64 start_time = 1; - * @return The startTime. + *
+         * version for which this message was created
+         * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; + * + * @return The version. */ @java.lang.Override - public long getStartTime() { - return startTime_; - } - /** - * optional int64 start_time = 1; - * @param value The startTime to set. - * @return This builder for chaining. - */ - public Builder setStartTime(long value) { - bitField0_ |= 0x00000001; - startTime_ = value; - onChanged(); - return this; - } - /** - * optional int64 start_time = 1; - * @return This builder for chaining. - */ - public Builder clearStartTime() { - bitField0_ = (bitField0_ & ~0x00000001); - startTime_ = 0L; - onChanged(); - return this; + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version getVersion() { + return version_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.getDefaultInstance() + : version_; } - private long endTime_ ; /** - * optional int64 end_time = 2; - * @return Whether the endTime field is set. + *
+         * version for which this message was created
+         * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; */ @java.lang.Override - public boolean hasEndTime() { - return ((bitField0_ & 0x00000002) != 0); + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VersionOrBuilder getVersionOrBuilder() { + return version_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.getDefaultInstance() + : version_; } + + public static final int SIGNATURE_FIELD_NUMBER = 4; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature signature_; + /** - * optional int64 end_time = 2; - * @return The endTime. + *
+         * Signature to prevent security concerns
+         * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; + * + * @return Whether the signature field is set. */ @java.lang.Override - public long getEndTime() { - return endTime_; - } - /** - * optional int64 end_time = 2; - * @param value The endTime to set. - * @return This builder for chaining. - */ - public Builder setEndTime(long value) { - bitField0_ |= 0x00000002; - endTime_ = value; - onChanged(); - return this; - } - /** - * optional int64 end_time = 2; - * @return This builder for chaining. - */ - public Builder clearEndTime() { - bitField0_ = (bitField0_ & ~0x00000002); - endTime_ = 0L; - onChanged(); - return this; + public boolean hasSignature() { + return ((bitField0_ & 0x00000002) != 0); } - private int repeatLimit_ ; /** - * optional int32 repeat_limit = 3; - * @return Whether the repeatLimit field is set. + *
+         * Signature to prevent security concerns
+         * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; + * + * @return The signature. */ @java.lang.Override - public boolean hasRepeatLimit() { - return ((bitField0_ & 0x00000004) != 0); + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature getSignature() { + return signature_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.getDefaultInstance() + : signature_; } + /** - * optional int32 repeat_limit = 3; - * @return The repeatLimit. + *
+         * Signature to prevent security concerns
+         * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; */ @java.lang.Override - public int getRepeatLimit() { - return repeatLimit_; - } - /** - * optional int32 repeat_limit = 3; - * @param value The repeatLimit to set. - * @return This builder for chaining. - */ - public Builder setRepeatLimit(int value) { - bitField0_ |= 0x00000004; - repeatLimit_ = value; - onChanged(); - return this; - } - /** - * optional int32 repeat_limit = 3; - * @return This builder for chaining. - */ - public Builder clearRepeatLimit() { - bitField0_ = (bitField0_ & ~0x00000004); - repeatLimit_ = 0; - onChanged(); - return this; + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.SignatureOrBuilder getSignatureOrBuilder() { + return signature_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.getDefaultInstance() + : signature_; } - private int repeatCount_ ; + public static final int STRATEGY_FIELD_NUMBER = 9; + private java.util.List strategy_; + /** - * optional int32 repeat_count = 4; - * @return Whether the repeatCount field is set. + *
+         * The list of strategy classes used for this serialization
+         * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; */ @java.lang.Override - public boolean hasRepeatCount() { - return ((bitField0_ & 0x00000008) != 0); + public java.util.List getStrategyList() { + return strategy_; } + /** - * optional int32 repeat_count = 4; - * @return The repeatCount. + *
+         * The list of strategy classes used for this serialization
+         * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; */ @java.lang.Override - public int getRepeatCount() { - return repeatCount_; - } - /** - * optional int32 repeat_count = 4; - * @param value The repeatCount to set. - * @return This builder for chaining. - */ - public Builder setRepeatCount(int value) { - bitField0_ |= 0x00000008; - repeatCount_ = value; - onChanged(); - return this; - } - /** - * optional int32 repeat_count = 4; - * @return This builder for chaining. - */ - public Builder clearRepeatCount() { - bitField0_ = (bitField0_ & ~0x00000008); - repeatCount_ = 0; - onChanged(); - return this; + public java.util.List getStrategyOrBuilderList() { + return strategy_; } - private java.lang.Object cronExpression_ = ""; /** - * optional string cron_expression = 5; - * @return Whether the cronExpression field is set. + *
+         * The list of strategy classes used for this serialization
+         * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; */ - public boolean hasCronExpression() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional string cron_expression = 5; - * @return The cronExpression. - */ - public java.lang.String getCronExpression() { - java.lang.Object ref = cronExpression_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - cronExpression_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string cron_expression = 5; - * @return The bytes for cronExpression. - */ - public com.google.protobuf.ByteString - getCronExpressionBytes() { - java.lang.Object ref = cronExpression_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - cronExpression_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string cron_expression = 5; - * @param value The cronExpression to set. - * @return This builder for chaining. - */ - public Builder setCronExpression( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - cronExpression_ = value; - onChanged(); - return this; - } - /** - * optional string cron_expression = 5; - * @return This builder for chaining. - */ - public Builder clearCronExpression() { - bitField0_ = (bitField0_ & ~0x00000010); - cronExpression_ = getDefaultInstance().getCronExpression(); - onChanged(); - return this; - } - /** - * optional string cron_expression = 5; - * @param value The bytes for cronExpression to set. - * @return This builder for chaining. - */ - public Builder setCronExpressionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - cronExpression_ = value; - onChanged(); - return this; + @java.lang.Override + public int getStrategyCount() { + return strategy_.size(); } - private long nextFireTime_ ; /** - * optional int64 next_fire_time = 6; - * @return Whether the nextFireTime field is set. + *
+         * The list of strategy classes used for this serialization
+         * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; */ @java.lang.Override - public boolean hasNextFireTime() { - return ((bitField0_ & 0x00000020) != 0); + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex getStrategy(int index) { + return strategy_.get(index); } + /** - * optional int64 next_fire_time = 6; - * @return The nextFireTime. + *
+         * The list of strategy classes used for this serialization
+         * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; */ @java.lang.Override - public long getNextFireTime() { - return nextFireTime_; - } - /** - * optional int64 next_fire_time = 6; - * @param value The nextFireTime to set. - * @return This builder for chaining. - */ - public Builder setNextFireTime(long value) { - bitField0_ |= 0x00000020; - nextFireTime_ = value; - onChanged(); - return this; - } - /** - * optional int64 next_fire_time = 6; - * @return This builder for chaining. - */ - public Builder clearNextFireTime() { - bitField0_ = (bitField0_ & ~0x00000020); - nextFireTime_ = 0L; - onChanged(); - return this; + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder getStrategyOrBuilder( + int index) { + return strategy_.get(index); } - private com.google.protobuf.LazyStringList calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureCalendarNameIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { - calendarName_ = new com.google.protobuf.LazyStringArrayList(calendarName_); - bitField0_ |= 0x00000040; - } - } - /** - * repeated string calendar_name = 7; - * @return A list containing the calendarName. - */ - public com.google.protobuf.ProtocolStringList - getCalendarNameList() { - return calendarName_.getUnmodifiableView(); - } - /** - * repeated string calendar_name = 7; - * @return The count of calendarName. - */ - public int getCalendarNameCount() { - return calendarName_.size(); - } - /** - * repeated string calendar_name = 7; - * @param index The index of the element to return. - * @return The calendarName at the given index. - */ - public java.lang.String getCalendarName(int index) { - return calendarName_.get(index); - } - /** - * repeated string calendar_name = 7; - * @param index The index of the value to return. - * @return The bytes of the calendarName at the given index. - */ - public com.google.protobuf.ByteString - getCalendarNameBytes(int index) { - return calendarName_.getByteString(index); - } - /** - * repeated string calendar_name = 7; - * @param index The index to set the value at. - * @param value The calendarName to set. - * @return This builder for chaining. - */ - public Builder setCalendarName( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCalendarNameIsMutable(); - calendarName_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string calendar_name = 7; - * @param value The calendarName to add. - * @return This builder for chaining. - */ - public Builder addCalendarName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCalendarNameIsMutable(); - calendarName_.add(value); - onChanged(); - return this; - } - /** - * repeated string calendar_name = 7; - * @param values The calendarName to add. - * @return This builder for chaining. - */ - public Builder addAllCalendarName( - java.lang.Iterable values) { - ensureCalendarNameIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, calendarName_); - onChanged(); - return this; - } - /** - * repeated string calendar_name = 7; - * @return This builder for chaining. - */ - public Builder clearCalendarName() { - calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); - return this; - } + public static final int PAYLOAD_FIELD_NUMBER = 10; + private com.google.protobuf.ByteString payload_; + /** - * repeated string calendar_name = 7; - * @param value The bytes of the calendarName to add. - * @return This builder for chaining. + *
+         * byte blobs
+         * 
+ * + * optional bytes payload = 10; + * + * @return Whether the payload field is set. */ - public Builder addCalendarNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCalendarNameIsMutable(); - calendarName_.add(value); - onChanged(); - return this; - } @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + public boolean hasPayload() { + return ((bitField0_ & 0x00000004) != 0); } + /** + *
+         * byte blobs
+         * 
+ * + * optional bytes payload = 10; + * + * @return The payload. + */ @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + public com.google.protobuf.ByteString getPayload() { + return payload_; } + private byte memoizedIsInitialized = -1; - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger(); - } + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger getDefaultInstance() { - return DEFAULT_INSTANCE; - } + if (!extensionsAreInitialized()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public CronTrigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CronTrigger(input, extensionRegistry); + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter extensionWriter = newExtensionWriter(); + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getVersion()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(4, getSignature()); + } + for (int i = 0; i < strategy_.size(); i++) { + output.writeMessage(9, strategy_.get(i)); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeBytes(10, payload_); + } + extensionWriter.writeUntil(200, output); + unknownFields.writeTo(output); } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; - public interface IntervalTriggerOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int64 start_time = 1; - * @return Whether the startTime field is set. - */ - boolean hasStartTime(); - /** - * optional int64 start_time = 1; - * @return The startTime. - */ - long getStartTime(); - - /** - * optional int64 end_time = 2; - * @return Whether the endTime field is set. - */ - boolean hasEndTime(); - /** - * optional int64 end_time = 2; - * @return The endTime. - */ - long getEndTime(); - - /** - * optional int32 repeat_limit = 3; - * @return Whether the repeatLimit field is set. - */ - boolean hasRepeatLimit(); - /** - * optional int32 repeat_limit = 3; - * @return The repeatLimit. - */ - int getRepeatLimit(); - - /** - * optional int32 repeat_count = 4; - * @return Whether the repeatCount field is set. - */ - boolean hasRepeatCount(); - /** - * optional int32 repeat_count = 4; - * @return The repeatCount. - */ - int getRepeatCount(); - - /** - * optional int64 next_fire_time = 6; - * @return Whether the nextFireTime field is set. - */ - boolean hasNextFireTime(); - /** - * optional int64 next_fire_time = 6; - * @return The nextFireTime. - */ - long getNextFireTime(); - - /** - * optional int64 period = 7; - * @return Whether the period field is set. - */ - boolean hasPeriod(); - /** - * optional int64 period = 7; - * @return The period. - */ - long getPeriod(); - - /** - * repeated string calendar_name = 8; - * @return A list containing the calendarName. - */ - java.util.List - getCalendarNameList(); - /** - * repeated string calendar_name = 8; - * @return The count of calendarName. - */ - int getCalendarNameCount(); - /** - * repeated string calendar_name = 8; - * @param index The index of the element to return. - * @return The calendarName at the given index. - */ - java.lang.String getCalendarName(int index); - /** - * repeated string calendar_name = 8; - * @param index The index of the value to return. - * @return The bytes of the calendarName at the given index. - */ - com.google.protobuf.ByteString - getCalendarNameBytes(int index); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger} - */ - public static final class IntervalTrigger extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger) - IntervalTriggerOrBuilder { - private static final long serialVersionUID = 0L; - // Use IntervalTrigger.newBuilder() to construct. - private IntervalTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private IntervalTrigger() { - calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new IntervalTrigger(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private IntervalTrigger( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - startTime_ = input.readInt64(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - endTime_ = input.readInt64(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - repeatLimit_ = input.readInt32(); - break; - } - case 32: { - bitField0_ |= 0x00000008; - repeatCount_ = input.readInt32(); - break; - } - case 48: { - bitField0_ |= 0x00000010; - nextFireTime_ = input.readInt64(); - break; - } - case 56: { - bitField0_ |= 0x00000020; - period_ = input.readInt64(); - break; - } - case 66: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - calendarName_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000040; - } - calendarName_.add(bs); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000040) != 0)) { - calendarName_ = calendarName_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.Builder.class); - } - - private int bitField0_; - public static final int START_TIME_FIELD_NUMBER = 1; - private long startTime_; - /** - * optional int64 start_time = 1; - * @return Whether the startTime field is set. - */ - @java.lang.Override - public boolean hasStartTime() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional int64 start_time = 1; - * @return The startTime. - */ - @java.lang.Override - public long getStartTime() { - return startTime_; - } - - public static final int END_TIME_FIELD_NUMBER = 2; - private long endTime_; - /** - * optional int64 end_time = 2; - * @return Whether the endTime field is set. - */ - @java.lang.Override - public boolean hasEndTime() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional int64 end_time = 2; - * @return The endTime. - */ - @java.lang.Override - public long getEndTime() { - return endTime_; - } - - public static final int REPEAT_LIMIT_FIELD_NUMBER = 3; - private int repeatLimit_; - /** - * optional int32 repeat_limit = 3; - * @return Whether the repeatLimit field is set. - */ - @java.lang.Override - public boolean hasRepeatLimit() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional int32 repeat_limit = 3; - * @return The repeatLimit. - */ - @java.lang.Override - public int getRepeatLimit() { - return repeatLimit_; - } - - public static final int REPEAT_COUNT_FIELD_NUMBER = 4; - private int repeatCount_; - /** - * optional int32 repeat_count = 4; - * @return Whether the repeatCount field is set. - */ - @java.lang.Override - public boolean hasRepeatCount() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional int32 repeat_count = 4; - * @return The repeatCount. - */ - @java.lang.Override - public int getRepeatCount() { - return repeatCount_; - } - - public static final int NEXT_FIRE_TIME_FIELD_NUMBER = 6; - private long nextFireTime_; - /** - * optional int64 next_fire_time = 6; - * @return Whether the nextFireTime field is set. - */ - @java.lang.Override - public boolean hasNextFireTime() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional int64 next_fire_time = 6; - * @return The nextFireTime. - */ - @java.lang.Override - public long getNextFireTime() { - return nextFireTime_; - } - - public static final int PERIOD_FIELD_NUMBER = 7; - private long period_; - /** - * optional int64 period = 7; - * @return Whether the period field is set. - */ - @java.lang.Override - public boolean hasPeriod() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional int64 period = 7; - * @return The period. - */ - @java.lang.Override - public long getPeriod() { - return period_; - } - - public static final int CALENDAR_NAME_FIELD_NUMBER = 8; - private com.google.protobuf.LazyStringList calendarName_; - /** - * repeated string calendar_name = 8; - * @return A list containing the calendarName. - */ - public com.google.protobuf.ProtocolStringList - getCalendarNameList() { - return calendarName_; - } - /** - * repeated string calendar_name = 8; - * @return The count of calendarName. - */ - public int getCalendarNameCount() { - return calendarName_.size(); - } - /** - * repeated string calendar_name = 8; - * @param index The index of the element to return. - * @return The calendarName at the given index. - */ - public java.lang.String getCalendarName(int index) { - return calendarName_.get(index); - } - /** - * repeated string calendar_name = 8; - * @param index The index of the value to return. - * @return The bytes of the calendarName at the given index. - */ - public com.google.protobuf.ByteString - getCalendarNameBytes(int index) { - return calendarName_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt64(1, startTime_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt64(2, endTime_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeInt32(3, repeatLimit_); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeInt32(4, repeatCount_); - } - if (((bitField0_ & 0x00000010) != 0)) { - output.writeInt64(6, nextFireTime_); - } - if (((bitField0_ & 0x00000020) != 0)) { - output.writeInt64(7, period_); - } - for (int i = 0; i < calendarName_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, calendarName_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, startTime_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, endTime_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, repeatLimit_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, repeatCount_); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(6, nextFireTime_); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, period_); - } - { - int dataSize = 0; - for (int i = 0; i < calendarName_.size(); i++) { - dataSize += computeStringSizeNoTag(calendarName_.getRaw(i)); - } - size += dataSize; - size += 1 * getCalendarNameList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger) obj; - - if (hasStartTime() != other.hasStartTime()) return false; - if (hasStartTime()) { - if (getStartTime() - != other.getStartTime()) return false; - } - if (hasEndTime() != other.hasEndTime()) return false; - if (hasEndTime()) { - if (getEndTime() - != other.getEndTime()) return false; - } - if (hasRepeatLimit() != other.hasRepeatLimit()) return false; - if (hasRepeatLimit()) { - if (getRepeatLimit() - != other.getRepeatLimit()) return false; - } - if (hasRepeatCount() != other.hasRepeatCount()) return false; - if (hasRepeatCount()) { - if (getRepeatCount() - != other.getRepeatCount()) return false; - } - if (hasNextFireTime() != other.hasNextFireTime()) return false; - if (hasNextFireTime()) { - if (getNextFireTime() - != other.getNextFireTime()) return false; - } - if (hasPeriod() != other.hasPeriod()) return false; - if (hasPeriod()) { - if (getPeriod() - != other.getPeriod()) return false; - } - if (!getCalendarNameList() - .equals(other.getCalendarNameList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasStartTime()) { - hash = (37 * hash) + START_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getStartTime()); - } - if (hasEndTime()) { - hash = (37 * hash) + END_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEndTime()); - } - if (hasRepeatLimit()) { - hash = (37 * hash) + REPEAT_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getRepeatLimit(); - } - if (hasRepeatCount()) { - hash = (37 * hash) + REPEAT_COUNT_FIELD_NUMBER; - hash = (53 * hash) + getRepeatCount(); - } - if (hasNextFireTime()) { - hash = (37 * hash) + NEXT_FIRE_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNextFireTime()); - } - if (hasPeriod()) { - hash = (37 * hash) + PERIOD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPeriod()); - } - if (getCalendarNameCount() > 0) { - hash = (37 * hash) + CALENDAR_NAME_FIELD_NUMBER; - hash = (53 * hash) + getCalendarNameList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - startTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000001); - endTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000002); - repeatLimit_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - repeatCount_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - nextFireTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000010); - period_ = 0L; - bitField0_ = (bitField0_ & ~0x00000020); - calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTime_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTime_; - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.repeatLimit_ = repeatLimit_; - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.repeatCount_ = repeatCount_; - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.nextFireTime_ = nextFireTime_; - to_bitField0_ |= 0x00000010; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.period_ = period_; - to_bitField0_ |= 0x00000020; - } - if (((bitField0_ & 0x00000040) != 0)) { - calendarName_ = calendarName_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000040); - } - result.calendarName_ = calendarName_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.getDefaultInstance()) return this; - if (other.hasStartTime()) { - setStartTime(other.getStartTime()); - } - if (other.hasEndTime()) { - setEndTime(other.getEndTime()); - } - if (other.hasRepeatLimit()) { - setRepeatLimit(other.getRepeatLimit()); - } - if (other.hasRepeatCount()) { - setRepeatCount(other.getRepeatCount()); - } - if (other.hasNextFireTime()) { - setNextFireTime(other.getNextFireTime()); - } - if (other.hasPeriod()) { - setPeriod(other.getPeriod()); - } - if (!other.calendarName_.isEmpty()) { - if (calendarName_.isEmpty()) { - calendarName_ = other.calendarName_; - bitField0_ = (bitField0_ & ~0x00000040); - } else { - ensureCalendarNameIsMutable(); - calendarName_.addAll(other.calendarName_); + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getVersion()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getSignature()); + } + for (int i = 0; i < strategy_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, strategy_.get(i)); } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(10, payload_); + } + size += extensionsSerializedSize(); + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; } @java.lang.Override - public final boolean isInitialized() { - return true; + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header) obj; + + if (hasVersion() != other.hasVersion()) + return false; + if (hasVersion()) { + if (!getVersion() + .equals(other.getVersion())) + return false; + } + if (hasSignature() != other.hasSignature()) + return false; + if (hasSignature()) { + if (!getSignature() + .equals(other.getSignature())) + return false; + } + if (!getStrategyList() + .equals(other.getStrategyList())) + return false; + if (hasPayload() != other.hasPayload()) + return false; + if (hasPayload()) { + if (!getPayload() + .equals(other.getPayload())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + if (!getExtensionFields().equals(other.getExtensionFields())) + return false; + return true; } @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasVersion()) { + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + } + if (hasSignature()) { + hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; + hash = (53 * hash) + getSignature().hashCode(); + } + if (getStrategyCount() > 0) { + hash = (37 * hash) + STRATEGY_FIELD_NUMBER; + hash = (53 * hash) + getStrategyList().hashCode(); + } + if (hasPayload()) { + hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; + hash = (53 * hash) + getPayload().hashCode(); } - } - return this; + hash = hashFields(hash, getExtensionFields()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } - private int bitField0_; - private long startTime_ ; - /** - * optional int64 start_time = 1; - * @return Whether the startTime field is set. - */ - @java.lang.Override - public boolean hasStartTime() { - return ((bitField0_ & 0x00000001) != 0); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - /** - * optional int64 start_time = 1; - * @return The startTime. - */ - @java.lang.Override - public long getStartTime() { - return startTime_; - } - /** - * optional int64 start_time = 1; - * @param value The startTime to set. - * @return This builder for chaining. - */ - public Builder setStartTime(long value) { - bitField0_ |= 0x00000001; - startTime_ = value; - onChanged(); - return this; - } - /** - * optional int64 start_time = 1; - * @return This builder for chaining. - */ - public Builder clearStartTime() { - bitField0_ = (bitField0_ & ~0x00000001); - startTime_ = 0L; - onChanged(); - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - private long endTime_ ; - /** - * optional int64 end_time = 2; - * @return Whether the endTime field is set. - */ - @java.lang.Override - public boolean hasEndTime() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional int64 end_time = 2; - * @return The endTime. - */ - @java.lang.Override - public long getEndTime() { - return endTime_; - } - /** - * optional int64 end_time = 2; - * @param value The endTime to set. - * @return This builder for chaining. - */ - public Builder setEndTime(long value) { - bitField0_ |= 0x00000002; - endTime_ = value; - onChanged(); - return this; - } - /** - * optional int64 end_time = 2; - * @return This builder for chaining. - */ - public Builder clearEndTime() { - bitField0_ = (bitField0_ & ~0x00000002); - endTime_ = 0L; - onChanged(); - return this; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - private int repeatLimit_ ; - /** - * optional int32 repeat_limit = 3; - * @return Whether the repeatLimit field is set. - */ - @java.lang.Override - public boolean hasRepeatLimit() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional int32 repeat_limit = 3; - * @return The repeatLimit. - */ - @java.lang.Override - public int getRepeatLimit() { - return repeatLimit_; - } - /** - * optional int32 repeat_limit = 3; - * @param value The repeatLimit to set. - * @return This builder for chaining. - */ - public Builder setRepeatLimit(int value) { - bitField0_ |= 0x00000004; - repeatLimit_ = value; - onChanged(); - return this; - } - /** - * optional int32 repeat_limit = 3; - * @return This builder for chaining. - */ - public Builder clearRepeatLimit() { - bitField0_ = (bitField0_ & ~0x00000004); - repeatLimit_ = 0; - onChanged(); - return this; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - private int repeatCount_ ; - /** - * optional int32 repeat_count = 4; - * @return Whether the repeatCount field is set. - */ - @java.lang.Override - public boolean hasRepeatCount() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional int32 repeat_count = 4; - * @return The repeatCount. - */ - @java.lang.Override - public int getRepeatCount() { - return repeatCount_; - } - /** - * optional int32 repeat_count = 4; - * @param value The repeatCount to set. - * @return This builder for chaining. - */ - public Builder setRepeatCount(int value) { - bitField0_ |= 0x00000008; - repeatCount_ = value; - onChanged(); - return this; - } - /** - * optional int32 repeat_count = 4; - * @return This builder for chaining. - */ - public Builder clearRepeatCount() { - bitField0_ = (bitField0_ & ~0x00000008); - repeatCount_ = 0; - onChanged(); - return this; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - private long nextFireTime_ ; - /** - * optional int64 next_fire_time = 6; - * @return Whether the nextFireTime field is set. - */ - @java.lang.Override - public boolean hasNextFireTime() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional int64 next_fire_time = 6; - * @return The nextFireTime. - */ - @java.lang.Override - public long getNextFireTime() { - return nextFireTime_; - } - /** - * optional int64 next_fire_time = 6; - * @param value The nextFireTime to set. - * @return This builder for chaining. - */ - public Builder setNextFireTime(long value) { - bitField0_ |= 0x00000010; - nextFireTime_ = value; - onChanged(); - return this; - } - /** - * optional int64 next_fire_time = 6; - * @return This builder for chaining. - */ - public Builder clearNextFireTime() { - bitField0_ = (bitField0_ & ~0x00000010); - nextFireTime_ = 0L; - onChanged(); - return this; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - private long period_ ; - /** - * optional int64 period = 7; - * @return Whether the period field is set. - */ - @java.lang.Override - public boolean hasPeriod() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional int64 period = 7; - * @return The period. - */ - @java.lang.Override - public long getPeriod() { - return period_; - } - /** - * optional int64 period = 7; - * @param value The period to set. - * @return This builder for chaining. - */ - public Builder setPeriod(long value) { - bitField0_ |= 0x00000020; - period_ = value; - onChanged(); - return this; - } - /** - * optional int64 period = 7; - * @return This builder for chaining. - */ - public Builder clearPeriod() { - bitField0_ = (bitField0_ & ~0x00000020); - period_ = 0L; - onChanged(); - return this; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - private com.google.protobuf.LazyStringList calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureCalendarNameIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { - calendarName_ = new com.google.protobuf.LazyStringArrayList(calendarName_); - bitField0_ |= 0x00000040; - } - } - /** - * repeated string calendar_name = 8; - * @return A list containing the calendarName. - */ - public com.google.protobuf.ProtocolStringList - getCalendarNameList() { - return calendarName_.getUnmodifiableView(); - } - /** - * repeated string calendar_name = 8; - * @return The count of calendarName. - */ - public int getCalendarNameCount() { - return calendarName_.size(); - } - /** - * repeated string calendar_name = 8; - * @param index The index of the element to return. - * @return The calendarName at the given index. - */ - public java.lang.String getCalendarName(int index) { - return calendarName_.get(index); - } - /** - * repeated string calendar_name = 8; - * @param index The index of the value to return. - * @return The bytes of the calendarName at the given index. - */ - public com.google.protobuf.ByteString - getCalendarNameBytes(int index) { - return calendarName_.getByteString(index); - } - /** - * repeated string calendar_name = 8; - * @param index The index to set the value at. - * @param value The calendarName to set. - * @return This builder for chaining. - */ - public Builder setCalendarName( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCalendarNameIsMutable(); - calendarName_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string calendar_name = 8; - * @param value The calendarName to add. - * @return This builder for chaining. - */ - public Builder addCalendarName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCalendarNameIsMutable(); - calendarName_.add(value); - onChanged(); - return this; - } - /** - * repeated string calendar_name = 8; - * @param values The calendarName to add. - * @return This builder for chaining. - */ - public Builder addAllCalendarName( - java.lang.Iterable values) { - ensureCalendarNameIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, calendarName_); - onChanged(); - return this; - } - /** - * repeated string calendar_name = 8; - * @return This builder for chaining. - */ - public Builder clearCalendarName() { - calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); - return this; - } - /** - * repeated string calendar_name = 8; - * @param value The bytes of the calendarName to add. - * @return This builder for chaining. - */ - public Builder addCalendarNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCalendarNameIsMutable(); - calendarName_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntervalTrigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IntervalTrigger(input, extensionRegistry); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - }; - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PointInTimeTriggerOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int64 next_fire_time = 1; - * @return Whether the nextFireTime field is set. - */ - boolean hasNextFireTime(); - /** - * optional int64 next_fire_time = 1; - * @return The nextFireTime. - */ - long getNextFireTime(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger} - */ - public static final class PointInTimeTrigger extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger) - PointInTimeTriggerOrBuilder { - private static final long serialVersionUID = 0L; - // Use PointInTimeTrigger.newBuilder() to construct. - private PointInTimeTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private PointInTimeTrigger() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new PointInTimeTrigger(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private PointInTimeTrigger( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - nextFireTime_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.Builder.class); - } - - private int bitField0_; - public static final int NEXT_FIRE_TIME_FIELD_NUMBER = 1; - private long nextFireTime_; - /** - * optional int64 next_fire_time = 1; - * @return Whether the nextFireTime field is set. - */ - @java.lang.Override - public boolean hasNextFireTime() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional int64 next_fire_time = 1; - * @return The nextFireTime. - */ - @java.lang.Override - public long getNextFireTime() { - return nextFireTime_; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt64(1, nextFireTime_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, nextFireTime_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger) obj; - - if (hasNextFireTime() != other.hasNextFireTime()) return false; - if (hasNextFireTime()) { - if (getNextFireTime() - != other.getNextFireTime()) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasNextFireTime()) { - hash = (37 * hash) + NEXT_FIRE_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNextFireTime()); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - nextFireTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.getDefaultInstance(); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.nextFireTime_ = nextFireTime_; - to_bitField0_ |= 0x00000001; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + public Builder newBuilderForType() { + return newBuilder(); } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger)other); - } else { - super.mergeFrom(other); - return this; - } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.getDefaultInstance()) return this; - if (other.hasNextFireTime()) { - setNextFireTime(other.getNextFireTime()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override - public final boolean isInitialized() { - return true; + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); } @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; } - private int bitField0_; - private long nextFireTime_ ; - /** - * optional int64 next_fire_time = 1; - * @return Whether the nextFireTime field is set. - */ - @java.lang.Override - public boolean hasNextFireTime() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional int64 next_fire_time = 1; - * @return The nextFireTime. - */ - @java.lang.Override - public long getNextFireTime() { - return nextFireTime_; - } - /** - * optional int64 next_fire_time = 1; - * @param value The nextFireTime to set. - * @return This builder for chaining. - */ - public Builder setNextFireTime(long value) { - bitField0_ |= 0x00000001; - nextFireTime_ = value; - onChanged(); - return this; - } /** - * optional int64 next_fire_time = 1; - * @return This builder for chaining. + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Header} */ - public Builder clearNextFireTime() { - bitField0_ = (bitField0_ & ~0x00000001); - nextFireTime_ = 0L; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.ExtendableBuilder + implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Header) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HeaderOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor; + } - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger) - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.Builder.class); + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger(); - } + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger getDefaultInstance() { - return DEFAULT_INSTANCE; - } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PointInTimeTrigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PointInTimeTrigger(input, extensionRegistry); - } - }; + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getVersionFieldBuilder(); + getSignatureFieldBuilder(); + getStrategyFieldBuilder(); + } + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public Builder clear() { + super.clear(); + if (versionBuilder_ == null) { + version_ = null; + } else { + versionBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (signatureBuilder_ == null) { + signature_ = null; + } else { + signatureBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + if (strategyBuilder_ == null) { + strategy_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + strategyBuilder_.clear(); + } + payload_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor; + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.getDefaultInstance(); + } - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - public interface CompositeMaxDurationTriggerOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int64 maxDurationTimestamp = 1; - * @return Whether the maxDurationTimestamp field is set. - */ - boolean hasMaxDurationTimestamp(); - /** - * optional int64 maxDurationTimestamp = 1; - * @return The maxDurationTimestamp. - */ - long getMaxDurationTimestamp(); - - /** - * optional int64 timerCurrentDate = 2; - * @return Whether the timerCurrentDate field is set. - */ - boolean hasTimerCurrentDate(); - /** - * optional int64 timerCurrentDate = 2; - * @return The timerCurrentDate. - */ - long getTimerCurrentDate(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - * @return Whether the timerTrigger field is set. - */ - boolean hasTimerTrigger(); - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - * @return The timerTrigger. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getTimerTrigger(); - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder getTimerTriggerOrBuilder(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger} - */ - public static final class CompositeMaxDurationTrigger extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger) - CompositeMaxDurationTriggerOrBuilder { - private static final long serialVersionUID = 0L; - // Use CompositeMaxDurationTrigger.newBuilder() to construct. - private CompositeMaxDurationTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CompositeMaxDurationTrigger() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CompositeMaxDurationTrigger(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CompositeMaxDurationTrigger( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - maxDurationTimestamp_ = input.readInt64(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - timerCurrentDate_ = input.readInt64(); - break; - } - case 26: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) != 0)) { - subBuilder = timerTrigger_.toBuilder(); + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (versionBuilder_ == null) { + result.version_ = version_; + } else { + result.version_ = versionBuilder_.build(); + } + to_bitField0_ |= 0x00000001; } - timerTrigger_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timerTrigger_); - timerTrigger_ = subBuilder.buildPartial(); + if (((from_bitField0_ & 0x00000002) != 0)) { + if (signatureBuilder_ == null) { + result.signature_ = signature_; + } else { + result.signature_ = signatureBuilder_.build(); + } + to_bitField0_ |= 0x00000002; } - bitField0_ |= 0x00000004; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.Builder.class); - } - - private int bitField0_; - public static final int MAXDURATIONTIMESTAMP_FIELD_NUMBER = 1; - private long maxDurationTimestamp_; - /** - * optional int64 maxDurationTimestamp = 1; - * @return Whether the maxDurationTimestamp field is set. - */ - @java.lang.Override - public boolean hasMaxDurationTimestamp() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional int64 maxDurationTimestamp = 1; - * @return The maxDurationTimestamp. - */ - @java.lang.Override - public long getMaxDurationTimestamp() { - return maxDurationTimestamp_; - } - - public static final int TIMERCURRENTDATE_FIELD_NUMBER = 2; - private long timerCurrentDate_; - /** - * optional int64 timerCurrentDate = 2; - * @return Whether the timerCurrentDate field is set. - */ - @java.lang.Override - public boolean hasTimerCurrentDate() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional int64 timerCurrentDate = 2; - * @return The timerCurrentDate. - */ - @java.lang.Override - public long getTimerCurrentDate() { - return timerCurrentDate_; - } - - public static final int TIMERTRIGGER_FIELD_NUMBER = 3; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger timerTrigger_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - * @return Whether the timerTrigger field is set. - */ - @java.lang.Override - public boolean hasTimerTrigger() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - * @return The timerTrigger. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getTimerTrigger() { - return timerTrigger_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() : timerTrigger_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder getTimerTriggerOrBuilder() { - return timerTrigger_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() : timerTrigger_; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt64(1, maxDurationTimestamp_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt64(2, timerCurrentDate_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(3, getTimerTrigger()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, maxDurationTimestamp_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, timerCurrentDate_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTimerTrigger()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger) obj; - - if (hasMaxDurationTimestamp() != other.hasMaxDurationTimestamp()) return false; - if (hasMaxDurationTimestamp()) { - if (getMaxDurationTimestamp() - != other.getMaxDurationTimestamp()) return false; - } - if (hasTimerCurrentDate() != other.hasTimerCurrentDate()) return false; - if (hasTimerCurrentDate()) { - if (getTimerCurrentDate() - != other.getTimerCurrentDate()) return false; - } - if (hasTimerTrigger() != other.hasTimerTrigger()) return false; - if (hasTimerTrigger()) { - if (!getTimerTrigger() - .equals(other.getTimerTrigger())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasMaxDurationTimestamp()) { - hash = (37 * hash) + MAXDURATIONTIMESTAMP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaxDurationTimestamp()); - } - if (hasTimerCurrentDate()) { - hash = (37 * hash) + TIMERCURRENTDATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTimerCurrentDate()); - } - if (hasTimerTrigger()) { - hash = (37 * hash) + TIMERTRIGGER_FIELD_NUMBER; - hash = (53 * hash) + getTimerTrigger().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getTimerTriggerFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - maxDurationTimestamp_ = 0L; - bitField0_ = (bitField0_ & ~0x00000001); - timerCurrentDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000002); - if (timerTriggerBuilder_ == null) { - timerTrigger_ = null; - } else { - timerTriggerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.maxDurationTimestamp_ = maxDurationTimestamp_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.timerCurrentDate_ = timerCurrentDate_; - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - if (timerTriggerBuilder_ == null) { - result.timerTrigger_ = timerTrigger_; - } else { - result.timerTrigger_ = timerTriggerBuilder_.build(); + if (strategyBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + strategy_ = java.util.Collections.unmodifiableList(strategy_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.strategy_ = strategy_; + } else { + result.strategy_ = strategyBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.payload_ = payload_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; } - to_bitField0_ |= 0x00000004; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger)other); - } else { - super.mergeFrom(other); - return this; - } - } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.getDefaultInstance()) return this; - if (other.hasMaxDurationTimestamp()) { - setMaxDurationTimestamp(other.getMaxDurationTimestamp()); - } - if (other.hasTimerCurrentDate()) { - setTimerCurrentDate(other.getTimerCurrentDate()); - } - if (other.hasTimerTrigger()) { - mergeTimerTrigger(other.getTimerTrigger()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - } - return this; - } - private int bitField0_; - private long maxDurationTimestamp_ ; - /** - * optional int64 maxDurationTimestamp = 1; - * @return Whether the maxDurationTimestamp field is set. - */ - @java.lang.Override - public boolean hasMaxDurationTimestamp() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional int64 maxDurationTimestamp = 1; - * @return The maxDurationTimestamp. - */ - @java.lang.Override - public long getMaxDurationTimestamp() { - return maxDurationTimestamp_; - } - /** - * optional int64 maxDurationTimestamp = 1; - * @param value The maxDurationTimestamp to set. - * @return This builder for chaining. - */ - public Builder setMaxDurationTimestamp(long value) { - bitField0_ |= 0x00000001; - maxDurationTimestamp_ = value; - onChanged(); - return this; - } - /** - * optional int64 maxDurationTimestamp = 1; - * @return This builder for chaining. - */ - public Builder clearMaxDurationTimestamp() { - bitField0_ = (bitField0_ & ~0x00000001); - maxDurationTimestamp_ = 0L; - onChanged(); - return this; - } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } - private long timerCurrentDate_ ; - /** - * optional int64 timerCurrentDate = 2; - * @return Whether the timerCurrentDate field is set. - */ - @java.lang.Override - public boolean hasTimerCurrentDate() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional int64 timerCurrentDate = 2; - * @return The timerCurrentDate. - */ - @java.lang.Override - public long getTimerCurrentDate() { - return timerCurrentDate_; - } - /** - * optional int64 timerCurrentDate = 2; - * @param value The timerCurrentDate to set. - * @return This builder for chaining. - */ - public Builder setTimerCurrentDate(long value) { - bitField0_ |= 0x00000002; - timerCurrentDate_ = value; - onChanged(); - return this; - } - /** - * optional int64 timerCurrentDate = 2; - * @return This builder for chaining. - */ - public Builder clearTimerCurrentDate() { - bitField0_ = (bitField0_ & ~0x00000002); - timerCurrentDate_ = 0L; - onChanged(); - return this; - } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger timerTrigger_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder> timerTriggerBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - * @return Whether the timerTrigger field is set. - */ - public boolean hasTimerTrigger() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - * @return The timerTrigger. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getTimerTrigger() { - if (timerTriggerBuilder_ == null) { - return timerTrigger_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() : timerTrigger_; - } else { - return timerTriggerBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - */ - public Builder setTimerTrigger(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger value) { - if (timerTriggerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); } - timerTrigger_ = value; - onChanged(); - } else { - timerTriggerBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - */ - public Builder setTimerTrigger( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder builderForValue) { - if (timerTriggerBuilder_ == null) { - timerTrigger_ = builderForValue.build(); - onChanged(); - } else { - timerTriggerBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - */ - public Builder mergeTimerTrigger(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger value) { - if (timerTriggerBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - timerTrigger_ != null && - timerTrigger_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance()) { - timerTrigger_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.newBuilder(timerTrigger_).mergeFrom(value).buildPartial(); - } else { - timerTrigger_ = value; + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - onChanged(); - } else { - timerTriggerBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - */ - public Builder clearTimerTrigger() { - if (timerTriggerBuilder_ == null) { - timerTrigger_ = null; - onChanged(); - } else { - timerTriggerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder getTimerTriggerBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getTimerTriggerFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder getTimerTriggerOrBuilder() { - if (timerTriggerBuilder_ != null) { - return timerTriggerBuilder_.getMessageOrBuilder(); - } else { - return timerTrigger_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() : timerTrigger_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder> - getTimerTriggerFieldBuilder() { - if (timerTriggerBuilder_ == null) { - timerTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder>( - getTimerTrigger(), - getParentForChildren(), - isClean()); - timerTrigger_ = null; - } - return timerTriggerBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + @java.lang.Override + public Builder setExtension( + com.google.protobuf.GeneratedMessage.GeneratedExtension extension, + Type value) { + return super.setExtension(extension, value); + } + @java.lang.Override + public Builder setExtension( + com.google.protobuf.GeneratedMessage.GeneratedExtension> extension, + int index, Type value) { + return super.setExtension(extension, index, value); + } - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger) - } + @java.lang.Override + public Builder addExtension( + com.google.protobuf.GeneratedMessage.GeneratedExtension> extension, + Type value) { + return super.addExtension(extension, value); + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger(); - } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header) { + return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header) other); + } else { + super.mergeFrom(other); + return this; + } + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.getDefaultInstance()) + return this; + if (other.hasVersion()) { + mergeVersion(other.getVersion()); + } + if (other.hasSignature()) { + mergeSignature(other.getSignature()); + } + if (strategyBuilder_ == null) { + if (!other.strategy_.isEmpty()) { + if (strategy_.isEmpty()) { + strategy_ = other.strategy_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureStrategyIsMutable(); + strategy_.addAll(other.strategy_); + } + onChanged(); + } + } else { + if (!other.strategy_.isEmpty()) { + if (strategyBuilder_.isEmpty()) { + strategyBuilder_.dispose(); + strategyBuilder_ = null; + strategy_ = other.strategy_; + bitField0_ = (bitField0_ & ~0x00000004); + strategyBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getStrategyFieldBuilder() + : null; + } else { + strategyBuilder_.addAllMessages(other.strategy_); + } + } + } + if (other.hasPayload()) { + setPayload(other.getPayload()); + } + this.mergeExtensionFields(other); + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompositeMaxDurationTrigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompositeMaxDurationTrigger(input, extensionRegistry); - } - }; + @java.lang.Override + public final boolean isInitialized() { + if (!extensionsAreInitialized()) { + return false; + } + return true; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + private int bitField0_; - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version version_; + private com.google.protobuf.SingleFieldBuilderV3 versionBuilder_; - } + /** + *
+             * version for which this message was created
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; + * + * @return Whether the version field is set. + */ + public boolean hasVersion() { + return ((bitField0_ & 0x00000001) != 0); + } - private int bitField0_; - public static final int TYPE_FIELD_NUMBER = 1; - private int type_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; - * @return Whether the type field is set. - */ - @java.lang.Override public boolean hasType() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; - * @return The type. - */ - @java.lang.Override public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType getType() { - @SuppressWarnings("deprecation") - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType result = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType.valueOf(type_); - return result == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType.CRON : result; - } + /** + *
+             * version for which this message was created
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; + * + * @return The version. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version getVersion() { + if (versionBuilder_ == null) { + return version_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.getDefaultInstance() + : version_; + } else { + return versionBuilder_.getMessage(); + } + } - public static final int CRON_FIELD_NUMBER = 2; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger cron_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - * @return Whether the cron field is set. - */ - @java.lang.Override - public boolean hasCron() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - * @return The cron. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger getCron() { - return cron_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.getDefaultInstance() : cron_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTriggerOrBuilder getCronOrBuilder() { - return cron_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.getDefaultInstance() : cron_; - } + /** + *
+             * version for which this message was created
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; + */ + public Builder setVersion(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version value) { + if (versionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + version_ = value; + onChanged(); + } else { + versionBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } - public static final int INTERVAL_FIELD_NUMBER = 3; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger interval_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - * @return Whether the interval field is set. - */ - @java.lang.Override - public boolean hasInterval() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - * @return The interval. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger getInterval() { - return interval_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.getDefaultInstance() : interval_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTriggerOrBuilder getIntervalOrBuilder() { - return interval_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.getDefaultInstance() : interval_; - } + /** + *
+             * version for which this message was created
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; + */ + public Builder setVersion( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.Builder builderForValue) { + if (versionBuilder_ == null) { + version_ = builderForValue.build(); + onChanged(); + } else { + versionBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } - public static final int PIT_FIELD_NUMBER = 4; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger pit_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - * @return Whether the pit field is set. - */ - @java.lang.Override - public boolean hasPit() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - * @return The pit. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger getPit() { - return pit_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.getDefaultInstance() : pit_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTriggerOrBuilder getPitOrBuilder() { - return pit_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.getDefaultInstance() : pit_; - } + /** + *
+             * version for which this message was created
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; + */ + public Builder mergeVersion(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version value) { + if (versionBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + version_ != null && + version_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version + .getDefaultInstance()) { + version_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version + .newBuilder(version_).mergeFrom(value).buildPartial(); + } else { + version_ = value; + } + onChanged(); + } else { + versionBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } - public static final int CMDT_FIELD_NUMBER = 5; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger cmdt_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - * @return Whether the cmdt field is set. - */ - @java.lang.Override - public boolean hasCmdt() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - * @return The cmdt. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger getCmdt() { - return cmdt_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.getDefaultInstance() : cmdt_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTriggerOrBuilder getCmdtOrBuilder() { - return cmdt_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.getDefaultInstance() : cmdt_; - } + /** + *
+             * version for which this message was created
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; + */ + public Builder clearVersion() { + if (versionBuilder_ == null) { + version_ = null; + onChanged(); + } else { + versionBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + /** + *
+             * version for which this message was created
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.Builder getVersionBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getVersionFieldBuilder().getBuilder(); + } - memoizedIsInitialized = 1; - return true; - } + /** + *
+             * version for which this message was created
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VersionOrBuilder getVersionOrBuilder() { + if (versionBuilder_ != null) { + return versionBuilder_.getMessageOrBuilder(); + } else { + return version_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.getDefaultInstance() + : version_; + } + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeEnum(1, type_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(2, getCron()); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(3, getInterval()); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeMessage(4, getPit()); - } - if (((bitField0_ & 0x00000010) != 0)) { - output.writeMessage(5, getCmdt()); - } - unknownFields.writeTo(output); - } + /** + *
+             * version for which this message was created
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Version version = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3 getVersionFieldBuilder() { + if (versionBuilder_ == null) { + versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getVersion(), + getParentForChildren(), + isClean()); + version_ = null; + } + return versionBuilder_; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCron()); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInterval()); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPit()); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCmdt()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature signature_; + private com.google.protobuf.SingleFieldBuilderV3 signatureBuilder_; - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger) obj; - - if (hasType() != other.hasType()) return false; - if (hasType()) { - if (type_ != other.type_) return false; - } - if (hasCron() != other.hasCron()) return false; - if (hasCron()) { - if (!getCron() - .equals(other.getCron())) return false; - } - if (hasInterval() != other.hasInterval()) return false; - if (hasInterval()) { - if (!getInterval() - .equals(other.getInterval())) return false; - } - if (hasPit() != other.hasPit()) return false; - if (hasPit()) { - if (!getPit() - .equals(other.getPit())) return false; - } - if (hasCmdt() != other.hasCmdt()) return false; - if (hasCmdt()) { - if (!getCmdt() - .equals(other.getCmdt())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + /** + *
+             * Signature to prevent security concerns
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; + * + * @return Whether the signature field is set. + */ + public boolean hasSignature() { + return ((bitField0_ & 0x00000002) != 0); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasType()) { - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + type_; - } - if (hasCron()) { - hash = (37 * hash) + CRON_FIELD_NUMBER; - hash = (53 * hash) + getCron().hashCode(); - } - if (hasInterval()) { - hash = (37 * hash) + INTERVAL_FIELD_NUMBER; - hash = (53 * hash) + getInterval().hashCode(); - } - if (hasPit()) { - hash = (37 * hash) + PIT_FIELD_NUMBER; - hash = (53 * hash) + getPit().hashCode(); - } - if (hasCmdt()) { - hash = (37 * hash) + CMDT_FIELD_NUMBER; - hash = (53 * hash) + getCmdt().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + /** + *
+             * Signature to prevent security concerns
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; + * + * @return The signature. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature getSignature() { + if (signatureBuilder_ == null) { + return signature_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.getDefaultInstance() + : signature_; + } else { + return signatureBuilder_.getMessage(); + } + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+             * Signature to prevent security concerns
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; + */ + public Builder setSignature(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature value) { + if (signatureBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + signature_ = value; + onChanged(); + } else { + signatureBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + /** + *
+             * Signature to prevent security concerns
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; + */ + public Builder setSignature( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.Builder builderForValue) { + if (signatureBuilder_ == null) { + signature_ = builderForValue.build(); + onChanged(); + } else { + signatureBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Trigger) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getCronFieldBuilder(); - getIntervalFieldBuilder(); - getPitFieldBuilder(); - getCmdtFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - type_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - if (cronBuilder_ == null) { - cron_ = null; - } else { - cronBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - if (intervalBuilder_ == null) { - interval_ = null; - } else { - intervalBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - if (pitBuilder_ == null) { - pit_ = null; - } else { - pitBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - if (cmdtBuilder_ == null) { - cmdt_ = null; - } else { - cmdtBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.type_ = type_; - if (((from_bitField0_ & 0x00000002) != 0)) { - if (cronBuilder_ == null) { - result.cron_ = cron_; - } else { - result.cron_ = cronBuilder_.build(); - } - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - if (intervalBuilder_ == null) { - result.interval_ = interval_; - } else { - result.interval_ = intervalBuilder_.build(); - } - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - if (pitBuilder_ == null) { - result.pit_ = pit_; - } else { - result.pit_ = pitBuilder_.build(); - } - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - if (cmdtBuilder_ == null) { - result.cmdt_ = cmdt_; - } else { - result.cmdt_ = cmdtBuilder_.build(); - } - to_bitField0_ |= 0x00000010; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance()) return this; - if (other.hasType()) { - setType(other.getType()); - } - if (other.hasCron()) { - mergeCron(other.getCron()); - } - if (other.hasInterval()) { - mergeInterval(other.getInterval()); - } - if (other.hasPit()) { - mergePit(other.getPit()); - } - if (other.hasCmdt()) { - mergeCmdt(other.getCmdt()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private int type_ = 0; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; - * @return Whether the type field is set. - */ - @java.lang.Override public boolean hasType() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; - * @return The type. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType getType() { - @SuppressWarnings("deprecation") - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType result = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType.valueOf(type_); - return result == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType.CRON : result; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; - * @param value The type to set. - * @return This builder for chaining. - */ - public Builder setType(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - type_ = value.getNumber(); - onChanged(); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; - * @return This builder for chaining. - */ - public Builder clearType() { - bitField0_ = (bitField0_ & ~0x00000001); - type_ = 0; - onChanged(); - return this; - } - - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger cron_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTriggerOrBuilder> cronBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - * @return Whether the cron field is set. - */ - public boolean hasCron() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - * @return The cron. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger getCron() { - if (cronBuilder_ == null) { - return cron_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.getDefaultInstance() : cron_; - } else { - return cronBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - */ - public Builder setCron(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger value) { - if (cronBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - cron_ = value; - onChanged(); - } else { - cronBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - */ - public Builder setCron( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.Builder builderForValue) { - if (cronBuilder_ == null) { - cron_ = builderForValue.build(); - onChanged(); - } else { - cronBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - */ - public Builder mergeCron(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger value) { - if (cronBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - cron_ != null && - cron_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.getDefaultInstance()) { - cron_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.newBuilder(cron_).mergeFrom(value).buildPartial(); - } else { - cron_ = value; - } - onChanged(); - } else { - cronBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - */ - public Builder clearCron() { - if (cronBuilder_ == null) { - cron_ = null; - onChanged(); - } else { - cronBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.Builder getCronBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getCronFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTriggerOrBuilder getCronOrBuilder() { - if (cronBuilder_ != null) { - return cronBuilder_.getMessageOrBuilder(); - } else { - return cron_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.getDefaultInstance() : cron_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTriggerOrBuilder> - getCronFieldBuilder() { - if (cronBuilder_ == null) { - cronBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTriggerOrBuilder>( - getCron(), - getParentForChildren(), - isClean()); - cron_ = null; - } - return cronBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger interval_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTriggerOrBuilder> intervalBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - * @return Whether the interval field is set. - */ - public boolean hasInterval() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - * @return The interval. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger getInterval() { - if (intervalBuilder_ == null) { - return interval_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.getDefaultInstance() : interval_; - } else { - return intervalBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - */ - public Builder setInterval(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger value) { - if (intervalBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - interval_ = value; - onChanged(); - } else { - intervalBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - */ - public Builder setInterval( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.Builder builderForValue) { - if (intervalBuilder_ == null) { - interval_ = builderForValue.build(); - onChanged(); - } else { - intervalBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - */ - public Builder mergeInterval(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger value) { - if (intervalBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - interval_ != null && - interval_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.getDefaultInstance()) { - interval_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.newBuilder(interval_).mergeFrom(value).buildPartial(); - } else { - interval_ = value; - } - onChanged(); - } else { - intervalBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - */ - public Builder clearInterval() { - if (intervalBuilder_ == null) { - interval_ = null; - onChanged(); - } else { - intervalBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.Builder getIntervalBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getIntervalFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTriggerOrBuilder getIntervalOrBuilder() { - if (intervalBuilder_ != null) { - return intervalBuilder_.getMessageOrBuilder(); - } else { - return interval_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.getDefaultInstance() : interval_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTriggerOrBuilder> - getIntervalFieldBuilder() { - if (intervalBuilder_ == null) { - intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTriggerOrBuilder>( - getInterval(), - getParentForChildren(), - isClean()); - interval_ = null; - } - return intervalBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger pit_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTriggerOrBuilder> pitBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - * @return Whether the pit field is set. - */ - public boolean hasPit() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - * @return The pit. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger getPit() { - if (pitBuilder_ == null) { - return pit_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.getDefaultInstance() : pit_; - } else { - return pitBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - public Builder setPit(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger value) { - if (pitBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - pit_ = value; - onChanged(); - } else { - pitBuilder_.setMessage(value); - } - bitField0_ |= 0x00000008; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - public Builder setPit( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.Builder builderForValue) { - if (pitBuilder_ == null) { - pit_ = builderForValue.build(); - onChanged(); - } else { - pitBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000008; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - public Builder mergePit(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger value) { - if (pitBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - pit_ != null && - pit_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.getDefaultInstance()) { - pit_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.newBuilder(pit_).mergeFrom(value).buildPartial(); - } else { - pit_ = value; - } - onChanged(); - } else { - pitBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000008; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - public Builder clearPit() { - if (pitBuilder_ == null) { - pit_ = null; - onChanged(); - } else { - pitBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.Builder getPitBuilder() { - bitField0_ |= 0x00000008; - onChanged(); - return getPitFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTriggerOrBuilder getPitOrBuilder() { - if (pitBuilder_ != null) { - return pitBuilder_.getMessageOrBuilder(); - } else { - return pit_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.getDefaultInstance() : pit_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTriggerOrBuilder> - getPitFieldBuilder() { - if (pitBuilder_ == null) { - pitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTriggerOrBuilder>( - getPit(), - getParentForChildren(), - isClean()); - pit_ = null; - } - return pitBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger cmdt_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTriggerOrBuilder> cmdtBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - * @return Whether the cmdt field is set. - */ - public boolean hasCmdt() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - * @return The cmdt. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger getCmdt() { - if (cmdtBuilder_ == null) { - return cmdt_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.getDefaultInstance() : cmdt_; - } else { - return cmdtBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - public Builder setCmdt(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger value) { - if (cmdtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - cmdt_ = value; - onChanged(); - } else { - cmdtBuilder_.setMessage(value); - } - bitField0_ |= 0x00000010; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - public Builder setCmdt( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.Builder builderForValue) { - if (cmdtBuilder_ == null) { - cmdt_ = builderForValue.build(); - onChanged(); - } else { - cmdtBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000010; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - public Builder mergeCmdt(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger value) { - if (cmdtBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - cmdt_ != null && - cmdt_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.getDefaultInstance()) { - cmdt_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.newBuilder(cmdt_).mergeFrom(value).buildPartial(); - } else { - cmdt_ = value; - } - onChanged(); - } else { - cmdtBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000010; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - public Builder clearCmdt() { - if (cmdtBuilder_ == null) { - cmdt_ = null; - onChanged(); - } else { - cmdtBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.Builder getCmdtBuilder() { - bitField0_ |= 0x00000010; - onChanged(); - return getCmdtFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTriggerOrBuilder getCmdtOrBuilder() { - if (cmdtBuilder_ != null) { - return cmdtBuilder_.getMessageOrBuilder(); - } else { - return cmdt_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.getDefaultInstance() : cmdt_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTriggerOrBuilder> - getCmdtFieldBuilder() { - if (cmdtBuilder_ == null) { - cmdtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTriggerOrBuilder>( - getCmdt(), - getParentForChildren(), - isClean()); - cmdt_ = null; - } - return cmdtBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Trigger) - } + /** + *
+             * Signature to prevent security concerns
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; + */ + public Builder mergeSignature(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature value) { + if (signatureBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + signature_ != null && + signature_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature + .getDefaultInstance()) { + signature_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature + .newBuilder(signature_).mergeFrom(value).buildPartial(); + } else { + signature_ = value; + } + onChanged(); + } else { + signatureBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Trigger) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger(); - } + /** + *
+             * Signature to prevent security concerns
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; + */ + public Builder clearSignature() { + if (signatureBuilder_ == null) { + signature_ = null; + onChanged(); + } else { + signatureBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getDefaultInstance() { - return DEFAULT_INSTANCE; - } + /** + *
+             * Signature to prevent security concerns
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.Builder getSignatureBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getSignatureFieldBuilder().getBuilder(); + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Trigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Trigger(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + *
+             * Signature to prevent security concerns
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.SignatureOrBuilder getSignatureOrBuilder() { + if (signatureBuilder_ != null) { + return signatureBuilder_.getMessageOrBuilder(); + } else { + return signature_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.getDefaultInstance() + : signature_; + } + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + *
+             * Signature to prevent security concerns
+             * 
+ * + * optional .io.automatiko.engine.workflow.marshalling.Signature signature = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3 getSignatureFieldBuilder() { + if (signatureBuilder_ == null) { + signatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getSignature(), + getParentForChildren(), + isClean()); + signature_ = null; + } + return signatureBuilder_; + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + private java.util.List strategy_ = java.util.Collections + .emptyList(); - } - - public interface ProcessDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessData) - com.google.protobuf.GeneratedMessageV3. - ExtendableMessageOrBuilder { - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessData} - */ - public static final class ProcessData extends - com.google.protobuf.GeneratedMessageV3.ExtendableMessage< - ProcessData> implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessData) - ProcessDataOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProcessData.newBuilder() to construct. - private ProcessData(com.google.protobuf.GeneratedMessageV3.ExtendableBuilder builder) { - super(builder); - } - private ProcessData() { - } + private void ensureStrategyIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + strategy_ = new java.util.ArrayList( + strategy_); + bitField0_ |= 0x00000004; + } + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ProcessData(); - } + private com.google.protobuf.RepeatedFieldBuilderV3 strategyBuilder_; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProcessData( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_descriptor; - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public java.util.List getStrategyList() { + if (strategyBuilder_ == null) { + return java.util.Collections.unmodifiableList(strategy_); + } else { + return strategyBuilder_.getMessageList(); + } + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.Builder.class); - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public int getStrategyCount() { + if (strategyBuilder_ == null) { + return strategy_.size(); + } else { + return strategyBuilder_.getCount(); + } + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - if (!extensionsAreInitialized()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex getStrategy( + int index) { + if (strategyBuilder_ == null) { + return strategy_.get(index); + } else { + return strategyBuilder_.getMessage(index); + } + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3 - .ExtendableMessage.ExtensionWriter - extensionWriter = newExtensionWriter(); - extensionWriter.writeUntil(200, output); - unknownFields.writeTo(output); - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public Builder setStrategy( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex value) { + if (strategyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStrategyIsMutable(); + strategy_.set(index, value); + onChanged(); + } else { + strategyBuilder_.setMessage(index, value); + } + return this; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public Builder setStrategy( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder builderForValue) { + if (strategyBuilder_ == null) { + ensureStrategyIsMutable(); + strategy_.set(index, builderForValue.build()); + onChanged(); + } else { + strategyBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } - size = 0; - size += extensionsSerializedSize(); - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public Builder addStrategy( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex value) { + if (strategyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStrategyIsMutable(); + strategy_.add(value); + onChanged(); + } else { + strategyBuilder_.addMessage(value); + } + return this; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData) obj; - - if (!unknownFields.equals(other.unknownFields)) return false; - if (!getExtensionFields().equals(other.getExtensionFields())) - return false; - return true; - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public Builder addStrategy( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex value) { + if (strategyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureStrategyIsMutable(); + strategy_.add(index, value); + onChanged(); + } else { + strategyBuilder_.addMessage(index, value); + } + return this; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = hashFields(hash, getExtensionFields()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public Builder addStrategy( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder builderForValue) { + if (strategyBuilder_ == null) { + ensureStrategyIsMutable(); + strategy_.add(builderForValue.build()); + onChanged(); + } else { + strategyBuilder_.addMessage(builderForValue.build()); + } + return this; + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public Builder addStrategy( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder builderForValue) { + if (strategyBuilder_ == null) { + ensureStrategyIsMutable(); + strategy_.add(index, builderForValue.build()); + onChanged(); + } else { + strategyBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public Builder addAllStrategy( + java.lang.Iterable values) { + if (strategyBuilder_ == null) { + ensureStrategyIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, strategy_); + onChanged(); + } else { + strategyBuilder_.addAllMessages(values); + } + return this; + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessData} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.ExtendableBuilder< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData, Builder> implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessData) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder setExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData, Type> extension, - Type value) { - return super.setExtension(extension, value); - } - @java.lang.Override - public Builder setExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData, java.util.List> extension, - int index, Type value) { - return super.setExtension(extension, index, value); - } - @java.lang.Override - public Builder addExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData, java.util.List> extension, - Type value) { - return super.addExtension(extension, value); - } - @java.lang.Override - public Builder clearExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData, ?> extension) { - return super.clearExtension(extension); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.getDefaultInstance()) return this; - this.mergeExtensionFields(other); - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - if (!extensionsAreInitialized()) { - return false; - } - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessData) - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public Builder clearStrategy() { + if (strategyBuilder_ == null) { + strategy_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + strategyBuilder_.clear(); + } + return this; + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessData) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData(); - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public Builder removeStrategy(int index) { + if (strategyBuilder_ == null) { + ensureStrategyIsMutable(); + strategy_.remove(index); + onChanged(); + } else { + strategyBuilder_.remove(index); + } + return this; + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData getDefaultInstance() { - return DEFAULT_INSTANCE; - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder getStrategyBuilder( + int index) { + return getStrategyFieldBuilder().getBuilder(index); + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProcessData(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder getStrategyOrBuilder( + int index) { + if (strategyBuilder_ == null) { + return strategy_.get(index); + } else { + return strategyBuilder_.getMessageOrBuilder(index); + } + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public java.util.List getStrategyOrBuilderList() { + if (strategyBuilder_ != null) { + return strategyBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(strategy_); + } + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder addStrategyBuilder() { + return getStrategyFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex + .getDefaultInstance()); + } - } + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex.Builder addStrategyBuilder( + int index) { + return getStrategyFieldBuilder().addBuilder( + index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex + .getDefaultInstance()); + } - public interface ProcessInstanceOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance) - com.google.protobuf.MessageOrBuilder { + /** + *
+             * The list of strategy classes used for this serialization
+             * 
+ * + * repeated .io.automatiko.engine.workflow.marshalling.Header.StrategyIndex strategy = 9; + */ + public java.util.List getStrategyBuilderList() { + return getStrategyFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getStrategyFieldBuilder() { + if (strategyBuilder_ == null) { + strategyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + strategy_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + strategy_ = null; + } + return strategyBuilder_; + } - /** - * optional string process_type = 1; - * @return Whether the processType field is set. - */ - boolean hasProcessType(); - /** - * optional string process_type = 1; - * @return The processType. - */ - java.lang.String getProcessType(); - /** - * optional string process_type = 1; - * @return The bytes for processType. - */ - com.google.protobuf.ByteString - getProcessTypeBytes(); + private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY; - /** - * optional string id = 2; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * optional string id = 2; - * @return The id. - */ - java.lang.String getId(); - /** - * optional string id = 2; - * @return The bytes for id. - */ - com.google.protobuf.ByteString - getIdBytes(); + /** + *
+             * byte blobs
+             * 
+ * + * optional bytes payload = 10; + * + * @return Whether the payload field is set. + */ + @java.lang.Override + public boolean hasPayload() { + return ((bitField0_ & 0x00000008) != 0); + } - /** - * optional string process_id = 3; - * @return Whether the processId field is set. - */ - boolean hasProcessId(); - /** - * optional string process_id = 3; - * @return The processId. - */ - java.lang.String getProcessId(); - /** - * optional string process_id = 3; - * @return The bytes for processId. - */ - com.google.protobuf.ByteString - getProcessIdBytes(); + /** + *
+             * byte blobs
+             * 
+ * + * optional bytes payload = 10; + * + * @return The payload. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPayload() { + return payload_; + } - /** - * optional string process_version = 31; - * @return Whether the processVersion field is set. - */ - boolean hasProcessVersion(); - /** - * optional string process_version = 31; - * @return The processVersion. - */ - java.lang.String getProcessVersion(); - /** - * optional string process_version = 31; - * @return The bytes for processVersion. - */ - com.google.protobuf.ByteString - getProcessVersionBytes(); + /** + *
+             * byte blobs
+             * 
+ * + * optional bytes payload = 10; + * + * @param value The payload to set. + * @return This builder for chaining. + */ + public Builder setPayload(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + payload_ = value; + onChanged(); + return this; + } - /** - * optional int32 state = 4; - * @return Whether the state field is set. - */ - boolean hasState(); - /** - * optional int32 state = 4; - * @return The state. - */ - int getState(); + /** + *
+             * byte blobs
+             * 
+ * + * optional bytes payload = 10; + * + * @return This builder for chaining. + */ + public Builder clearPayload() { + bitField0_ = (bitField0_ & ~0x00000008); + payload_ = getDefaultInstance().getPayload(); + onChanged(); + return this; + } - /** - * optional int64 node_instance_counter = 5; - * @return Whether the nodeInstanceCounter field is set. - */ - boolean hasNodeInstanceCounter(); - /** - * optional int64 node_instance_counter = 5; - * @return The nodeInstanceCounter. - */ - long getNodeInstanceCounter(); + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } - /** - * optional string process_xml = 11; - * @return Whether the processXml field is set. - */ - boolean hasProcessXml(); - /** - * optional string process_xml = 11; - * @return The processXml. - */ - java.lang.String getProcessXml(); - /** - * optional string process_xml = 11; - * @return The bytes for processXml. - */ - com.google.protobuf.ByteString - getProcessXmlBytes(); + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } - /** - * optional string parent_process_instance_id = 12; - * @return Whether the parentProcessInstanceId field is set. - */ - boolean hasParentProcessInstanceId(); - /** - * optional string parent_process_instance_id = 12; - * @return The parentProcessInstanceId. - */ - java.lang.String getParentProcessInstanceId(); - /** - * optional string parent_process_instance_id = 12; - * @return The bytes for parentProcessInstanceId. - */ - com.google.protobuf.ByteString - getParentProcessInstanceIdBytes(); + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Header) + } - /** - * optional string description = 15; - * @return Whether the description field is set. - */ - boolean hasDescription(); - /** - * optional string description = 15; - * @return The description. - */ - java.lang.String getDescription(); - /** - * optional string description = 15; - * @return The bytes for description. - */ - com.google.protobuf.ByteString - getDescriptionBytes(); + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Header) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header(); + } - /** - * optional bool signal_completion = 16 [default = true]; - * @return Whether the signalCompletion field is set. - */ - boolean hasSignalCompletion(); - /** - * optional bool signal_completion = 16 [default = true]; - * @return The signalCompletion. - */ - boolean getSignalCompletion(); - - /** - * optional string deploymentId = 17; - * @return Whether the deploymentId field is set. - */ - boolean hasDeploymentId(); - /** - * optional string deploymentId = 17; - * @return The deploymentId. - */ - java.lang.String getDeploymentId(); - /** - * optional string deploymentId = 17; - * @return The bytes for deploymentId. - */ - com.google.protobuf.ByteString - getDeploymentIdBytes(); - - /** - * optional string correlation_key = 18; - * @return Whether the correlationKey field is set. - */ - boolean hasCorrelationKey(); - /** - * optional string correlation_key = 18; - * @return The correlationKey. - */ - java.lang.String getCorrelationKey(); - /** - * optional string correlation_key = 18; - * @return The bytes for correlationKey. - */ - com.google.protobuf.ByteString - getCorrelationKeyBytes(); - - /** - * optional string sla_timer_id = 19; - * @return Whether the slaTimerId field is set. - */ - boolean hasSlaTimerId(); - /** - * optional string sla_timer_id = 19; - * @return The slaTimerId. - */ - java.lang.String getSlaTimerId(); - /** - * optional string sla_timer_id = 19; - * @return The bytes for slaTimerId. - */ - com.google.protobuf.ByteString - getSlaTimerIdBytes(); - - /** - * optional int64 sla_due_date = 20; - * @return Whether the slaDueDate field is set. - */ - boolean hasSlaDueDate(); - /** - * optional int64 sla_due_date = 20; - * @return The slaDueDate. - */ - long getSlaDueDate(); - - /** - * optional int32 sla_compliance = 21; - * @return Whether the slaCompliance field is set. - */ - boolean hasSlaCompliance(); - /** - * optional int32 sla_compliance = 21; - * @return The slaCompliance. - */ - int getSlaCompliance(); - - /** - * optional string root_process_instance_id = 22; - * @return Whether the rootProcessInstanceId field is set. - */ - boolean hasRootProcessInstanceId(); - /** - * optional string root_process_instance_id = 22; - * @return The rootProcessInstanceId. - */ - java.lang.String getRootProcessInstanceId(); - /** - * optional string root_process_instance_id = 22; - * @return The bytes for rootProcessInstanceId. - */ - com.google.protobuf.ByteString - getRootProcessInstanceIdBytes(); - - /** - * optional int64 start_date = 23; - * @return Whether the startDate field is set. - */ - boolean hasStartDate(); - /** - * optional int64 start_date = 23; - * @return The startDate. - */ - long getStartDate(); - - /** - * optional string root_process_id = 24; - * @return Whether the rootProcessId field is set. - */ - boolean hasRootProcessId(); - /** - * optional string root_process_id = 24; - * @return The rootProcessId. - */ - java.lang.String getRootProcessId(); - /** - * optional string root_process_id = 24; - * @return The bytes for rootProcessId. - */ - com.google.protobuf.ByteString - getRootProcessIdBytes(); - - /** - * optional string reference_id = 25; - * @return Whether the referenceId field is set. - */ - boolean hasReferenceId(); - /** - * optional string reference_id = 25; - * @return The referenceId. - */ - java.lang.String getReferenceId(); - /** - * optional string reference_id = 25; - * @return The bytes for referenceId. - */ - com.google.protobuf.ByteString - getReferenceIdBytes(); - - /** - * optional string initiator = 26; - * @return Whether the initiator field is set. - */ - boolean hasInitiator(); - /** - * optional string initiator = 26; - * @return The initiator. - */ - java.lang.String getInitiator(); - /** - * optional string initiator = 26; - * @return The bytes for initiator. - */ - com.google.protobuf.ByteString - getInitiatorBytes(); - - /** - * optional string reference_from_root = 30; - * @return Whether the referenceFromRoot field is set. - */ - boolean hasReferenceFromRoot(); - /** - * optional string reference_from_root = 30; - * @return The referenceFromRoot. - */ - java.lang.String getReferenceFromRoot(); - /** - * optional string reference_from_root = 30; - * @return The bytes for referenceFromRoot. - */ - com.google.protobuf.ByteString - getReferenceFromRootBytes(); - - /** - * optional int64 end_date = 33; - * @return Whether the endDate field is set. - */ - boolean hasEndDate(); - /** - * optional int64 end_date = 33; - * @return The endDate. - */ - long getEndDate(); - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - java.util.List - getSwimlaneContextList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance getSwimlaneContext(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - int getSwimlaneContextCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - java.util.List - getSwimlaneContextOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder getSwimlaneContextOrBuilder( - int index); - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - java.util.List - getNodeInstanceList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - int getNodeInstanceCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - java.util.List - getNodeInstanceOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header getDefaultInstance() { + return DEFAULT_INSTANCE; + } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - java.util.List - getVariableList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - int getVariableCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - java.util.List - getVariableOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index); + @java.lang.Deprecated + public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser
() { + @java.lang.Override + public Header parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Header(input, extensionRegistry); + } + }; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - java.util.List - getExclusiveGroupList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - int getExclusiveGroupCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - java.util.List - getExclusiveGroupOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( - int index); + public static com.google.protobuf.Parser
parser() { + return PARSER; + } - /** - * repeated string completedNodeIds = 13; - * @return A list containing the completedNodeIds. - */ - java.util.List - getCompletedNodeIdsList(); - /** - * repeated string completedNodeIds = 13; - * @return The count of completedNodeIds. - */ - int getCompletedNodeIdsCount(); - /** - * repeated string completedNodeIds = 13; - * @param index The index of the element to return. - * @return The completedNodeIds at the given index. - */ - java.lang.String getCompletedNodeIds(int index); - /** - * repeated string completedNodeIds = 13; - * @param index The index of the value to return. - * @return The bytes of the completedNodeIds at the given index. - */ - com.google.protobuf.ByteString - getCompletedNodeIdsBytes(int index); + @java.lang.Override + public com.google.protobuf.Parser
getParserForType() { + return PARSER; + } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - java.util.List - getIterationLevelsList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - int getIterationLevelsCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - java.util.List - getIterationLevelsOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index); + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - java.util.List - getChildrenList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren getChildren(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - int getChildrenCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - java.util.List - getChildrenOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildrenOrBuilder getChildrenOrBuilder( - int index); + } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - java.util.List - getTagsList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag getTags(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - int getTagsCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - java.util.List - getTagsOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.TagOrBuilder getTagsOrBuilder( - int index); + public interface VersionOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Version) + com.google.protobuf.MessageOrBuilder { - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - java.util.List - getErrorsList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error getErrors(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - int getErrorsCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - java.util.List - getErrorsOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ErrorOrBuilder getErrorsOrBuilder( - int index); + /** + * optional int32 version_major = 1; + * + * @return Whether the versionMajor field is set. + */ + boolean hasVersionMajor(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - * @return Whether the recoveryItem field is set. - */ - boolean hasRecoveryItem(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - * @return The recoveryItem. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem getRecoveryItem(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItemOrBuilder getRecoveryItemOrBuilder(); + /** + * optional int32 version_major = 1; + * + * @return The versionMajor. + */ + int getVersionMajor(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - java.util.List - getFinishedSubprocessesList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses getFinishedSubprocesses(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - int getFinishedSubprocessesCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - java.util.List - getFinishedSubprocessesOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcessesOrBuilder getFinishedSubprocessesOrBuilder( - int index); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance} - */ - public static final class ProcessInstance extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance) - ProcessInstanceOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProcessInstance.newBuilder() to construct. - private ProcessInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProcessInstance() { - processType_ = ""; - id_ = ""; - processId_ = ""; - processVersion_ = ""; - processXml_ = ""; - parentProcessInstanceId_ = ""; - description_ = ""; - signalCompletion_ = true; - deploymentId_ = ""; - correlationKey_ = ""; - slaTimerId_ = ""; - rootProcessInstanceId_ = ""; - rootProcessId_ = ""; - referenceId_ = ""; - initiator_ = ""; - referenceFromRoot_ = ""; - swimlaneContext_ = java.util.Collections.emptyList(); - nodeInstance_ = java.util.Collections.emptyList(); - variable_ = java.util.Collections.emptyList(); - exclusiveGroup_ = java.util.Collections.emptyList(); - completedNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - iterationLevels_ = java.util.Collections.emptyList(); - children_ = java.util.Collections.emptyList(); - tags_ = java.util.Collections.emptyList(); - errors_ = java.util.Collections.emptyList(); - finishedSubprocesses_ = java.util.Collections.emptyList(); - } + /** + * optional int32 version_minor = 2; + * + * @return Whether the versionMinor field is set. + */ + boolean hasVersionMinor(); - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ProcessInstance(); - } + /** + * optional int32 version_minor = 2; + * + * @return The versionMinor. + */ + int getVersionMinor(); - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProcessInstance( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - int mutable_bitField1_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - processType_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - id_ = bs; - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000004; - processId_ = bs; - break; - } - case 32: { - bitField0_ |= 0x00000010; - state_ = input.readInt32(); - break; - } - case 40: { - bitField0_ |= 0x00000020; - nodeInstanceCounter_ = input.readInt64(); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00400000) != 0)) { - swimlaneContext_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00400000; - } - swimlaneContext_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.PARSER, extensionRegistry)); - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00800000) != 0)) { - nodeInstance_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00800000; - } - nodeInstance_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.PARSER, extensionRegistry)); - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x01000000) != 0)) { - variable_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x01000000; - } - variable_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.PARSER, extensionRegistry)); - break; - } - case 82: { - if (!((mutable_bitField0_ & 0x02000000) != 0)) { - exclusiveGroup_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x02000000; - } - exclusiveGroup_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.PARSER, extensionRegistry)); - break; - } - case 90: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000040; - processXml_ = bs; - break; - } - case 98: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000080; - parentProcessInstanceId_ = bs; - break; - } - case 106: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x04000000) != 0)) { - completedNodeIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x04000000; - } - completedNodeIds_.add(bs); - break; - } - case 114: { - if (!((mutable_bitField0_ & 0x08000000) != 0)) { - iterationLevels_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x08000000; - } - iterationLevels_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.PARSER, extensionRegistry)); - break; - } - case 122: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000100; - description_ = bs; - break; - } - case 128: { - bitField0_ |= 0x00000200; - signalCompletion_ = input.readBool(); - break; - } - case 138: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000400; - deploymentId_ = bs; - break; - } - case 146: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000800; - correlationKey_ = bs; - break; - } - case 154: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00001000; - slaTimerId_ = bs; - break; - } - case 160: { - bitField0_ |= 0x00002000; - slaDueDate_ = input.readInt64(); - break; - } - case 168: { - bitField0_ |= 0x00004000; - slaCompliance_ = input.readInt32(); - break; - } - case 178: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00008000; - rootProcessInstanceId_ = bs; - break; - } - case 184: { - bitField0_ |= 0x00010000; - startDate_ = input.readInt64(); - break; - } - case 194: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00020000; - rootProcessId_ = bs; - break; - } - case 202: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00040000; - referenceId_ = bs; - break; - } - case 210: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00080000; - initiator_ = bs; - break; - } - case 218: { - if (!((mutable_bitField0_ & 0x10000000) != 0)) { - children_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x10000000; - } - children_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.PARSER, extensionRegistry)); - break; - } - case 226: { - if (!((mutable_bitField0_ & 0x20000000) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x20000000; - } - tags_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.PARSER, extensionRegistry)); - break; - } - case 234: { - if (!((mutable_bitField0_ & 0x40000000) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x40000000; - } - errors_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.PARSER, extensionRegistry)); - break; - } - case 242: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00100000; - referenceFromRoot_ = bs; - break; - } - case 250: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000008; - processVersion_ = bs; - break; - } - case 258: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.Builder subBuilder = null; - if (((bitField0_ & 0x00400000) != 0)) { - subBuilder = recoveryItem_.toBuilder(); - } - recoveryItem_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(recoveryItem_); - recoveryItem_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00400000; - break; - } - case 264: { - bitField0_ |= 0x00200000; - endDate_ = input.readInt64(); - break; - } - case 274: { - if (!((mutable_bitField1_ & 0x00000001) != 0)) { - finishedSubprocesses_ = new java.util.ArrayList(); - mutable_bitField1_ |= 0x00000001; - } - finishedSubprocesses_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.PARSER, extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00400000) != 0)) { - swimlaneContext_ = java.util.Collections.unmodifiableList(swimlaneContext_); - } - if (((mutable_bitField0_ & 0x00800000) != 0)) { - nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); - } - if (((mutable_bitField0_ & 0x01000000) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - } - if (((mutable_bitField0_ & 0x02000000) != 0)) { - exclusiveGroup_ = java.util.Collections.unmodifiableList(exclusiveGroup_); - } - if (((mutable_bitField0_ & 0x04000000) != 0)) { - completedNodeIds_ = completedNodeIds_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x08000000) != 0)) { - iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); - } - if (((mutable_bitField0_ & 0x10000000) != 0)) { - children_ = java.util.Collections.unmodifiableList(children_); - } - if (((mutable_bitField0_ & 0x20000000) != 0)) { - tags_ = java.util.Collections.unmodifiableList(tags_); - } - if (((mutable_bitField0_ & 0x40000000) != 0)) { - errors_ = java.util.Collections.unmodifiableList(errors_); - } - if (((mutable_bitField1_ & 0x00000001) != 0)) { - finishedSubprocesses_ = java.util.Collections.unmodifiableList(finishedSubprocesses_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor; - } + /** + * optional int32 version_revision = 3; + * + * @return Whether the versionRevision field is set. + */ + boolean hasVersionRevision(); - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Builder.class); + /** + * optional int32 version_revision = 3; + * + * @return The versionRevision. + */ + int getVersionRevision(); } /** - * Protobuf enum {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType} + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Version} */ - public enum NodeInstanceType - implements com.google.protobuf.ProtocolMessageEnum { - /** - * RULE_SET_NODE = 0; - */ - RULE_SET_NODE(0), - /** - * HUMAN_TASK_NODE = 1; - */ - HUMAN_TASK_NODE(1), - /** - * WORK_ITEM_NODE = 2; - */ - WORK_ITEM_NODE(2), - /** - * SUBPROCESS_NODE = 3; - */ - SUBPROCESS_NODE(3), - /** - * MILESTONE_NODE = 4; - */ - MILESTONE_NODE(4), - /** - * EVENT_NODE = 5; - */ - EVENT_NODE(5), - /** - * TIMER_NODE = 6; - */ - TIMER_NODE(6), - /** - * JOIN_NODE = 7; - */ - JOIN_NODE(7), - /** - * STATE_NODE = 8; - */ - STATE_NODE(8), - /** - * COMPOSITE_CONTEXT_NODE = 9; - */ - COMPOSITE_CONTEXT_NODE(9), - /** - * FOR_EACH_NODE = 10; - */ - FOR_EACH_NODE(10), - /** - * DYNAMIC_NODE = 11; - */ - DYNAMIC_NODE(11), - /** - * EVENT_SUBPROCESS_NODE = 12; - */ - EVENT_SUBPROCESS_NODE(12), - /** - * ASYNC_EVENT_NODE = 13; - */ - ASYNC_EVENT_NODE(13), - /** - * SUB_PROCESS_NODE = 14; - */ - SUB_PROCESS_NODE(14), - ; - - /** - * RULE_SET_NODE = 0; - */ - public static final int RULE_SET_NODE_VALUE = 0; - /** - * HUMAN_TASK_NODE = 1; - */ - public static final int HUMAN_TASK_NODE_VALUE = 1; - /** - * WORK_ITEM_NODE = 2; - */ - public static final int WORK_ITEM_NODE_VALUE = 2; - /** - * SUBPROCESS_NODE = 3; - */ - public static final int SUBPROCESS_NODE_VALUE = 3; - /** - * MILESTONE_NODE = 4; - */ - public static final int MILESTONE_NODE_VALUE = 4; - /** - * EVENT_NODE = 5; - */ - public static final int EVENT_NODE_VALUE = 5; - /** - * TIMER_NODE = 6; - */ - public static final int TIMER_NODE_VALUE = 6; - /** - * JOIN_NODE = 7; - */ - public static final int JOIN_NODE_VALUE = 7; - /** - * STATE_NODE = 8; - */ - public static final int STATE_NODE_VALUE = 8; - /** - * COMPOSITE_CONTEXT_NODE = 9; - */ - public static final int COMPOSITE_CONTEXT_NODE_VALUE = 9; - /** - * FOR_EACH_NODE = 10; - */ - public static final int FOR_EACH_NODE_VALUE = 10; - /** - * DYNAMIC_NODE = 11; - */ - public static final int DYNAMIC_NODE_VALUE = 11; - /** - * EVENT_SUBPROCESS_NODE = 12; - */ - public static final int EVENT_SUBPROCESS_NODE_VALUE = 12; - /** - * ASYNC_EVENT_NODE = 13; - */ - public static final int ASYNC_EVENT_NODE_VALUE = 13; - /** - * SUB_PROCESS_NODE = 14; - */ - public static final int SUB_PROCESS_NODE_VALUE = 14; - - - public final int getNumber() { - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static NodeInstanceType valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static NodeInstanceType forNumber(int value) { - switch (value) { - case 0: return RULE_SET_NODE; - case 1: return HUMAN_TASK_NODE; - case 2: return WORK_ITEM_NODE; - case 3: return SUBPROCESS_NODE; - case 4: return MILESTONE_NODE; - case 5: return EVENT_NODE; - case 6: return TIMER_NODE; - case 7: return JOIN_NODE; - case 8: return STATE_NODE; - case 9: return COMPOSITE_CONTEXT_NODE; - case 10: return FOR_EACH_NODE; - case 11: return DYNAMIC_NODE; - case 12: return EVENT_SUBPROCESS_NODE; - case 13: return ASYNC_EVENT_NODE; - case 14: return SUB_PROCESS_NODE; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { - return internalValueMap; - } - private static final com.google.protobuf.Internal.EnumLiteMap< - NodeInstanceType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public NodeInstanceType findValueByNumber(int number) { - return NodeInstanceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { - return getDescriptor(); - } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.getDescriptor().getEnumTypes().get(0); - } - - private static final NodeInstanceType[] VALUES = values(); - - public static NodeInstanceType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private NodeInstanceType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType) - } + public static final class Version extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Version) + VersionOrBuilder { + private static final long serialVersionUID = 0L; - public interface ProcessInstanchChildrenOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string process_id = 1; - * @return Whether the processId field is set. - */ - boolean hasProcessId(); - /** - * optional string process_id = 1; - * @return The processId. - */ - java.lang.String getProcessId(); - /** - * optional string process_id = 1; - * @return The bytes for processId. - */ - com.google.protobuf.ByteString - getProcessIdBytes(); - - /** - * repeated string ids = 2; - * @return A list containing the ids. - */ - java.util.List - getIdsList(); - /** - * repeated string ids = 2; - * @return The count of ids. - */ - int getIdsCount(); - /** - * repeated string ids = 2; - * @param index The index of the element to return. - * @return The ids at the given index. - */ - java.lang.String getIds(int index); - /** - * repeated string ids = 2; - * @param index The index of the value to return. - * @return The bytes of the ids at the given index. - */ - com.google.protobuf.ByteString - getIdsBytes(int index); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren} - */ - public static final class ProcessInstanchChildren extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren) - ProcessInstanchChildrenOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProcessInstanchChildren.newBuilder() to construct. - private ProcessInstanchChildren(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProcessInstanchChildren() { - processId_ = ""; - ids_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ProcessInstanchChildren(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProcessInstanchChildren( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - processId_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - ids_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - ids_.add(bs); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - ids_ = ids_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder.class); - } - - private int bitField0_; - public static final int PROCESS_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object processId_; - /** - * optional string process_id = 1; - * @return Whether the processId field is set. - */ - @java.lang.Override - public boolean hasProcessId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string process_id = 1; - * @return The processId. - */ - @java.lang.Override - public java.lang.String getProcessId() { - java.lang.Object ref = processId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processId_ = s; - } - return s; - } - } - /** - * optional string process_id = 1; - * @return The bytes for processId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getProcessIdBytes() { - java.lang.Object ref = processId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int IDS_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList ids_; - /** - * repeated string ids = 2; - * @return A list containing the ids. - */ - public com.google.protobuf.ProtocolStringList - getIdsList() { - return ids_; - } - /** - * repeated string ids = 2; - * @return The count of ids. - */ - public int getIdsCount() { - return ids_.size(); - } - /** - * repeated string ids = 2; - * @param index The index of the element to return. - * @return The ids at the given index. - */ - public java.lang.String getIds(int index) { - return ids_.get(index); - } - /** - * repeated string ids = 2; - * @param index The index of the value to return. - * @return The bytes of the ids at the given index. - */ - public com.google.protobuf.ByteString - getIdsBytes(int index) { - return ids_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, processId_); - } - for (int i = 0; i < ids_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ids_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, processId_); - } - { - int dataSize = 0; - for (int i = 0; i < ids_.size(); i++) { - dataSize += computeStringSizeNoTag(ids_.getRaw(i)); - } - size += dataSize; - size += 1 * getIdsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren) obj; - - if (hasProcessId() != other.hasProcessId()) return false; - if (hasProcessId()) { - if (!getProcessId() - .equals(other.getProcessId())) return false; - } - if (!getIdsList() - .equals(other.getIdsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasProcessId()) { - hash = (37 * hash) + PROCESS_ID_FIELD_NUMBER; - hash = (53 * hash) + getProcessId().hashCode(); - } - if (getIdsCount() > 0) { - hash = (37 * hash) + IDS_FIELD_NUMBER; - hash = (53 * hash) + getIdsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildrenOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - processId_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - ids_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.processId_ = processId_; - if (((bitField0_ & 0x00000002) != 0)) { - ids_ = ids_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.ids_ = ids_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + // Use Version.newBuilder() to construct. + private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); + private Version() { } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Version(); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + + private Version( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + bitField0_ |= 0x00000001; + versionMajor_ = input.readInt32(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + versionMinor_ = input.readInt32(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + versionRevision_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Version_descriptor; } + @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren)other); - } else { - super.mergeFrom(other); - return this; - } + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Version_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.Builder.class); } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.getDefaultInstance()) return this; - if (other.hasProcessId()) { - bitField0_ |= 0x00000001; - processId_ = other.processId_; - onChanged(); - } - if (!other.ids_.isEmpty()) { - if (ids_.isEmpty()) { - ids_ = other.ids_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureIdsIsMutable(); - ids_.addAll(other.ids_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } private int bitField0_; + public static final int VERSION_MAJOR_FIELD_NUMBER = 1; + private int versionMajor_; - private java.lang.Object processId_ = ""; - /** - * optional string process_id = 1; - * @return Whether the processId field is set. - */ - public boolean hasProcessId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string process_id = 1; - * @return The processId. - */ - public java.lang.String getProcessId() { - java.lang.Object ref = processId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string process_id = 1; - * @return The bytes for processId. - */ - public com.google.protobuf.ByteString - getProcessIdBytes() { - java.lang.Object ref = processId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string process_id = 1; - * @param value The processId to set. - * @return This builder for chaining. - */ - public Builder setProcessId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - processId_ = value; - onChanged(); - return this; - } - /** - * optional string process_id = 1; - * @return This builder for chaining. - */ - public Builder clearProcessId() { - bitField0_ = (bitField0_ & ~0x00000001); - processId_ = getDefaultInstance().getProcessId(); - onChanged(); - return this; - } /** - * optional string process_id = 1; - * @param value The bytes for processId to set. - * @return This builder for chaining. + * optional int32 version_major = 1; + * + * @return Whether the versionMajor field is set. */ - public Builder setProcessIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - processId_ = value; - onChanged(); - return this; + @java.lang.Override + public boolean hasVersionMajor() { + return ((bitField0_ & 0x00000001) != 0); } - private com.google.protobuf.LazyStringList ids_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureIdsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - ids_ = new com.google.protobuf.LazyStringArrayList(ids_); - bitField0_ |= 0x00000002; - } - } - /** - * repeated string ids = 2; - * @return A list containing the ids. - */ - public com.google.protobuf.ProtocolStringList - getIdsList() { - return ids_.getUnmodifiableView(); - } - /** - * repeated string ids = 2; - * @return The count of ids. - */ - public int getIdsCount() { - return ids_.size(); - } - /** - * repeated string ids = 2; - * @param index The index of the element to return. - * @return The ids at the given index. - */ - public java.lang.String getIds(int index) { - return ids_.get(index); - } - /** - * repeated string ids = 2; - * @param index The index of the value to return. - * @return The bytes of the ids at the given index. - */ - public com.google.protobuf.ByteString - getIdsBytes(int index) { - return ids_.getByteString(index); - } - /** - * repeated string ids = 2; - * @param index The index to set the value at. - * @param value The ids to set. - * @return This builder for chaining. - */ - public Builder setIds( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureIdsIsMutable(); - ids_.set(index, value); - onChanged(); - return this; - } /** - * repeated string ids = 2; - * @param value The ids to add. - * @return This builder for chaining. + * optional int32 version_major = 1; + * + * @return The versionMajor. */ - public Builder addIds( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureIdsIsMutable(); - ids_.add(value); - onChanged(); - return this; + @java.lang.Override + public int getVersionMajor() { + return versionMajor_; } + + public static final int VERSION_MINOR_FIELD_NUMBER = 2; + private int versionMinor_; + /** - * repeated string ids = 2; - * @param values The ids to add. - * @return This builder for chaining. + * optional int32 version_minor = 2; + * + * @return Whether the versionMinor field is set. */ - public Builder addAllIds( - java.lang.Iterable values) { - ensureIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ids_); - onChanged(); - return this; + @java.lang.Override + public boolean hasVersionMinor() { + return ((bitField0_ & 0x00000002) != 0); } + /** - * repeated string ids = 2; - * @return This builder for chaining. + * optional int32 version_minor = 2; + * + * @return The versionMinor. */ - public Builder clearIds() { - ids_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; + @java.lang.Override + public int getVersionMinor() { + return versionMinor_; } + + public static final int VERSION_REVISION_FIELD_NUMBER = 3; + private int versionRevision_; + /** - * repeated string ids = 2; - * @param value The bytes of the ids to add. - * @return This builder for chaining. + * optional int32 version_revision = 3; + * + * @return Whether the versionRevision field is set. */ - public Builder addIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureIdsIsMutable(); - ids_.add(value); - onChanged(); - return this; - } @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + public boolean hasVersionRevision() { + return ((bitField0_ & 0x00000004) != 0); } + /** + * optional int32 version_revision = 3; + * + * @return The versionRevision. + */ @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + public int getVersionRevision() { + return versionRevision_; } + private byte memoizedIsInitialized = -1; - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public ProcessInstanchChildren parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProcessInstanchChildren(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; - public interface InstanceTupleOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * optional string id = 1; - * @return The id. - */ - java.lang.String getId(); - /** - * optional string id = 1; - * @return The bytes for id. - */ - com.google.protobuf.ByteString - getIdBytes(); - - /** - * optional int32 status = 2; - * @return Whether the status field is set. - */ - boolean hasStatus(); - /** - * optional int32 status = 2; - * @return The status. - */ - int getStatus(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple} - */ - public static final class InstanceTuple extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple) - InstanceTupleOrBuilder { - private static final long serialVersionUID = 0L; - // Use InstanceTuple.newBuilder() to construct. - private InstanceTuple(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private InstanceTuple() { - id_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new InstanceTuple(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private InstanceTuple( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - id_ = bs; - break; - } - case 16: { - bitField0_ |= 0x00000002; - status_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string id = 1; - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } - } - /** - * optional string id = 1; - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int STATUS_FIELD_NUMBER = 2; - private int status_; - /** - * optional int32 status = 2; - * @return Whether the status field is set. - */ - @java.lang.Override - public boolean hasStatus() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional int32 status = 2; - * @return The status. - */ - @java.lang.Override - public int getStatus() { - return status_; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt32(2, status_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, status_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasStatus() != other.hasStatus()) return false; - if (hasStatus()) { - if (getStatus() - != other.getStatus()) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasStatus()) { - hash = (37 * hash) + STATUS_FIELD_NUMBER; - hash = (53 * hash) + getStatus(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - status_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + memoizedIsInitialized = 1; + return true; } @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.id_ = id_; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.status_ = status_; - to_bitField0_ |= 0x00000002; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(1, versionMajor_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt32(2, versionMinor_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeInt32(3, versionRevision_); + } + unknownFields.writeTo(output); } @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, versionMajor_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, versionMinor_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, versionRevision_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version) obj; + + if (hasVersionMajor() != other.hasVersionMajor()) + return false; + if (hasVersionMajor()) { + if (getVersionMajor() != other.getVersionMajor()) + return false; + } + if (hasVersionMinor() != other.hasVersionMinor()) + return false; + if (hasVersionMinor()) { + if (getVersionMinor() != other.getVersionMinor()) + return false; + } + if (hasVersionRevision() != other.hasVersionRevision()) + return false; + if (hasVersionRevision()) { + if (getVersionRevision() != other.getVersionRevision()) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; } + @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasVersionMajor()) { + hash = (37 * hash) + VERSION_MAJOR_FIELD_NUMBER; + hash = (53 * hash) + getVersionMajor(); + } + if (hasVersionMinor()) { + hash = (37 * hash) + VERSION_MINOR_FIELD_NUMBER; + hash = (53 * hash) + getVersionMinor(); + } + if (hasVersionRevision()) { + hash = (37 * hash) + VERSION_REVISION_FIELD_NUMBER; + hash = (53 * hash) + getVersionRevision(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple)other); - } else { - super.mergeFrom(other); - return this; - } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.getDefaultInstance()) return this; - if (other.hasId()) { - bitField0_ |= 0x00000001; - id_ = other.id_; - onChanged(); - } - if (other.hasStatus()) { - setStatus(other.getStatus()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - @java.lang.Override - public final boolean isInitialized() { - return true; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - private int bitField0_; - private java.lang.Object id_ = ""; - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - /** - * optional string id = 1; - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - /** - * optional string id = 1; - * @return The bytes for id. - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - /** - * optional string id = 1; - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - /** - * optional string id = 1; - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = getDefaultInstance().getId(); - onChanged(); - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - /** - * optional string id = 1; - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - private int status_ ; - /** - * optional int32 status = 2; - * @return Whether the status field is set. - */ - @java.lang.Override - public boolean hasStatus() { - return ((bitField0_ & 0x00000002) != 0); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - /** - * optional int32 status = 2; - * @return The status. - */ + @java.lang.Override - public int getStatus() { - return status_; + public Builder newBuilderForType() { + return newBuilder(); } - /** - * optional int32 status = 2; - * @param value The status to set. - * @return This builder for chaining. - */ - public Builder setStatus(int value) { - bitField0_ |= 0x00000002; - status_ = value; - onChanged(); - return this; + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); } - /** - * optional int32 status = 2; - * @return This builder for chaining. - */ - public Builder clearStatus() { - bitField0_ = (bitField0_ & ~0x00000002); - status_ = 0; - onChanged(); - return this; + + public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); } @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; } + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Version} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Version) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VersionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Version_descriptor; + } - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Version_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.Builder.class); + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstanceTuple parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstanceTuple(input, extensionRegistry); - } - }; + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public Builder clear() { + super.clear(); + versionMajor_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + versionMinor_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + versionRevision_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } - } + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Version_descriptor; + } - public interface FinishedSubProcessesOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string process_id = 1; - * @return Whether the processId field is set. - */ - boolean hasProcessId(); - /** - * optional string process_id = 1; - * @return The processId. - */ - java.lang.String getProcessId(); - /** - * optional string process_id = 1; - * @return The bytes for processId. - */ - com.google.protobuf.ByteString - getProcessIdBytes(); - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - java.util.List - getInstancesList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple getInstances(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - int getInstancesCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - java.util.List - getInstancesOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder getInstancesOrBuilder( - int index); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses} - */ - public static final class FinishedSubProcesses extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses) - FinishedSubProcessesOrBuilder { - private static final long serialVersionUID = 0L; - // Use FinishedSubProcesses.newBuilder() to construct. - private FinishedSubProcesses(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private FinishedSubProcesses() { - processId_ = ""; - instances_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new FinishedSubProcesses(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private FinishedSubProcesses( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - processId_ = bs; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - instances_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - instances_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.PARSER, extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - instances_ = java.util.Collections.unmodifiableList(instances_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder.class); - } - - private int bitField0_; - public static final int PROCESS_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object processId_; - /** - * optional string process_id = 1; - * @return Whether the processId field is set. - */ - @java.lang.Override - public boolean hasProcessId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string process_id = 1; - * @return The processId. - */ - @java.lang.Override - public java.lang.String getProcessId() { - java.lang.Object ref = processId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processId_ = s; - } - return s; - } - } - /** - * optional string process_id = 1; - * @return The bytes for processId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getProcessIdBytes() { - java.lang.Object ref = processId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int INSTANCES_FIELD_NUMBER = 2; - private java.util.List instances_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - @java.lang.Override - public java.util.List getInstancesList() { - return instances_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - @java.lang.Override - public java.util.List - getInstancesOrBuilderList() { - return instances_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - @java.lang.Override - public int getInstancesCount() { - return instances_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple getInstances(int index) { - return instances_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder getInstancesOrBuilder( - int index) { - return instances_.get(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, processId_); - } - for (int i = 0; i < instances_.size(); i++) { - output.writeMessage(2, instances_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, processId_); - } - for (int i = 0; i < instances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, instances_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses) obj; - - if (hasProcessId() != other.hasProcessId()) return false; - if (hasProcessId()) { - if (!getProcessId() - .equals(other.getProcessId())) return false; - } - if (!getInstancesList() - .equals(other.getInstancesList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasProcessId()) { - hash = (37 * hash) + PROCESS_ID_FIELD_NUMBER; - hash = (53 * hash) + getProcessId().hashCode(); - } - if (getInstancesCount() > 0) { - hash = (37 * hash) + INSTANCES_FIELD_NUMBER; - hash = (53 * hash) + getInstancesList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcessesOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getInstancesFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - processId_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - if (instancesBuilder_ == null) { - instances_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - instancesBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.processId_ = processId_; - if (instancesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - instances_ = java.util.Collections.unmodifiableList(instances_); - bitField0_ = (bitField0_ & ~0x00000002); + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.getDefaultInstance(); } - result.instances_ = instances_; - } else { - result.instances_ = instancesBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses)other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.getDefaultInstance()) return this; - if (other.hasProcessId()) { - bitField0_ |= 0x00000001; - processId_ = other.processId_; - onChanged(); - } - if (instancesBuilder_ == null) { - if (!other.instances_.isEmpty()) { - if (instances_.isEmpty()) { - instances_ = other.instances_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureInstancesIsMutable(); - instances_.addAll(other.instances_); - } - onChanged(); - } - } else { - if (!other.instances_.isEmpty()) { - if (instancesBuilder_.isEmpty()) { - instancesBuilder_.dispose(); - instancesBuilder_ = null; - instances_ = other.instances_; - bitField0_ = (bitField0_ & ~0x00000002); - instancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getInstancesFieldBuilder() : null; - } else { - instancesBuilder_.addAllMessages(other.instances_); - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.versionMajor_ = versionMajor_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.versionMinor_ = versionMinor_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.versionRevision_ = versionRevision_; + to_bitField0_ |= 0x00000004; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); } - } - return this; - } - private int bitField0_; - private java.lang.Object processId_ = ""; - /** - * optional string process_id = 1; - * @return Whether the processId field is set. - */ - public boolean hasProcessId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string process_id = 1; - * @return The processId. - */ - public java.lang.String getProcessId() { - java.lang.Object ref = processId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processId_ = s; + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string process_id = 1; - * @return The bytes for processId. - */ - public com.google.protobuf.ByteString - getProcessIdBytes() { - java.lang.Object ref = processId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string process_id = 1; - * @param value The processId to set. - * @return This builder for chaining. - */ - public Builder setProcessId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - processId_ = value; - onChanged(); - return this; - } - /** - * optional string process_id = 1; - * @return This builder for chaining. - */ - public Builder clearProcessId() { - bitField0_ = (bitField0_ & ~0x00000001); - processId_ = getDefaultInstance().getProcessId(); - onChanged(); - return this; - } - /** - * optional string process_id = 1; - * @param value The bytes for processId to set. - * @return This builder for chaining. - */ - public Builder setProcessIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - processId_ = value; - onChanged(); - return this; - } - private java.util.List instances_ = - java.util.Collections.emptyList(); - private void ensureInstancesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - instances_ = new java.util.ArrayList(instances_); - bitField0_ |= 0x00000002; - } - } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder> instancesBuilder_; + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public java.util.List getInstancesList() { - if (instancesBuilder_ == null) { - return java.util.Collections.unmodifiableList(instances_); - } else { - return instancesBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public int getInstancesCount() { - if (instancesBuilder_ == null) { - return instances_.size(); - } else { - return instancesBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple getInstances(int index) { - if (instancesBuilder_ == null) { - return instances_.get(index); - } else { - return instancesBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public Builder setInstances( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple value) { - if (instancesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); - instances_.set(index, value); - onChanged(); - } else { - instancesBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public Builder setInstances( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder builderForValue) { - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.set(index, builderForValue.build()); - onChanged(); - } else { - instancesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public Builder addInstances(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple value) { - if (instancesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); - instances_.add(value); - onChanged(); - } else { - instancesBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public Builder addInstances( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple value) { - if (instancesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version) { + return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version) other); + } else { + super.mergeFrom(other); + return this; + } } - ensureInstancesIsMutable(); - instances_.add(index, value); - onChanged(); - } else { - instancesBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public Builder addInstances( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder builderForValue) { - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(builderForValue.build()); - onChanged(); - } else { - instancesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public Builder addInstances( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder builderForValue) { - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(index, builderForValue.build()); - onChanged(); - } else { - instancesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public Builder addAllInstances( - java.lang.Iterable values) { - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, instances_); - onChanged(); - } else { - instancesBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public Builder clearInstances() { - if (instancesBuilder_ == null) { - instances_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - instancesBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public Builder removeInstances(int index) { - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.remove(index); - onChanged(); - } else { - instancesBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder getInstancesBuilder( - int index) { - return getInstancesFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder getInstancesOrBuilder( - int index) { - if (instancesBuilder_ == null) { - return instances_.get(index); } else { - return instancesBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public java.util.List - getInstancesOrBuilderList() { - if (instancesBuilder_ != null) { - return instancesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(instances_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder addInstancesBuilder() { - return getInstancesFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder addInstancesBuilder( - int index) { - return getInstancesFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; - */ - public java.util.List - getInstancesBuilderList() { - return getInstancesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder> - getInstancesFieldBuilder() { - if (instancesBuilder_ == null) { - instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder>( - instances_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - instances_ = null; - } - return instancesBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version.getDefaultInstance()) + return this; + if (other.hasVersionMajor()) { + setVersionMajor(other.getVersionMajor()); + } + if (other.hasVersionMinor()) { + setVersionMinor(other.getVersionMinor()); + } + if (other.hasVersionRevision()) { + setVersionRevision(other.getVersionRevision()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses) - } + private int versionMajor_; - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses(); - } + /** + * optional int32 version_major = 1; + * + * @return Whether the versionMajor field is set. + */ + @java.lang.Override + public boolean hasVersionMajor() { + return ((bitField0_ & 0x00000001) != 0); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses getDefaultInstance() { - return DEFAULT_INSTANCE; - } + /** + * optional int32 version_major = 1; + * + * @return The versionMajor. + */ + @java.lang.Override + public int getVersionMajor() { + return versionMajor_; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FinishedSubProcesses parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FinishedSubProcesses(input, extensionRegistry); - } - }; + /** + * optional int32 version_major = 1; + * + * @param value The versionMajor to set. + * @return This builder for chaining. + */ + public Builder setVersionMajor(int value) { + bitField0_ |= 0x00000001; + versionMajor_ = value; + onChanged(); + return this; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * optional int32 version_major = 1; + * + * @return This builder for chaining. + */ + public Builder clearVersionMajor() { + bitField0_ = (bitField0_ & ~0x00000001); + versionMajor_ = 0; + onChanged(); + return this; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + private int versionMinor_; - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * optional int32 version_minor = 2; + * + * @return Whether the versionMinor field is set. + */ + @java.lang.Override + public boolean hasVersionMinor() { + return ((bitField0_ & 0x00000002) != 0); + } - } + /** + * optional int32 version_minor = 2; + * + * @return The versionMinor. + */ + @java.lang.Override + public int getVersionMinor() { + return versionMinor_; + } - public interface RecoveryItemOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string transaction_id = 1; - * @return Whether the transactionId field is set. - */ - boolean hasTransactionId(); - /** - * optional string transaction_id = 1; - * @return The transactionId. - */ - java.lang.String getTransactionId(); - /** - * optional string transaction_id = 1; - * @return The bytes for transactionId. - */ - com.google.protobuf.ByteString - getTransactionIdBytes(); - - /** - * optional string node_id = 2; - * @return Whether the nodeId field is set. - */ - boolean hasNodeId(); - /** - * optional string node_id = 2; - * @return The nodeId. - */ - java.lang.String getNodeId(); - /** - * optional string node_id = 2; - * @return The bytes for nodeId. - */ - com.google.protobuf.ByteString - getNodeIdBytes(); - - /** - * optional string instance_id = 3; - * @return Whether the instanceId field is set. - */ - boolean hasInstanceId(); - /** - * optional string instance_id = 3; - * @return The instanceId. - */ - java.lang.String getInstanceId(); - /** - * optional string instance_id = 3; - * @return The bytes for instanceId. - */ - com.google.protobuf.ByteString - getInstanceIdBytes(); - - /** - * optional string timer_id = 4; - * @return Whether the timerId field is set. - */ - boolean hasTimerId(); - /** - * optional string timer_id = 4; - * @return The timerId. - */ - java.lang.String getTimerId(); - /** - * optional string timer_id = 4; - * @return The bytes for timerId. - */ - com.google.protobuf.ByteString - getTimerIdBytes(); - - /** - * repeated string state_timer_ids = 5; - * @return A list containing the stateTimerIds. - */ - java.util.List - getStateTimerIdsList(); - /** - * repeated string state_timer_ids = 5; - * @return The count of stateTimerIds. - */ - int getStateTimerIdsCount(); - /** - * repeated string state_timer_ids = 5; - * @param index The index of the element to return. - * @return The stateTimerIds at the given index. - */ - java.lang.String getStateTimerIds(int index); - /** - * repeated string state_timer_ids = 5; - * @param index The index of the value to return. - * @return The bytes of the stateTimerIds at the given index. - */ - com.google.protobuf.ByteString - getStateTimerIdsBytes(int index); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem} - */ - public static final class RecoveryItem extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem) - RecoveryItemOrBuilder { - private static final long serialVersionUID = 0L; - // Use RecoveryItem.newBuilder() to construct. - private RecoveryItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private RecoveryItem() { - transactionId_ = ""; - nodeId_ = ""; - instanceId_ = ""; - timerId_ = ""; - stateTimerIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new RecoveryItem(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private RecoveryItem( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - transactionId_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); + /** + * optional int32 version_minor = 2; + * + * @param value The versionMinor to set. + * @return This builder for chaining. + */ + public Builder setVersionMinor(int value) { bitField0_ |= 0x00000002; - nodeId_ = bs; - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); + versionMinor_ = value; + onChanged(); + return this; + } + + /** + * optional int32 version_minor = 2; + * + * @return This builder for chaining. + */ + public Builder clearVersionMinor() { + bitField0_ = (bitField0_ & ~0x00000002); + versionMinor_ = 0; + onChanged(); + return this; + } + + private int versionRevision_; + + /** + * optional int32 version_revision = 3; + * + * @return Whether the versionRevision field is set. + */ + @java.lang.Override + public boolean hasVersionRevision() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional int32 version_revision = 3; + * + * @return The versionRevision. + */ + @java.lang.Override + public int getVersionRevision() { + return versionRevision_; + } + + /** + * optional int32 version_revision = 3; + * + * @param value The versionRevision to set. + * @return This builder for chaining. + */ + public Builder setVersionRevision(int value) { bitField0_ |= 0x00000004; - instanceId_ = bs; - break; - } - case 34: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000008; - timerId_ = bs; - break; - } - case 42: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - stateTimerIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; - } - stateTimerIds_.add(bs); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000010) != 0)) { - stateTimerIds_ = stateTimerIds_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.Builder.class); - } - - private int bitField0_; - public static final int TRANSACTION_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object transactionId_; - /** - * optional string transaction_id = 1; - * @return Whether the transactionId field is set. - */ - @java.lang.Override - public boolean hasTransactionId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string transaction_id = 1; - * @return The transactionId. - */ - @java.lang.Override - public java.lang.String getTransactionId() { - java.lang.Object ref = transactionId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - transactionId_ = s; - } - return s; - } - } - /** - * optional string transaction_id = 1; - * @return The bytes for transactionId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getTransactionIdBytes() { - java.lang.Object ref = transactionId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - transactionId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NODE_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object nodeId_; - /** - * optional string node_id = 2; - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string node_id = 2; - * @return The nodeId. - */ - @java.lang.Override - public java.lang.String getNodeId() { - java.lang.Object ref = nodeId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - nodeId_ = s; - } - return s; - } - } - /** - * optional string node_id = 2; - * @return The bytes for nodeId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNodeIdBytes() { - java.lang.Object ref = nodeId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int INSTANCE_ID_FIELD_NUMBER = 3; - private volatile java.lang.Object instanceId_; - /** - * optional string instance_id = 3; - * @return Whether the instanceId field is set. - */ - @java.lang.Override - public boolean hasInstanceId() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string instance_id = 3; - * @return The instanceId. - */ - @java.lang.Override - public java.lang.String getInstanceId() { - java.lang.Object ref = instanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - instanceId_ = s; - } - return s; - } - } - /** - * optional string instance_id = 3; - * @return The bytes for instanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getInstanceIdBytes() { - java.lang.Object ref = instanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - instanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TIMER_ID_FIELD_NUMBER = 4; - private volatile java.lang.Object timerId_; - /** - * optional string timer_id = 4; - * @return Whether the timerId field is set. - */ - @java.lang.Override - public boolean hasTimerId() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional string timer_id = 4; - * @return The timerId. - */ - @java.lang.Override - public java.lang.String getTimerId() { - java.lang.Object ref = timerId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - timerId_ = s; - } - return s; - } - } - /** - * optional string timer_id = 4; - * @return The bytes for timerId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getTimerIdBytes() { - java.lang.Object ref = timerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - timerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int STATE_TIMER_IDS_FIELD_NUMBER = 5; - private com.google.protobuf.LazyStringList stateTimerIds_; - /** - * repeated string state_timer_ids = 5; - * @return A list containing the stateTimerIds. - */ - public com.google.protobuf.ProtocolStringList - getStateTimerIdsList() { - return stateTimerIds_; - } - /** - * repeated string state_timer_ids = 5; - * @return The count of stateTimerIds. - */ - public int getStateTimerIdsCount() { - return stateTimerIds_.size(); - } - /** - * repeated string state_timer_ids = 5; - * @param index The index of the element to return. - * @return The stateTimerIds at the given index. - */ - public java.lang.String getStateTimerIds(int index) { - return stateTimerIds_.get(index); - } - /** - * repeated string state_timer_ids = 5; - * @param index The index of the value to return. - * @return The bytes of the stateTimerIds at the given index. - */ - public com.google.protobuf.ByteString - getStateTimerIdsBytes(int index) { - return stateTimerIds_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transactionId_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nodeId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, instanceId_); - } - if (((bitField0_ & 0x00000008) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, timerId_); - } - for (int i = 0; i < stateTimerIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, stateTimerIds_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transactionId_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nodeId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, instanceId_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, timerId_); - } - { - int dataSize = 0; - for (int i = 0; i < stateTimerIds_.size(); i++) { - dataSize += computeStringSizeNoTag(stateTimerIds_.getRaw(i)); - } - size += dataSize; - size += 1 * getStateTimerIdsList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem) obj; - - if (hasTransactionId() != other.hasTransactionId()) return false; - if (hasTransactionId()) { - if (!getTransactionId() - .equals(other.getTransactionId())) return false; - } - if (hasNodeId() != other.hasNodeId()) return false; - if (hasNodeId()) { - if (!getNodeId() - .equals(other.getNodeId())) return false; - } - if (hasInstanceId() != other.hasInstanceId()) return false; - if (hasInstanceId()) { - if (!getInstanceId() - .equals(other.getInstanceId())) return false; - } - if (hasTimerId() != other.hasTimerId()) return false; - if (hasTimerId()) { - if (!getTimerId() - .equals(other.getTimerId())) return false; - } - if (!getStateTimerIdsList() - .equals(other.getStateTimerIdsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasTransactionId()) { - hash = (37 * hash) + TRANSACTION_ID_FIELD_NUMBER; - hash = (53 * hash) + getTransactionId().hashCode(); - } - if (hasNodeId()) { - hash = (37 * hash) + NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + getNodeId().hashCode(); - } - if (hasInstanceId()) { - hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getInstanceId().hashCode(); - } - if (hasTimerId()) { - hash = (37 * hash) + TIMER_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerId().hashCode(); - } - if (getStateTimerIdsCount() > 0) { - hash = (37 * hash) + STATE_TIMER_IDS_FIELD_NUMBER; - hash = (53 * hash) + getStateTimerIdsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - transactionId_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - nodeId_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - instanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - timerId_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); - stateTimerIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.transactionId_ = transactionId_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.nodeId_ = nodeId_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.instanceId_ = instanceId_; - if (((from_bitField0_ & 0x00000008) != 0)) { - to_bitField0_ |= 0x00000008; - } - result.timerId_ = timerId_; - if (((bitField0_ & 0x00000010) != 0)) { - stateTimerIds_ = stateTimerIds_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.stateTimerIds_ = stateTimerIds_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.getDefaultInstance()) return this; - if (other.hasTransactionId()) { - bitField0_ |= 0x00000001; - transactionId_ = other.transactionId_; - onChanged(); - } - if (other.hasNodeId()) { - bitField0_ |= 0x00000002; - nodeId_ = other.nodeId_; - onChanged(); - } - if (other.hasInstanceId()) { - bitField0_ |= 0x00000004; - instanceId_ = other.instanceId_; - onChanged(); - } - if (other.hasTimerId()) { - bitField0_ |= 0x00000008; - timerId_ = other.timerId_; - onChanged(); - } - if (!other.stateTimerIds_.isEmpty()) { - if (stateTimerIds_.isEmpty()) { - stateTimerIds_ = other.stateTimerIds_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureStateTimerIdsIsMutable(); - stateTimerIds_.addAll(other.stateTimerIds_); + versionRevision_ = value; + onChanged(); + return this; + } + + /** + * optional int32 version_revision = 3; + * + * @return This builder for chaining. + */ + public Builder clearVersionRevision() { + bitField0_ = (bitField0_ & ~0x00000004); + versionRevision_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Version) } - @java.lang.Override - public final boolean isInitialized() { - return true; + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Version) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version(); } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); } - } - return this; + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; } - private int bitField0_; - private java.lang.Object transactionId_ = ""; - /** - * optional string transaction_id = 1; - * @return Whether the transactionId field is set. - */ - public boolean hasTransactionId() { - return ((bitField0_ & 0x00000001) != 0); + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - /** - * optional string transaction_id = 1; - * @return The transactionId. - */ - public java.lang.String getTransactionId() { - java.lang.Object ref = transactionId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - transactionId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Version getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } + + } + + public interface SignatureOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Signature) + com.google.protobuf.MessageOrBuilder { + /** - * optional string transaction_id = 1; - * @return The bytes for transactionId. + * optional string key_alias = 1; + * + * @return Whether the keyAlias field is set. */ - public com.google.protobuf.ByteString - getTransactionIdBytes() { - java.lang.Object ref = transactionId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - transactionId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + boolean hasKeyAlias(); + /** - * optional string transaction_id = 1; - * @param value The transactionId to set. - * @return This builder for chaining. + * optional string key_alias = 1; + * + * @return The keyAlias. */ - public Builder setTransactionId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - transactionId_ = value; - onChanged(); - return this; - } + java.lang.String getKeyAlias(); + /** - * optional string transaction_id = 1; - * @return This builder for chaining. + * optional string key_alias = 1; + * + * @return The bytes for keyAlias. */ - public Builder clearTransactionId() { - bitField0_ = (bitField0_ & ~0x00000001); - transactionId_ = getDefaultInstance().getTransactionId(); - onChanged(); - return this; - } + com.google.protobuf.ByteString getKeyAliasBytes(); + /** - * optional string transaction_id = 1; - * @param value The bytes for transactionId to set. - * @return This builder for chaining. + * optional bytes signature = 2; + * + * @return Whether the signature field is set. */ - public Builder setTransactionIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - transactionId_ = value; - onChanged(); - return this; - } + boolean hasSignature(); - private java.lang.Object nodeId_ = ""; /** - * optional string node_id = 2; - * @return Whether the nodeId field is set. + * optional bytes signature = 2; + * + * @return The signature. */ - public boolean hasNodeId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string node_id = 2; - * @return The nodeId. - */ - public java.lang.String getNodeId() { - java.lang.Object ref = nodeId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - nodeId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string node_id = 2; - * @return The bytes for nodeId. - */ - public com.google.protobuf.ByteString - getNodeIdBytes() { - java.lang.Object ref = nodeId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string node_id = 2; - * @param value The nodeId to set. - * @return This builder for chaining. - */ - public Builder setNodeId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - nodeId_ = value; - onChanged(); - return this; - } - /** - * optional string node_id = 2; - * @return This builder for chaining. - */ - public Builder clearNodeId() { - bitField0_ = (bitField0_ & ~0x00000002); - nodeId_ = getDefaultInstance().getNodeId(); - onChanged(); - return this; - } - /** - * optional string node_id = 2; - * @param value The bytes for nodeId to set. - * @return This builder for chaining. - */ - public Builder setNodeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - nodeId_ = value; - onChanged(); - return this; - } - - private java.lang.Object instanceId_ = ""; - /** - * optional string instance_id = 3; - * @return Whether the instanceId field is set. - */ - public boolean hasInstanceId() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string instance_id = 3; - * @return The instanceId. - */ - public java.lang.String getInstanceId() { - java.lang.Object ref = instanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - instanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string instance_id = 3; - * @return The bytes for instanceId. - */ - public com.google.protobuf.ByteString - getInstanceIdBytes() { - java.lang.Object ref = instanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - instanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string instance_id = 3; - * @param value The instanceId to set. - * @return This builder for chaining. - */ - public Builder setInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - instanceId_ = value; - onChanged(); - return this; - } - /** - * optional string instance_id = 3; - * @return This builder for chaining. - */ - public Builder clearInstanceId() { - bitField0_ = (bitField0_ & ~0x00000004); - instanceId_ = getDefaultInstance().getInstanceId(); - onChanged(); - return this; - } - /** - * optional string instance_id = 3; - * @param value The bytes for instanceId to set. - * @return This builder for chaining. - */ - public Builder setInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - instanceId_ = value; - onChanged(); - return this; - } + com.google.protobuf.ByteString getSignature(); + } - private java.lang.Object timerId_ = ""; - /** - * optional string timer_id = 4; - * @return Whether the timerId field is set. - */ - public boolean hasTimerId() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional string timer_id = 4; - * @return The timerId. - */ - public java.lang.String getTimerId() { - java.lang.Object ref = timerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - timerId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string timer_id = 4; - * @return The bytes for timerId. - */ - public com.google.protobuf.ByteString - getTimerIdBytes() { - java.lang.Object ref = timerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - timerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string timer_id = 4; - * @param value The timerId to set. - * @return This builder for chaining. - */ - public Builder setTimerId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - timerId_ = value; - onChanged(); - return this; - } - /** - * optional string timer_id = 4; - * @return This builder for chaining. - */ - public Builder clearTimerId() { - bitField0_ = (bitField0_ & ~0x00000008); - timerId_ = getDefaultInstance().getTimerId(); - onChanged(); - return this; + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Signature} + */ + public static final class Signature extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Signature) + SignatureOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Signature.newBuilder() to construct. + private Signature(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - /** - * optional string timer_id = 4; - * @param value The bytes for timerId to set. - * @return This builder for chaining. - */ - public Builder setTimerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - timerId_ = value; - onChanged(); - return this; + + private Signature() { + keyAlias_ = ""; + signature_ = com.google.protobuf.ByteString.EMPTY; } - private com.google.protobuf.LazyStringList stateTimerIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureStateTimerIdsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - stateTimerIds_ = new com.google.protobuf.LazyStringArrayList(stateTimerIds_); - bitField0_ |= 0x00000010; - } + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Signature(); } - /** - * repeated string state_timer_ids = 5; - * @return A list containing the stateTimerIds. - */ - public com.google.protobuf.ProtocolStringList - getStateTimerIdsList() { - return stateTimerIds_.getUnmodifiableView(); + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; } - /** - * repeated string state_timer_ids = 5; - * @return The count of stateTimerIds. - */ - public int getStateTimerIdsCount() { - return stateTimerIds_.size(); + + private Signature( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + keyAlias_ = bs; + break; + } + case 18: { + bitField0_ |= 0x00000002; + signature_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } } - /** - * repeated string state_timer_ids = 5; - * @param index The index of the element to return. - * @return The stateTimerIds at the given index. - */ - public java.lang.String getStateTimerIds(int index) { - return stateTimerIds_.get(index); + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Signature_descriptor; } - /** - * repeated string state_timer_ids = 5; - * @param index The index of the value to return. - * @return The bytes of the stateTimerIds at the given index. - */ - public com.google.protobuf.ByteString - getStateTimerIdsBytes(int index) { - return stateTimerIds_.getByteString(index); + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Signature_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.Builder.class); } + + private int bitField0_; + public static final int KEY_ALIAS_FIELD_NUMBER = 1; + private volatile java.lang.Object keyAlias_; + /** - * repeated string state_timer_ids = 5; - * @param index The index to set the value at. - * @param value The stateTimerIds to set. - * @return This builder for chaining. + * optional string key_alias = 1; + * + * @return Whether the keyAlias field is set. */ - public Builder setStateTimerIds( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureStateTimerIdsIsMutable(); - stateTimerIds_.set(index, value); - onChanged(); - return this; + @java.lang.Override + public boolean hasKeyAlias() { + return ((bitField0_ & 0x00000001) != 0); } + /** - * repeated string state_timer_ids = 5; - * @param value The stateTimerIds to add. - * @return This builder for chaining. + * optional string key_alias = 1; + * + * @return The keyAlias. */ - public Builder addStateTimerIds( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureStateTimerIdsIsMutable(); - stateTimerIds_.add(value); - onChanged(); - return this; + @java.lang.Override + public java.lang.String getKeyAlias() { + java.lang.Object ref = keyAlias_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + keyAlias_ = s; + } + return s; + } } + /** - * repeated string state_timer_ids = 5; - * @param values The stateTimerIds to add. - * @return This builder for chaining. + * optional string key_alias = 1; + * + * @return The bytes for keyAlias. */ - public Builder addAllStateTimerIds( - java.lang.Iterable values) { - ensureStateTimerIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, stateTimerIds_); - onChanged(); - return this; + @java.lang.Override + public com.google.protobuf.ByteString getKeyAliasBytes() { + java.lang.Object ref = keyAlias_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + keyAlias_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } + + public static final int SIGNATURE_FIELD_NUMBER = 2; + private com.google.protobuf.ByteString signature_; + /** - * repeated string state_timer_ids = 5; - * @return This builder for chaining. + * optional bytes signature = 2; + * + * @return Whether the signature field is set. */ - public Builder clearStateTimerIds() { - stateTimerIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; + @java.lang.Override + public boolean hasSignature() { + return ((bitField0_ & 0x00000002) != 0); } + /** - * repeated string state_timer_ids = 5; - * @param value The bytes of the stateTimerIds to add. - * @return This builder for chaining. + * optional bytes signature = 2; + * + * @return The signature. */ - public Builder addStateTimerIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureStateTimerIdsIsMutable(); - stateTimerIds_.add(value); - onChanged(); - return this; + @java.lang.Override + public com.google.protobuf.ByteString getSignature() { + return signature_; } + + private byte memoizedIsInitialized = -1; + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; } @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyAlias_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeBytes(2, signature_); + } + unknownFields.writeTo(output); } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem) - } + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyAlias_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, signature_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature) obj; - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem getDefaultInstance() { - return DEFAULT_INSTANCE; - } + if (hasKeyAlias() != other.hasKeyAlias()) + return false; + if (hasKeyAlias()) { + if (!getKeyAlias() + .equals(other.getKeyAlias())) + return false; + } + if (hasSignature() != other.hasSignature()) + return false; + if (hasSignature()) { + if (!getSignature() + .equals(other.getSignature())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public RecoveryItem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RecoveryItem(input, extensionRegistry); + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasKeyAlias()) { + hash = (37 * hash) + KEY_ALIAS_FIELD_NUMBER; + hash = (53 * hash) + getKeyAlias().hashCode(); + } + if (hasSignature()) { + hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; + hash = (53 * hash) + getSignature().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } - }; - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - public interface TagOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * optional string id = 1; - * @return The id. - */ - java.lang.String getId(); - /** - * optional string id = 1; - * @return The bytes for id. - */ - com.google.protobuf.ByteString - getIdBytes(); - - /** - * optional string value = 2; - * @return Whether the value field is set. - */ - boolean hasValue(); - /** - * optional string value = 2; - * @return The value. - */ - java.lang.String getValue(); - /** - * optional string value = 2; - * @return The bytes for value. - */ - com.google.protobuf.ByteString - getValueBytes(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag} - */ - public static final class Tag extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag) - TagOrBuilder { - private static final long serialVersionUID = 0L; - // Use Tag.newBuilder() to construct. - private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Tag() { - id_ = ""; - value_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Tag(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Tag( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - id_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - value_ = bs; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string id = 1; - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } - } - /** - * optional string id = 1; - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VALUE_FIELD_NUMBER = 2; - private volatile java.lang.Object value_; - /** - * optional string value = 2; - * @return Whether the value field is set. - */ - @java.lang.Override - public boolean hasValue() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string value = 2; - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - value_ = s; - } - return s; - } - } - /** - * optional string value = 2; - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasValue() != other.hasValue()) return false; - if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasValue()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.TagOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - value_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.id_ = id_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.value_ = value_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - @java.lang.Override - public Builder clone() { - return super.clone(); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } + @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag)other); - } else { - super.mergeFrom(other); - return this; - } + public Builder newBuilderForType() { + return newBuilder(); } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.getDefaultInstance()) return this; - if (other.hasId()) { - bitField0_ |= 0x00000001; - id_ = other.id_; - onChanged(); - } - if (other.hasValue()) { - bitField0_ |= 0x00000002; - value_ = other.value_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); } - @java.lang.Override - public final boolean isInitialized() { - return true; + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); } - private int bitField0_; - private java.lang.Object id_ = ""; - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; } + /** - * optional string id = 1; - * @return The id. + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Signature} */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Signature) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.SignatureOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Signature_descriptor; } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string id = 1; - * @return The bytes for id. - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string id = 1; - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - /** - * optional string id = 1; - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - /** - * optional string id = 1; - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - private java.lang.Object value_ = ""; - /** - * optional string value = 2; - * @return Whether the value field is set. - */ - public boolean hasValue() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string value = 2; - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - value_ = s; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Signature_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.Builder.class); } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string value = 2; - * @return The bytes for value. - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string value = 2; - * @param value The value to set. - * @return This builder for chaining. - */ - public Builder setValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - value_ = value; - onChanged(); - return this; - } - /** - * optional string value = 2; - * @return This builder for chaining. - */ - public Builder clearValue() { - bitField0_ = (bitField0_ & ~0x00000002); - value_ = getDefaultInstance().getValue(); - onChanged(); - return this; - } - /** - * optional string value = 2; - * @param value The bytes for value to set. - * @return This builder for chaining. - */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - value_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag(); - } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public Builder clear() { + super.clear(); + keyAlias_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + signature_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Signature_descriptor; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.getDefaultInstance(); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.keyAlias_ = keyAlias_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.signature_ = signature_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } - public interface ErrorOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.Error) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string error_id = 31; - * @return Whether the errorId field is set. - */ - boolean hasErrorId(); - /** - * optional string error_id = 31; - * @return The errorId. - */ - java.lang.String getErrorId(); - /** - * optional string error_id = 31; - * @return The bytes for errorId. - */ - com.google.protobuf.ByteString - getErrorIdBytes(); - - /** - * optional string error_node_id = 25; - * @return Whether the errorNodeId field is set. - */ - boolean hasErrorNodeId(); - /** - * optional string error_node_id = 25; - * @return The errorNodeId. - */ - java.lang.String getErrorNodeId(); - /** - * optional string error_node_id = 25; - * @return The bytes for errorNodeId. - */ - com.google.protobuf.ByteString - getErrorNodeIdBytes(); - - /** - * optional string error_message = 26; - * @return Whether the errorMessage field is set. - */ - boolean hasErrorMessage(); - /** - * optional string error_message = 26; - * @return The errorMessage. - */ - java.lang.String getErrorMessage(); - /** - * optional string error_message = 26; - * @return The bytes for errorMessage. - */ - com.google.protobuf.ByteString - getErrorMessageBytes(); - - /** - * optional string error_details = 32; - * @return Whether the errorDetails field is set. - */ - boolean hasErrorDetails(); - /** - * optional string error_details = 32; - * @return The errorDetails. - */ - java.lang.String getErrorDetails(); - /** - * optional string error_details = 32; - * @return The bytes for errorDetails. - */ - com.google.protobuf.ByteString - getErrorDetailsBytes(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.Error} - */ - public static final class Error extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.Error) - ErrorOrBuilder { - private static final long serialVersionUID = 0L; - // Use Error.newBuilder() to construct. - private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Error() { - errorId_ = ""; - errorNodeId_ = ""; - errorMessage_ = ""; - errorDetails_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Error(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Error( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 202: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - errorNodeId_ = bs; - break; - } - case 210: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000004; - errorMessage_ = bs; - break; - } - case 250: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - errorId_ = bs; - break; - } - case 258: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000008; - errorDetails_ = bs; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder.class); - } - - private int bitField0_; - public static final int ERROR_ID_FIELD_NUMBER = 31; - private volatile java.lang.Object errorId_; - /** - * optional string error_id = 31; - * @return Whether the errorId field is set. - */ - @java.lang.Override - public boolean hasErrorId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string error_id = 31; - * @return The errorId. - */ - @java.lang.Override - public java.lang.String getErrorId() { - java.lang.Object ref = errorId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorId_ = s; - } - return s; - } - } - /** - * optional string error_id = 31; - * @return The bytes for errorId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getErrorIdBytes() { - java.lang.Object ref = errorId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ERROR_NODE_ID_FIELD_NUMBER = 25; - private volatile java.lang.Object errorNodeId_; - /** - * optional string error_node_id = 25; - * @return Whether the errorNodeId field is set. - */ - @java.lang.Override - public boolean hasErrorNodeId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string error_node_id = 25; - * @return The errorNodeId. - */ - @java.lang.Override - public java.lang.String getErrorNodeId() { - java.lang.Object ref = errorNodeId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorNodeId_ = s; - } - return s; - } - } - /** - * optional string error_node_id = 25; - * @return The bytes for errorNodeId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getErrorNodeIdBytes() { - java.lang.Object ref = errorNodeId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorNodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ERROR_MESSAGE_FIELD_NUMBER = 26; - private volatile java.lang.Object errorMessage_; - /** - * optional string error_message = 26; - * @return Whether the errorMessage field is set. - */ - @java.lang.Override - public boolean hasErrorMessage() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string error_message = 26; - * @return The errorMessage. - */ - @java.lang.Override - public java.lang.String getErrorMessage() { - java.lang.Object ref = errorMessage_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorMessage_ = s; - } - return s; - } - } - /** - * optional string error_message = 26; - * @return The bytes for errorMessage. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getErrorMessageBytes() { - java.lang.Object ref = errorMessage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ERROR_DETAILS_FIELD_NUMBER = 32; - private volatile java.lang.Object errorDetails_; - /** - * optional string error_details = 32; - * @return Whether the errorDetails field is set. - */ - @java.lang.Override - public boolean hasErrorDetails() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional string error_details = 32; - * @return The errorDetails. - */ - @java.lang.Override - public java.lang.String getErrorDetails() { - java.lang.Object ref = errorDetails_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorDetails_ = s; - } - return s; - } - } - /** - * optional string error_details = 32; - * @return The bytes for errorDetails. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getErrorDetailsBytes() { - java.lang.Object ref = errorDetails_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorDetails_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 25, errorNodeId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 26, errorMessage_); - } - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 31, errorId_); - } - if (((bitField0_ & 0x00000008) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 32, errorDetails_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, errorNodeId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, errorMessage_); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, errorId_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, errorDetails_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error) obj; - - if (hasErrorId() != other.hasErrorId()) return false; - if (hasErrorId()) { - if (!getErrorId() - .equals(other.getErrorId())) return false; - } - if (hasErrorNodeId() != other.hasErrorNodeId()) return false; - if (hasErrorNodeId()) { - if (!getErrorNodeId() - .equals(other.getErrorNodeId())) return false; - } - if (hasErrorMessage() != other.hasErrorMessage()) return false; - if (hasErrorMessage()) { - if (!getErrorMessage() - .equals(other.getErrorMessage())) return false; - } - if (hasErrorDetails() != other.hasErrorDetails()) return false; - if (hasErrorDetails()) { - if (!getErrorDetails() - .equals(other.getErrorDetails())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasErrorId()) { - hash = (37 * hash) + ERROR_ID_FIELD_NUMBER; - hash = (53 * hash) + getErrorId().hashCode(); - } - if (hasErrorNodeId()) { - hash = (37 * hash) + ERROR_NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + getErrorNodeId().hashCode(); - } - if (hasErrorMessage()) { - hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getErrorMessage().hashCode(); - } - if (hasErrorDetails()) { - hash = (37 * hash) + ERROR_DETAILS_FIELD_NUMBER; - hash = (53 * hash) + getErrorDetails().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.Error} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.Error) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - errorId_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - errorNodeId_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - errorMessage_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - errorDetails_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.errorId_ = errorId_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.errorNodeId_ = errorNodeId_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.errorMessage_ = errorMessage_; - if (((from_bitField0_ & 0x00000008) != 0)) { - to_bitField0_ |= 0x00000008; - } - result.errorDetails_ = errorDetails_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error)other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.getDefaultInstance()) return this; - if (other.hasErrorId()) { - bitField0_ |= 0x00000001; - errorId_ = other.errorId_; - onChanged(); - } - if (other.hasErrorNodeId()) { - bitField0_ |= 0x00000002; - errorNodeId_ = other.errorNodeId_; - onChanged(); - } - if (other.hasErrorMessage()) { - bitField0_ |= 0x00000004; - errorMessage_ = other.errorMessage_; - onChanged(); - } - if (other.hasErrorDetails()) { - bitField0_ |= 0x00000008; - errorDetails_ = other.errorDetails_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); } - } - return this; - } - private int bitField0_; - private java.lang.Object errorId_ = ""; - /** - * optional string error_id = 31; - * @return Whether the errorId field is set. - */ - public boolean hasErrorId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string error_id = 31; - * @return The errorId. - */ - public java.lang.String getErrorId() { - java.lang.Object ref = errorId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorId_ = s; + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature) { + return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature) other); + } else { + super.mergeFrom(other); + return this; + } } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string error_id = 31; - * @return The bytes for errorId. - */ - public com.google.protobuf.ByteString - getErrorIdBytes() { - java.lang.Object ref = errorId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string error_id = 31; - * @param value The errorId to set. - * @return This builder for chaining. - */ - public Builder setErrorId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - errorId_ = value; - onChanged(); - return this; - } - /** - * optional string error_id = 31; - * @return This builder for chaining. - */ - public Builder clearErrorId() { - bitField0_ = (bitField0_ & ~0x00000001); - errorId_ = getDefaultInstance().getErrorId(); - onChanged(); - return this; - } - /** - * optional string error_id = 31; - * @param value The bytes for errorId to set. - * @return This builder for chaining. - */ - public Builder setErrorIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - errorId_ = value; - onChanged(); - return this; - } - private java.lang.Object errorNodeId_ = ""; - /** - * optional string error_node_id = 25; - * @return Whether the errorNodeId field is set. - */ - public boolean hasErrorNodeId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string error_node_id = 25; - * @return The errorNodeId. - */ - public java.lang.String getErrorNodeId() { - java.lang.Object ref = errorNodeId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorNodeId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string error_node_id = 25; - * @return The bytes for errorNodeId. - */ - public com.google.protobuf.ByteString - getErrorNodeIdBytes() { - java.lang.Object ref = errorNodeId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorNodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string error_node_id = 25; - * @param value The errorNodeId to set. - * @return This builder for chaining. - */ - public Builder setErrorNodeId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - errorNodeId_ = value; - onChanged(); - return this; - } - /** - * optional string error_node_id = 25; - * @return This builder for chaining. - */ - public Builder clearErrorNodeId() { - bitField0_ = (bitField0_ & ~0x00000002); - errorNodeId_ = getDefaultInstance().getErrorNodeId(); - onChanged(); - return this; - } - /** - * optional string error_node_id = 25; - * @param value The bytes for errorNodeId to set. - * @return This builder for chaining. - */ - public Builder setErrorNodeIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - errorNodeId_ = value; - onChanged(); - return this; - } + public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature.getDefaultInstance()) + return this; + if (other.hasKeyAlias()) { + bitField0_ |= 0x00000001; + keyAlias_ = other.keyAlias_; + onChanged(); + } + if (other.hasSignature()) { + setSignature(other.getSignature()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } - private java.lang.Object errorMessage_ = ""; - /** - * optional string error_message = 26; - * @return Whether the errorMessage field is set. - */ - public boolean hasErrorMessage() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string error_message = 26; - * @return The errorMessage. - */ - public java.lang.String getErrorMessage() { - java.lang.Object ref = errorMessage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorMessage_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string error_message = 26; - * @return The bytes for errorMessage. - */ - public com.google.protobuf.ByteString - getErrorMessageBytes() { - java.lang.Object ref = errorMessage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string error_message = 26; - * @param value The errorMessage to set. - * @return This builder for chaining. - */ - public Builder setErrorMessage( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - errorMessage_ = value; - onChanged(); - return this; - } - /** - * optional string error_message = 26; - * @return This builder for chaining. - */ - public Builder clearErrorMessage() { - bitField0_ = (bitField0_ & ~0x00000004); - errorMessage_ = getDefaultInstance().getErrorMessage(); - onChanged(); - return this; - } - /** - * optional string error_message = 26; - * @param value The bytes for errorMessage to set. - * @return This builder for chaining. - */ - public Builder setErrorMessageBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - errorMessage_ = value; - onChanged(); - return this; - } + @java.lang.Override + public final boolean isInitialized() { + return true; + } - private java.lang.Object errorDetails_ = ""; - /** - * optional string error_details = 32; - * @return Whether the errorDetails field is set. - */ - public boolean hasErrorDetails() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional string error_details = 32; - * @return The errorDetails. - */ - public java.lang.String getErrorDetails() { - java.lang.Object ref = errorDetails_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorDetails_ = s; + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string error_details = 32; - * @return The bytes for errorDetails. - */ - public com.google.protobuf.ByteString - getErrorDetailsBytes() { - java.lang.Object ref = errorDetails_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorDetails_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string error_details = 32; - * @param value The errorDetails to set. - * @return This builder for chaining. - */ - public Builder setErrorDetails( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - errorDetails_ = value; - onChanged(); - return this; - } - /** - * optional string error_details = 32; - * @return This builder for chaining. - */ - public Builder clearErrorDetails() { - bitField0_ = (bitField0_ & ~0x00000008); - errorDetails_ = getDefaultInstance().getErrorDetails(); - onChanged(); - return this; - } - /** - * optional string error_details = 32; - * @param value The bytes for errorDetails to set. - * @return This builder for chaining. - */ - public Builder setErrorDetailsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - errorDetails_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + private int bitField0_; + + private java.lang.Object keyAlias_ = ""; + /** + * optional string key_alias = 1; + * + * @return Whether the keyAlias field is set. + */ + public boolean hasKeyAlias() { + return ((bitField0_ & 0x00000001) != 0); + } - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.Error) - } + /** + * optional string key_alias = 1; + * + * @return The keyAlias. + */ + public java.lang.String getKeyAlias() { + java.lang.Object ref = keyAlias_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + keyAlias_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.Error) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error(); - } + /** + * optional string key_alias = 1; + * + * @return The bytes for keyAlias. + */ + public com.google.protobuf.ByteString getKeyAliasBytes() { + java.lang.Object ref = keyAlias_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + keyAlias_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error getDefaultInstance() { - return DEFAULT_INSTANCE; - } + /** + * optional string key_alias = 1; + * + * @param value The keyAlias to set. + * @return This builder for chaining. + */ + public Builder setKeyAlias( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + keyAlias_ = value; + onChanged(); + return this; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Error(input, extensionRegistry); - } - }; + /** + * optional string key_alias = 1; + * + * @return This builder for chaining. + */ + public Builder clearKeyAlias() { + bitField0_ = (bitField0_ & ~0x00000001); + keyAlias_ = getDefaultInstance().getKeyAlias(); + onChanged(); + return this; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * optional string key_alias = 1; + * + * @param value The bytes for keyAlias to set. + * @return This builder for chaining. + */ + public Builder setKeyAliasBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + keyAlias_ = value; + onChanged(); + return this; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + private com.google.protobuf.ByteString signature_ = com.google.protobuf.ByteString.EMPTY; - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * optional bytes signature = 2; + * + * @return Whether the signature field is set. + */ + @java.lang.Override + public boolean hasSignature() { + return ((bitField0_ & 0x00000002) != 0); + } - } + /** + * optional bytes signature = 2; + * + * @return The signature. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSignature() { + return signature_; + } - public interface SwimlaneContextInstanceOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string swimlane = 1; - * @return Whether the swimlane field is set. - */ - boolean hasSwimlane(); - /** - * optional string swimlane = 1; - * @return The swimlane. - */ - java.lang.String getSwimlane(); - /** - * optional string swimlane = 1; - * @return The bytes for swimlane. - */ - com.google.protobuf.ByteString - getSwimlaneBytes(); - - /** - * optional string actor_id = 2; - * @return Whether the actorId field is set. - */ - boolean hasActorId(); - /** - * optional string actor_id = 2; - * @return The actorId. - */ - java.lang.String getActorId(); - /** - * optional string actor_id = 2; - * @return The bytes for actorId. - */ - com.google.protobuf.ByteString - getActorIdBytes(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance} - */ - public static final class SwimlaneContextInstance extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance) - SwimlaneContextInstanceOrBuilder { - private static final long serialVersionUID = 0L; - // Use SwimlaneContextInstance.newBuilder() to construct. - private SwimlaneContextInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SwimlaneContextInstance() { - swimlane_ = ""; - actorId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new SwimlaneContextInstance(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SwimlaneContextInstance( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - swimlane_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); + /** + * optional bytes signature = 2; + * + * @param value The signature to set. + * @return This builder for chaining. + */ + public Builder setSignature(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } bitField0_ |= 0x00000002; - actorId_ = bs; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder.class); - } - - private int bitField0_; - public static final int SWIMLANE_FIELD_NUMBER = 1; - private volatile java.lang.Object swimlane_; - /** - * optional string swimlane = 1; - * @return Whether the swimlane field is set. - */ - @java.lang.Override - public boolean hasSwimlane() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string swimlane = 1; - * @return The swimlane. - */ - @java.lang.Override - public java.lang.String getSwimlane() { - java.lang.Object ref = swimlane_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - swimlane_ = s; - } - return s; - } - } - /** - * optional string swimlane = 1; - * @return The bytes for swimlane. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getSwimlaneBytes() { - java.lang.Object ref = swimlane_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - swimlane_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ACTOR_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object actorId_; - /** - * optional string actor_id = 2; - * @return Whether the actorId field is set. - */ - @java.lang.Override - public boolean hasActorId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string actor_id = 2; - * @return The actorId. - */ - @java.lang.Override - public java.lang.String getActorId() { - java.lang.Object ref = actorId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - actorId_ = s; - } - return s; - } - } - /** - * optional string actor_id = 2; - * @return The bytes for actorId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getActorIdBytes() { - java.lang.Object ref = actorId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - actorId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, swimlane_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, actorId_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, swimlane_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, actorId_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance) obj; - - if (hasSwimlane() != other.hasSwimlane()) return false; - if (hasSwimlane()) { - if (!getSwimlane() - .equals(other.getSwimlane())) return false; - } - if (hasActorId() != other.hasActorId()) return false; - if (hasActorId()) { - if (!getActorId() - .equals(other.getActorId())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasSwimlane()) { - hash = (37 * hash) + SWIMLANE_FIELD_NUMBER; - hash = (53 * hash) + getSwimlane().hashCode(); - } - if (hasActorId()) { - hash = (37 * hash) + ACTOR_ID_FIELD_NUMBER; - hash = (53 * hash) + getActorId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - swimlane_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - actorId_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + signature_ = value; + onChanged(); + return this; + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.swimlane_ = swimlane_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.actorId_ = actorId_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } + /** + * optional bytes signature = 2; + * + * @return This builder for chaining. + */ + public Builder clearSignature() { + bitField0_ = (bitField0_ & ~0x00000002); + signature_ = getDefaultInstance().getSignature(); + onChanged(); + return this; + } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Signature) } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Signature) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature(); } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance)other); - } else { - super.mergeFrom(other); - return this; - } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature getDefaultInstance() { + return DEFAULT_INSTANCE; } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.getDefaultInstance()) return this; - if (other.hasSwimlane()) { - bitField0_ |= 0x00000001; - swimlane_ = other.swimlane_; - onChanged(); - } - if (other.hasActorId()) { - bitField0_ |= 0x00000002; - actorId_ = other.actorId_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Signature parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Signature(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; } @java.lang.Override - public final boolean isInitialized() { - return true; + public com.google.protobuf.Parser getParserForType() { + return PARSER; } @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Signature getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - private int bitField0_; - private java.lang.Object swimlane_ = ""; + } + + public interface TriggerOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Trigger) + com.google.protobuf.MessageOrBuilder { + /** - * optional string swimlane = 1; - * @return Whether the swimlane field is set. + * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; + * + * @return Whether the type field is set. */ - public boolean hasSwimlane() { - return ((bitField0_ & 0x00000001) != 0); - } + boolean hasType(); + /** - * optional string swimlane = 1; - * @return The swimlane. - */ - public java.lang.String getSwimlane() { - java.lang.Object ref = swimlane_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - swimlane_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string swimlane = 1; - * @return The bytes for swimlane. + * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; + * + * @return The type. */ - public com.google.protobuf.ByteString - getSwimlaneBytes() { - java.lang.Object ref = swimlane_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - swimlane_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string swimlane = 1; - * @param value The swimlane to set. - * @return This builder for chaining. - */ - public Builder setSwimlane( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - swimlane_ = value; - onChanged(); - return this; - } - /** - * optional string swimlane = 1; - * @return This builder for chaining. - */ - public Builder clearSwimlane() { - bitField0_ = (bitField0_ & ~0x00000001); - swimlane_ = getDefaultInstance().getSwimlane(); - onChanged(); - return this; - } - /** - * optional string swimlane = 1; - * @param value The bytes for swimlane to set. - * @return This builder for chaining. + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType getType(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; + * + * @return Whether the cron field is set. */ - public Builder setSwimlaneBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - swimlane_ = value; - onChanged(); - return this; - } + boolean hasCron(); - private java.lang.Object actorId_ = ""; /** - * optional string actor_id = 2; - * @return Whether the actorId field is set. + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; + * + * @return The cron. */ - public boolean hasActorId() { - return ((bitField0_ & 0x00000002) != 0); - } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger getCron(); + /** - * optional string actor_id = 2; - * @return The actorId. + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; */ - public java.lang.String getActorId() { - java.lang.Object ref = actorId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - actorId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string actor_id = 2; - * @return The bytes for actorId. - */ - public com.google.protobuf.ByteString - getActorIdBytes() { - java.lang.Object ref = actorId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - actorId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTriggerOrBuilder getCronOrBuilder(); + /** - * optional string actor_id = 2; - * @param value The actorId to set. - * @return This builder for chaining. + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; + * + * @return Whether the interval field is set. */ - public Builder setActorId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - actorId_ = value; - onChanged(); - return this; - } + boolean hasInterval(); + /** - * optional string actor_id = 2; - * @return This builder for chaining. + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; + * + * @return The interval. */ - public Builder clearActorId() { - bitField0_ = (bitField0_ & ~0x00000002); - actorId_ = getDefaultInstance().getActorId(); - onChanged(); - return this; - } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger getInterval(); + /** - * optional string actor_id = 2; - * @param value The bytes for actorId to set. - * @return This builder for chaining. + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; */ - public Builder setActorIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - actorId_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTriggerOrBuilder getIntervalOrBuilder(); - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance getDefaultInstance() { - return DEFAULT_INSTANCE; - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + * + * @return Whether the pit field is set. + */ + boolean hasPit(); - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SwimlaneContextInstance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SwimlaneContextInstance(input, extensionRegistry); - } - }; + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + * + * @return The pit. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger getPit(); - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTriggerOrBuilder getPitOrBuilder(); - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + * + * @return Whether the cmdt field is set. + */ + boolean hasCmdt(); - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + * + * @return The cmdt. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger getCmdt(); + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTriggerOrBuilder getCmdtOrBuilder(); } - public interface NodeInstanceOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * optional string id = 1; - * @return The id. - */ - java.lang.String getId(); - /** - * optional string id = 1; - * @return The bytes for id. - */ - com.google.protobuf.ByteString - getIdBytes(); - - /** - * optional int64 node_id = 2; - * @return Whether the nodeId field is set. - */ - boolean hasNodeId(); - /** - * optional int64 node_id = 2; - * @return The nodeId. - */ - long getNodeId(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - * @return Whether the content field is set. - */ - boolean hasContent(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - * @return The content. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent getContent(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContentOrBuilder getContentOrBuilder(); - - /** - * optional int32 level = 5; - * @return Whether the level field is set. - */ - boolean hasLevel(); - /** - * optional int32 level = 5; - * @return The level. - */ - int getLevel(); - - /** - * optional string sla_timer_id = 6; - * @return Whether the slaTimerId field is set. - */ - boolean hasSlaTimerId(); - /** - * optional string sla_timer_id = 6; - * @return The slaTimerId. - */ - java.lang.String getSlaTimerId(); - /** - * optional string sla_timer_id = 6; - * @return The bytes for slaTimerId. - */ - com.google.protobuf.ByteString - getSlaTimerIdBytes(); - - /** - * optional int64 sla_due_date = 7; - * @return Whether the slaDueDate field is set. - */ - boolean hasSlaDueDate(); - /** - * optional int64 sla_due_date = 7; - * @return The slaDueDate. - */ - long getSlaDueDate(); - - /** - * optional int32 sla_compliance = 8; - * @return Whether the slaCompliance field is set. - */ - boolean hasSlaCompliance(); - /** - * optional int32 sla_compliance = 8; - * @return The slaCompliance. - */ - int getSlaCompliance(); - - /** - * optional int64 trigger_date = 9; - * @return Whether the triggerDate field is set. - */ - boolean hasTriggerDate(); - /** - * optional int64 trigger_date = 9; - * @return The triggerDate. - */ - long getTriggerDate(); - - /** - * optional string retry_job_id = 10; - * @return Whether the retryJobId field is set. - */ - boolean hasRetryJobId(); - /** - * optional string retry_job_id = 10; - * @return The retryJobId. - */ - java.lang.String getRetryJobId(); - /** - * optional string retry_job_id = 10; - * @return The bytes for retryJobId. - */ - com.google.protobuf.ByteString - getRetryJobIdBytes(); - - /** - * optional int32 retry_attempts = 11; - * @return Whether the retryAttempts field is set. - */ - boolean hasRetryAttempts(); - /** - * optional int32 retry_attempts = 11; - * @return The retryAttempts. - */ - int getRetryAttempts(); - - /** - * optional string node_def_id = 12; - * @return Whether the nodeDefId field is set. - */ - boolean hasNodeDefId(); - /** - * optional string node_def_id = 12; - * @return The nodeDefId. - */ - java.lang.String getNodeDefId(); - /** - * optional string node_def_id = 12; - * @return The bytes for nodeDefId. - */ - com.google.protobuf.ByteString - getNodeDefIdBytes(); - } /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance} + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger} */ - public static final class NodeInstance extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance) - NodeInstanceOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeInstance.newBuilder() to construct. - private NodeInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeInstance() { - id_ = ""; - slaTimerId_ = ""; - retryJobId_ = ""; - nodeDefId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new NodeInstance(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeInstance( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - id_ = bs; - break; - } - case 16: { - bitField0_ |= 0x00000002; - nodeId_ = input.readInt64(); - break; - } - case 34: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) != 0)) { - subBuilder = content_.toBuilder(); - } - content_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(content_); - content_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - case 40: { - bitField0_ |= 0x00000008; - level_ = input.readInt32(); - break; - } - case 50: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000010; - slaTimerId_ = bs; - break; - } - case 56: { - bitField0_ |= 0x00000020; - slaDueDate_ = input.readInt64(); - break; - } - case 64: { - bitField0_ |= 0x00000040; - slaCompliance_ = input.readInt32(); - break; - } - case 72: { - bitField0_ |= 0x00000080; - triggerDate_ = input.readInt64(); - break; - } - case 82: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000100; - retryJobId_ = bs; - break; - } - case 88: { - bitField0_ |= 0x00000200; - retryAttempts_ = input.readInt32(); - break; - } - case 98: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000400; - nodeDefId_ = bs; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string id = 1; - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } - } - /** - * optional string id = 1; - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NODE_ID_FIELD_NUMBER = 2; - private long nodeId_; - /** - * optional int64 node_id = 2; - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional int64 node_id = 2; - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } - - public static final int CONTENT_FIELD_NUMBER = 4; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent content_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - * @return Whether the content field is set. - */ - @java.lang.Override - public boolean hasContent() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - * @return The content. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent getContent() { - return content_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.getDefaultInstance() : content_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContentOrBuilder getContentOrBuilder() { - return content_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.getDefaultInstance() : content_; - } - - public static final int LEVEL_FIELD_NUMBER = 5; - private int level_; - /** - * optional int32 level = 5; - * @return Whether the level field is set. - */ - @java.lang.Override - public boolean hasLevel() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional int32 level = 5; - * @return The level. - */ - @java.lang.Override - public int getLevel() { - return level_; - } - - public static final int SLA_TIMER_ID_FIELD_NUMBER = 6; - private volatile java.lang.Object slaTimerId_; - /** - * optional string sla_timer_id = 6; - * @return Whether the slaTimerId field is set. - */ - @java.lang.Override - public boolean hasSlaTimerId() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional string sla_timer_id = 6; - * @return The slaTimerId. - */ - @java.lang.Override - public java.lang.String getSlaTimerId() { - java.lang.Object ref = slaTimerId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - slaTimerId_ = s; - } - return s; - } - } - /** - * optional string sla_timer_id = 6; - * @return The bytes for slaTimerId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getSlaTimerIdBytes() { - java.lang.Object ref = slaTimerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - slaTimerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SLA_DUE_DATE_FIELD_NUMBER = 7; - private long slaDueDate_; - /** - * optional int64 sla_due_date = 7; - * @return Whether the slaDueDate field is set. - */ - @java.lang.Override - public boolean hasSlaDueDate() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional int64 sla_due_date = 7; - * @return The slaDueDate. - */ - @java.lang.Override - public long getSlaDueDate() { - return slaDueDate_; - } - - public static final int SLA_COMPLIANCE_FIELD_NUMBER = 8; - private int slaCompliance_; - /** - * optional int32 sla_compliance = 8; - * @return Whether the slaCompliance field is set. - */ - @java.lang.Override - public boolean hasSlaCompliance() { - return ((bitField0_ & 0x00000040) != 0); - } - /** - * optional int32 sla_compliance = 8; - * @return The slaCompliance. - */ - @java.lang.Override - public int getSlaCompliance() { - return slaCompliance_; - } - - public static final int TRIGGER_DATE_FIELD_NUMBER = 9; - private long triggerDate_; - /** - * optional int64 trigger_date = 9; - * @return Whether the triggerDate field is set. - */ - @java.lang.Override - public boolean hasTriggerDate() { - return ((bitField0_ & 0x00000080) != 0); - } - /** - * optional int64 trigger_date = 9; - * @return The triggerDate. - */ - @java.lang.Override - public long getTriggerDate() { - return triggerDate_; - } - - public static final int RETRY_JOB_ID_FIELD_NUMBER = 10; - private volatile java.lang.Object retryJobId_; - /** - * optional string retry_job_id = 10; - * @return Whether the retryJobId field is set. - */ - @java.lang.Override - public boolean hasRetryJobId() { - return ((bitField0_ & 0x00000100) != 0); - } - /** - * optional string retry_job_id = 10; - * @return The retryJobId. - */ - @java.lang.Override - public java.lang.String getRetryJobId() { - java.lang.Object ref = retryJobId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - retryJobId_ = s; - } - return s; - } - } - /** - * optional string retry_job_id = 10; - * @return The bytes for retryJobId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getRetryJobIdBytes() { - java.lang.Object ref = retryJobId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - retryJobId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RETRY_ATTEMPTS_FIELD_NUMBER = 11; - private int retryAttempts_; - /** - * optional int32 retry_attempts = 11; - * @return Whether the retryAttempts field is set. - */ - @java.lang.Override - public boolean hasRetryAttempts() { - return ((bitField0_ & 0x00000200) != 0); - } - /** - * optional int32 retry_attempts = 11; - * @return The retryAttempts. - */ - @java.lang.Override - public int getRetryAttempts() { - return retryAttempts_; - } - - public static final int NODE_DEF_ID_FIELD_NUMBER = 12; - private volatile java.lang.Object nodeDefId_; - /** - * optional string node_def_id = 12; - * @return Whether the nodeDefId field is set. - */ - @java.lang.Override - public boolean hasNodeDefId() { - return ((bitField0_ & 0x00000400) != 0); - } - /** - * optional string node_def_id = 12; - * @return The nodeDefId. - */ - @java.lang.Override - public java.lang.String getNodeDefId() { - java.lang.Object ref = nodeDefId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - nodeDefId_ = s; - } - return s; - } - } - /** - * optional string node_def_id = 12; - * @return The bytes for nodeDefId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNodeDefIdBytes() { - java.lang.Object ref = nodeDefId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeDefId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt64(2, nodeId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(4, getContent()); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeInt32(5, level_); - } - if (((bitField0_ & 0x00000010) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, slaTimerId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - output.writeInt64(7, slaDueDate_); - } - if (((bitField0_ & 0x00000040) != 0)) { - output.writeInt32(8, slaCompliance_); - } - if (((bitField0_ & 0x00000080) != 0)) { - output.writeInt64(9, triggerDate_); - } - if (((bitField0_ & 0x00000100) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, retryJobId_); - } - if (((bitField0_ & 0x00000200) != 0)) { - output.writeInt32(11, retryAttempts_); - } - if (((bitField0_ & 0x00000400) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, nodeDefId_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, nodeId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getContent()); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(5, level_); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, slaTimerId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, slaDueDate_); - } - if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, slaCompliance_); - } - if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(9, triggerDate_); - } - if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, retryJobId_); - } - if (((bitField0_ & 0x00000200) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(11, retryAttempts_); - } - if (((bitField0_ & 0x00000400) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, nodeDefId_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; + public static final class Trigger extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Trigger) + TriggerOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Trigger.newBuilder() to construct. + private Trigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - if (hasNodeId() != other.hasNodeId()) return false; - if (hasNodeId()) { - if (getNodeId() - != other.getNodeId()) return false; - } - if (hasContent() != other.hasContent()) return false; - if (hasContent()) { - if (!getContent() - .equals(other.getContent())) return false; - } - if (hasLevel() != other.hasLevel()) return false; - if (hasLevel()) { - if (getLevel() - != other.getLevel()) return false; - } - if (hasSlaTimerId() != other.hasSlaTimerId()) return false; - if (hasSlaTimerId()) { - if (!getSlaTimerId() - .equals(other.getSlaTimerId())) return false; - } - if (hasSlaDueDate() != other.hasSlaDueDate()) return false; - if (hasSlaDueDate()) { - if (getSlaDueDate() - != other.getSlaDueDate()) return false; - } - if (hasSlaCompliance() != other.hasSlaCompliance()) return false; - if (hasSlaCompliance()) { - if (getSlaCompliance() - != other.getSlaCompliance()) return false; - } - if (hasTriggerDate() != other.hasTriggerDate()) return false; - if (hasTriggerDate()) { - if (getTriggerDate() - != other.getTriggerDate()) return false; - } - if (hasRetryJobId() != other.hasRetryJobId()) return false; - if (hasRetryJobId()) { - if (!getRetryJobId() - .equals(other.getRetryJobId())) return false; - } - if (hasRetryAttempts() != other.hasRetryAttempts()) return false; - if (hasRetryAttempts()) { - if (getRetryAttempts() - != other.getRetryAttempts()) return false; - } - if (hasNodeDefId() != other.hasNodeDefId()) return false; - if (hasNodeDefId()) { - if (!getNodeDefId() - .equals(other.getNodeDefId())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasNodeId()) { - hash = (37 * hash) + NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNodeId()); - } - if (hasContent()) { - hash = (37 * hash) + CONTENT_FIELD_NUMBER; - hash = (53 * hash) + getContent().hashCode(); - } - if (hasLevel()) { - hash = (37 * hash) + LEVEL_FIELD_NUMBER; - hash = (53 * hash) + getLevel(); - } - if (hasSlaTimerId()) { - hash = (37 * hash) + SLA_TIMER_ID_FIELD_NUMBER; - hash = (53 * hash) + getSlaTimerId().hashCode(); - } - if (hasSlaDueDate()) { - hash = (37 * hash) + SLA_DUE_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSlaDueDate()); - } - if (hasSlaCompliance()) { - hash = (37 * hash) + SLA_COMPLIANCE_FIELD_NUMBER; - hash = (53 * hash) + getSlaCompliance(); - } - if (hasTriggerDate()) { - hash = (37 * hash) + TRIGGER_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getTriggerDate()); - } - if (hasRetryJobId()) { - hash = (37 * hash) + RETRY_JOB_ID_FIELD_NUMBER; - hash = (53 * hash) + getRetryJobId().hashCode(); - } - if (hasRetryAttempts()) { - hash = (37 * hash) + RETRY_ATTEMPTS_FIELD_NUMBER; - hash = (53 * hash) + getRetryAttempts(); - } - if (hasNodeDefId()) { - hash = (37 * hash) + NODE_DEF_ID_FIELD_NUMBER; - hash = (53 * hash) + getNodeDefId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getContentFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - nodeId_ = 0L; - bitField0_ = (bitField0_ & ~0x00000002); - if (contentBuilder_ == null) { - content_ = null; - } else { - contentBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - level_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - slaTimerId_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); - slaDueDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000020); - slaCompliance_ = 0; - bitField0_ = (bitField0_ & ~0x00000040); - triggerDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000080); - retryJobId_ = ""; - bitField0_ = (bitField0_ & ~0x00000100); - retryAttempts_ = 0; - bitField0_ = (bitField0_ & ~0x00000200); - nodeDefId_ = ""; - bitField0_ = (bitField0_ & ~0x00000400); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.id_ = id_; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.nodeId_ = nodeId_; - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - if (contentBuilder_ == null) { - result.content_ = content_; - } else { - result.content_ = contentBuilder_.build(); - } - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.level_ = level_; - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - to_bitField0_ |= 0x00000010; - } - result.slaTimerId_ = slaTimerId_; - if (((from_bitField0_ & 0x00000020) != 0)) { - result.slaDueDate_ = slaDueDate_; - to_bitField0_ |= 0x00000020; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.slaCompliance_ = slaCompliance_; - to_bitField0_ |= 0x00000040; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.triggerDate_ = triggerDate_; - to_bitField0_ |= 0x00000080; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - to_bitField0_ |= 0x00000100; - } - result.retryJobId_ = retryJobId_; - if (((from_bitField0_ & 0x00000200) != 0)) { - result.retryAttempts_ = retryAttempts_; - to_bitField0_ |= 0x00000200; - } - if (((from_bitField0_ & 0x00000400) != 0)) { - to_bitField0_ |= 0x00000400; - } - result.nodeDefId_ = nodeDefId_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.getDefaultInstance()) return this; - if (other.hasId()) { - bitField0_ |= 0x00000001; - id_ = other.id_; - onChanged(); - } - if (other.hasNodeId()) { - setNodeId(other.getNodeId()); - } - if (other.hasContent()) { - mergeContent(other.getContent()); - } - if (other.hasLevel()) { - setLevel(other.getLevel()); - } - if (other.hasSlaTimerId()) { - bitField0_ |= 0x00000010; - slaTimerId_ = other.slaTimerId_; - onChanged(); - } - if (other.hasSlaDueDate()) { - setSlaDueDate(other.getSlaDueDate()); - } - if (other.hasSlaCompliance()) { - setSlaCompliance(other.getSlaCompliance()); - } - if (other.hasTriggerDate()) { - setTriggerDate(other.getTriggerDate()); - } - if (other.hasRetryJobId()) { - bitField0_ |= 0x00000100; - retryJobId_ = other.retryJobId_; - onChanged(); - } - if (other.hasRetryAttempts()) { - setRetryAttempts(other.getRetryAttempts()); - } - if (other.hasNodeDefId()) { - bitField0_ |= 0x00000400; - nodeDefId_ = other.nodeDefId_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + + private Trigger() { + type_ = 0; } @java.lang.Override - public final boolean isInitialized() { - return true; + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Trigger(); } @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; } - private int bitField0_; - private java.lang.Object id_ = ""; - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string id = 1; - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; + private Trigger( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType value = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType + .valueOf(rawValue); + if (value == null) { + unknownFields.mergeVarintField(1, rawValue); + } else { + bitField0_ |= 0x00000001; + type_ = rawValue; + } + break; + } + case 18: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) != 0)) { + subBuilder = cron_.toBuilder(); + } + cron_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cron_); + cron_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) != 0)) { + subBuilder = interval_.toBuilder(); + } + interval_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(interval_); + interval_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + case 34: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.Builder subBuilder = null; + if (((bitField0_ & 0x00000008) != 0)) { + subBuilder = pit_.toBuilder(); + } + pit_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(pit_); + pit_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000008; + break; + } + case 42: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.Builder subBuilder = null; + if (((bitField0_ & 0x00000010) != 0)) { + subBuilder = cmdt_.toBuilder(); + } + cmdt_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(cmdt_); + cmdt_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000010; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string id = 1; - * @return The bytes for id. - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string id = 1; - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - /** - * optional string id = 1; - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - /** - * optional string id = 1; - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; } - private long nodeId_ ; - /** - * optional int64 node_id = 2; - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000002) != 0); + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor; } - /** - * optional int64 node_id = 2; - * @return The nodeId. - */ + @java.lang.Override - public long getNodeId() { - return nodeId_; - } - /** - * optional int64 node_id = 2; - * @param value The nodeId to set. - * @return This builder for chaining. - */ - public Builder setNodeId(long value) { - bitField0_ |= 0x00000002; - nodeId_ = value; - onChanged(); - return this; - } - /** - * optional int64 node_id = 2; - * @return This builder for chaining. - */ - public Builder clearNodeId() { - bitField0_ = (bitField0_ & ~0x00000002); - nodeId_ = 0L; - onChanged(); - return this; + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder.class); } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent content_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContentOrBuilder> contentBuilder_; /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - * @return Whether the content field is set. + * Protobuf enum {@code io.automatiko.engine.workflow.marshalling.Trigger.TriggerType} */ - public boolean hasContent() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - * @return The content. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent getContent() { - if (contentBuilder_ == null) { - return content_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.getDefaultInstance() : content_; - } else { - return contentBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - public Builder setContent(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent value) { - if (contentBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + public enum TriggerType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * CRON = 0; + */ + CRON(0), + /** + * INTERVAL = 1; + */ + INTERVAL(1), + /** + * POINT_IN_TIME = 2; + */ + POINT_IN_TIME(2), + /** + * COMPOSITE_MAX_DURATION = 3; + */ + COMPOSITE_MAX_DURATION(3), + ; + + /** + * CRON = 0; + */ + public static final int CRON_VALUE = 0; + /** + * INTERVAL = 1; + */ + public static final int INTERVAL_VALUE = 1; + /** + * POINT_IN_TIME = 2; + */ + public static final int POINT_IN_TIME_VALUE = 2; + /** + * COMPOSITE_MAX_DURATION = 3; + */ + public static final int COMPOSITE_MAX_DURATION_VALUE = 3; + + public final int getNumber() { + return value; } - content_ = value; - onChanged(); - } else { - contentBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - public Builder setContent( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.Builder builderForValue) { - if (contentBuilder_ == null) { - content_ = builderForValue.build(); - onChanged(); - } else { - contentBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - public Builder mergeContent(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent value) { - if (contentBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - content_ != null && - content_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.getDefaultInstance()) { - content_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.newBuilder(content_).mergeFrom(value).buildPartial(); - } else { - content_ = value; + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static TriggerType valueOf(int value) { + return forNumber(value); } - onChanged(); - } else { - contentBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - public Builder clearContent() { - if (contentBuilder_ == null) { - content_ = null; - onChanged(); - } else { - contentBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.Builder getContentBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getContentFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContentOrBuilder getContentOrBuilder() { - if (contentBuilder_ != null) { - return contentBuilder_.getMessageOrBuilder(); - } else { - return content_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.getDefaultInstance() : content_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContentOrBuilder> - getContentFieldBuilder() { - if (contentBuilder_ == null) { - contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContentOrBuilder>( - getContent(), - getParentForChildren(), - isClean()); - content_ = null; - } - return contentBuilder_; - } - private int level_ ; - /** - * optional int32 level = 5; - * @return Whether the level field is set. - */ - @java.lang.Override - public boolean hasLevel() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional int32 level = 5; - * @return The level. - */ - @java.lang.Override - public int getLevel() { - return level_; - } - /** - * optional int32 level = 5; - * @param value The level to set. - * @return This builder for chaining. - */ - public Builder setLevel(int value) { - bitField0_ |= 0x00000008; - level_ = value; - onChanged(); - return this; - } - /** - * optional int32 level = 5; - * @return This builder for chaining. - */ - public Builder clearLevel() { - bitField0_ = (bitField0_ & ~0x00000008); - level_ = 0; - onChanged(); - return this; - } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static TriggerType forNumber(int value) { + switch (value) { + case 0: + return CRON; + case 1: + return INTERVAL; + case 2: + return POINT_IN_TIME; + case 3: + return COMPOSITE_MAX_DURATION; + default: + return null; + } + } - private java.lang.Object slaTimerId_ = ""; - /** - * optional string sla_timer_id = 6; - * @return Whether the slaTimerId field is set. - */ - public boolean hasSlaTimerId() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional string sla_timer_id = 6; - * @return The slaTimerId. - */ - public java.lang.String getSlaTimerId() { - java.lang.Object ref = slaTimerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - slaTimerId_ = s; + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string sla_timer_id = 6; - * @return The bytes for slaTimerId. - */ - public com.google.protobuf.ByteString - getSlaTimerIdBytes() { - java.lang.Object ref = slaTimerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - slaTimerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string sla_timer_id = 6; - * @param value The slaTimerId to set. - * @return This builder for chaining. - */ - public Builder setSlaTimerId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - slaTimerId_ = value; - onChanged(); - return this; - } - /** - * optional string sla_timer_id = 6; - * @return This builder for chaining. - */ - public Builder clearSlaTimerId() { - bitField0_ = (bitField0_ & ~0x00000010); - slaTimerId_ = getDefaultInstance().getSlaTimerId(); - onChanged(); - return this; - } - /** - * optional string sla_timer_id = 6; - * @param value The bytes for slaTimerId to set. - * @return This builder for chaining. - */ - public Builder setSlaTimerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - slaTimerId_ = value; - onChanged(); - return this; - } - - private long slaDueDate_ ; - /** - * optional int64 sla_due_date = 7; - * @return Whether the slaDueDate field is set. - */ - @java.lang.Override - public boolean hasSlaDueDate() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional int64 sla_due_date = 7; - * @return The slaDueDate. - */ - @java.lang.Override - public long getSlaDueDate() { - return slaDueDate_; - } - /** - * optional int64 sla_due_date = 7; - * @param value The slaDueDate to set. - * @return This builder for chaining. - */ - public Builder setSlaDueDate(long value) { - bitField0_ |= 0x00000020; - slaDueDate_ = value; - onChanged(); - return this; - } - /** - * optional int64 sla_due_date = 7; - * @return This builder for chaining. - */ - public Builder clearSlaDueDate() { - bitField0_ = (bitField0_ & ~0x00000020); - slaDueDate_ = 0L; - onChanged(); - return this; - } - private int slaCompliance_ ; - /** - * optional int32 sla_compliance = 8; - * @return Whether the slaCompliance field is set. - */ - @java.lang.Override - public boolean hasSlaCompliance() { - return ((bitField0_ & 0x00000040) != 0); - } - /** - * optional int32 sla_compliance = 8; - * @return The slaCompliance. - */ - @java.lang.Override - public int getSlaCompliance() { - return slaCompliance_; - } - /** - * optional int32 sla_compliance = 8; - * @param value The slaCompliance to set. - * @return This builder for chaining. - */ - public Builder setSlaCompliance(int value) { - bitField0_ |= 0x00000040; - slaCompliance_ = value; - onChanged(); - return this; - } - /** - * optional int32 sla_compliance = 8; - * @return This builder for chaining. - */ - public Builder clearSlaCompliance() { - bitField0_ = (bitField0_ & ~0x00000040); - slaCompliance_ = 0; - onChanged(); - return this; - } + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { + public TriggerType findValueByNumber(int number) { + return TriggerType.forNumber(number); + } + }; - private long triggerDate_ ; - /** - * optional int64 trigger_date = 9; - * @return Whether the triggerDate field is set. - */ - @java.lang.Override - public boolean hasTriggerDate() { - return ((bitField0_ & 0x00000080) != 0); - } - /** - * optional int64 trigger_date = 9; - * @return The triggerDate. - */ - @java.lang.Override - public long getTriggerDate() { - return triggerDate_; - } - /** - * optional int64 trigger_date = 9; - * @param value The triggerDate to set. - * @return This builder for chaining. - */ - public Builder setTriggerDate(long value) { - bitField0_ |= 0x00000080; - triggerDate_ = value; - onChanged(); - return this; - } - /** - * optional int64 trigger_date = 9; - * @return This builder for chaining. - */ - public Builder clearTriggerDate() { - bitField0_ = (bitField0_ & ~0x00000080); - triggerDate_ = 0L; - onChanged(); - return this; - } + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } - private java.lang.Object retryJobId_ = ""; - /** - * optional string retry_job_id = 10; - * @return Whether the retryJobId field is set. - */ - public boolean hasRetryJobId() { - return ((bitField0_ & 0x00000100) != 0); - } - /** - * optional string retry_job_id = 10; - * @return The retryJobId. - */ - public java.lang.String getRetryJobId() { - java.lang.Object ref = retryJobId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - retryJobId_ = s; + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string retry_job_id = 10; - * @return The bytes for retryJobId. - */ - public com.google.protobuf.ByteString - getRetryJobIdBytes() { - java.lang.Object ref = retryJobId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - retryJobId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string retry_job_id = 10; - * @param value The retryJobId to set. - * @return This builder for chaining. - */ - public Builder setRetryJobId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; - retryJobId_ = value; - onChanged(); - return this; - } - /** - * optional string retry_job_id = 10; - * @return This builder for chaining. - */ - public Builder clearRetryJobId() { - bitField0_ = (bitField0_ & ~0x00000100); - retryJobId_ = getDefaultInstance().getRetryJobId(); - onChanged(); - return this; - } - /** - * optional string retry_job_id = 10; - * @param value The bytes for retryJobId to set. - * @return This builder for chaining. - */ - public Builder setRetryJobIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; - retryJobId_ = value; - onChanged(); - return this; - } - private int retryAttempts_ ; - /** - * optional int32 retry_attempts = 11; - * @return Whether the retryAttempts field is set. - */ - @java.lang.Override - public boolean hasRetryAttempts() { - return ((bitField0_ & 0x00000200) != 0); - } - /** - * optional int32 retry_attempts = 11; - * @return The retryAttempts. - */ - @java.lang.Override - public int getRetryAttempts() { - return retryAttempts_; - } - /** - * optional int32 retry_attempts = 11; - * @param value The retryAttempts to set. - * @return This builder for chaining. - */ - public Builder setRetryAttempts(int value) { - bitField0_ |= 0x00000200; - retryAttempts_ = value; - onChanged(); - return this; - } - /** - * optional int32 retry_attempts = 11; - * @return This builder for chaining. - */ - public Builder clearRetryAttempts() { - bitField0_ = (bitField0_ & ~0x00000200); - retryAttempts_ = 0; - onChanged(); - return this; - } + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDescriptor().getEnumTypes() + .get(0); + } - private java.lang.Object nodeDefId_ = ""; - /** - * optional string node_def_id = 12; - * @return Whether the nodeDefId field is set. - */ - public boolean hasNodeDefId() { - return ((bitField0_ & 0x00000400) != 0); - } - /** - * optional string node_def_id = 12; - * @return The nodeDefId. - */ - public java.lang.String getNodeDefId() { - java.lang.Object ref = nodeDefId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - nodeDefId_ = s; + private static final TriggerType[] VALUES = values(); + + public static TriggerType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string node_def_id = 12; - * @return The bytes for nodeDefId. - */ - public com.google.protobuf.ByteString - getNodeDefIdBytes() { - java.lang.Object ref = nodeDefId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeDefId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string node_def_id = 12; - * @param value The nodeDefId to set. - * @return This builder for chaining. - */ - public Builder setNodeDefId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; - nodeDefId_ = value; - onChanged(); - return this; - } - /** - * optional string node_def_id = 12; - * @return This builder for chaining. - */ - public Builder clearNodeDefId() { - bitField0_ = (bitField0_ & ~0x00000400); - nodeDefId_ = getDefaultInstance().getNodeDefId(); - onChanged(); - return this; - } - /** - * optional string node_def_id = 12; - * @param value The bytes for nodeDefId to set. - * @return This builder for chaining. - */ - public Builder setNodeDefIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; - nodeDefId_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + private final int value; + + private TriggerType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:io.automatiko.engine.workflow.marshalling.Trigger.TriggerType) } + public interface CronTriggerOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger) + com.google.protobuf.MessageOrBuilder { - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance) - } + /** + * optional int64 start_time = 1; + * + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance(); - } + /** + * optional int64 start_time = 1; + * + * @return The startTime. + */ + long getStartTime(); - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getDefaultInstance() { - return DEFAULT_INSTANCE; - } + /** + * optional int64 end_time = 2; + * + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeInstance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeInstance(input, extensionRegistry); - } - }; + /** + * optional int64 end_time = 2; + * + * @return The endTime. + */ + long getEndTime(); - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * optional int32 repeat_limit = 3; + * + * @return Whether the repeatLimit field is set. + */ + boolean hasRepeatLimit(); - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + * optional int32 repeat_limit = 3; + * + * @return The repeatLimit. + */ + int getRepeatLimit(); - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * optional int32 repeat_count = 4; + * + * @return Whether the repeatCount field is set. + */ + boolean hasRepeatCount(); - } + /** + * optional int32 repeat_count = 4; + * + * @return The repeatCount. + */ + int getRepeatCount(); - public interface ExclusiveGroupInstanceOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string group_node_instance_id = 1; - * @return A list containing the groupNodeInstanceId. - */ - java.util.List - getGroupNodeInstanceIdList(); - /** - * repeated string group_node_instance_id = 1; - * @return The count of groupNodeInstanceId. - */ - int getGroupNodeInstanceIdCount(); - /** - * repeated string group_node_instance_id = 1; - * @param index The index of the element to return. - * @return The groupNodeInstanceId at the given index. - */ - java.lang.String getGroupNodeInstanceId(int index); - /** - * repeated string group_node_instance_id = 1; - * @param index The index of the value to return. - * @return The bytes of the groupNodeInstanceId at the given index. - */ - com.google.protobuf.ByteString - getGroupNodeInstanceIdBytes(int index); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance} - */ - public static final class ExclusiveGroupInstance extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance) - ExclusiveGroupInstanceOrBuilder { - private static final long serialVersionUID = 0L; - // Use ExclusiveGroupInstance.newBuilder() to construct. - private ExclusiveGroupInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ExclusiveGroupInstance() { - groupNodeInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ExclusiveGroupInstance(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ExclusiveGroupInstance( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - groupNodeInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - groupNodeInstanceId_.add(bs); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - groupNodeInstanceId_ = groupNodeInstanceId_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder.class); - } - - public static final int GROUP_NODE_INSTANCE_ID_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList groupNodeInstanceId_; - /** - * repeated string group_node_instance_id = 1; - * @return A list containing the groupNodeInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getGroupNodeInstanceIdList() { - return groupNodeInstanceId_; - } - /** - * repeated string group_node_instance_id = 1; - * @return The count of groupNodeInstanceId. - */ - public int getGroupNodeInstanceIdCount() { - return groupNodeInstanceId_.size(); - } - /** - * repeated string group_node_instance_id = 1; - * @param index The index of the element to return. - * @return The groupNodeInstanceId at the given index. - */ - public java.lang.String getGroupNodeInstanceId(int index) { - return groupNodeInstanceId_.get(index); - } - /** - * repeated string group_node_instance_id = 1; - * @param index The index of the value to return. - * @return The bytes of the groupNodeInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getGroupNodeInstanceIdBytes(int index) { - return groupNodeInstanceId_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < groupNodeInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupNodeInstanceId_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < groupNodeInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(groupNodeInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getGroupNodeInstanceIdList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance) obj; - - if (!getGroupNodeInstanceIdList() - .equals(other.getGroupNodeInstanceIdList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getGroupNodeInstanceIdCount() > 0) { - hash = (37 * hash) + GROUP_NODE_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getGroupNodeInstanceIdList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - groupNodeInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } + /** + * optional string cron_expression = 5; + * + * @return Whether the cronExpression field is set. + */ + boolean hasCronExpression(); - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - groupNodeInstanceId_ = groupNodeInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.groupNodeInstanceId_ = groupNodeInstanceId_; - onBuilt(); - return result; - } + /** + * optional string cron_expression = 5; + * + * @return The cronExpression. + */ + java.lang.String getCronExpression(); - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance)other); - } else { - super.mergeFrom(other); - return this; - } - } + /** + * optional string cron_expression = 5; + * + * @return The bytes for cronExpression. + */ + com.google.protobuf.ByteString getCronExpressionBytes(); - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.getDefaultInstance()) return this; - if (!other.groupNodeInstanceId_.isEmpty()) { - if (groupNodeInstanceId_.isEmpty()) { - groupNodeInstanceId_ = other.groupNodeInstanceId_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureGroupNodeInstanceIdIsMutable(); - groupNodeInstanceId_.addAll(other.groupNodeInstanceId_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } + /** + * optional int64 next_fire_time = 6; + * + * @return Whether the nextFireTime field is set. + */ + boolean hasNextFireTime(); - @java.lang.Override - public final boolean isInitialized() { - return true; - } + /** + * optional int64 next_fire_time = 6; + * + * @return The nextFireTime. + */ + long getNextFireTime(); - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; + /** + * repeated string calendar_name = 7; + * + * @return A list containing the calendarName. + */ + java.util.List getCalendarNameList(); - private com.google.protobuf.LazyStringList groupNodeInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureGroupNodeInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - groupNodeInstanceId_ = new com.google.protobuf.LazyStringArrayList(groupNodeInstanceId_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string group_node_instance_id = 1; - * @return A list containing the groupNodeInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getGroupNodeInstanceIdList() { - return groupNodeInstanceId_.getUnmodifiableView(); - } - /** - * repeated string group_node_instance_id = 1; - * @return The count of groupNodeInstanceId. - */ - public int getGroupNodeInstanceIdCount() { - return groupNodeInstanceId_.size(); - } - /** - * repeated string group_node_instance_id = 1; - * @param index The index of the element to return. - * @return The groupNodeInstanceId at the given index. - */ - public java.lang.String getGroupNodeInstanceId(int index) { - return groupNodeInstanceId_.get(index); - } - /** - * repeated string group_node_instance_id = 1; - * @param index The index of the value to return. - * @return The bytes of the groupNodeInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getGroupNodeInstanceIdBytes(int index) { - return groupNodeInstanceId_.getByteString(index); - } - /** - * repeated string group_node_instance_id = 1; - * @param index The index to set the value at. - * @param value The groupNodeInstanceId to set. - * @return This builder for chaining. - */ - public Builder setGroupNodeInstanceId( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureGroupNodeInstanceIdIsMutable(); - groupNodeInstanceId_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string group_node_instance_id = 1; - * @param value The groupNodeInstanceId to add. - * @return This builder for chaining. - */ - public Builder addGroupNodeInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureGroupNodeInstanceIdIsMutable(); - groupNodeInstanceId_.add(value); - onChanged(); - return this; - } - /** - * repeated string group_node_instance_id = 1; - * @param values The groupNodeInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllGroupNodeInstanceId( - java.lang.Iterable values) { - ensureGroupNodeInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, groupNodeInstanceId_); - onChanged(); - return this; - } - /** - * repeated string group_node_instance_id = 1; - * @return This builder for chaining. - */ - public Builder clearGroupNodeInstanceId() { - groupNodeInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; + /** + * repeated string calendar_name = 7; + * + * @return The count of calendarName. + */ + int getCalendarNameCount(); + + /** + * repeated string calendar_name = 7; + * + * @param index The index of the element to return. + * @return The calendarName at the given index. + */ + java.lang.String getCalendarName(int index); + + /** + * repeated string calendar_name = 7; + * + * @param index The index of the value to return. + * @return The bytes of the calendarName at the given index. + */ + com.google.protobuf.ByteString getCalendarNameBytes(int index); } + /** - * repeated string group_node_instance_id = 1; - * @param value The bytes of the groupNodeInstanceId to add. - * @return This builder for chaining. + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger} */ - public Builder addGroupNodeInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureGroupNodeInstanceIdIsMutable(); - groupNodeInstanceId_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + public static final class CronTrigger extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger) + CronTriggerOrBuilder { + private static final long serialVersionUID = 0L; - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + // Use CronTrigger.newBuilder() to construct. + private CronTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CronTrigger() { + cronExpression_ = ""; + calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance) - } + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CronTrigger(); + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance(); - } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getDefaultInstance() { - return DEFAULT_INSTANCE; - } + private CronTrigger( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + bitField0_ |= 0x00000001; + startTime_ = input.readInt64(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + endTime_ = input.readInt64(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + repeatLimit_ = input.readInt32(); + break; + } + case 32: { + bitField0_ |= 0x00000008; + repeatCount_ = input.readInt32(); + break; + } + case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000010; + cronExpression_ = bs; + break; + } + case 48: { + bitField0_ |= 0x00000020; + nextFireTime_ = input.readInt64(); + break; + } + case 58: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + calendarName_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000040; + } + calendarName_.add(bs); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000040) != 0)) { + calendarName_ = calendarName_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExclusiveGroupInstance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExclusiveGroupInstance(input, extensionRegistry); - } - }; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_descriptor; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.Builder.class); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + private int bitField0_; + public static final int START_TIME_FIELD_NUMBER = 1; + private long startTime_; - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * optional int64 start_time = 1; + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } - } + /** + * optional int64 start_time = 1; + * + * @return The startTime. + */ + @java.lang.Override + public long getStartTime() { + return startTime_; + } - public interface NodeInstanceContentOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent) - com.google.protobuf.MessageOrBuilder { - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; - * @return Whether the type field is set. - */ - boolean hasType(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; - * @return The type. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType getType(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - * @return Whether the ruleSet field is set. - */ - boolean hasRuleSet(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - * @return The ruleSet. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getRuleSet(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder getRuleSetOrBuilder(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - * @return Whether the humanTask field is set. - */ - boolean hasHumanTask(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - * @return The humanTask. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getHumanTask(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder getHumanTaskOrBuilder(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - * @return Whether the workItem field is set. - */ - boolean hasWorkItem(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - * @return The workItem. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getWorkItem(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder getWorkItemOrBuilder(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - * @return Whether the subProcess field is set. - */ - boolean hasSubProcess(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - * @return The subProcess. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getSubProcess(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder getSubProcessOrBuilder(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - * @return Whether the milestone field is set. - */ - boolean hasMilestone(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - * @return The milestone. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getMilestone(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder getMilestoneOrBuilder(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - * @return Whether the event field is set. - */ - boolean hasEvent(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - * @return The event. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode getEvent(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder getEventOrBuilder(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - * @return Whether the timer field is set. - */ - boolean hasTimer(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - * @return The timer. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode getTimer(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder getTimerOrBuilder(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - * @return Whether the join field is set. - */ - boolean hasJoin(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - * @return The join. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode getJoin(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder getJoinOrBuilder(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - * @return Whether the state field is set. - */ - boolean hasState(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - * @return The state. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode getState(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder getStateOrBuilder(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - * @return Whether the composite field is set. - */ - boolean hasComposite(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - * @return The composite. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getComposite(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder getCompositeOrBuilder(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - * @return Whether the forEach field is set. - */ - boolean hasForEach(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - * @return The forEach. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode getForEach(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder getForEachOrBuilder(); - - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - * @return Whether the asyncEvent field is set. - */ - boolean hasAsyncEvent(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - * @return The asyncEvent. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getAsyncEvent(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder getAsyncEventOrBuilder(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent} - */ - public static final class NodeInstanceContent extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent) - NodeInstanceContentOrBuilder { - private static final long serialVersionUID = 0L; - // Use NodeInstanceContent.newBuilder() to construct. - private NodeInstanceContent(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private NodeInstanceContent() { - type_ = 0; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new NodeInstanceContent(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private NodeInstanceContent( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - int rawValue = input.readEnum(); - @SuppressWarnings("deprecation") - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType value = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType.valueOf(rawValue); - if (value == null) { - unknownFields.mergeVarintField(1, rawValue); - } else { - bitField0_ |= 0x00000001; - type_ = rawValue; - } - break; - } - case 18: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) != 0)) { - subBuilder = ruleSet_.toBuilder(); - } - ruleSet_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(ruleSet_); - ruleSet_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - case 26: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) != 0)) { - subBuilder = humanTask_.toBuilder(); - } - humanTask_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(humanTask_); - humanTask_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - case 34: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) != 0)) { - subBuilder = workItem_.toBuilder(); - } - workItem_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workItem_); - workItem_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000008; - break; - } - case 42: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000010) != 0)) { - subBuilder = subProcess_.toBuilder(); - } - subProcess_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(subProcess_); - subProcess_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000010; - break; - } - case 50: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000020) != 0)) { - subBuilder = milestone_.toBuilder(); - } - milestone_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(milestone_); - milestone_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000020; - break; - } - case 58: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000040) != 0)) { - subBuilder = event_.toBuilder(); - } - event_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(event_); - event_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000040; - break; - } - case 66: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000080) != 0)) { - subBuilder = timer_.toBuilder(); - } - timer_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timer_); - timer_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000080; - break; - } - case 74: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000100) != 0)) { - subBuilder = join_.toBuilder(); - } - join_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(join_); - join_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000100; - break; - } - case 82: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000200) != 0)) { - subBuilder = state_.toBuilder(); - } - state_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(state_); - state_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000200; - break; - } - case 90: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000400) != 0)) { - subBuilder = composite_.toBuilder(); - } - composite_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(composite_); - composite_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000400; - break; - } - case 98: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000800) != 0)) { - subBuilder = forEach_.toBuilder(); - } - forEach_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(forEach_); - forEach_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000800; - break; - } - case 106: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder subBuilder = null; - if (((bitField0_ & 0x00001000) != 0)) { - subBuilder = asyncEvent_.toBuilder(); - } - asyncEvent_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(asyncEvent_); - asyncEvent_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00001000; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.Builder.class); - } - - public interface RuleSetNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string timer_instance_id = 1; - * @return A list containing the timerInstanceId. - */ - java.util.List - getTimerInstanceIdList(); - /** - * repeated string timer_instance_id = 1; - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - /** - * repeated string timer_instance_id = 1; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - /** - * repeated string timer_instance_id = 1; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index); + public static final int END_TIME_FIELD_NUMBER = 2; + private long endTime_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - java.util.List - getMapEntryList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getMapEntry(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - int getMapEntryCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - java.util.List - getMapEntryOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder getMapEntryOrBuilder( - int index); + /** + * optional int64 end_time = 2; + * + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return ((bitField0_ & 0x00000002) != 0); + } - /** - * optional string rule_flow_group = 3; - * @return Whether the ruleFlowGroup field is set. - */ - boolean hasRuleFlowGroup(); - /** - * optional string rule_flow_group = 3; - * @return The ruleFlowGroup. - */ - java.lang.String getRuleFlowGroup(); - /** - * optional string rule_flow_group = 3; - * @return The bytes for ruleFlowGroup. - */ - com.google.protobuf.ByteString - getRuleFlowGroupBytes(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode} - */ - public static final class RuleSetNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) - RuleSetNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use RuleSetNode.newBuilder() to construct. - private RuleSetNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private RuleSetNode() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - mapEntry_ = java.util.Collections.emptyList(); - ruleFlowGroup_ = ""; - } + /** + * optional int64 end_time = 2; + * + * @return The endTime. + */ + @java.lang.Override + public long getEndTime() { + return endTime_; + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new RuleSetNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private RuleSetNode( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - timerInstanceId_.add(bs); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - mapEntry_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - mapEntry_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.PARSER, extensionRegistry)); - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - ruleFlowGroup_ = bs; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - mapEntry_ = java.util.Collections.unmodifiableList(mapEntry_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder.class); - } - - public interface TextMapEntryOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) - com.google.protobuf.MessageOrBuilder { + public static final int REPEAT_LIMIT_FIELD_NUMBER = 3; + private int repeatLimit_; - /** - * optional string name = 1; - * @return Whether the name field is set. - */ - boolean hasName(); - /** - * optional string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * optional string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - * optional string value = 2; - * @return Whether the value field is set. - */ - boolean hasValue(); - /** - * optional string value = 2; - * @return The value. - */ - java.lang.String getValue(); - /** - * optional string value = 2; - * @return The bytes for value. - */ - com.google.protobuf.ByteString - getValueBytes(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry} - */ - public static final class TextMapEntry extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) - TextMapEntryOrBuilder { - private static final long serialVersionUID = 0L; - // Use TextMapEntry.newBuilder() to construct. - private TextMapEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TextMapEntry() { - name_ = ""; - value_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new TextMapEntry(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TextMapEntry( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - name_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - value_ = bs; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder.class); - } - - private int bitField0_; - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * optional string name = 1; - * @return Whether the name field is set. - */ - @java.lang.Override - public boolean hasName() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } - } - /** - * optional string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VALUE_FIELD_NUMBER = 2; - private volatile java.lang.Object value_; - /** - * optional string value = 2; - * @return Whether the value field is set. - */ - @java.lang.Override - public boolean hasValue() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string value = 2; - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - value_ = s; - } - return s; - } - } - /** - * optional string value = 2; - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; + /** + * optional int32 repeat_limit = 3; + * + * @return Whether the repeatLimit field is set. + */ + @java.lang.Override + public boolean hasRepeatLimit() { + return ((bitField0_ & 0x00000004) != 0); } - } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + /** + * optional int32 repeat_limit = 3; + * + * @return The repeatLimit. + */ + @java.lang.Override + public int getRepeatLimit() { + return repeatLimit_; + } - memoizedIsInitialized = 1; - return true; - } + public static final int REPEAT_COUNT_FIELD_NUMBER = 4; + private int repeatCount_; - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + /** + * optional int32 repeat_count = 4; + * + * @return Whether the repeatCount field is set. + */ + @java.lang.Override + public boolean hasRepeatCount() { + return ((bitField0_ & 0x00000008) != 0); } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); + + /** + * optional int32 repeat_count = 4; + * + * @return The repeatCount. + */ + @java.lang.Override + public int getRepeatCount() { + return repeatCount_; } - unknownFields.writeTo(output); - } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + public static final int CRON_EXPRESSION_FIELD_NUMBER = 5; + private volatile java.lang.Object cronExpression_; - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + /** + * optional string cron_expression = 5; + * + * @return Whether the cronExpression field is set. + */ + @java.lang.Override + public boolean hasCronExpression() { + return ((bitField0_ & 0x00000010) != 0); } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); + + /** + * optional string cron_expression = 5; + * + * @return The cronExpression. + */ + @java.lang.Override + public java.lang.String getCronExpression() { + java.lang.Object ref = cronExpression_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + cronExpression_ = s; + } + return s; + } } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; + /** + * optional string cron_expression = 5; + * + * @return The bytes for cronExpression. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCronExpressionBytes() { + java.lang.Object ref = cronExpression_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + cronExpression_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry)) { - return super.equals(obj); + + public static final int NEXT_FIRE_TIME_FIELD_NUMBER = 6; + private long nextFireTime_; + + /** + * optional int64 next_fire_time = 6; + * + * @return Whether the nextFireTime field is set. + */ + @java.lang.Override + public boolean hasNextFireTime() { + return ((bitField0_ & 0x00000020) != 0); } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) obj; - if (hasName() != other.hasName()) return false; - if (hasName()) { - if (!getName() - .equals(other.getName())) return false; + /** + * optional int64 next_fire_time = 6; + * + * @return The nextFireTime. + */ + @java.lang.Override + public long getNextFireTime() { + return nextFireTime_; } - if (hasValue() != other.hasValue()) return false; - if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; + + public static final int CALENDAR_NAME_FIELD_NUMBER = 7; + private com.google.protobuf.LazyStringList calendarName_; + + /** + * repeated string calendar_name = 7; + * + * @return A list containing the calendarName. + */ + public com.google.protobuf.ProtocolStringList getCalendarNameList() { + return calendarName_; } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; + /** + * repeated string calendar_name = 7; + * + * @return The count of calendarName. + */ + public int getCalendarNameCount() { + return calendarName_.size(); } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasName()) { - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); + + /** + * repeated string calendar_name = 7; + * + * @param index The index of the element to return. + * @return The calendarName at the given index. + */ + public java.lang.String getCalendarName(int index) { + return calendarName_.get(index); } - if (hasValue()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); + + /** + * repeated string calendar_name = 7; + * + * @param index The index of the value to return. + * @return The bytes of the calendarName at the given index. + */ + public com.google.protobuf.ByteString getCalendarNameBytes(int index) { + return calendarName_.getByteString(index); } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + private byte memoizedIsInitialized = -1; - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor; + memoizedIsInitialized = 1; + return true; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder.class); + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt64(1, startTime_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt64(2, endTime_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeInt32(3, repeatLimit_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeInt32(4, repeatCount_); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, cronExpression_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeInt64(6, nextFireTime_); + } + for (int i = 0; i < calendarName_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, calendarName_.getRaw(i)); + } + unknownFields.writeTo(output); } - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, startTime_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, endTime_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, repeatLimit_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, repeatCount_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, cronExpression_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(6, nextFireTime_); + } + { + int dataSize = 0; + for (int i = 0; i < calendarName_.size(); i++) { + dataSize += computeStringSizeNoTag(calendarName_.getRaw(i)); + } + size += dataSize; + size += 1 * getCalendarNameList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - value_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - return this; + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger) obj; + + if (hasStartTime() != other.hasStartTime()) + return false; + if (hasStartTime()) { + if (getStartTime() != other.getStartTime()) + return false; + } + if (hasEndTime() != other.hasEndTime()) + return false; + if (hasEndTime()) { + if (getEndTime() != other.getEndTime()) + return false; + } + if (hasRepeatLimit() != other.hasRepeatLimit()) + return false; + if (hasRepeatLimit()) { + if (getRepeatLimit() != other.getRepeatLimit()) + return false; + } + if (hasRepeatCount() != other.hasRepeatCount()) + return false; + if (hasRepeatCount()) { + if (getRepeatCount() != other.getRepeatCount()) + return false; + } + if (hasCronExpression() != other.hasCronExpression()) + return false; + if (hasCronExpression()) { + if (!getCronExpression() + .equals(other.getCronExpression())) + return false; + } + if (hasNextFireTime() != other.hasNextFireTime()) + return false; + if (hasNextFireTime()) { + if (getNextFireTime() != other.getNextFireTime()) + return false; + } + if (!getCalendarNameList() + .equals(other.getCalendarNameList())) + return false; + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor; + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartTime()); + } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEndTime()); + } + if (hasRepeatLimit()) { + hash = (37 * hash) + REPEAT_LIMIT_FIELD_NUMBER; + hash = (53 * hash) + getRepeatLimit(); + } + if (hasRepeatCount()) { + hash = (37 * hash) + REPEAT_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getRepeatCount(); + } + if (hasCronExpression()) { + hash = (37 * hash) + CRON_EXPRESSION_FIELD_NUMBER; + hash = (53 * hash) + getCronExpression().hashCode(); + } + if (hasNextFireTime()) { + hash = (37 * hash) + NEXT_FIRE_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNextFireTime()); + } + if (getCalendarNameCount() > 0) { + hash = (37 * hash) + CALENDAR_NAME_FIELD_NUMBER; + hash = (53 * hash) + getCalendarNameList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.getDefaultInstance(); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.name_ = name_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.value_ = value_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - @java.lang.Override - public Builder clone() { - return super.clone(); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry)other); - } else { - super.mergeFrom(other); - return this; - } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.getDefaultInstance()) return this; - if (other.hasName()) { - bitField0_ |= 0x00000001; - name_ = other.name_; - onChanged(); - } - if (other.hasValue()) { - bitField0_ |= 0x00000002; - value_ = other.value_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - @java.lang.Override - public final boolean isInitialized() { - return true; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; + public Builder newBuilderForType() { + return newBuilder(); } - private int bitField0_; - private java.lang.Object name_ = ""; - /** - * optional string name = 1; - * @return Whether the name field is set. - */ - public boolean hasName() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); } - /** - * optional string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - name_ = value; - onChanged(); - return this; + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - /** - * optional string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000001); - name_ = getDefaultInstance().getName(); - onChanged(); - return this; + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); } - /** - * optional string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - name_ = value; - onChanged(); - return this; + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; } - private java.lang.Object value_ = ""; /** - * optional string value = 2; - * @return Whether the value field is set. + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger} */ - public boolean hasValue() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string value = 2; - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - value_ = s; + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTriggerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_descriptor; } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string value = 2; - * @return The bytes for value. - */ - public com.google.protobuf.ByteString - getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string value = 2; - * @param value The value to set. - * @return This builder for chaining. - */ - public Builder setValue( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - value_ = value; - onChanged(); - return this; - } - /** - * optional string value = 2; - * @return This builder for chaining. - */ - public Builder clearValue() { - bitField0_ = (bitField0_ & ~0x00000002); - value_ = getDefaultInstance().getValue(); - onChanged(); - return this; - } - /** - * optional string value = 2; - * @param value The bytes for value to set. - * @return This builder for chaining. - */ - public Builder setValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - value_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.Builder.class); + } + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) - } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry(); - } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public Builder clear() { + super.clear(); + startTime_ = 0L; + bitField0_ = (bitField0_ & ~0x00000001); + endTime_ = 0L; + bitField0_ = (bitField0_ & ~0x00000002); + repeatLimit_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + repeatCount_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); + cronExpression_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + nextFireTime_ = 0L; + bitField0_ = (bitField0_ & ~0x00000020); + calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000040); + return this; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextMapEntry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextMapEntry(input, extensionRegistry); - } - }; + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_descriptor; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger + .getDefaultInstance(); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.startTime_ = startTime_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.endTime_ = endTime_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.repeatLimit_ = repeatLimit_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.repeatCount_ = repeatCount_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.cronExpression_ = cronExpression_; + if (((from_bitField0_ & 0x00000020) != 0)) { + result.nextFireTime_ = nextFireTime_; + to_bitField0_ |= 0x00000020; + } + if (((bitField0_ & 0x00000040) != 0)) { + calendarName_ = calendarName_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.calendarName_ = calendarName_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } - private int bitField0_; - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList timerInstanceId_; - /** - * repeated string timer_instance_id = 1; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_; - } - /** - * repeated string timer_instance_id = 1; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } - public static final int MAPENTRY_FIELD_NUMBER = 2; - private java.util.List mapEntry_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - @java.lang.Override - public java.util.List getMapEntryList() { - return mapEntry_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - @java.lang.Override - public java.util.List - getMapEntryOrBuilderList() { - return mapEntry_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - @java.lang.Override - public int getMapEntryCount() { - return mapEntry_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getMapEntry(int index) { - return mapEntry_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder getMapEntryOrBuilder( - int index) { - return mapEntry_.get(index); - } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } - public static final int RULE_FLOW_GROUP_FIELD_NUMBER = 3; - private volatile java.lang.Object ruleFlowGroup_; - /** - * optional string rule_flow_group = 3; - * @return Whether the ruleFlowGroup field is set. - */ - @java.lang.Override - public boolean hasRuleFlowGroup() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string rule_flow_group = 3; - * @return The ruleFlowGroup. - */ - @java.lang.Override - public java.lang.String getRuleFlowGroup() { - java.lang.Object ref = ruleFlowGroup_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - ruleFlowGroup_ = s; - } - return s; - } - } - /** - * optional string rule_flow_group = 3; - * @return The bytes for ruleFlowGroup. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getRuleFlowGroupBytes() { - java.lang.Object ref = ruleFlowGroup_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ruleFlowGroup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timerInstanceId_.getRaw(i)); - } - for (int i = 0; i < mapEntry_.size(); i++) { - output.writeMessage(2, mapEntry_.get(i)); - } - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ruleFlowGroup_); - } - unknownFields.writeTo(output); - } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger) other); + } else { + super.mergeFrom(other); + return this; + } + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - for (int i = 0; i < mapEntry_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, mapEntry_.get(i)); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ruleFlowGroup_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger + .getDefaultInstance()) + return this; + if (other.hasStartTime()) { + setStartTime(other.getStartTime()); + } + if (other.hasEndTime()) { + setEndTime(other.getEndTime()); + } + if (other.hasRepeatLimit()) { + setRepeatLimit(other.getRepeatLimit()); + } + if (other.hasRepeatCount()) { + setRepeatCount(other.getRepeatCount()); + } + if (other.hasCronExpression()) { + bitField0_ |= 0x00000010; + cronExpression_ = other.cronExpression_; + onChanged(); + } + if (other.hasNextFireTime()) { + setNextFireTime(other.getNextFireTime()); + } + if (!other.calendarName_.isEmpty()) { + if (calendarName_.isEmpty()) { + calendarName_ = other.calendarName_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureCalendarNameIsMutable(); + calendarName_.addAll(other.calendarName_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode) obj; - - if (!getTimerInstanceIdList() - .equals(other.getTimerInstanceIdList())) return false; - if (!getMapEntryList() - .equals(other.getMapEntryList())) return false; - if (hasRuleFlowGroup() != other.hasRuleFlowGroup()) return false; - if (hasRuleFlowGroup()) { - if (!getRuleFlowGroup() - .equals(other.getRuleFlowGroup())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + @java.lang.Override + public final boolean isInitialized() { + return true; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - if (getMapEntryCount() > 0) { - hash = (37 * hash) + MAPENTRY_FIELD_NUMBER; - hash = (53 * hash) + getMapEntryList().hashCode(); - } - if (hasRuleFlowGroup()) { - hash = (37 * hash) + RULE_FLOW_GROUP_FIELD_NUMBER; - hash = (53 * hash) + getRuleFlowGroup().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getMapEntryFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - if (mapEntryBuilder_ == null) { - mapEntry_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - mapEntryBuilder_.clear(); - } - ruleFlowGroup_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.timerInstanceId_ = timerInstanceId_; - if (mapEntryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - mapEntry_ = java.util.Collections.unmodifiableList(mapEntry_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.mapEntry_ = mapEntry_; - } else { - result.mapEntry_ = mapEntryBuilder_.build(); - } - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.ruleFlowGroup_ = ruleFlowGroup_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode)other); - } else { - super.mergeFrom(other); - return this; - } - } + private int bitField0_; - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.getDefaultInstance()) return this; - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); - } - if (mapEntryBuilder_ == null) { - if (!other.mapEntry_.isEmpty()) { - if (mapEntry_.isEmpty()) { - mapEntry_ = other.mapEntry_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureMapEntryIsMutable(); - mapEntry_.addAll(other.mapEntry_); + private long startTime_; + + /** + * optional int64 start_time = 1; + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return ((bitField0_ & 0x00000001) != 0); } - onChanged(); - } - } else { - if (!other.mapEntry_.isEmpty()) { - if (mapEntryBuilder_.isEmpty()) { - mapEntryBuilder_.dispose(); - mapEntryBuilder_ = null; - mapEntry_ = other.mapEntry_; - bitField0_ = (bitField0_ & ~0x00000002); - mapEntryBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMapEntryFieldBuilder() : null; - } else { - mapEntryBuilder_.addAllMessages(other.mapEntry_); - } - } - } - if (other.hasRuleFlowGroup()) { - bitField0_ |= 0x00000004; - ruleFlowGroup_ = other.ruleFlowGroup_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string timer_instance_id = 1; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - /** - * repeated string timer_instance_id = 1; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 1; - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 1; - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId( - java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, timerInstanceId_); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 1; - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 1; - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - private java.util.List mapEntry_ = - java.util.Collections.emptyList(); - private void ensureMapEntryIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - mapEntry_ = new java.util.ArrayList(mapEntry_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder> mapEntryBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public java.util.List getMapEntryList() { - if (mapEntryBuilder_ == null) { - return java.util.Collections.unmodifiableList(mapEntry_); - } else { - return mapEntryBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public int getMapEntryCount() { - if (mapEntryBuilder_ == null) { - return mapEntry_.size(); - } else { - return mapEntryBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getMapEntry(int index) { - if (mapEntryBuilder_ == null) { - return mapEntry_.get(index); - } else { - return mapEntryBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder setMapEntry( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry value) { - if (mapEntryBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMapEntryIsMutable(); - mapEntry_.set(index, value); - onChanged(); - } else { - mapEntryBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder setMapEntry( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder builderForValue) { - if (mapEntryBuilder_ == null) { - ensureMapEntryIsMutable(); - mapEntry_.set(index, builderForValue.build()); - onChanged(); - } else { - mapEntryBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder addMapEntry(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry value) { - if (mapEntryBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMapEntryIsMutable(); - mapEntry_.add(value); - onChanged(); - } else { - mapEntryBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder addMapEntry( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry value) { - if (mapEntryBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMapEntryIsMutable(); - mapEntry_.add(index, value); - onChanged(); - } else { - mapEntryBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder addMapEntry( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder builderForValue) { - if (mapEntryBuilder_ == null) { - ensureMapEntryIsMutable(); - mapEntry_.add(builderForValue.build()); - onChanged(); - } else { - mapEntryBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder addMapEntry( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder builderForValue) { - if (mapEntryBuilder_ == null) { - ensureMapEntryIsMutable(); - mapEntry_.add(index, builderForValue.build()); - onChanged(); - } else { - mapEntryBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder addAllMapEntry( - java.lang.Iterable values) { - if (mapEntryBuilder_ == null) { - ensureMapEntryIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, mapEntry_); - onChanged(); - } else { - mapEntryBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder clearMapEntry() { - if (mapEntryBuilder_ == null) { - mapEntry_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - mapEntryBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder removeMapEntry(int index) { - if (mapEntryBuilder_ == null) { - ensureMapEntryIsMutable(); - mapEntry_.remove(index); - onChanged(); - } else { - mapEntryBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder getMapEntryBuilder( - int index) { - return getMapEntryFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder getMapEntryOrBuilder( - int index) { - if (mapEntryBuilder_ == null) { - return mapEntry_.get(index); } else { - return mapEntryBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public java.util.List - getMapEntryOrBuilderList() { - if (mapEntryBuilder_ != null) { - return mapEntryBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(mapEntry_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder addMapEntryBuilder() { - return getMapEntryFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder addMapEntryBuilder( - int index) { - return getMapEntryFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public java.util.List - getMapEntryBuilderList() { - return getMapEntryFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder> - getMapEntryFieldBuilder() { - if (mapEntryBuilder_ == null) { - mapEntryBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder>( - mapEntry_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - mapEntry_ = null; - } - return mapEntryBuilder_; - } - - private java.lang.Object ruleFlowGroup_ = ""; - /** - * optional string rule_flow_group = 3; - * @return Whether the ruleFlowGroup field is set. - */ - public boolean hasRuleFlowGroup() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string rule_flow_group = 3; - * @return The ruleFlowGroup. - */ - public java.lang.String getRuleFlowGroup() { - java.lang.Object ref = ruleFlowGroup_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - ruleFlowGroup_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string rule_flow_group = 3; - * @return The bytes for ruleFlowGroup. - */ - public com.google.protobuf.ByteString - getRuleFlowGroupBytes() { - java.lang.Object ref = ruleFlowGroup_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - ruleFlowGroup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string rule_flow_group = 3; - * @param value The ruleFlowGroup to set. - * @return This builder for chaining. - */ - public Builder setRuleFlowGroup( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - ruleFlowGroup_ = value; - onChanged(); - return this; - } - /** - * optional string rule_flow_group = 3; - * @return This builder for chaining. - */ - public Builder clearRuleFlowGroup() { - bitField0_ = (bitField0_ & ~0x00000004); - ruleFlowGroup_ = getDefaultInstance().getRuleFlowGroup(); - onChanged(); - return this; - } - /** - * optional string rule_flow_group = 3; - * @param value The bytes for ruleFlowGroup to set. - * @return This builder for chaining. - */ - public Builder setRuleFlowGroupBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - ruleFlowGroup_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode(); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } + /** + * optional int64 start_time = 1; + * + * @return The startTime. + */ + @java.lang.Override + public long getStartTime() { + return startTime_; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RuleSetNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RuleSetNode(input, extensionRegistry); - } - }; + /** + * optional int64 start_time = 1; + * + * @param value The startTime to set. + * @return This builder for chaining. + */ + public Builder setStartTime(long value) { + bitField0_ |= 0x00000001; + startTime_ = value; + onChanged(); + return this; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * optional int64 start_time = 1; + * + * @return This builder for chaining. + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000001); + startTime_ = 0L; + onChanged(); + return this; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + private long endTime_; - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * optional int64 end_time = 2; + * + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return ((bitField0_ & 0x00000002) != 0); + } - } + /** + * optional int64 end_time = 2; + * + * @return The endTime. + */ + @java.lang.Override + public long getEndTime() { + return endTime_; + } - public interface HumanTaskNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) - com.google.protobuf.MessageOrBuilder { + /** + * optional int64 end_time = 2; + * + * @param value The endTime to set. + * @return This builder for chaining. + */ + public Builder setEndTime(long value) { + bitField0_ |= 0x00000002; + endTime_ = value; + onChanged(); + return this; + } - /** - * optional string work_item_id = 1; - * @return Whether the workItemId field is set. - */ - boolean hasWorkItemId(); - /** - * optional string work_item_id = 1; - * @return The workItemId. - */ - java.lang.String getWorkItemId(); - /** - * optional string work_item_id = 1; - * @return The bytes for workItemId. - */ - com.google.protobuf.ByteString - getWorkItemIdBytes(); + /** + * optional int64 end_time = 2; + * + * @return This builder for chaining. + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000002); + endTime_ = 0L; + onChanged(); + return this; + } - /** - * repeated string timer_instance_id = 2; - * @return A list containing the timerInstanceId. - */ - java.util.List - getTimerInstanceIdList(); - /** - * repeated string timer_instance_id = 2; - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - /** - * repeated string timer_instance_id = 2; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - /** - * repeated string timer_instance_id = 2; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index); + private int repeatLimit_; - /** - * optional string error_handling_process_instance_id = 3; - * @return Whether the errorHandlingProcessInstanceId field is set. - */ - boolean hasErrorHandlingProcessInstanceId(); - /** - * optional string error_handling_process_instance_id = 3; - * @return The errorHandlingProcessInstanceId. - */ - java.lang.String getErrorHandlingProcessInstanceId(); - /** - * optional string error_handling_process_instance_id = 3; - * @return The bytes for errorHandlingProcessInstanceId. - */ - com.google.protobuf.ByteString - getErrorHandlingProcessInstanceIdBytes(); + /** + * optional int32 repeat_limit = 3; + * + * @return Whether the repeatLimit field is set. + */ + @java.lang.Override + public boolean hasRepeatLimit() { + return ((bitField0_ & 0x00000004) != 0); + } - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - * @return Whether the workitem field is set. - */ - boolean hasWorkitem(); - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - * @return The workitem. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem getWorkitem(); - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItemOrBuilder getWorkitemOrBuilder(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode} - */ - public static final class HumanTaskNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) - HumanTaskNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use HumanTaskNode.newBuilder() to construct. - private HumanTaskNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private HumanTaskNode() { - workItemId_ = ""; - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - errorHandlingProcessInstanceId_ = ""; - } + /** + * optional int32 repeat_limit = 3; + * + * @return The repeatLimit. + */ + @java.lang.Override + public int getRepeatLimit() { + return repeatLimit_; + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new HumanTaskNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private HumanTaskNode( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - workItemId_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - timerInstanceId_.add(bs); - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - errorHandlingProcessInstanceId_ = bs; - break; - } - case 34: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) != 0)) { - subBuilder = workitem_.toBuilder(); - } - workitem_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workitem_); - workitem_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder.class); - } + /** + * optional int32 repeat_limit = 3; + * + * @param value The repeatLimit to set. + * @return This builder for chaining. + */ + public Builder setRepeatLimit(int value) { + bitField0_ |= 0x00000004; + repeatLimit_ = value; + onChanged(); + return this; + } - private int bitField0_; - public static final int WORK_ITEM_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object workItemId_; - /** - * optional string work_item_id = 1; - * @return Whether the workItemId field is set. - */ - @java.lang.Override - public boolean hasWorkItemId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string work_item_id = 1; - * @return The workItemId. - */ - @java.lang.Override - public java.lang.String getWorkItemId() { - java.lang.Object ref = workItemId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - workItemId_ = s; - } - return s; - } - } - /** - * optional string work_item_id = 1; - * @return The bytes for workItemId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getWorkItemIdBytes() { - java.lang.Object ref = workItemId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workItemId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional int32 repeat_limit = 3; + * + * @return This builder for chaining. + */ + public Builder clearRepeatLimit() { + bitField0_ = (bitField0_ & ~0x00000004); + repeatLimit_ = 0; + onChanged(); + return this; + } - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList timerInstanceId_; - /** - * repeated string timer_instance_id = 2; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_; - } - /** - * repeated string timer_instance_id = 2; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } + private int repeatCount_; - public static final int ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER = 3; - private volatile java.lang.Object errorHandlingProcessInstanceId_; - /** - * optional string error_handling_process_instance_id = 3; - * @return Whether the errorHandlingProcessInstanceId field is set. - */ - @java.lang.Override - public boolean hasErrorHandlingProcessInstanceId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string error_handling_process_instance_id = 3; - * @return The errorHandlingProcessInstanceId. - */ - @java.lang.Override - public java.lang.String getErrorHandlingProcessInstanceId() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorHandlingProcessInstanceId_ = s; - } - return s; - } - } - /** - * optional string error_handling_process_instance_id = 3; - * @return The bytes for errorHandlingProcessInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getErrorHandlingProcessInstanceIdBytes() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorHandlingProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional int32 repeat_count = 4; + * + * @return Whether the repeatCount field is set. + */ + @java.lang.Override + public boolean hasRepeatCount() { + return ((bitField0_ & 0x00000008) != 0); + } - public static final int WORKITEM_FIELD_NUMBER = 4; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem workitem_; - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - * @return Whether the workitem field is set. - */ - @java.lang.Override - public boolean hasWorkitem() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - * @return The workitem. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem getWorkitem() { - return workitem_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.getDefaultInstance() : workitem_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItemOrBuilder getWorkitemOrBuilder() { - return workitem_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.getDefaultInstance() : workitem_; - } + /** + * optional int32 repeat_count = 4; + * + * @return The repeatCount. + */ + @java.lang.Override + public int getRepeatCount() { + return repeatCount_; + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + /** + * optional int32 repeat_count = 4; + * + * @param value The repeatCount to set. + * @return This builder for chaining. + */ + public Builder setRepeatCount(int value) { + bitField0_ |= 0x00000008; + repeatCount_ = value; + onChanged(); + return this; + } - memoizedIsInitialized = 1; - return true; - } + /** + * optional int32 repeat_count = 4; + * + * @return This builder for chaining. + */ + public Builder clearRepeatCount() { + bitField0_ = (bitField0_ & ~0x00000008); + repeatCount_ = 0; + onChanged(); + return this; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workItemId_); - } - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerInstanceId_.getRaw(i)); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errorHandlingProcessInstanceId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(4, getWorkitem()); - } - unknownFields.writeTo(output); - } + private java.lang.Object cronExpression_ = ""; - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workItemId_); - } - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errorHandlingProcessInstanceId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getWorkitem()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + /** + * optional string cron_expression = 5; + * + * @return Whether the cronExpression field is set. + */ + public boolean hasCronExpression() { + return ((bitField0_ & 0x00000010) != 0); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode) obj; - - if (hasWorkItemId() != other.hasWorkItemId()) return false; - if (hasWorkItemId()) { - if (!getWorkItemId() - .equals(other.getWorkItemId())) return false; - } - if (!getTimerInstanceIdList() - .equals(other.getTimerInstanceIdList())) return false; - if (hasErrorHandlingProcessInstanceId() != other.hasErrorHandlingProcessInstanceId()) return false; - if (hasErrorHandlingProcessInstanceId()) { - if (!getErrorHandlingProcessInstanceId() - .equals(other.getErrorHandlingProcessInstanceId())) return false; - } - if (hasWorkitem() != other.hasWorkitem()) return false; - if (hasWorkitem()) { - if (!getWorkitem() - .equals(other.getWorkitem())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + /** + * optional string cron_expression = 5; + * + * @return The cronExpression. + */ + public java.lang.String getCronExpression() { + java.lang.Object ref = cronExpression_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + cronExpression_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasWorkItemId()) { - hash = (37 * hash) + WORK_ITEM_ID_FIELD_NUMBER; - hash = (53 * hash) + getWorkItemId().hashCode(); - } - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - if (hasErrorHandlingProcessInstanceId()) { - hash = (37 * hash) + ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getErrorHandlingProcessInstanceId().hashCode(); - } - if (hasWorkitem()) { - hash = (37 * hash) + WORKITEM_FIELD_NUMBER; - hash = (53 * hash) + getWorkitem().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + /** + * optional string cron_expression = 5; + * + * @return The bytes for cronExpression. + */ + public com.google.protobuf.ByteString getCronExpressionBytes() { + java.lang.Object ref = cronExpression_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + cronExpression_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getWorkitemFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - workItemId_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - errorHandlingProcessInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - if (workitemBuilder_ == null) { - workitem_ = null; - } else { - workitemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.workItemId_ = workItemId_; - if (((bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.timerInstanceId_ = timerInstanceId_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.errorHandlingProcessInstanceId_ = errorHandlingProcessInstanceId_; - if (((from_bitField0_ & 0x00000008) != 0)) { - if (workitemBuilder_ == null) { - result.workitem_ = workitem_; - } else { - result.workitem_ = workitemBuilder_.build(); - } - to_bitField0_ |= 0x00000004; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode)other); - } else { - super.mergeFrom(other); - return this; - } - } + /** + * optional string cron_expression = 5; + * + * @param value The cronExpression to set. + * @return This builder for chaining. + */ + public Builder setCronExpression( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + cronExpression_ = value; + onChanged(); + return this; + } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.getDefaultInstance()) return this; - if (other.hasWorkItemId()) { - bitField0_ |= 0x00000001; - workItemId_ = other.workItemId_; - onChanged(); - } - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); - } - if (other.hasErrorHandlingProcessInstanceId()) { - bitField0_ |= 0x00000004; - errorHandlingProcessInstanceId_ = other.errorHandlingProcessInstanceId_; - onChanged(); - } - if (other.hasWorkitem()) { - mergeWorkitem(other.getWorkitem()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object workItemId_ = ""; - /** - * optional string work_item_id = 1; - * @return Whether the workItemId field is set. - */ - public boolean hasWorkItemId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string work_item_id = 1; - * @return The workItemId. - */ - public java.lang.String getWorkItemId() { - java.lang.Object ref = workItemId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - workItemId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string work_item_id = 1; - * @return The bytes for workItemId. - */ - public com.google.protobuf.ByteString - getWorkItemIdBytes() { - java.lang.Object ref = workItemId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workItemId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string work_item_id = 1; - * @param value The workItemId to set. - * @return This builder for chaining. - */ - public Builder setWorkItemId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - workItemId_ = value; - onChanged(); - return this; - } - /** - * optional string work_item_id = 1; - * @return This builder for chaining. - */ - public Builder clearWorkItemId() { - bitField0_ = (bitField0_ & ~0x00000001); - workItemId_ = getDefaultInstance().getWorkItemId(); - onChanged(); - return this; - } - /** - * optional string work_item_id = 1; - * @param value The bytes for workItemId to set. - * @return This builder for chaining. - */ - public Builder setWorkItemIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - workItemId_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000002; - } - } - /** - * repeated string timer_instance_id = 2; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - /** - * repeated string timer_instance_id = 2; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId( - java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, timerInstanceId_); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - private java.lang.Object errorHandlingProcessInstanceId_ = ""; - /** - * optional string error_handling_process_instance_id = 3; - * @return Whether the errorHandlingProcessInstanceId field is set. - */ - public boolean hasErrorHandlingProcessInstanceId() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string error_handling_process_instance_id = 3; - * @return The errorHandlingProcessInstanceId. - */ - public java.lang.String getErrorHandlingProcessInstanceId() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorHandlingProcessInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string error_handling_process_instance_id = 3; - * @return The bytes for errorHandlingProcessInstanceId. - */ - public com.google.protobuf.ByteString - getErrorHandlingProcessInstanceIdBytes() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorHandlingProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string error_handling_process_instance_id = 3; - * @param value The errorHandlingProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setErrorHandlingProcessInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - errorHandlingProcessInstanceId_ = value; - onChanged(); - return this; - } - /** - * optional string error_handling_process_instance_id = 3; - * @return This builder for chaining. - */ - public Builder clearErrorHandlingProcessInstanceId() { - bitField0_ = (bitField0_ & ~0x00000004); - errorHandlingProcessInstanceId_ = getDefaultInstance().getErrorHandlingProcessInstanceId(); - onChanged(); - return this; - } - /** - * optional string error_handling_process_instance_id = 3; - * @param value The bytes for errorHandlingProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setErrorHandlingProcessInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - errorHandlingProcessInstanceId_ = value; - onChanged(); - return this; - } - - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem workitem_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItemOrBuilder> workitemBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - * @return Whether the workitem field is set. - */ - public boolean hasWorkitem() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - * @return The workitem. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem getWorkitem() { - if (workitemBuilder_ == null) { - return workitem_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.getDefaultInstance() : workitem_; - } else { - return workitemBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - */ - public Builder setWorkitem(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem value) { - if (workitemBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - workitem_ = value; - onChanged(); - } else { - workitemBuilder_.setMessage(value); - } - bitField0_ |= 0x00000008; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - */ - public Builder setWorkitem( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.Builder builderForValue) { - if (workitemBuilder_ == null) { - workitem_ = builderForValue.build(); - onChanged(); - } else { - workitemBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000008; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - */ - public Builder mergeWorkitem(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem value) { - if (workitemBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - workitem_ != null && - workitem_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.getDefaultInstance()) { - workitem_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.newBuilder(workitem_).mergeFrom(value).buildPartial(); - } else { - workitem_ = value; - } - onChanged(); - } else { - workitemBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000008; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - */ - public Builder clearWorkitem() { - if (workitemBuilder_ == null) { - workitem_ = null; - onChanged(); - } else { - workitemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.Builder getWorkitemBuilder() { - bitField0_ |= 0x00000008; - onChanged(); - return getWorkitemFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItemOrBuilder getWorkitemOrBuilder() { - if (workitemBuilder_ != null) { - return workitemBuilder_.getMessageOrBuilder(); - } else { - return workitem_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.getDefaultInstance() : workitem_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItemOrBuilder> - getWorkitemFieldBuilder() { - if (workitemBuilder_ == null) { - workitemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItemOrBuilder>( - getWorkitem(), - getParentForChildren(), - isClean()); - workitem_ = null; - } - return workitemBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode(); - } + /** + * optional string cron_expression = 5; + * + * @return This builder for chaining. + */ + public Builder clearCronExpression() { + bitField0_ = (bitField0_ & ~0x00000010); + cronExpression_ = getDefaultInstance().getCronExpression(); + onChanged(); + return this; + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } + /** + * optional string cron_expression = 5; + * + * @param value The bytes for cronExpression to set. + * @return This builder for chaining. + */ + public Builder setCronExpressionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + cronExpression_ = value; + onChanged(); + return this; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HumanTaskNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HumanTaskNode(input, extensionRegistry); - } - }; + private long nextFireTime_; - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * optional int64 next_fire_time = 6; + * + * @return Whether the nextFireTime field is set. + */ + @java.lang.Override + public boolean hasNextFireTime() { + return ((bitField0_ & 0x00000020) != 0); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + * optional int64 next_fire_time = 6; + * + * @return The nextFireTime. + */ + @java.lang.Override + public long getNextFireTime() { + return nextFireTime_; + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * optional int64 next_fire_time = 6; + * + * @param value The nextFireTime to set. + * @return This builder for chaining. + */ + public Builder setNextFireTime(long value) { + bitField0_ |= 0x00000020; + nextFireTime_ = value; + onChanged(); + return this; + } - } + /** + * optional int64 next_fire_time = 6; + * + * @return This builder for chaining. + */ + public Builder clearNextFireTime() { + bitField0_ = (bitField0_ & ~0x00000020); + nextFireTime_ = 0L; + onChanged(); + return this; + } - public interface WorkItemNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) - com.google.protobuf.MessageOrBuilder { + private com.google.protobuf.LazyStringList calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - /** - * optional string work_item_id = 1; - * @return Whether the workItemId field is set. - */ - boolean hasWorkItemId(); - /** - * optional string work_item_id = 1; - * @return The workItemId. - */ - java.lang.String getWorkItemId(); - /** - * optional string work_item_id = 1; - * @return The bytes for workItemId. - */ - com.google.protobuf.ByteString - getWorkItemIdBytes(); + private void ensureCalendarNameIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + calendarName_ = new com.google.protobuf.LazyStringArrayList(calendarName_); + bitField0_ |= 0x00000040; + } + } - /** - * repeated string timer_instance_id = 2; - * @return A list containing the timerInstanceId. - */ - java.util.List - getTimerInstanceIdList(); - /** - * repeated string timer_instance_id = 2; - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - /** - * repeated string timer_instance_id = 2; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - /** - * repeated string timer_instance_id = 2; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index); + /** + * repeated string calendar_name = 7; + * + * @return A list containing the calendarName. + */ + public com.google.protobuf.ProtocolStringList getCalendarNameList() { + return calendarName_.getUnmodifiableView(); + } - /** - * optional string error_handling_process_instance_id = 3; - * @return Whether the errorHandlingProcessInstanceId field is set. - */ - boolean hasErrorHandlingProcessInstanceId(); - /** - * optional string error_handling_process_instance_id = 3; - * @return The errorHandlingProcessInstanceId. - */ - java.lang.String getErrorHandlingProcessInstanceId(); - /** - * optional string error_handling_process_instance_id = 3; - * @return The bytes for errorHandlingProcessInstanceId. - */ - com.google.protobuf.ByteString - getErrorHandlingProcessInstanceIdBytes(); + /** + * repeated string calendar_name = 7; + * + * @return The count of calendarName. + */ + public int getCalendarNameCount() { + return calendarName_.size(); + } - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - * @return Whether the workitem field is set. - */ - boolean hasWorkitem(); - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - * @return The workitem. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem getWorkitem(); - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItemOrBuilder getWorkitemOrBuilder(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode} - */ - public static final class WorkItemNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) - WorkItemNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkItemNode.newBuilder() to construct. - private WorkItemNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkItemNode() { - workItemId_ = ""; - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - errorHandlingProcessInstanceId_ = ""; - } + /** + * repeated string calendar_name = 7; + * + * @param index The index of the element to return. + * @return The calendarName at the given index. + */ + public java.lang.String getCalendarName(int index) { + return calendarName_.get(index); + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new WorkItemNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkItemNode( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - workItemId_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - timerInstanceId_.add(bs); - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - errorHandlingProcessInstanceId_ = bs; - break; - } - case 34: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) != 0)) { - subBuilder = workitem_.toBuilder(); - } - workitem_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workitem_); - workitem_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder.class); - } + /** + * repeated string calendar_name = 7; + * + * @param index The index of the value to return. + * @return The bytes of the calendarName at the given index. + */ + public com.google.protobuf.ByteString getCalendarNameBytes(int index) { + return calendarName_.getByteString(index); + } - private int bitField0_; - public static final int WORK_ITEM_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object workItemId_; - /** - * optional string work_item_id = 1; - * @return Whether the workItemId field is set. - */ - @java.lang.Override - public boolean hasWorkItemId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string work_item_id = 1; - * @return The workItemId. - */ - @java.lang.Override - public java.lang.String getWorkItemId() { - java.lang.Object ref = workItemId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - workItemId_ = s; + /** + * repeated string calendar_name = 7; + * + * @param index The index to set the value at. + * @param value The calendarName to set. + * @return This builder for chaining. + */ + public Builder setCalendarName( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCalendarNameIsMutable(); + calendarName_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string calendar_name = 7; + * + * @param value The calendarName to add. + * @return This builder for chaining. + */ + public Builder addCalendarName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCalendarNameIsMutable(); + calendarName_.add(value); + onChanged(); + return this; + } + + /** + * repeated string calendar_name = 7; + * + * @param values The calendarName to add. + * @return This builder for chaining. + */ + public Builder addAllCalendarName( + java.lang.Iterable values) { + ensureCalendarNameIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, calendarName_); + onChanged(); + return this; + } + + /** + * repeated string calendar_name = 7; + * + * @return This builder for chaining. + */ + public Builder clearCalendarName() { + calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + + /** + * repeated string calendar_name = 7; + * + * @param value The bytes of the calendarName to add. + * @return This builder for chaining. + */ + public Builder addCalendarNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCalendarNameIsMutable(); + calendarName_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger) } - return s; - } - } - /** - * optional string work_item_id = 1; - * @return The bytes for workItemId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getWorkItemIdBytes() { - java.lang.Object ref = workItemId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workItemId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList timerInstanceId_; - /** - * repeated string timer_instance_id = 2; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_; - } - /** - * repeated string timer_instance_id = 2; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger(); + } - public static final int ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER = 3; - private volatile java.lang.Object errorHandlingProcessInstanceId_; - /** - * optional string error_handling_process_instance_id = 3; - * @return Whether the errorHandlingProcessInstanceId field is set. - */ - @java.lang.Override - public boolean hasErrorHandlingProcessInstanceId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string error_handling_process_instance_id = 3; - * @return The errorHandlingProcessInstanceId. - */ - @java.lang.Override - public java.lang.String getErrorHandlingProcessInstanceId() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorHandlingProcessInstanceId_ = s; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger getDefaultInstance() { + return DEFAULT_INSTANCE; } - return s; - } - } - /** - * optional string error_handling_process_instance_id = 3; - * @return The bytes for errorHandlingProcessInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getErrorHandlingProcessInstanceIdBytes() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorHandlingProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - public static final int WORKITEM_FIELD_NUMBER = 4; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem workitem_; - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - * @return Whether the workitem field is set. - */ - @java.lang.Override - public boolean hasWorkitem() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - * @return The workitem. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem getWorkitem() { - return workitem_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.getDefaultInstance() : workitem_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItemOrBuilder getWorkitemOrBuilder() { - return workitem_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.getDefaultInstance() : workitem_; - } + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CronTrigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CronTrigger(input, extensionRegistry); + } + }; - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + public static com.google.protobuf.Parser parser() { + return PARSER; + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workItemId_); - } - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerInstanceId_.getRaw(i)); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errorHandlingProcessInstanceId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(4, getWorkitem()); - } - unknownFields.writeTo(output); - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workItemId_); - } - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errorHandlingProcessInstanceId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getWorkitem()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode) obj; - - if (hasWorkItemId() != other.hasWorkItemId()) return false; - if (hasWorkItemId()) { - if (!getWorkItemId() - .equals(other.getWorkItemId())) return false; - } - if (!getTimerInstanceIdList() - .equals(other.getTimerInstanceIdList())) return false; - if (hasErrorHandlingProcessInstanceId() != other.hasErrorHandlingProcessInstanceId()) return false; - if (hasErrorHandlingProcessInstanceId()) { - if (!getErrorHandlingProcessInstanceId() - .equals(other.getErrorHandlingProcessInstanceId())) return false; - } - if (hasWorkitem() != other.hasWorkitem()) return false; - if (hasWorkitem()) { - if (!getWorkitem() - .equals(other.getWorkitem())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + public interface IntervalTriggerOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger) + com.google.protobuf.MessageOrBuilder { - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasWorkItemId()) { - hash = (37 * hash) + WORK_ITEM_ID_FIELD_NUMBER; - hash = (53 * hash) + getWorkItemId().hashCode(); - } - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - if (hasErrorHandlingProcessInstanceId()) { - hash = (37 * hash) + ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getErrorHandlingProcessInstanceId().hashCode(); - } - if (hasWorkitem()) { - hash = (37 * hash) + WORKITEM_FIELD_NUMBER; - hash = (53 * hash) + getWorkitem().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + /** + * optional int64 start_time = 1; + * + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getWorkitemFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - workItemId_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - errorHandlingProcessInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - if (workitemBuilder_ == null) { - workitem_ = null; - } else { - workitemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.workItemId_ = workItemId_; - if (((bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.timerInstanceId_ = timerInstanceId_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.errorHandlingProcessInstanceId_ = errorHandlingProcessInstanceId_; - if (((from_bitField0_ & 0x00000008) != 0)) { - if (workitemBuilder_ == null) { - result.workitem_ = workitem_; - } else { - result.workitem_ = workitemBuilder_.build(); - } - to_bitField0_ |= 0x00000004; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode)other); - } else { - super.mergeFrom(other); - return this; - } - } + /** + * optional int64 start_time = 1; + * + * @return The startTime. + */ + long getStartTime(); - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.getDefaultInstance()) return this; - if (other.hasWorkItemId()) { - bitField0_ |= 0x00000001; - workItemId_ = other.workItemId_; - onChanged(); - } - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); - } - if (other.hasErrorHandlingProcessInstanceId()) { - bitField0_ |= 0x00000004; - errorHandlingProcessInstanceId_ = other.errorHandlingProcessInstanceId_; - onChanged(); - } - if (other.hasWorkitem()) { - mergeWorkitem(other.getWorkitem()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object workItemId_ = ""; - /** - * optional string work_item_id = 1; - * @return Whether the workItemId field is set. - */ - public boolean hasWorkItemId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string work_item_id = 1; - * @return The workItemId. - */ - public java.lang.String getWorkItemId() { - java.lang.Object ref = workItemId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - workItemId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string work_item_id = 1; - * @return The bytes for workItemId. - */ - public com.google.protobuf.ByteString - getWorkItemIdBytes() { - java.lang.Object ref = workItemId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - workItemId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string work_item_id = 1; - * @param value The workItemId to set. - * @return This builder for chaining. - */ - public Builder setWorkItemId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - workItemId_ = value; - onChanged(); - return this; - } - /** - * optional string work_item_id = 1; - * @return This builder for chaining. - */ - public Builder clearWorkItemId() { - bitField0_ = (bitField0_ & ~0x00000001); - workItemId_ = getDefaultInstance().getWorkItemId(); - onChanged(); - return this; - } - /** - * optional string work_item_id = 1; - * @param value The bytes for workItemId to set. - * @return This builder for chaining. - */ - public Builder setWorkItemIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - workItemId_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000002; - } - } - /** - * repeated string timer_instance_id = 2; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - /** - * repeated string timer_instance_id = 2; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId( - java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, timerInstanceId_); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - private java.lang.Object errorHandlingProcessInstanceId_ = ""; - /** - * optional string error_handling_process_instance_id = 3; - * @return Whether the errorHandlingProcessInstanceId field is set. - */ - public boolean hasErrorHandlingProcessInstanceId() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string error_handling_process_instance_id = 3; - * @return The errorHandlingProcessInstanceId. - */ - public java.lang.String getErrorHandlingProcessInstanceId() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorHandlingProcessInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string error_handling_process_instance_id = 3; - * @return The bytes for errorHandlingProcessInstanceId. - */ - public com.google.protobuf.ByteString - getErrorHandlingProcessInstanceIdBytes() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - errorHandlingProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string error_handling_process_instance_id = 3; - * @param value The errorHandlingProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setErrorHandlingProcessInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - errorHandlingProcessInstanceId_ = value; - onChanged(); - return this; - } - /** - * optional string error_handling_process_instance_id = 3; - * @return This builder for chaining. - */ - public Builder clearErrorHandlingProcessInstanceId() { - bitField0_ = (bitField0_ & ~0x00000004); - errorHandlingProcessInstanceId_ = getDefaultInstance().getErrorHandlingProcessInstanceId(); - onChanged(); - return this; - } - /** - * optional string error_handling_process_instance_id = 3; - * @param value The bytes for errorHandlingProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setErrorHandlingProcessInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - errorHandlingProcessInstanceId_ = value; - onChanged(); - return this; - } - - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem workitem_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItemOrBuilder> workitemBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - * @return Whether the workitem field is set. - */ - public boolean hasWorkitem() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - * @return The workitem. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem getWorkitem() { - if (workitemBuilder_ == null) { - return workitem_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.getDefaultInstance() : workitem_; - } else { - return workitemBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - */ - public Builder setWorkitem(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem value) { - if (workitemBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - workitem_ = value; - onChanged(); - } else { - workitemBuilder_.setMessage(value); - } - bitField0_ |= 0x00000008; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - */ - public Builder setWorkitem( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.Builder builderForValue) { - if (workitemBuilder_ == null) { - workitem_ = builderForValue.build(); - onChanged(); - } else { - workitemBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000008; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - */ - public Builder mergeWorkitem(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem value) { - if (workitemBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - workitem_ != null && - workitem_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.getDefaultInstance()) { - workitem_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.newBuilder(workitem_).mergeFrom(value).buildPartial(); - } else { - workitem_ = value; - } - onChanged(); - } else { - workitemBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000008; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - */ - public Builder clearWorkitem() { - if (workitemBuilder_ == null) { - workitem_ = null; - onChanged(); - } else { - workitemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.Builder getWorkitemBuilder() { - bitField0_ |= 0x00000008; - onChanged(); - return getWorkitemFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItemOrBuilder getWorkitemOrBuilder() { - if (workitemBuilder_ != null) { - return workitemBuilder_.getMessageOrBuilder(); - } else { - return workitem_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.getDefaultInstance() : workitem_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItemOrBuilder> - getWorkitemFieldBuilder() { - if (workitemBuilder_ == null) { - workitemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItemOrBuilder>( - getWorkitem(), - getParentForChildren(), - isClean()); - workitem_ = null; - } - return workitemBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode(); - } + /** + * optional int64 end_time = 2; + * + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } + /** + * optional int64 end_time = 2; + * + * @return The endTime. + */ + long getEndTime(); - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkItemNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkItemNode(input, extensionRegistry); - } - }; + /** + * optional int32 repeat_limit = 3; + * + * @return Whether the repeatLimit field is set. + */ + boolean hasRepeatLimit(); - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * optional int32 repeat_limit = 3; + * + * @return The repeatLimit. + */ + int getRepeatLimit(); - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + * optional int32 repeat_count = 4; + * + * @return Whether the repeatCount field is set. + */ + boolean hasRepeatCount(); - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * optional int32 repeat_count = 4; + * + * @return The repeatCount. + */ + int getRepeatCount(); + + /** + * optional int64 next_fire_time = 6; + * + * @return Whether the nextFireTime field is set. + */ + boolean hasNextFireTime(); - } + /** + * optional int64 next_fire_time = 6; + * + * @return The nextFireTime. + */ + long getNextFireTime(); - public interface SubProcessNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) - com.google.protobuf.MessageOrBuilder { + /** + * optional int64 period = 7; + * + * @return Whether the period field is set. + */ + boolean hasPeriod(); - /** - * optional string process_instance_id = 1; - * @return Whether the processInstanceId field is set. - */ - boolean hasProcessInstanceId(); - /** - * optional string process_instance_id = 1; - * @return The processInstanceId. - */ - java.lang.String getProcessInstanceId(); - /** - * optional string process_instance_id = 1; - * @return The bytes for processInstanceId. - */ - com.google.protobuf.ByteString - getProcessInstanceIdBytes(); + /** + * optional int64 period = 7; + * + * @return The period. + */ + long getPeriod(); - /** - * repeated string timer_instance_id = 2; - * @return A list containing the timerInstanceId. - */ - java.util.List - getTimerInstanceIdList(); - /** - * repeated string timer_instance_id = 2; - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - /** - * repeated string timer_instance_id = 2; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - /** - * repeated string timer_instance_id = 2; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index); + /** + * repeated string calendar_name = 8; + * + * @return A list containing the calendarName. + */ + java.util.List getCalendarNameList(); - /** - * optional string process_instance_name = 3; - * @return Whether the processInstanceName field is set. - */ - boolean hasProcessInstanceName(); - /** - * optional string process_instance_name = 3; - * @return The processInstanceName. - */ - java.lang.String getProcessInstanceName(); - /** - * optional string process_instance_name = 3; - * @return The bytes for processInstanceName. - */ - com.google.protobuf.ByteString - getProcessInstanceNameBytes(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode} - */ - public static final class SubProcessNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) - SubProcessNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use SubProcessNode.newBuilder() to construct. - private SubProcessNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private SubProcessNode() { - processInstanceId_ = ""; - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - processInstanceName_ = ""; - } + /** + * repeated string calendar_name = 8; + * + * @return The count of calendarName. + */ + int getCalendarNameCount(); - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new SubProcessNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private SubProcessNode( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - processInstanceId_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - timerInstanceId_.add(bs); - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - processInstanceName_ = bs; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder.class); - } + /** + * repeated string calendar_name = 8; + * + * @param index The index of the element to return. + * @return The calendarName at the given index. + */ + java.lang.String getCalendarName(int index); - private int bitField0_; - public static final int PROCESS_INSTANCE_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object processInstanceId_; - /** - * optional string process_instance_id = 1; - * @return Whether the processInstanceId field is set. - */ - @java.lang.Override - public boolean hasProcessInstanceId() { - return ((bitField0_ & 0x00000001) != 0); + /** + * repeated string calendar_name = 8; + * + * @param index The index of the value to return. + * @return The bytes of the calendarName at the given index. + */ + com.google.protobuf.ByteString getCalendarNameBytes(int index); } + /** - * optional string process_instance_id = 1; - * @return The processInstanceId. + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger} */ - @java.lang.Override - public java.lang.String getProcessInstanceId() { - java.lang.Object ref = processInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstanceId_ = s; + public static final class IntervalTrigger extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger) + IntervalTriggerOrBuilder { + private static final long serialVersionUID = 0L; + + // Use IntervalTrigger.newBuilder() to construct. + private IntervalTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - return s; - } - } - /** - * optional string process_instance_id = 1; - * @return The bytes for processInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getProcessInstanceIdBytes() { - java.lang.Object ref = processInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList timerInstanceId_; - /** - * repeated string timer_instance_id = 2; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_; - } - /** - * repeated string timer_instance_id = 2; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } + private IntervalTrigger() { + calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } - public static final int PROCESS_INSTANCE_NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object processInstanceName_; - /** - * optional string process_instance_name = 3; - * @return Whether the processInstanceName field is set. - */ - @java.lang.Override - public boolean hasProcessInstanceName() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string process_instance_name = 3; - * @return The processInstanceName. - */ - @java.lang.Override - public java.lang.String getProcessInstanceName() { - java.lang.Object ref = processInstanceName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstanceName_ = s; + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IntervalTrigger(); } - return s; - } - } - /** - * optional string process_instance_name = 3; - * @return The bytes for processInstanceName. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getProcessInstanceNameBytes() { - java.lang.Object ref = processInstanceName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processInstanceName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } - memoizedIsInitialized = 1; - return true; - } + private IntervalTrigger( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + bitField0_ |= 0x00000001; + startTime_ = input.readInt64(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + endTime_ = input.readInt64(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + repeatLimit_ = input.readInt32(); + break; + } + case 32: { + bitField0_ |= 0x00000008; + repeatCount_ = input.readInt32(); + break; + } + case 48: { + bitField0_ |= 0x00000010; + nextFireTime_ = input.readInt64(); + break; + } + case 56: { + bitField0_ |= 0x00000020; + period_ = input.readInt64(); + break; + } + case 66: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + calendarName_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000040; + } + calendarName_.add(bs); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000040) != 0)) { + calendarName_ = calendarName_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, processInstanceId_); - } - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerInstanceId_.getRaw(i)); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, processInstanceName_); - } - unknownFields.writeTo(output); - } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_descriptor; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, processInstanceId_); - } - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, processInstanceName_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.Builder.class); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode) obj; - - if (hasProcessInstanceId() != other.hasProcessInstanceId()) return false; - if (hasProcessInstanceId()) { - if (!getProcessInstanceId() - .equals(other.getProcessInstanceId())) return false; - } - if (!getTimerInstanceIdList() - .equals(other.getTimerInstanceIdList())) return false; - if (hasProcessInstanceName() != other.hasProcessInstanceName()) return false; - if (hasProcessInstanceName()) { - if (!getProcessInstanceName() - .equals(other.getProcessInstanceName())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + private int bitField0_; + public static final int START_TIME_FIELD_NUMBER = 1; + private long startTime_; - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasProcessInstanceId()) { - hash = (37 * hash) + PROCESS_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getProcessInstanceId().hashCode(); - } - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - if (hasProcessInstanceName()) { - hash = (37 * hash) + PROCESS_INSTANCE_NAME_FIELD_NUMBER; - hash = (53 * hash) + getProcessInstanceName().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + /** + * optional int64 start_time = 1; + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - processInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - processInstanceName_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.processInstanceId_ = processInstanceId_; - if (((bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.timerInstanceId_ = timerInstanceId_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.processInstanceName_ = processInstanceName_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode)other); - } else { - super.mergeFrom(other); - return this; + /** + * optional int64 start_time = 1; + * + * @return The startTime. + */ + @java.lang.Override + public long getStartTime() { + return startTime_; } - } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.getDefaultInstance()) return this; - if (other.hasProcessInstanceId()) { - bitField0_ |= 0x00000001; - processInstanceId_ = other.processInstanceId_; - onChanged(); + public static final int END_TIME_FIELD_NUMBER = 2; + private long endTime_; + + /** + * optional int64 end_time = 2; + * + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return ((bitField0_ & 0x00000002) != 0); } - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); - } - if (other.hasProcessInstanceName()) { - bitField0_ |= 0x00000004; - processInstanceName_ = other.processInstanceName_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object processInstanceId_ = ""; - /** - * optional string process_instance_id = 1; - * @return Whether the processInstanceId field is set. - */ - public boolean hasProcessInstanceId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string process_instance_id = 1; - * @return The processInstanceId. - */ - public java.lang.String getProcessInstanceId() { - java.lang.Object ref = processInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string process_instance_id = 1; - * @return The bytes for processInstanceId. - */ - public com.google.protobuf.ByteString - getProcessInstanceIdBytes() { - java.lang.Object ref = processInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string process_instance_id = 1; - * @param value The processInstanceId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - processInstanceId_ = value; - onChanged(); - return this; - } - /** - * optional string process_instance_id = 1; - * @return This builder for chaining. - */ - public Builder clearProcessInstanceId() { - bitField0_ = (bitField0_ & ~0x00000001); - processInstanceId_ = getDefaultInstance().getProcessInstanceId(); - onChanged(); - return this; - } - /** - * optional string process_instance_id = 1; - * @param value The bytes for processInstanceId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - processInstanceId_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000002; - } - } - /** - * repeated string timer_instance_id = 2; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - /** - * repeated string timer_instance_id = 2; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId( - java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, timerInstanceId_); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - private java.lang.Object processInstanceName_ = ""; - /** - * optional string process_instance_name = 3; - * @return Whether the processInstanceName field is set. - */ - public boolean hasProcessInstanceName() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string process_instance_name = 3; - * @return The processInstanceName. - */ - public java.lang.String getProcessInstanceName() { - java.lang.Object ref = processInstanceName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstanceName_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string process_instance_name = 3; - * @return The bytes for processInstanceName. - */ - public com.google.protobuf.ByteString - getProcessInstanceNameBytes() { - java.lang.Object ref = processInstanceName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processInstanceName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string process_instance_name = 3; - * @param value The processInstanceName to set. - * @return This builder for chaining. - */ - public Builder setProcessInstanceName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - processInstanceName_ = value; - onChanged(); - return this; - } - /** - * optional string process_instance_name = 3; - * @return This builder for chaining. - */ - public Builder clearProcessInstanceName() { - bitField0_ = (bitField0_ & ~0x00000004); - processInstanceName_ = getDefaultInstance().getProcessInstanceName(); - onChanged(); - return this; - } - /** - * optional string process_instance_name = 3; - * @param value The bytes for processInstanceName to set. - * @return This builder for chaining. - */ - public Builder setProcessInstanceNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - processInstanceName_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode(); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } + /** + * optional int64 end_time = 2; + * + * @return The endTime. + */ + @java.lang.Override + public long getEndTime() { + return endTime_; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SubProcessNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SubProcessNode(input, extensionRegistry); - } - }; + public static final int REPEAT_LIMIT_FIELD_NUMBER = 3; + private int repeatLimit_; - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * optional int32 repeat_limit = 3; + * + * @return Whether the repeatLimit field is set. + */ + @java.lang.Override + public boolean hasRepeatLimit() { + return ((bitField0_ & 0x00000004) != 0); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + * optional int32 repeat_limit = 3; + * + * @return The repeatLimit. + */ + @java.lang.Override + public int getRepeatLimit() { + return repeatLimit_; + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + public static final int REPEAT_COUNT_FIELD_NUMBER = 4; + private int repeatCount_; - } + /** + * optional int32 repeat_count = 4; + * + * @return Whether the repeatCount field is set. + */ + @java.lang.Override + public boolean hasRepeatCount() { + return ((bitField0_ & 0x00000008) != 0); + } - public interface MilestoneNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) - com.google.protobuf.MessageOrBuilder { + /** + * optional int32 repeat_count = 4; + * + * @return The repeatCount. + */ + @java.lang.Override + public int getRepeatCount() { + return repeatCount_; + } - /** - * repeated string timer_instance_id = 1; - * @return A list containing the timerInstanceId. - */ - java.util.List - getTimerInstanceIdList(); - /** - * repeated string timer_instance_id = 1; - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - /** - * repeated string timer_instance_id = 1; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - /** - * repeated string timer_instance_id = 1; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode} - */ - public static final class MilestoneNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) - MilestoneNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use MilestoneNode.newBuilder() to construct. - private MilestoneNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private MilestoneNode() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } + public static final int NEXT_FIRE_TIME_FIELD_NUMBER = 6; + private long nextFireTime_; - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new MilestoneNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private MilestoneNode( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - timerInstanceId_.add(bs); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder.class); - } - - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList timerInstanceId_; - /** - * repeated string timer_instance_id = 1; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_; - } - /** - * repeated string timer_instance_id = 1; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + /** + * optional int64 next_fire_time = 6; + * + * @return Whether the nextFireTime field is set. + */ + @java.lang.Override + public boolean hasNextFireTime() { + return ((bitField0_ & 0x00000010) != 0); + } - memoizedIsInitialized = 1; - return true; - } + /** + * optional int64 next_fire_time = 6; + * + * @return The nextFireTime. + */ + @java.lang.Override + public long getNextFireTime() { + return nextFireTime_; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timerInstanceId_.getRaw(i)); - } - unknownFields.writeTo(output); - } + public static final int PERIOD_FIELD_NUMBER = 7; + private long period_; - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + /** + * optional int64 period = 7; + * + * @return Whether the period field is set. + */ + @java.lang.Override + public boolean hasPeriod() { + return ((bitField0_ & 0x00000020) != 0); + } - size = 0; - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); + /** + * optional int64 period = 7; + * + * @return The period. + */ + @java.lang.Override + public long getPeriod() { + return period_; } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode) obj; + public static final int CALENDAR_NAME_FIELD_NUMBER = 8; + private com.google.protobuf.LazyStringList calendarName_; - if (!getTimerInstanceIdList() - .equals(other.getTimerInstanceIdList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + /** + * repeated string calendar_name = 8; + * + * @return A list containing the calendarName. + */ + public com.google.protobuf.ProtocolStringList getCalendarNameList() { + return calendarName_; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + /** + * repeated string calendar_name = 8; + * + * @return The count of calendarName. + */ + public int getCalendarNameCount() { + return calendarName_.size(); + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.timerInstanceId_ = timerInstanceId_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode)other); - } else { - super.mergeFrom(other); - return this; + /** + * repeated string calendar_name = 8; + * + * @param index The index of the element to return. + * @return The calendarName at the given index. + */ + public java.lang.String getCalendarName(int index) { + return calendarName_.get(index); } - } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.getDefaultInstance()) return this; - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string timer_instance_id = 1; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - /** - * repeated string timer_instance_id = 1; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 1; - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 1; - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId( - java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, timerInstanceId_); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 1; - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 1; - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode(); - } + /** + * repeated string calendar_name = 8; + * + * @param index The index of the value to return. + * @return The bytes of the calendarName at the given index. + */ + public com.google.protobuf.ByteString getCalendarNameBytes(int index) { + return calendarName_.getByteString(index); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } + private byte memoizedIsInitialized = -1; - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MilestoneNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MilestoneNode(input, extensionRegistry); - } - }; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; - public static com.google.protobuf.Parser parser() { - return PARSER; - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt64(1, startTime_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt64(2, endTime_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeInt32(3, repeatLimit_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeInt32(4, repeatCount_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeInt64(6, nextFireTime_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeInt64(7, period_); + } + for (int i = 0; i < calendarName_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, calendarName_.getRaw(i)); + } + unknownFields.writeTo(output); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, startTime_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, endTime_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, repeatLimit_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, repeatCount_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(6, nextFireTime_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, period_); + } + { + int dataSize = 0; + for (int i = 0; i < calendarName_.size(); i++) { + dataSize += computeStringSizeNoTag(calendarName_.getRaw(i)); + } + size += dataSize; + size += 1 * getCalendarNameList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger) obj; - public interface EventNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode) - com.google.protobuf.MessageOrBuilder { - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode} - */ - public static final class EventNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode) - EventNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use EventNode.newBuilder() to construct. - private EventNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private EventNode() { - } + if (hasStartTime() != other.hasStartTime()) + return false; + if (hasStartTime()) { + if (getStartTime() != other.getStartTime()) + return false; + } + if (hasEndTime() != other.hasEndTime()) + return false; + if (hasEndTime()) { + if (getEndTime() != other.getEndTime()) + return false; + } + if (hasRepeatLimit() != other.hasRepeatLimit()) + return false; + if (hasRepeatLimit()) { + if (getRepeatLimit() != other.getRepeatLimit()) + return false; + } + if (hasRepeatCount() != other.hasRepeatCount()) + return false; + if (hasRepeatCount()) { + if (getRepeatCount() != other.getRepeatCount()) + return false; + } + if (hasNextFireTime() != other.hasNextFireTime()) + return false; + if (hasNextFireTime()) { + if (getNextFireTime() != other.getNextFireTime()) + return false; + } + if (hasPeriod() != other.hasPeriod()) + return false; + if (hasPeriod()) { + if (getPeriod() != other.getPeriod()) + return false; + } + if (!getCalendarNameList() + .equals(other.getCalendarNameList())) + return false; + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new EventNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private EventNode( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder.class); - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartTime()); + } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEndTime()); + } + if (hasRepeatLimit()) { + hash = (37 * hash) + REPEAT_LIMIT_FIELD_NUMBER; + hash = (53 * hash) + getRepeatLimit(); + } + if (hasRepeatCount()) { + hash = (37 * hash) + REPEAT_COUNT_FIELD_NUMBER; + hash = (53 * hash) + getRepeatCount(); + } + if (hasNextFireTime()) { + hash = (37 * hash) + NEXT_FIRE_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNextFireTime()); + } + if (hasPeriod()) { + hash = (37 * hash) + PERIOD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPeriod()); + } + if (getCalendarNameCount() > 0) { + hash = (37 * hash) + CALENDAR_NAME_FIELD_NUMBER; + hash = (53 * hash) + getCalendarNameList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - memoizedIsInitialized = 1; - return true; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - unknownFields.writeTo(output); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode) obj; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode(this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode)other); - } else { - super.mergeFrom(other); - return this; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.getDefaultInstance()) return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode) - } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode(); - } + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EventNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EventNode(input, extensionRegistry); - } - }; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTriggerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_descriptor; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.Builder.class); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - public interface TimerNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) - com.google.protobuf.MessageOrBuilder { + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } - /** - * optional string timer_id = 1; - * @return Whether the timerId field is set. - */ - boolean hasTimerId(); - /** - * optional string timer_id = 1; - * @return The timerId. - */ - java.lang.String getTimerId(); - /** - * optional string timer_id = 1; - * @return The bytes for timerId. - */ - com.google.protobuf.ByteString - getTimerIdBytes(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode} - */ - public static final class TimerNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) - TimerNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use TimerNode.newBuilder() to construct. - private TimerNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TimerNode() { - timerId_ = ""; - } + @java.lang.Override + public Builder clear() { + super.clear(); + startTime_ = 0L; + bitField0_ = (bitField0_ & ~0x00000001); + endTime_ = 0L; + bitField0_ = (bitField0_ & ~0x00000002); + repeatLimit_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + repeatCount_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); + nextFireTime_ = 0L; + bitField0_ = (bitField0_ & ~0x00000010); + period_ = 0L; + bitField0_ = (bitField0_ & ~0x00000020); + calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000040); + return this; + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new TimerNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TimerNode( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - timerId_ = bs; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder.class); - } + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_descriptor; + } - private int bitField0_; - public static final int TIMER_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object timerId_; - /** - * optional string timer_id = 1; - * @return Whether the timerId field is set. - */ - @java.lang.Override - public boolean hasTimerId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string timer_id = 1; - * @return The timerId. - */ - @java.lang.Override - public java.lang.String getTimerId() { - java.lang.Object ref = timerId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - timerId_ = s; - } - return s; - } - } - /** - * optional string timer_id = 1; - * @return The bytes for timerId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getTimerIdBytes() { - java.lang.Object ref = timerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - timerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger + .getDefaultInstance(); + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.startTime_ = startTime_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.endTime_ = endTime_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.repeatLimit_ = repeatLimit_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.repeatCount_ = repeatCount_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.nextFireTime_ = nextFireTime_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.period_ = period_; + to_bitField0_ |= 0x00000020; + } + if (((bitField0_ & 0x00000040) != 0)) { + calendarName_ = calendarName_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.calendarName_ = calendarName_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timerId_); - } - unknownFields.writeTo(output); - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, timerId_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode) obj; + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - if (hasTimerId() != other.hasTimerId()) return false; - if (hasTimerId()) { - if (!getTimerId() - .equals(other.getTimerId())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasTimerId()) { - hash = (37 * hash) + TIMER_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - timerId_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.timerId_ = timerId_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode)other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger) other); + } else { + super.mergeFrom(other); + return this; + } + } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.getDefaultInstance()) return this; - if (other.hasTimerId()) { - bitField0_ |= 0x00000001; - timerId_ = other.timerId_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger + .getDefaultInstance()) + return this; + if (other.hasStartTime()) { + setStartTime(other.getStartTime()); + } + if (other.hasEndTime()) { + setEndTime(other.getEndTime()); + } + if (other.hasRepeatLimit()) { + setRepeatLimit(other.getRepeatLimit()); + } + if (other.hasRepeatCount()) { + setRepeatCount(other.getRepeatCount()); + } + if (other.hasNextFireTime()) { + setNextFireTime(other.getNextFireTime()); + } + if (other.hasPeriod()) { + setPeriod(other.getPeriod()); + } + if (!other.calendarName_.isEmpty()) { + if (calendarName_.isEmpty()) { + calendarName_ = other.calendarName_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureCalendarNameIsMutable(); + calendarName_.addAll(other.calendarName_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object timerId_ = ""; - /** - * optional string timer_id = 1; - * @return Whether the timerId field is set. - */ - public boolean hasTimerId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string timer_id = 1; - * @return The timerId. - */ - public java.lang.String getTimerId() { - java.lang.Object ref = timerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - timerId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string timer_id = 1; - * @return The bytes for timerId. - */ - public com.google.protobuf.ByteString - getTimerIdBytes() { - java.lang.Object ref = timerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - timerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string timer_id = 1; - * @param value The timerId to set. - * @return This builder for chaining. - */ - public Builder setTimerId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - timerId_ = value; - onChanged(); - return this; - } - /** - * optional string timer_id = 1; - * @return This builder for chaining. - */ - public Builder clearTimerId() { - bitField0_ = (bitField0_ & ~0x00000001); - timerId_ = getDefaultInstance().getTimerId(); - onChanged(); - return this; - } - /** - * optional string timer_id = 1; - * @param value The bytes for timerId to set. - * @return This builder for chaining. - */ - public Builder setTimerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - timerId_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode(); - } + @java.lang.Override + public final boolean isInitialized() { + return true; + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimerNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimerNode(input, extensionRegistry); - } - }; + private int bitField0_; - public static com.google.protobuf.Parser parser() { - return PARSER; - } + private long startTime_; - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + * optional int64 start_time = 1; + * + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return ((bitField0_ & 0x00000001) != 0); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * optional int64 start_time = 1; + * + * @return The startTime. + */ + @java.lang.Override + public long getStartTime() { + return startTime_; + } - } + /** + * optional int64 start_time = 1; + * + * @param value The startTime to set. + * @return This builder for chaining. + */ + public Builder setStartTime(long value) { + bitField0_ |= 0x00000001; + startTime_ = value; + onChanged(); + return this; + } - public interface JoinNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) - com.google.protobuf.MessageOrBuilder { + /** + * optional int64 start_time = 1; + * + * @return This builder for chaining. + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000001); + startTime_ = 0L; + onChanged(); + return this; + } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - java.util.List - getTriggerList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getTrigger(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - int getTriggerCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - java.util.List - getTriggerOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder getTriggerOrBuilder( - int index); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode} - */ - public static final class JoinNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) - JoinNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use JoinNode.newBuilder() to construct. - private JoinNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private JoinNode() { - trigger_ = java.util.Collections.emptyList(); - } + private long endTime_; - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new JoinNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private JoinNode( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - trigger_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - trigger_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.PARSER, extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - trigger_ = java.util.Collections.unmodifiableList(trigger_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder.class); - } - - public interface JoinTriggerOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) - com.google.protobuf.MessageOrBuilder { + /** + * optional int64 end_time = 2; + * + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return ((bitField0_ & 0x00000002) != 0); + } - /** - * optional int64 node_id = 1; - * @return Whether the nodeId field is set. - */ - boolean hasNodeId(); - /** - * optional int64 node_id = 1; - * @return The nodeId. - */ - long getNodeId(); - - /** - * optional int32 counter = 2; - * @return Whether the counter field is set. - */ - boolean hasCounter(); - /** - * optional int32 counter = 2; - * @return The counter. - */ - int getCounter(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger} - */ - public static final class JoinTrigger extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) - JoinTriggerOrBuilder { - private static final long serialVersionUID = 0L; - // Use JoinTrigger.newBuilder() to construct. - private JoinTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private JoinTrigger() { - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new JoinTrigger(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private JoinTrigger( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - nodeId_ = input.readInt64(); - break; - } - case 16: { + /** + * optional int64 end_time = 2; + * + * @return The endTime. + */ + @java.lang.Override + public long getEndTime() { + return endTime_; + } + + /** + * optional int64 end_time = 2; + * + * @param value The endTime to set. + * @return This builder for chaining. + */ + public Builder setEndTime(long value) { bitField0_ |= 0x00000002; - counter_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder.class); - } - - private int bitField0_; - public static final int NODE_ID_FIELD_NUMBER = 1; - private long nodeId_; - /** - * optional int64 node_id = 1; - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional int64 node_id = 1; - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } - - public static final int COUNTER_FIELD_NUMBER = 2; - private int counter_; - /** - * optional int32 counter = 2; - * @return Whether the counter field is set. - */ - @java.lang.Override - public boolean hasCounter() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional int32 counter = 2; - * @return The counter. - */ - @java.lang.Override - public int getCounter() { - return counter_; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + endTime_ = value; + onChanged(); + return this; + } - memoizedIsInitialized = 1; - return true; - } + /** + * optional int64 end_time = 2; + * + * @return This builder for chaining. + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000002); + endTime_ = 0L; + onChanged(); + return this; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt64(1, nodeId_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt32(2, counter_); - } - unknownFields.writeTo(output); - } + private int repeatLimit_; - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + /** + * optional int32 repeat_limit = 3; + * + * @return Whether the repeatLimit field is set. + */ + @java.lang.Override + public boolean hasRepeatLimit() { + return ((bitField0_ & 0x00000004) != 0); + } - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, nodeId_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, counter_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + /** + * optional int32 repeat_limit = 3; + * + * @return The repeatLimit. + */ + @java.lang.Override + public int getRepeatLimit() { + return repeatLimit_; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) obj; + /** + * optional int32 repeat_limit = 3; + * + * @param value The repeatLimit to set. + * @return This builder for chaining. + */ + public Builder setRepeatLimit(int value) { + bitField0_ |= 0x00000004; + repeatLimit_ = value; + onChanged(); + return this; + } - if (hasNodeId() != other.hasNodeId()) return false; - if (hasNodeId()) { - if (getNodeId() - != other.getNodeId()) return false; - } - if (hasCounter() != other.hasCounter()) return false; - if (hasCounter()) { - if (getCounter() - != other.getCounter()) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + /** + * optional int32 repeat_limit = 3; + * + * @return This builder for chaining. + */ + public Builder clearRepeatLimit() { + bitField0_ = (bitField0_ & ~0x00000004); + repeatLimit_ = 0; + onChanged(); + return this; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasNodeId()) { - hash = (37 * hash) + NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNodeId()); - } - if (hasCounter()) { - hash = (37 * hash) + COUNTER_FIELD_NUMBER; - hash = (53 * hash) + getCounter(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + private int repeatCount_; - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + /** + * optional int32 repeat_count = 4; + * + * @return Whether the repeatCount field is set. + */ + @java.lang.Override + public boolean hasRepeatCount() { + return ((bitField0_ & 0x00000008) != 0); + } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + /** + * optional int32 repeat_count = 4; + * + * @return The repeatCount. + */ + @java.lang.Override + public int getRepeatCount() { + return repeatCount_; + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor; - } + /** + * optional int32 repeat_count = 4; + * + * @param value The repeatCount to set. + * @return This builder for chaining. + */ + public Builder setRepeatCount(int value) { + bitField0_ |= 0x00000008; + repeatCount_ = value; + onChanged(); + return this; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder.class); + /** + * optional int32 repeat_count = 4; + * + * @return This builder for chaining. + */ + public Builder clearRepeatCount() { + bitField0_ = (bitField0_ & ~0x00000008); + repeatCount_ = 0; + onChanged(); + return this; + } + + private long nextFireTime_; + + /** + * optional int64 next_fire_time = 6; + * + * @return Whether the nextFireTime field is set. + */ + @java.lang.Override + public boolean hasNextFireTime() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * optional int64 next_fire_time = 6; + * + * @return The nextFireTime. + */ + @java.lang.Override + public long getNextFireTime() { + return nextFireTime_; + } + + /** + * optional int64 next_fire_time = 6; + * + * @param value The nextFireTime to set. + * @return This builder for chaining. + */ + public Builder setNextFireTime(long value) { + bitField0_ |= 0x00000010; + nextFireTime_ = value; + onChanged(); + return this; + } + + /** + * optional int64 next_fire_time = 6; + * + * @return This builder for chaining. + */ + public Builder clearNextFireTime() { + bitField0_ = (bitField0_ & ~0x00000010); + nextFireTime_ = 0L; + onChanged(); + return this; + } + + private long period_; + + /** + * optional int64 period = 7; + * + * @return Whether the period field is set. + */ + @java.lang.Override + public boolean hasPeriod() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * optional int64 period = 7; + * + * @return The period. + */ + @java.lang.Override + public long getPeriod() { + return period_; + } + + /** + * optional int64 period = 7; + * + * @param value The period to set. + * @return This builder for chaining. + */ + public Builder setPeriod(long value) { + bitField0_ |= 0x00000020; + period_ = value; + onChanged(); + return this; + } + + /** + * optional int64 period = 7; + * + * @return This builder for chaining. + */ + public Builder clearPeriod() { + bitField0_ = (bitField0_ & ~0x00000020); + period_ = 0L; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureCalendarNameIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + calendarName_ = new com.google.protobuf.LazyStringArrayList(calendarName_); + bitField0_ |= 0x00000040; + } + } + + /** + * repeated string calendar_name = 8; + * + * @return A list containing the calendarName. + */ + public com.google.protobuf.ProtocolStringList getCalendarNameList() { + return calendarName_.getUnmodifiableView(); + } + + /** + * repeated string calendar_name = 8; + * + * @return The count of calendarName. + */ + public int getCalendarNameCount() { + return calendarName_.size(); + } + + /** + * repeated string calendar_name = 8; + * + * @param index The index of the element to return. + * @return The calendarName at the given index. + */ + public java.lang.String getCalendarName(int index) { + return calendarName_.get(index); + } + + /** + * repeated string calendar_name = 8; + * + * @param index The index of the value to return. + * @return The bytes of the calendarName at the given index. + */ + public com.google.protobuf.ByteString getCalendarNameBytes(int index) { + return calendarName_.getByteString(index); + } + + /** + * repeated string calendar_name = 8; + * + * @param index The index to set the value at. + * @param value The calendarName to set. + * @return This builder for chaining. + */ + public Builder setCalendarName( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCalendarNameIsMutable(); + calendarName_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string calendar_name = 8; + * + * @param value The calendarName to add. + * @return This builder for chaining. + */ + public Builder addCalendarName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCalendarNameIsMutable(); + calendarName_.add(value); + onChanged(); + return this; + } + + /** + * repeated string calendar_name = 8; + * + * @param values The calendarName to add. + * @return This builder for chaining. + */ + public Builder addAllCalendarName( + java.lang.Iterable values) { + ensureCalendarNameIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, calendarName_); + onChanged(); + return this; + } + + /** + * repeated string calendar_name = 8; + * + * @return This builder for chaining. + */ + public Builder clearCalendarName() { + calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + + /** + * repeated string calendar_name = 8; + * + * @param value The bytes of the calendarName to add. + * @return This builder for chaining. + */ + public Builder addCalendarNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCalendarNameIsMutable(); + calendarName_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger) } - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger getDefaultInstance() { + return DEFAULT_INSTANCE; } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IntervalTrigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IntervalTrigger(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; } + @java.lang.Override - public Builder clear() { - super.clear(); - nodeId_ = 0L; - bitField0_ = (bitField0_ & ~0x00000001); - counter_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; + public com.google.protobuf.Parser getParserForType() { + return PARSER; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor; + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.getDefaultInstance(); + } + + public interface PointInTimeTriggerOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger) + com.google.protobuf.MessageOrBuilder { + + /** + * optional int64 next_fire_time = 1; + * + * @return Whether the nextFireTime field is set. + */ + boolean hasNextFireTime(); + + /** + * optional int64 next_fire_time = 1; + * + * @return The nextFireTime. + */ + long getNextFireTime(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger} + */ + public static final class PointInTimeTrigger extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger) + PointInTimeTriggerOrBuilder { + private static final long serialVersionUID = 0L; + + // Use PointInTimeTrigger.newBuilder() to construct. + private PointInTimeTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + private PointInTimeTrigger() { } @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.nodeId_ = nodeId_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.counter_ = counter_; - to_bitField0_ |= 0x00000002; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PointInTimeTrigger(); } @java.lang.Override - public Builder clone() { - return super.clone(); + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); + + private PointInTimeTrigger( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + bitField0_ |= 0x00000001; + nextFireTime_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_descriptor; } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.Builder.class); } + + private int bitField0_; + public static final int NEXT_FIRE_TIME_FIELD_NUMBER = 1; + private long nextFireTime_; + + /** + * optional int64 next_fire_time = 1; + * + * @return Whether the nextFireTime field is set. + */ @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + public boolean hasNextFireTime() { + return ((bitField0_ & 0x00000001) != 0); } + + /** + * optional int64 next_fire_time = 1; + * + * @return The nextFireTime. + */ @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); + public long getNextFireTime() { + return nextFireTime_; } + + private byte memoizedIsInitialized = -1; + @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger)other); - } else { - super.mergeFrom(other); - return this; - } - } + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.getDefaultInstance()) return this; - if (other.hasNodeId()) { - setNodeId(other.getNodeId()); - } - if (other.hasCounter()) { - setCounter(other.getCounter()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + memoizedIsInitialized = 1; + return true; } @java.lang.Override - public final boolean isInitialized() { - return true; + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt64(1, nextFireTime_); + } + unknownFields.writeTo(output); } @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, nextFireTime_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; } - private int bitField0_; - private long nodeId_ ; - /** - * optional int64 node_id = 1; - * @return Whether the nodeId field is set. - */ @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000001) != 0); + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger) obj; + + if (hasNextFireTime() != other.hasNextFireTime()) + return false; + if (hasNextFireTime()) { + if (getNextFireTime() != other.getNextFireTime()) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; } - /** - * optional int64 node_id = 1; - * @return The nodeId. - */ + @java.lang.Override - public long getNodeId() { - return nodeId_; + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasNextFireTime()) { + hash = (37 * hash) + NEXT_FIRE_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNextFireTime()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } - /** - * optional int64 node_id = 1; - * @param value The nodeId to set. - * @return This builder for chaining. - */ - public Builder setNodeId(long value) { - bitField0_ |= 0x00000001; - nodeId_ = value; - onChanged(); - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - /** - * optional int64 node_id = 1; - * @return This builder for chaining. - */ - public Builder clearNodeId() { - bitField0_ = (bitField0_ & ~0x00000001); - nodeId_ = 0L; - onChanged(); - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - private int counter_ ; - /** - * optional int32 counter = 2; - * @return Whether the counter field is set. - */ - @java.lang.Override - public boolean hasCounter() { - return ((bitField0_ & 0x00000002) != 0); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - /** - * optional int32 counter = 2; - * @return The counter. - */ - @java.lang.Override - public int getCounter() { - return counter_; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - /** - * optional int32 counter = 2; - * @param value The counter to set. - * @return This builder for chaining. - */ - public Builder setCounter(int value) { - bitField0_ |= 0x00000002; - counter_ = value; - onChanged(); - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - /** - * optional int32 counter = 2; - * @return This builder for chaining. - */ - public Builder clearCounter() { - bitField0_ = (bitField0_ & ~0x00000002); - counter_ = 0; - onChanged(); - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger(); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public JoinTrigger parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new JoinTrigger(input, extensionRegistry); + public Builder newBuilderForType() { + return newBuilder(); } - }; - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } - public static final int TRIGGER_FIELD_NUMBER = 1; - private java.util.List trigger_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - @java.lang.Override - public java.util.List getTriggerList() { - return trigger_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - @java.lang.Override - public java.util.List - getTriggerOrBuilderList() { - return trigger_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - @java.lang.Override - public int getTriggerCount() { - return trigger_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getTrigger(int index) { - return trigger_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder getTriggerOrBuilder( - int index) { - return trigger_.get(index); - } + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTriggerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_descriptor; + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.Builder.class); + } - memoizedIsInitialized = 1; - return true; - } + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < trigger_.size(); i++) { - output.writeMessage(1, trigger_.get(i)); - } - unknownFields.writeTo(output); - } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } - size = 0; - for (int i = 0; i < trigger_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, trigger_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public Builder clear() { + super.clear(); + nextFireTime_ = 0L; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode) obj; + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_descriptor; + } - if (!getTriggerList() - .equals(other.getTriggerList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger + .getDefaultInstance(); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getTriggerCount() > 0) { - hash = (37 * hash) + TRIGGER_FIELD_NUMBER; - hash = (53 * hash) + getTriggerList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getTriggerFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (triggerBuilder_ == null) { - trigger_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - triggerBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode(this); - int from_bitField0_ = bitField0_; - if (triggerBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - trigger_ = java.util.Collections.unmodifiableList(trigger_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.trigger_ = trigger_; - } else { - result.trigger_ = triggerBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode)other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.nextFireTime_ = nextFireTime_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance()) return this; - if (triggerBuilder_ == null) { - if (!other.trigger_.isEmpty()) { - if (trigger_.isEmpty()) { - trigger_ = other.trigger_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTriggerIsMutable(); - trigger_.addAll(other.trigger_); + @java.lang.Override + public Builder clone() { + return super.clone(); } - onChanged(); - } - } else { - if (!other.trigger_.isEmpty()) { - if (triggerBuilder_.isEmpty()) { - triggerBuilder_.dispose(); - triggerBuilder_ = null; - trigger_ = other.trigger_; - bitField0_ = (bitField0_ & ~0x00000001); - triggerBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTriggerFieldBuilder() : null; - } else { - triggerBuilder_.addAllMessages(other.trigger_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List trigger_ = - java.util.Collections.emptyList(); - private void ensureTriggerIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - trigger_ = new java.util.ArrayList(trigger_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder> triggerBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public java.util.List getTriggerList() { - if (triggerBuilder_ == null) { - return java.util.Collections.unmodifiableList(trigger_); - } else { - return triggerBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public int getTriggerCount() { - if (triggerBuilder_ == null) { - return trigger_.size(); - } else { - return triggerBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getTrigger(int index) { - if (triggerBuilder_ == null) { - return trigger_.get(index); - } else { - return triggerBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder setTrigger( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger value) { - if (triggerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTriggerIsMutable(); - trigger_.set(index, value); - onChanged(); - } else { - triggerBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder setTrigger( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder builderForValue) { - if (triggerBuilder_ == null) { - ensureTriggerIsMutable(); - trigger_.set(index, builderForValue.build()); - onChanged(); - } else { - triggerBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder addTrigger(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger value) { - if (triggerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTriggerIsMutable(); - trigger_.add(value); - onChanged(); - } else { - triggerBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder addTrigger( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger value) { - if (triggerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTriggerIsMutable(); - trigger_.add(index, value); - onChanged(); - } else { - triggerBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder addTrigger( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder builderForValue) { - if (triggerBuilder_ == null) { - ensureTriggerIsMutable(); - trigger_.add(builderForValue.build()); - onChanged(); - } else { - triggerBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder addTrigger( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder builderForValue) { - if (triggerBuilder_ == null) { - ensureTriggerIsMutable(); - trigger_.add(index, builderForValue.build()); - onChanged(); - } else { - triggerBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder addAllTrigger( - java.lang.Iterable values) { - if (triggerBuilder_ == null) { - ensureTriggerIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, trigger_); - onChanged(); - } else { - triggerBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder clearTrigger() { - if (triggerBuilder_ == null) { - trigger_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - triggerBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder removeTrigger(int index) { - if (triggerBuilder_ == null) { - ensureTriggerIsMutable(); - trigger_.remove(index); - onChanged(); - } else { - triggerBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder getTriggerBuilder( - int index) { - return getTriggerFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder getTriggerOrBuilder( - int index) { - if (triggerBuilder_ == null) { - return trigger_.get(index); } else { - return triggerBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public java.util.List - getTriggerOrBuilderList() { - if (triggerBuilder_ != null) { - return triggerBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(trigger_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder addTriggerBuilder() { - return getTriggerFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder addTriggerBuilder( - int index) { - return getTriggerFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public java.util.List - getTriggerBuilderList() { - return getTriggerFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder> - getTriggerFieldBuilder() { - if (triggerBuilder_ == null) { - triggerBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder>( - trigger_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - trigger_ = null; - } - return triggerBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode(); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JoinNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new JoinNode(input, extensionRegistry); - } - }; + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } - } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger) other); + } else { + super.mergeFrom(other); + return this; + } + } - public interface StateNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode) - com.google.protobuf.MessageOrBuilder { + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger + .getDefaultInstance()) + return this; + if (other.hasNextFireTime()) { + setNextFireTime(other.getNextFireTime()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } - /** - * repeated string timer_instance_id = 1; - * @return A list containing the timerInstanceId. - */ - java.util.List - getTimerInstanceIdList(); - /** - * repeated string timer_instance_id = 1; - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - /** - * repeated string timer_instance_id = 1; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - /** - * repeated string timer_instance_id = 1; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode} - */ - public static final class StateNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode) - StateNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use StateNode.newBuilder() to construct. - private StateNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private StateNode() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } + @java.lang.Override + public final boolean isInitialized() { + return true; + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new StateNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private StateNode( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - timerInstanceId_.add(bs); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder.class); - } - - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList timerInstanceId_; - /** - * repeated string timer_instance_id = 1; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_; - } - /** - * repeated string timer_instance_id = 1; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + private int bitField0_; - memoizedIsInitialized = 1; - return true; - } + private long nextFireTime_; - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timerInstanceId_.getRaw(i)); - } - unknownFields.writeTo(output); - } + /** + * optional int64 next_fire_time = 1; + * + * @return Whether the nextFireTime field is set. + */ + @java.lang.Override + public boolean hasNextFireTime() { + return ((bitField0_ & 0x00000001) != 0); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + /** + * optional int64 next_fire_time = 1; + * + * @return The nextFireTime. + */ + @java.lang.Override + public long getNextFireTime() { + return nextFireTime_; + } - size = 0; - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + /** + * optional int64 next_fire_time = 1; + * + * @param value The nextFireTime to set. + * @return This builder for chaining. + */ + public Builder setNextFireTime(long value) { + bitField0_ |= 0x00000001; + nextFireTime_ = value; + onChanged(); + return this; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode) obj; + /** + * optional int64 next_fire_time = 1; + * + * @return This builder for chaining. + */ + public Builder clearNextFireTime() { + bitField0_ = (bitField0_ & ~0x00000001); + nextFireTime_ = 0L; + onChanged(); + return this; + } - if (!getTimerInstanceIdList() - .equals(other.getTimerInstanceIdList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.timerInstanceId_ = timerInstanceId_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode)other); - } else { - super.mergeFrom(other); - return this; + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger) } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance()) return this; - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string timer_instance_id = 1; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - /** - * repeated string timer_instance_id = 1; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - /** - * repeated string timer_instance_id = 1; - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 1; - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 1; - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId( - java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, timerInstanceId_); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 1; - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 1; - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode(); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger(); + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StateNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StateNode(input, extensionRegistry); - } - }; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PointInTimeTrigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PointInTimeTrigger(input, extensionRegistry); + } + }; - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; } - } + public interface CompositeMaxDurationTriggerOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger) + com.google.protobuf.MessageOrBuilder { - public interface CompositeContextNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) - com.google.protobuf.MessageOrBuilder { + /** + * optional int64 maxDurationTimestamp = 1; + * + * @return Whether the maxDurationTimestamp field is set. + */ + boolean hasMaxDurationTimestamp(); - /** - * repeated string timer_instance_id = 2; - * @return A list containing the timerInstanceId. - */ - java.util.List - getTimerInstanceIdList(); - /** - * repeated string timer_instance_id = 2; - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - /** - * repeated string timer_instance_id = 2; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - /** - * repeated string timer_instance_id = 2; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index); + /** + * optional int64 maxDurationTimestamp = 1; + * + * @return The maxDurationTimestamp. + */ + long getMaxDurationTimestamp(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - java.util.List - getVariableList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - int getVariableCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - java.util.List - getVariableOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index); + /** + * optional int64 timerCurrentDate = 2; + * + * @return Whether the timerCurrentDate field is set. + */ + boolean hasTimerCurrentDate(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - java.util.List - getNodeInstanceList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - int getNodeInstanceCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - java.util.List - getNodeInstanceOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index); + /** + * optional int64 timerCurrentDate = 2; + * + * @return The timerCurrentDate. + */ + long getTimerCurrentDate(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - java.util.List - getExclusiveGroupList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - int getExclusiveGroupCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - java.util.List - getExclusiveGroupOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( - int index); + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + * + * @return Whether the timerTrigger field is set. + */ + boolean hasTimerTrigger(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - java.util.List - getIterationLevelsList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - int getIterationLevelsCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - java.util.List - getIterationLevelsOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode} - */ - public static final class CompositeContextNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) - CompositeContextNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use CompositeContextNode.newBuilder() to construct. - private CompositeContextNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private CompositeContextNode() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - variable_ = java.util.Collections.emptyList(); - nodeInstance_ = java.util.Collections.emptyList(); - exclusiveGroup_ = java.util.Collections.emptyList(); - iterationLevels_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new CompositeContextNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private CompositeContextNode( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - timerInstanceId_.add(bs); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - variable_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - variable_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.PARSER, extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - nodeInstance_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - nodeInstance_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.PARSER, extensionRegistry)); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - exclusiveGroup_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - exclusiveGroup_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.PARSER, extensionRegistry)); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - iterationLevels_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - iterationLevels_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.PARSER, extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); - } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - exclusiveGroup_ = java.util.Collections.unmodifiableList(exclusiveGroup_); - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder.class); - } - - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList timerInstanceId_; - /** - * repeated string timer_instance_id = 2; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_; - } - /** - * repeated string timer_instance_id = 2; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + * + * @return The timerTrigger. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getTimerTrigger(); - public static final int VARIABLE_FIELD_NUMBER = 3; - private java.util.List variable_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - @java.lang.Override - public java.util.List getVariableList() { - return variable_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - @java.lang.Override - public java.util.List - getVariableOrBuilderList() { - return variable_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - @java.lang.Override - public int getVariableCount() { - return variable_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { - return variable_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - return variable_.get(index); + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder getTimerTriggerOrBuilder(); } - public static final int NODE_INSTANCE_FIELD_NUMBER = 4; - private java.util.List nodeInstance_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - @java.lang.Override - public java.util.List getNodeInstanceList() { - return nodeInstance_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - @java.lang.Override - public java.util.List - getNodeInstanceOrBuilderList() { - return nodeInstance_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - @java.lang.Override - public int getNodeInstanceCount() { - return nodeInstance_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance(int index) { - return nodeInstance_.get(index); - } /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger} */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index) { - return nodeInstance_.get(index); - } + public static final class CompositeMaxDurationTrigger extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger) + CompositeMaxDurationTriggerOrBuilder { + private static final long serialVersionUID = 0L; - public static final int EXCLUSIVE_GROUP_FIELD_NUMBER = 5; - private java.util.List exclusiveGroup_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - @java.lang.Override - public java.util.List getExclusiveGroupList() { - return exclusiveGroup_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - @java.lang.Override - public java.util.List - getExclusiveGroupOrBuilderList() { - return exclusiveGroup_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - @java.lang.Override - public int getExclusiveGroupCount() { - return exclusiveGroup_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup(int index) { - return exclusiveGroup_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( - int index) { - return exclusiveGroup_.get(index); - } + // Use CompositeMaxDurationTrigger.newBuilder() to construct. + private CompositeMaxDurationTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } - public static final int ITERATIONLEVELS_FIELD_NUMBER = 6; - private java.util.List iterationLevels_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - @java.lang.Override - public java.util.List getIterationLevelsList() { - return iterationLevels_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - @java.lang.Override - public java.util.List - getIterationLevelsOrBuilderList() { - return iterationLevels_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - @java.lang.Override - public int getIterationLevelsCount() { - return iterationLevels_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels(int index) { - return iterationLevels_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index) { - return iterationLevels_.get(index); - } + private CompositeMaxDurationTrigger() { + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CompositeMaxDurationTrigger(); + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerInstanceId_.getRaw(i)); - } - for (int i = 0; i < variable_.size(); i++) { - output.writeMessage(3, variable_.get(i)); - } - for (int i = 0; i < nodeInstance_.size(); i++) { - output.writeMessage(4, nodeInstance_.get(i)); - } - for (int i = 0; i < exclusiveGroup_.size(); i++) { - output.writeMessage(5, exclusiveGroup_.get(i)); - } - for (int i = 0; i < iterationLevels_.size(); i++) { - output.writeMessage(6, iterationLevels_.get(i)); - } - unknownFields.writeTo(output); - } + private CompositeMaxDurationTrigger( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + bitField0_ |= 0x00000001; + maxDurationTimestamp_ = input.readInt64(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + timerCurrentDate_ = input.readInt64(); + break; + } + case 26: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) != 0)) { + subBuilder = timerTrigger_.toBuilder(); + } + timerTrigger_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timerTrigger_); + timerTrigger_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - for (int i = 0; i < variable_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, variable_.get(i)); - } - for (int i = 0; i < nodeInstance_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, nodeInstance_.get(i)); - } - for (int i = 0; i < exclusiveGroup_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, exclusiveGroup_.get(i)); - } - for (int i = 0; i < iterationLevels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, iterationLevels_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode) obj; - - if (!getTimerInstanceIdList() - .equals(other.getTimerInstanceIdList())) return false; - if (!getVariableList() - .equals(other.getVariableList())) return false; - if (!getNodeInstanceList() - .equals(other.getNodeInstanceList())) return false; - if (!getExclusiveGroupList() - .equals(other.getExclusiveGroupList())) return false; - if (!getIterationLevelsList() - .equals(other.getIterationLevelsList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.Builder.class); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - if (getVariableCount() > 0) { - hash = (37 * hash) + VARIABLE_FIELD_NUMBER; - hash = (53 * hash) + getVariableList().hashCode(); - } - if (getNodeInstanceCount() > 0) { - hash = (37 * hash) + NODE_INSTANCE_FIELD_NUMBER; - hash = (53 * hash) + getNodeInstanceList().hashCode(); - } - if (getExclusiveGroupCount() > 0) { - hash = (37 * hash) + EXCLUSIVE_GROUP_FIELD_NUMBER; - hash = (53 * hash) + getExclusiveGroupList().hashCode(); - } - if (getIterationLevelsCount() > 0) { - hash = (37 * hash) + ITERATIONLEVELS_FIELD_NUMBER; - hash = (53 * hash) + getIterationLevelsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + private int bitField0_; + public static final int MAXDURATIONTIMESTAMP_FIELD_NUMBER = 1; + private long maxDurationTimestamp_; - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getVariableFieldBuilder(); - getNodeInstanceFieldBuilder(); - getExclusiveGroupFieldBuilder(); - getIterationLevelsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - variableBuilder_.clear(); + /** + * optional int64 maxDurationTimestamp = 1; + * + * @return Whether the maxDurationTimestamp field is set. + */ + @java.lang.Override + public boolean hasMaxDurationTimestamp() { + return ((bitField0_ & 0x00000001) != 0); } - if (nodeInstanceBuilder_ == null) { - nodeInstance_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - nodeInstanceBuilder_.clear(); + + /** + * optional int64 maxDurationTimestamp = 1; + * + * @return The maxDurationTimestamp. + */ + @java.lang.Override + public long getMaxDurationTimestamp() { + return maxDurationTimestamp_; } - if (exclusiveGroupBuilder_ == null) { - exclusiveGroup_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - exclusiveGroupBuilder_.clear(); + + public static final int TIMERCURRENTDATE_FIELD_NUMBER = 2; + private long timerCurrentDate_; + + /** + * optional int64 timerCurrentDate = 2; + * + * @return Whether the timerCurrentDate field is set. + */ + @java.lang.Override + public boolean hasTimerCurrentDate() { + return ((bitField0_ & 0x00000002) != 0); } - if (iterationLevelsBuilder_ == null) { - iterationLevels_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - iterationLevelsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); + + /** + * optional int64 timerCurrentDate = 2; + * + * @return The timerCurrentDate. + */ + @java.lang.Override + public long getTimerCurrentDate() { + return timerCurrentDate_; } - result.timerInstanceId_ = timerInstanceId_; - if (variableBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.variable_ = variable_; - } else { - result.variable_ = variableBuilder_.build(); + + public static final int TIMERTRIGGER_FIELD_NUMBER = 3; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger timerTrigger_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + * + * @return Whether the timerTrigger field is set. + */ + @java.lang.Override + public boolean hasTimerTrigger() { + return ((bitField0_ & 0x00000004) != 0); } - if (nodeInstanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.nodeInstance_ = nodeInstance_; - } else { - result.nodeInstance_ = nodeInstanceBuilder_.build(); - } - if (exclusiveGroupBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - exclusiveGroup_ = java.util.Collections.unmodifiableList(exclusiveGroup_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.exclusiveGroup_ = exclusiveGroup_; - } else { - result.exclusiveGroup_ = exclusiveGroupBuilder_.build(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + * + * @return The timerTrigger. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getTimerTrigger() { + return timerTrigger_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() + : timerTrigger_; } - if (iterationLevelsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.iterationLevels_ = iterationLevels_; - } else { - result.iterationLevels_ = iterationLevelsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode)other); - } else { - super.mergeFrom(other); - return this; + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder getTimerTriggerOrBuilder() { + return timerTrigger_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() + : timerTrigger_; } - } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.getDefaultInstance()) return this; - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; } - if (variableBuilder_ == null) { - if (!other.variable_.isEmpty()) { - if (variable_.isEmpty()) { - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureVariableIsMutable(); - variable_.addAll(other.variable_); + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt64(1, maxDurationTimestamp_); } - onChanged(); - } - } else { - if (!other.variable_.isEmpty()) { - if (variableBuilder_.isEmpty()) { - variableBuilder_.dispose(); - variableBuilder_ = null; - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000002); - variableBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVariableFieldBuilder() : null; - } else { - variableBuilder_.addAllMessages(other.variable_); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt64(2, timerCurrentDate_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(3, getTimerTrigger()); } - } + unknownFields.writeTo(output); } - if (nodeInstanceBuilder_ == null) { - if (!other.nodeInstance_.isEmpty()) { - if (nodeInstance_.isEmpty()) { - nodeInstance_ = other.nodeInstance_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureNodeInstanceIsMutable(); - nodeInstance_.addAll(other.nodeInstance_); + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, maxDurationTimestamp_); } - onChanged(); - } - } else { - if (!other.nodeInstance_.isEmpty()) { - if (nodeInstanceBuilder_.isEmpty()) { - nodeInstanceBuilder_.dispose(); - nodeInstanceBuilder_ = null; - nodeInstance_ = other.nodeInstance_; - bitField0_ = (bitField0_ & ~0x00000004); - nodeInstanceBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNodeInstanceFieldBuilder() : null; - } else { - nodeInstanceBuilder_.addAllMessages(other.nodeInstance_); + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, timerCurrentDate_); } - } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTimerTrigger()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; } - if (exclusiveGroupBuilder_ == null) { - if (!other.exclusiveGroup_.isEmpty()) { - if (exclusiveGroup_.isEmpty()) { - exclusiveGroup_ = other.exclusiveGroup_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.addAll(other.exclusiveGroup_); + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; } - onChanged(); - } - } else { - if (!other.exclusiveGroup_.isEmpty()) { - if (exclusiveGroupBuilder_.isEmpty()) { - exclusiveGroupBuilder_.dispose(); - exclusiveGroupBuilder_ = null; - exclusiveGroup_ = other.exclusiveGroup_; - bitField0_ = (bitField0_ & ~0x00000008); - exclusiveGroupBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getExclusiveGroupFieldBuilder() : null; - } else { - exclusiveGroupBuilder_.addAllMessages(other.exclusiveGroup_); + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger) obj; + + if (hasMaxDurationTimestamp() != other.hasMaxDurationTimestamp()) + return false; + if (hasMaxDurationTimestamp()) { + if (getMaxDurationTimestamp() != other.getMaxDurationTimestamp()) + return false; + } + if (hasTimerCurrentDate() != other.hasTimerCurrentDate()) + return false; + if (hasTimerCurrentDate()) { + if (getTimerCurrentDate() != other.getTimerCurrentDate()) + return false; + } + if (hasTimerTrigger() != other.hasTimerTrigger()) + return false; + if (hasTimerTrigger()) { + if (!getTimerTrigger() + .equals(other.getTimerTrigger())) + return false; } - } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; } - if (iterationLevelsBuilder_ == null) { - if (!other.iterationLevels_.isEmpty()) { - if (iterationLevels_.isEmpty()) { - iterationLevels_ = other.iterationLevels_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureIterationLevelsIsMutable(); - iterationLevels_.addAll(other.iterationLevels_); + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; } - onChanged(); - } - } else { - if (!other.iterationLevels_.isEmpty()) { - if (iterationLevelsBuilder_.isEmpty()) { - iterationLevelsBuilder_.dispose(); - iterationLevelsBuilder_ = null; - iterationLevels_ = other.iterationLevels_; - bitField0_ = (bitField0_ & ~0x00000010); - iterationLevelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIterationLevelsFieldBuilder() : null; - } else { - iterationLevelsBuilder_.addAllMessages(other.iterationLevels_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000001; - } - } - /** - * repeated string timer_instance_id = 2; - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList - getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - /** - * repeated string timer_instance_id = 2; - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString - getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - /** - * repeated string timer_instance_id = 2; - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId( - java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, timerInstanceId_); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * repeated string timer_instance_id = 2; - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - private java.util.List variable_ = - java.util.Collections.emptyList(); - private void ensureVariableIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - variable_ = new java.util.ArrayList(variable_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder> variableBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public java.util.List getVariableList() { - if (variableBuilder_ == null) { - return java.util.Collections.unmodifiableList(variable_); - } else { - return variableBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public int getVariableCount() { - if (variableBuilder_ == null) { - return variable_.size(); - } else { - return variableBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public Builder setVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.set(index, value); - onChanged(); - } else { - variableBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public Builder setVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.set(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(value); - onChanged(); - } else { - variableBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public Builder addVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(index, value); - onChanged(); - } else { - variableBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public Builder addVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public Builder addAllVariable( - java.lang.Iterable values) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, variable_); - onChanged(); - } else { - variableBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public Builder clearVariable() { - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - variableBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public Builder removeVariable(int index) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.remove(index); - onChanged(); - } else { - variableBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder getVariableBuilder( - int index) { - return getVariableFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - if (variableBuilder_ == null) { - return variable_.get(index); } else { - return variableBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public java.util.List - getVariableOrBuilderList() { - if (variableBuilder_ != null) { - return variableBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variable_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder() { - return getVariableFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder( - int index) { - return getVariableFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; - */ - public java.util.List - getVariableBuilderList() { - return getVariableFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder> - getVariableFieldBuilder() { - if (variableBuilder_ == null) { - variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder>( - variable_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - variable_ = null; - } - return variableBuilder_; - } - - private java.util.List nodeInstance_ = - java.util.Collections.emptyList(); - private void ensureNodeInstanceIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - nodeInstance_ = new java.util.ArrayList(nodeInstance_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder> nodeInstanceBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public java.util.List getNodeInstanceList() { - if (nodeInstanceBuilder_ == null) { - return java.util.Collections.unmodifiableList(nodeInstance_); - } else { - return nodeInstanceBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public int getNodeInstanceCount() { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.size(); - } else { - return nodeInstanceBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance(int index) { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.get(index); - } else { - return nodeInstanceBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder setNodeInstance( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.set(index, value); - onChanged(); - } else { - nodeInstanceBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder setNodeInstance( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.set(index, builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder addNodeInstance(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.add(value); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder addNodeInstance( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.add(index, value); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder addNodeInstance( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.add(builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder addNodeInstance( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.add(index, builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder addAllNodeInstance( - java.lang.Iterable values) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodeInstance_); - onChanged(); - } else { - nodeInstanceBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder clearNodeInstance() { - if (nodeInstanceBuilder_ == null) { - nodeInstance_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - nodeInstanceBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder removeNodeInstance(int index) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.remove(index); - onChanged(); - } else { - nodeInstanceBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder getNodeInstanceBuilder( - int index) { - return getNodeInstanceFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index) { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.get(index); } else { - return nodeInstanceBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public java.util.List - getNodeInstanceOrBuilderList() { - if (nodeInstanceBuilder_ != null) { - return nodeInstanceBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(nodeInstance_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder() { - return getNodeInstanceFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder( - int index) { - return getNodeInstanceFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public java.util.List - getNodeInstanceBuilderList() { - return getNodeInstanceFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder> - getNodeInstanceFieldBuilder() { - if (nodeInstanceBuilder_ == null) { - nodeInstanceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder>( - nodeInstance_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - nodeInstance_ = null; - } - return nodeInstanceBuilder_; - } - - private java.util.List exclusiveGroup_ = - java.util.Collections.emptyList(); - private void ensureExclusiveGroupIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - exclusiveGroup_ = new java.util.ArrayList(exclusiveGroup_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder> exclusiveGroupBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public java.util.List getExclusiveGroupList() { - if (exclusiveGroupBuilder_ == null) { - return java.util.Collections.unmodifiableList(exclusiveGroup_); - } else { - return exclusiveGroupBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public int getExclusiveGroupCount() { - if (exclusiveGroupBuilder_ == null) { - return exclusiveGroup_.size(); - } else { - return exclusiveGroupBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup(int index) { - if (exclusiveGroupBuilder_ == null) { - return exclusiveGroup_.get(index); - } else { - return exclusiveGroupBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder setExclusiveGroup( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance value) { - if (exclusiveGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.set(index, value); - onChanged(); - } else { - exclusiveGroupBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder setExclusiveGroup( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.set(index, builderForValue.build()); - onChanged(); - } else { - exclusiveGroupBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder addExclusiveGroup(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance value) { - if (exclusiveGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(value); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder addExclusiveGroup( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance value) { - if (exclusiveGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(index, value); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder addExclusiveGroup( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(builderForValue.build()); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder addExclusiveGroup( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(index, builderForValue.build()); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder addAllExclusiveGroup( - java.lang.Iterable values) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exclusiveGroup_); - onChanged(); - } else { - exclusiveGroupBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder clearExclusiveGroup() { - if (exclusiveGroupBuilder_ == null) { - exclusiveGroup_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - exclusiveGroupBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder removeExclusiveGroup(int index) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.remove(index); - onChanged(); - } else { - exclusiveGroupBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder getExclusiveGroupBuilder( - int index) { - return getExclusiveGroupFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( - int index) { - if (exclusiveGroupBuilder_ == null) { - return exclusiveGroup_.get(index); } else { - return exclusiveGroupBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public java.util.List - getExclusiveGroupOrBuilderList() { - if (exclusiveGroupBuilder_ != null) { - return exclusiveGroupBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(exclusiveGroup_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder addExclusiveGroupBuilder() { - return getExclusiveGroupFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder addExclusiveGroupBuilder( - int index) { - return getExclusiveGroupFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public java.util.List - getExclusiveGroupBuilderList() { - return getExclusiveGroupFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder> - getExclusiveGroupFieldBuilder() { - if (exclusiveGroupBuilder_ == null) { - exclusiveGroupBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder>( - exclusiveGroup_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); - exclusiveGroup_ = null; - } - return exclusiveGroupBuilder_; - } - - private java.util.List iterationLevels_ = - java.util.Collections.emptyList(); - private void ensureIterationLevelsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - iterationLevels_ = new java.util.ArrayList(iterationLevels_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder> iterationLevelsBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public java.util.List getIterationLevelsList() { - if (iterationLevelsBuilder_ == null) { - return java.util.Collections.unmodifiableList(iterationLevels_); - } else { - return iterationLevelsBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public int getIterationLevelsCount() { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.size(); - } else { - return iterationLevelsBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels(int index) { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.get(index); - } else { - return iterationLevelsBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder setIterationLevels( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.set(index, value); - onChanged(); - } else { - iterationLevelsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder setIterationLevels( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.set(index, builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder addIterationLevels(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.add(value); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder addIterationLevels( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.add(index, value); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder addIterationLevels( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.add(builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder addIterationLevels( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.add(index, builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder addAllIterationLevels( - java.lang.Iterable values) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, iterationLevels_); - onChanged(); - } else { - iterationLevelsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder clearIterationLevels() { - if (iterationLevelsBuilder_ == null) { - iterationLevels_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - iterationLevelsBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder removeIterationLevels(int index) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.remove(index); - onChanged(); - } else { - iterationLevelsBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder getIterationLevelsBuilder( - int index) { - return getIterationLevelsFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index) { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.get(index); } else { - return iterationLevelsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public java.util.List - getIterationLevelsOrBuilderList() { - if (iterationLevelsBuilder_ != null) { - return iterationLevelsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(iterationLevels_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder addIterationLevelsBuilder() { - return getIterationLevelsFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder addIterationLevelsBuilder( - int index) { - return getIterationLevelsFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; - */ - public java.util.List - getIterationLevelsBuilderList() { - return getIterationLevelsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder> - getIterationLevelsFieldBuilder() { - if (iterationLevelsBuilder_ == null) { - iterationLevelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder>( - iterationLevels_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); - iterationLevels_ = null; - } - return iterationLevelsBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode(); - } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasMaxDurationTimestamp()) { + hash = (37 * hash) + MAXDURATIONTIMESTAMP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxDurationTimestamp()); + } + if (hasTimerCurrentDate()) { + hash = (37 * hash) + TIMERCURRENTDATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimerCurrentDate()); + } + if (hasTimerTrigger()) { + hash = (37 * hash) + TIMERTRIGGER_FIELD_NUMBER; + hash = (53 * hash) + getTimerTrigger().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompositeContextNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompositeContextNode(input, extensionRegistry); - } - }; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - public interface ForEachNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) - com.google.protobuf.MessageOrBuilder { + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - java.util.List - getNodeInstanceList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - int getNodeInstanceCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - java.util.List - getNodeInstanceOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - java.util.List - getVariableList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - int getVariableCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - java.util.List - getVariableOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - java.util.List - getIterationLevelsList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - int getIterationLevelsCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - java.util.List - getIterationLevelsOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } - /** - * optional int32 sequential_counter = 4; - * @return Whether the sequentialCounter field is set. - */ - boolean hasSequentialCounter(); - /** - * optional int32 sequential_counter = 4; - * @return The sequentialCounter. - */ - int getSequentialCounter(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode} - */ - public static final class ForEachNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) - ForEachNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use ForEachNode.newBuilder() to construct. - private ForEachNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ForEachNode() { - nodeInstance_ = java.util.Collections.emptyList(); - variable_ = java.util.Collections.emptyList(); - iterationLevels_ = java.util.Collections.emptyList(); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ForEachNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ForEachNode( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nodeInstance_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - nodeInstance_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.PARSER, extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - variable_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - variable_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.PARSER, extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - iterationLevels_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - iterationLevels_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.PARSER, extensionRegistry)); - break; - } - case 32: { - bitField0_ |= 0x00000001; - sequentialCounter_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder.class); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - private int bitField0_; - public static final int NODE_INSTANCE_FIELD_NUMBER = 1; - private java.util.List nodeInstance_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - @java.lang.Override - public java.util.List getNodeInstanceList() { - return nodeInstance_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - @java.lang.Override - public java.util.List - getNodeInstanceOrBuilderList() { - return nodeInstance_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - @java.lang.Override - public int getNodeInstanceCount() { - return nodeInstance_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance(int index) { - return nodeInstance_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index) { - return nodeInstance_.get(index); - } + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } - public static final int VARIABLE_FIELD_NUMBER = 2; - private java.util.List variable_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - @java.lang.Override - public java.util.List getVariableList() { - return variable_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - @java.lang.Override - public java.util.List - getVariableOrBuilderList() { - return variable_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - @java.lang.Override - public int getVariableCount() { - return variable_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { - return variable_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - return variable_.get(index); - } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } - public static final int ITERATIONLEVELS_FIELD_NUMBER = 3; - private java.util.List iterationLevels_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - @java.lang.Override - public java.util.List getIterationLevelsList() { - return iterationLevels_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - @java.lang.Override - public java.util.List - getIterationLevelsOrBuilderList() { - return iterationLevels_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - @java.lang.Override - public int getIterationLevelsCount() { - return iterationLevels_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels(int index) { - return iterationLevels_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index) { - return iterationLevels_.get(index); - } + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } - public static final int SEQUENTIAL_COUNTER_FIELD_NUMBER = 4; - private int sequentialCounter_; - /** - * optional int32 sequential_counter = 4; - * @return Whether the sequentialCounter field is set. - */ - @java.lang.Override - public boolean hasSequentialCounter() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional int32 sequential_counter = 4; - * @return The sequentialCounter. - */ - @java.lang.Override - public int getSequentialCounter() { - return sequentialCounter_; - } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } - memoizedIsInitialized = 1; - return true; - } + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTriggerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < nodeInstance_.size(); i++) { - output.writeMessage(1, nodeInstance_.get(i)); - } - for (int i = 0; i < variable_.size(); i++) { - output.writeMessage(2, variable_.get(i)); - } - for (int i = 0; i < iterationLevels_.size(); i++) { - output.writeMessage(3, iterationLevels_.get(i)); - } - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt32(4, sequentialCounter_); - } - unknownFields.writeTo(output); - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.Builder.class); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < nodeInstance_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, nodeInstance_.get(i)); - } - for (int i = 0; i < variable_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, variable_.get(i)); - } - for (int i = 0; i < iterationLevels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, iterationLevels_.get(i)); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, sequentialCounter_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode) obj; - - if (!getNodeInstanceList() - .equals(other.getNodeInstanceList())) return false; - if (!getVariableList() - .equals(other.getVariableList())) return false; - if (!getIterationLevelsList() - .equals(other.getIterationLevelsList())) return false; - if (hasSequentialCounter() != other.hasSequentialCounter()) return false; - if (hasSequentialCounter()) { - if (getSequentialCounter() - != other.getSequentialCounter()) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getNodeInstanceCount() > 0) { - hash = (37 * hash) + NODE_INSTANCE_FIELD_NUMBER; - hash = (53 * hash) + getNodeInstanceList().hashCode(); - } - if (getVariableCount() > 0) { - hash = (37 * hash) + VARIABLE_FIELD_NUMBER; - hash = (53 * hash) + getVariableList().hashCode(); - } - if (getIterationLevelsCount() > 0) { - hash = (37 * hash) + ITERATIONLEVELS_FIELD_NUMBER; - hash = (53 * hash) + getIterationLevelsList().hashCode(); - } - if (hasSequentialCounter()) { - hash = (37 * hash) + SEQUENTIAL_COUNTER_FIELD_NUMBER; - hash = (53 * hash) + getSequentialCounter(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getTimerTriggerFieldBuilder(); + } + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getNodeInstanceFieldBuilder(); - getVariableFieldBuilder(); - getIterationLevelsFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (nodeInstanceBuilder_ == null) { - nodeInstance_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - nodeInstanceBuilder_.clear(); - } - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - variableBuilder_.clear(); - } - if (iterationLevelsBuilder_ == null) { - iterationLevels_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - iterationLevelsBuilder_.clear(); - } - sequentialCounter_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (nodeInstanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.nodeInstance_ = nodeInstance_; - } else { - result.nodeInstance_ = nodeInstanceBuilder_.build(); - } - if (variableBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.variable_ = variable_; - } else { - result.variable_ = variableBuilder_.build(); - } - if (iterationLevelsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.iterationLevels_ = iterationLevels_; - } else { - result.iterationLevels_ = iterationLevelsBuilder_.build(); - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.sequentialCounter_ = sequentialCounter_; - to_bitField0_ |= 0x00000001; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode)other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public Builder clear() { + super.clear(); + maxDurationTimestamp_ = 0L; + bitField0_ = (bitField0_ & ~0x00000001); + timerCurrentDate_ = 0L; + bitField0_ = (bitField0_ & ~0x00000002); + if (timerTriggerBuilder_ == null) { + timerTrigger_ = null; + } else { + timerTriggerBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.getDefaultInstance()) return this; - if (nodeInstanceBuilder_ == null) { - if (!other.nodeInstance_.isEmpty()) { - if (nodeInstance_.isEmpty()) { - nodeInstance_ = other.nodeInstance_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureNodeInstanceIsMutable(); - nodeInstance_.addAll(other.nodeInstance_); + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor; } - onChanged(); - } - } else { - if (!other.nodeInstance_.isEmpty()) { - if (nodeInstanceBuilder_.isEmpty()) { - nodeInstanceBuilder_.dispose(); - nodeInstanceBuilder_ = null; - nodeInstance_ = other.nodeInstance_; - bitField0_ = (bitField0_ & ~0x00000001); - nodeInstanceBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNodeInstanceFieldBuilder() : null; - } else { - nodeInstanceBuilder_.addAllMessages(other.nodeInstance_); + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger + .getDefaultInstance(); } - } - } - if (variableBuilder_ == null) { - if (!other.variable_.isEmpty()) { - if (variable_.isEmpty()) { - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureVariableIsMutable(); - variable_.addAll(other.variable_); + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; } - onChanged(); - } - } else { - if (!other.variable_.isEmpty()) { - if (variableBuilder_.isEmpty()) { - variableBuilder_.dispose(); - variableBuilder_ = null; - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000002); - variableBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVariableFieldBuilder() : null; - } else { - variableBuilder_.addAllMessages(other.variable_); + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.maxDurationTimestamp_ = maxDurationTimestamp_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.timerCurrentDate_ = timerCurrentDate_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + if (timerTriggerBuilder_ == null) { + result.timerTrigger_ = timerTrigger_; + } else { + result.timerTrigger_ = timerTriggerBuilder_.build(); + } + to_bitField0_ |= 0x00000004; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger + .getDefaultInstance()) + return this; + if (other.hasMaxDurationTimestamp()) { + setMaxDurationTimestamp(other.getMaxDurationTimestamp()); + } + if (other.hasTimerCurrentDate()) { + setTimerCurrentDate(other.getTimerCurrentDate()); + } + if (other.hasTimerTrigger()) { + mergeTimerTrigger(other.getTimerTrigger()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private long maxDurationTimestamp_; + + /** + * optional int64 maxDurationTimestamp = 1; + * + * @return Whether the maxDurationTimestamp field is set. + */ + @java.lang.Override + public boolean hasMaxDurationTimestamp() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional int64 maxDurationTimestamp = 1; + * + * @return The maxDurationTimestamp. + */ + @java.lang.Override + public long getMaxDurationTimestamp() { + return maxDurationTimestamp_; + } + + /** + * optional int64 maxDurationTimestamp = 1; + * + * @param value The maxDurationTimestamp to set. + * @return This builder for chaining. + */ + public Builder setMaxDurationTimestamp(long value) { + bitField0_ |= 0x00000001; + maxDurationTimestamp_ = value; + onChanged(); + return this; + } + + /** + * optional int64 maxDurationTimestamp = 1; + * + * @return This builder for chaining. + */ + public Builder clearMaxDurationTimestamp() { + bitField0_ = (bitField0_ & ~0x00000001); + maxDurationTimestamp_ = 0L; + onChanged(); + return this; + } + + private long timerCurrentDate_; + + /** + * optional int64 timerCurrentDate = 2; + * + * @return Whether the timerCurrentDate field is set. + */ + @java.lang.Override + public boolean hasTimerCurrentDate() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional int64 timerCurrentDate = 2; + * + * @return The timerCurrentDate. + */ + @java.lang.Override + public long getTimerCurrentDate() { + return timerCurrentDate_; + } + + /** + * optional int64 timerCurrentDate = 2; + * + * @param value The timerCurrentDate to set. + * @return This builder for chaining. + */ + public Builder setTimerCurrentDate(long value) { + bitField0_ |= 0x00000002; + timerCurrentDate_ = value; + onChanged(); + return this; + } + + /** + * optional int64 timerCurrentDate = 2; + * + * @return This builder for chaining. + */ + public Builder clearTimerCurrentDate() { + bitField0_ = (bitField0_ & ~0x00000002); + timerCurrentDate_ = 0L; + onChanged(); + return this; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger timerTrigger_; + private com.google.protobuf.SingleFieldBuilderV3 timerTriggerBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + * + * @return Whether the timerTrigger field is set. + */ + public boolean hasTimerTrigger() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + * + * @return The timerTrigger. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getTimerTrigger() { + if (timerTriggerBuilder_ == null) { + return timerTrigger_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() + : timerTrigger_; + } else { + return timerTriggerBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + */ + public Builder setTimerTrigger( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger value) { + if (timerTriggerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + timerTrigger_ = value; + onChanged(); + } else { + timerTriggerBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + */ + public Builder setTimerTrigger( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder builderForValue) { + if (timerTriggerBuilder_ == null) { + timerTrigger_ = builderForValue.build(); + onChanged(); + } else { + timerTriggerBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + */ + public Builder mergeTimerTrigger( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger value) { + if (timerTriggerBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + timerTrigger_ != null && + timerTrigger_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger + .getDefaultInstance()) { + timerTrigger_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger + .newBuilder(timerTrigger_).mergeFrom(value).buildPartial(); + } else { + timerTrigger_ = value; + } + onChanged(); + } else { + timerTriggerBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + */ + public Builder clearTimerTrigger() { + if (timerTriggerBuilder_ == null) { + timerTrigger_ = null; + onChanged(); + } else { + timerTriggerBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder getTimerTriggerBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getTimerTriggerFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder getTimerTriggerOrBuilder() { + if (timerTriggerBuilder_ != null) { + return timerTriggerBuilder_.getMessageOrBuilder(); + } else { + return timerTrigger_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() + : timerTrigger_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger timerTrigger = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3 getTimerTriggerFieldBuilder() { + if (timerTriggerBuilder_ == null) { + timerTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getTimerTrigger(), + getParentForChildren(), + isClean()); + timerTrigger_ = null; + } + return timerTriggerBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger) } - if (iterationLevelsBuilder_ == null) { - if (!other.iterationLevels_.isEmpty()) { - if (iterationLevels_.isEmpty()) { - iterationLevels_ = other.iterationLevels_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureIterationLevelsIsMutable(); - iterationLevels_.addAll(other.iterationLevels_); + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompositeMaxDurationTrigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompositeMaxDurationTrigger(input, extensionRegistry); } - onChanged(); - } - } else { - if (!other.iterationLevels_.isEmpty()) { - if (iterationLevelsBuilder_.isEmpty()) { - iterationLevelsBuilder_.dispose(); - iterationLevelsBuilder_ = null; - iterationLevels_ = other.iterationLevels_; - bitField0_ = (bitField0_ & ~0x00000004); - iterationLevelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIterationLevelsFieldBuilder() : null; - } else { - iterationLevelsBuilder_.addAllMessages(other.iterationLevels_); - } - } - } - if (other.hasSequentialCounter()) { - setSequentialCounter(other.getSequentialCounter()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List nodeInstance_ = - java.util.Collections.emptyList(); - private void ensureNodeInstanceIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - nodeInstance_ = new java.util.ArrayList(nodeInstance_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder> nodeInstanceBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public java.util.List getNodeInstanceList() { - if (nodeInstanceBuilder_ == null) { - return java.util.Collections.unmodifiableList(nodeInstance_); - } else { - return nodeInstanceBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public int getNodeInstanceCount() { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.size(); - } else { - return nodeInstanceBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance(int index) { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.get(index); - } else { - return nodeInstanceBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder setNodeInstance( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.set(index, value); - onChanged(); - } else { - nodeInstanceBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder setNodeInstance( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.set(index, builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder addNodeInstance(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.add(value); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder addNodeInstance( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.add(index, value); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder addNodeInstance( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.add(builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder addNodeInstance( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.add(index, builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder addAllNodeInstance( - java.lang.Iterable values) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodeInstance_); - onChanged(); - } else { - nodeInstanceBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder clearNodeInstance() { - if (nodeInstanceBuilder_ == null) { - nodeInstance_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - nodeInstanceBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder removeNodeInstance(int index) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.remove(index); - onChanged(); - } else { - nodeInstanceBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder getNodeInstanceBuilder( - int index) { - return getNodeInstanceFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index) { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.get(index); } else { - return nodeInstanceBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public java.util.List - getNodeInstanceOrBuilderList() { - if (nodeInstanceBuilder_ != null) { - return nodeInstanceBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(nodeInstance_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder() { - return getNodeInstanceFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder( - int index) { - return getNodeInstanceFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public java.util.List - getNodeInstanceBuilderList() { - return getNodeInstanceFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder> - getNodeInstanceFieldBuilder() { - if (nodeInstanceBuilder_ == null) { - nodeInstanceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder>( - nodeInstance_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - nodeInstance_ = null; - } - return nodeInstanceBuilder_; - } - - private java.util.List variable_ = - java.util.Collections.emptyList(); - private void ensureVariableIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - variable_ = new java.util.ArrayList(variable_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder> variableBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public java.util.List getVariableList() { - if (variableBuilder_ == null) { - return java.util.Collections.unmodifiableList(variable_); - } else { - return variableBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public int getVariableCount() { - if (variableBuilder_ == null) { - return variable_.size(); - } else { - return variableBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public Builder setVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.set(index, value); - onChanged(); - } else { - variableBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public Builder setVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.set(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(value); - onChanged(); - } else { - variableBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public Builder addVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(index, value); - onChanged(); - } else { - variableBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public Builder addVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public Builder addAllVariable( - java.lang.Iterable values) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, variable_); - onChanged(); - } else { - variableBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public Builder clearVariable() { - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - variableBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public Builder removeVariable(int index) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.remove(index); - onChanged(); - } else { - variableBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder getVariableBuilder( - int index) { - return getVariableFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - if (variableBuilder_ == null) { - return variable_.get(index); } else { - return variableBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public java.util.List - getVariableOrBuilderList() { - if (variableBuilder_ != null) { - return variableBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variable_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder() { - return getVariableFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder( - int index) { - return getVariableFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; - */ - public java.util.List - getVariableBuilderList() { - return getVariableFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder> - getVariableFieldBuilder() { - if (variableBuilder_ == null) { - variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder>( - variable_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); - variable_ = null; - } - return variableBuilder_; - } - - private java.util.List iterationLevels_ = - java.util.Collections.emptyList(); - private void ensureIterationLevelsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - iterationLevels_ = new java.util.ArrayList(iterationLevels_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder> iterationLevelsBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public java.util.List getIterationLevelsList() { - if (iterationLevelsBuilder_ == null) { - return java.util.Collections.unmodifiableList(iterationLevels_); - } else { - return iterationLevelsBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public int getIterationLevelsCount() { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.size(); - } else { - return iterationLevelsBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels(int index) { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.get(index); - } else { - return iterationLevelsBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder setIterationLevels( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.set(index, value); - onChanged(); - } else { - iterationLevelsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder setIterationLevels( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.set(index, builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder addIterationLevels(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.add(value); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder addIterationLevels( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.add(index, value); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder addIterationLevels( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.add(builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder addIterationLevels( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.add(index, builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder addAllIterationLevels( - java.lang.Iterable values) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, iterationLevels_); - onChanged(); - } else { - iterationLevelsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder clearIterationLevels() { - if (iterationLevelsBuilder_ == null) { - iterationLevels_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - iterationLevelsBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder removeIterationLevels(int index) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.remove(index); - onChanged(); - } else { - iterationLevelsBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder getIterationLevelsBuilder( - int index) { - return getIterationLevelsFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index) { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.get(index); } else { - return iterationLevelsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public java.util.List - getIterationLevelsOrBuilderList() { - if (iterationLevelsBuilder_ != null) { - return iterationLevelsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(iterationLevels_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder addIterationLevelsBuilder() { - return getIterationLevelsFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder addIterationLevelsBuilder( - int index) { - return getIterationLevelsFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; - */ - public java.util.List - getIterationLevelsBuilderList() { - return getIterationLevelsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder> - getIterationLevelsFieldBuilder() { - if (iterationLevelsBuilder_ == null) { - iterationLevelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder>( - iterationLevels_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); - iterationLevels_ = null; - } - return iterationLevelsBuilder_; - } - - private int sequentialCounter_ ; - /** - * optional int32 sequential_counter = 4; - * @return Whether the sequentialCounter field is set. - */ - @java.lang.Override - public boolean hasSequentialCounter() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional int32 sequential_counter = 4; - * @return The sequentialCounter. - */ - @java.lang.Override - public int getSequentialCounter() { - return sequentialCounter_; - } - /** - * optional int32 sequential_counter = 4; - * @param value The sequentialCounter to set. - * @return This builder for chaining. - */ - public Builder setSequentialCounter(int value) { - bitField0_ |= 0x00000008; - sequentialCounter_ = value; - onChanged(); - return this; - } - /** - * optional int32 sequential_counter = 4; - * @return This builder for chaining. - */ - public Builder clearSequentialCounter() { - bitField0_ = (bitField0_ & ~0x00000008); - sequentialCounter_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode(); - } + }; - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ForEachNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ForEachNode(input, extensionRegistry); - } - }; + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static com.google.protobuf.Parser parser() { - return PARSER; } + private int bitField0_; + public static final int TYPE_FIELD_NUMBER = 1; + private int type_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; + * + * @return Whether the type field is set. + */ @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; + public boolean hasType() { + return ((bitField0_ & 0x00000001) != 0); } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; + * + * @return The type. + */ @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType getType() { + @SuppressWarnings("deprecation") + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType result = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType + .valueOf(type_); + return result == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType.CRON + : result; } - } - - public interface AsyncEventNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) - com.google.protobuf.MessageOrBuilder { + public static final int CRON_FIELD_NUMBER = 2; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger cron_; /** - * optional string event_type = 1; - * @return Whether the eventType field is set. + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; + * + * @return Whether the cron field is set. */ - boolean hasEventType(); + @java.lang.Override + public boolean hasCron() { + return ((bitField0_ & 0x00000002) != 0); + } + /** - * optional string event_type = 1; - * @return The eventType. + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; + * + * @return The cron. */ - java.lang.String getEventType(); + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger getCron() { + return cron_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.getDefaultInstance() + : cron_; + } + /** - * optional string event_type = 1; - * @return The bytes for eventType. + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; */ - com.google.protobuf.ByteString - getEventTypeBytes(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode} - */ - public static final class AsyncEventNode extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) - AsyncEventNodeOrBuilder { - private static final long serialVersionUID = 0L; - // Use AsyncEventNode.newBuilder() to construct. - private AsyncEventNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private AsyncEventNode() { - eventType_ = ""; + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTriggerOrBuilder getCronOrBuilder() { + return cron_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.getDefaultInstance() + : cron_; } + public static final int INTERVAL_FIELD_NUMBER = 3; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger interval_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; + * + * @return Whether the interval field is set. + */ @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new AsyncEventNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private AsyncEventNode( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - eventType_ = bs; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder.class); + public boolean hasInterval() { + return ((bitField0_ & 0x00000004) != 0); } - private int bitField0_; - public static final int EVENT_TYPE_FIELD_NUMBER = 1; - private volatile java.lang.Object eventType_; /** - * optional string event_type = 1; - * @return Whether the eventType field is set. + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; + * + * @return The interval. */ @java.lang.Override - public boolean hasEventType() { - return ((bitField0_ & 0x00000001) != 0); + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger getInterval() { + return interval_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger + .getDefaultInstance() + : interval_; } + /** - * optional string event_type = 1; - * @return The eventType. + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; */ @java.lang.Override - public java.lang.String getEventType() { - java.lang.Object ref = eventType_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - eventType_ = s; - } - return s; - } + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTriggerOrBuilder getIntervalOrBuilder() { + return interval_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger + .getDefaultInstance() + : interval_; } + + public static final int PIT_FIELD_NUMBER = 4; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger pit_; + /** - * optional string event_type = 1; - * @return The bytes for eventType. + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + * + * @return Whether the pit field is set. */ @java.lang.Override - public com.google.protobuf.ByteString - getEventTypeBytes() { - java.lang.Object ref = eventType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - eventType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + public boolean hasPit() { + return ((bitField0_ & 0x00000008) != 0); } - private byte memoizedIsInitialized = -1; + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + * + * @return The pit. + */ @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger getPit() { + return pit_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger + .getDefaultInstance() + : pit_; } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + */ @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, eventType_); - } - unknownFields.writeTo(output); + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTriggerOrBuilder getPitOrBuilder() { + return pit_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger + .getDefaultInstance() + : pit_; } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, eventType_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + public static final int CMDT_FIELD_NUMBER = 5; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger cmdt_; + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + * + * @return Whether the cmdt field is set. + */ @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode) obj; - - if (hasEventType() != other.hasEventType()) return false; - if (hasEventType()) { - if (!getEventType() - .equals(other.getEventType())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; + public boolean hasCmdt() { + return ((bitField0_ & 0x00000010) != 0); } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + * + * @return The cmdt. + */ @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasEventType()) { - hash = (37 * hash) + EVENT_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getEventType().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger getCmdt() { + return cmdt_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger + .getDefaultInstance() + : cmdt_; } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode} + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - eventType_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.eventType_ = eventType_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode)other); - } else { - super.mergeFrom(other); - return this; - } - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTriggerOrBuilder getCmdtOrBuilder() { + return cmdt_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger + .getDefaultInstance() + : cmdt_; + } - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.getDefaultInstance()) return this; - if (other.hasEventType()) { - bitField0_ |= 0x00000001; - eventType_ = other.eventType_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } + private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object eventType_ = ""; - /** - * optional string event_type = 1; - * @return Whether the eventType field is set. - */ - public boolean hasEventType() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string event_type = 1; - * @return The eventType. - */ - public java.lang.String getEventType() { - java.lang.Object ref = eventType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - eventType_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string event_type = 1; - * @return The bytes for eventType. - */ - public com.google.protobuf.ByteString - getEventTypeBytes() { - java.lang.Object ref = eventType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - eventType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string event_type = 1; - * @param value The eventType to set. - * @return This builder for chaining. - */ - public Builder setEventType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - eventType_ = value; - onChanged(); - return this; - } - /** - * optional string event_type = 1; - * @return This builder for chaining. - */ - public Builder clearEventType() { - bitField0_ = (bitField0_ & ~0x00000001); - eventType_ = getDefaultInstance().getEventType(); - onChanged(); - return this; - } - /** - * optional string event_type = 1; - * @param value The bytes for eventType to set. - * @return This builder for chaining. - */ - public Builder setEventTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - eventType_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode(); - } + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getDefaultInstance() { - return DEFAULT_INSTANCE; + memoizedIsInitialized = 1; + return true; } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AsyncEventNode parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AsyncEventNode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private int bitField0_; - public static final int TYPE_FIELD_NUMBER = 1; - private int type_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; - * @return Whether the type field is set. - */ - @java.lang.Override public boolean hasType() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; - * @return The type. - */ - @java.lang.Override public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType getType() { - @SuppressWarnings("deprecation") - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType result = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType.valueOf(type_); - return result == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType.RULE_SET_NODE : result; - } - - public static final int RULE_SET_FIELD_NUMBER = 2; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode ruleSet_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - * @return Whether the ruleSet field is set. - */ - @java.lang.Override - public boolean hasRuleSet() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - * @return The ruleSet. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getRuleSet() { - return ruleSet_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.getDefaultInstance() : ruleSet_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder getRuleSetOrBuilder() { - return ruleSet_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.getDefaultInstance() : ruleSet_; - } - - public static final int HUMAN_TASK_FIELD_NUMBER = 3; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode humanTask_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - * @return Whether the humanTask field is set. - */ - @java.lang.Override - public boolean hasHumanTask() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - * @return The humanTask. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getHumanTask() { - return humanTask_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.getDefaultInstance() : humanTask_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder getHumanTaskOrBuilder() { - return humanTask_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.getDefaultInstance() : humanTask_; - } - - public static final int WORK_ITEM_FIELD_NUMBER = 4; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode workItem_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - * @return Whether the workItem field is set. - */ - @java.lang.Override - public boolean hasWorkItem() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - * @return The workItem. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getWorkItem() { - return workItem_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.getDefaultInstance() : workItem_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder getWorkItemOrBuilder() { - return workItem_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.getDefaultInstance() : workItem_; - } - - public static final int SUB_PROCESS_FIELD_NUMBER = 5; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode subProcess_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - * @return Whether the subProcess field is set. - */ - @java.lang.Override - public boolean hasSubProcess() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - * @return The subProcess. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getSubProcess() { - return subProcess_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.getDefaultInstance() : subProcess_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder getSubProcessOrBuilder() { - return subProcess_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.getDefaultInstance() : subProcess_; - } - - public static final int MILESTONE_FIELD_NUMBER = 6; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode milestone_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - * @return Whether the milestone field is set. - */ - @java.lang.Override - public boolean hasMilestone() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - * @return The milestone. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getMilestone() { - return milestone_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.getDefaultInstance() : milestone_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder getMilestoneOrBuilder() { - return milestone_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.getDefaultInstance() : milestone_; - } - - public static final int EVENT_FIELD_NUMBER = 7; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode event_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - * @return Whether the event field is set. - */ - @java.lang.Override - public boolean hasEvent() { - return ((bitField0_ & 0x00000040) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - * @return The event. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode getEvent() { - return event_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.getDefaultInstance() : event_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder getEventOrBuilder() { - return event_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.getDefaultInstance() : event_; - } - - public static final int TIMER_FIELD_NUMBER = 8; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode timer_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - * @return Whether the timer field is set. - */ - @java.lang.Override - public boolean hasTimer() { - return ((bitField0_ & 0x00000080) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - * @return The timer. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode getTimer() { - return timer_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.getDefaultInstance() : timer_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder getTimerOrBuilder() { - return timer_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.getDefaultInstance() : timer_; - } - - public static final int JOIN_FIELD_NUMBER = 9; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode join_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - * @return Whether the join field is set. - */ - @java.lang.Override - public boolean hasJoin() { - return ((bitField0_ & 0x00000100) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - * @return The join. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode getJoin() { - return join_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance() : join_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder getJoinOrBuilder() { - return join_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance() : join_; - } - - public static final int STATE_FIELD_NUMBER = 10; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode state_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000200) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - * @return The state. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode getState() { - return state_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance() : state_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder getStateOrBuilder() { - return state_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance() : state_; - } - - public static final int COMPOSITE_FIELD_NUMBER = 11; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode composite_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - * @return Whether the composite field is set. - */ - @java.lang.Override - public boolean hasComposite() { - return ((bitField0_ & 0x00000400) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - * @return The composite. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getComposite() { - return composite_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.getDefaultInstance() : composite_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder getCompositeOrBuilder() { - return composite_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.getDefaultInstance() : composite_; - } - - public static final int FOR_EACH_FIELD_NUMBER = 12; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode forEach_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - * @return Whether the forEach field is set. - */ - @java.lang.Override - public boolean hasForEach() { - return ((bitField0_ & 0x00000800) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - * @return The forEach. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode getForEach() { - return forEach_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.getDefaultInstance() : forEach_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder getForEachOrBuilder() { - return forEach_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.getDefaultInstance() : forEach_; - } - - public static final int ASYNC_EVENT_FIELD_NUMBER = 13; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode asyncEvent_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - * @return Whether the asyncEvent field is set. - */ - @java.lang.Override - public boolean hasAsyncEvent() { - return ((bitField0_ & 0x00001000) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - * @return The asyncEvent. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getAsyncEvent() { - return asyncEvent_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.getDefaultInstance() : asyncEvent_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder getAsyncEventOrBuilder() { - return asyncEvent_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.getDefaultInstance() : asyncEvent_; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeEnum(1, type_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(2, getRuleSet()); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(3, getHumanTask()); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeMessage(4, getWorkItem()); - } - if (((bitField0_ & 0x00000010) != 0)) { - output.writeMessage(5, getSubProcess()); - } - if (((bitField0_ & 0x00000020) != 0)) { - output.writeMessage(6, getMilestone()); - } - if (((bitField0_ & 0x00000040) != 0)) { - output.writeMessage(7, getEvent()); - } - if (((bitField0_ & 0x00000080) != 0)) { - output.writeMessage(8, getTimer()); - } - if (((bitField0_ & 0x00000100) != 0)) { - output.writeMessage(9, getJoin()); - } - if (((bitField0_ & 0x00000200) != 0)) { - output.writeMessage(10, getState()); - } - if (((bitField0_ & 0x00000400) != 0)) { - output.writeMessage(11, getComposite()); - } - if (((bitField0_ & 0x00000800) != 0)) { - output.writeMessage(12, getForEach()); - } - if (((bitField0_ & 0x00001000) != 0)) { - output.writeMessage(13, getAsyncEvent()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRuleSet()); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getHumanTask()); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getWorkItem()); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getSubProcess()); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getMilestone()); - } - if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getEvent()); - } - if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getTimer()); - } - if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, getJoin()); - } - if (((bitField0_ & 0x00000200) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getState()); - } - if (((bitField0_ & 0x00000400) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getComposite()); - } - if (((bitField0_ & 0x00000800) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getForEach()); - } - if (((bitField0_ & 0x00001000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getAsyncEvent()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent) obj; - - if (hasType() != other.hasType()) return false; - if (hasType()) { - if (type_ != other.type_) return false; - } - if (hasRuleSet() != other.hasRuleSet()) return false; - if (hasRuleSet()) { - if (!getRuleSet() - .equals(other.getRuleSet())) return false; - } - if (hasHumanTask() != other.hasHumanTask()) return false; - if (hasHumanTask()) { - if (!getHumanTask() - .equals(other.getHumanTask())) return false; - } - if (hasWorkItem() != other.hasWorkItem()) return false; - if (hasWorkItem()) { - if (!getWorkItem() - .equals(other.getWorkItem())) return false; - } - if (hasSubProcess() != other.hasSubProcess()) return false; - if (hasSubProcess()) { - if (!getSubProcess() - .equals(other.getSubProcess())) return false; - } - if (hasMilestone() != other.hasMilestone()) return false; - if (hasMilestone()) { - if (!getMilestone() - .equals(other.getMilestone())) return false; - } - if (hasEvent() != other.hasEvent()) return false; - if (hasEvent()) { - if (!getEvent() - .equals(other.getEvent())) return false; - } - if (hasTimer() != other.hasTimer()) return false; - if (hasTimer()) { - if (!getTimer() - .equals(other.getTimer())) return false; - } - if (hasJoin() != other.hasJoin()) return false; - if (hasJoin()) { - if (!getJoin() - .equals(other.getJoin())) return false; - } - if (hasState() != other.hasState()) return false; - if (hasState()) { - if (!getState() - .equals(other.getState())) return false; - } - if (hasComposite() != other.hasComposite()) return false; - if (hasComposite()) { - if (!getComposite() - .equals(other.getComposite())) return false; - } - if (hasForEach() != other.hasForEach()) return false; - if (hasForEach()) { - if (!getForEach() - .equals(other.getForEach())) return false; - } - if (hasAsyncEvent() != other.hasAsyncEvent()) return false; - if (hasAsyncEvent()) { - if (!getAsyncEvent() - .equals(other.getAsyncEvent())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasType()) { - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + type_; - } - if (hasRuleSet()) { - hash = (37 * hash) + RULE_SET_FIELD_NUMBER; - hash = (53 * hash) + getRuleSet().hashCode(); - } - if (hasHumanTask()) { - hash = (37 * hash) + HUMAN_TASK_FIELD_NUMBER; - hash = (53 * hash) + getHumanTask().hashCode(); - } - if (hasWorkItem()) { - hash = (37 * hash) + WORK_ITEM_FIELD_NUMBER; - hash = (53 * hash) + getWorkItem().hashCode(); - } - if (hasSubProcess()) { - hash = (37 * hash) + SUB_PROCESS_FIELD_NUMBER; - hash = (53 * hash) + getSubProcess().hashCode(); - } - if (hasMilestone()) { - hash = (37 * hash) + MILESTONE_FIELD_NUMBER; - hash = (53 * hash) + getMilestone().hashCode(); - } - if (hasEvent()) { - hash = (37 * hash) + EVENT_FIELD_NUMBER; - hash = (53 * hash) + getEvent().hashCode(); - } - if (hasTimer()) { - hash = (37 * hash) + TIMER_FIELD_NUMBER; - hash = (53 * hash) + getTimer().hashCode(); - } - if (hasJoin()) { - hash = (37 * hash) + JOIN_FIELD_NUMBER; - hash = (53 * hash) + getJoin().hashCode(); - } - if (hasState()) { - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + getState().hashCode(); - } - if (hasComposite()) { - hash = (37 * hash) + COMPOSITE_FIELD_NUMBER; - hash = (53 * hash) + getComposite().hashCode(); - } - if (hasForEach()) { - hash = (37 * hash) + FOR_EACH_FIELD_NUMBER; - hash = (53 * hash) + getForEach().hashCode(); - } - if (hasAsyncEvent()) { - hash = (37 * hash) + ASYNC_EVENT_FIELD_NUMBER; - hash = (53 * hash) + getAsyncEvent().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getRuleSetFieldBuilder(); - getHumanTaskFieldBuilder(); - getWorkItemFieldBuilder(); - getSubProcessFieldBuilder(); - getMilestoneFieldBuilder(); - getEventFieldBuilder(); - getTimerFieldBuilder(); - getJoinFieldBuilder(); - getStateFieldBuilder(); - getCompositeFieldBuilder(); - getForEachFieldBuilder(); - getAsyncEventFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - type_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - if (ruleSetBuilder_ == null) { - ruleSet_ = null; - } else { - ruleSetBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - if (humanTaskBuilder_ == null) { - humanTask_ = null; - } else { - humanTaskBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - if (workItemBuilder_ == null) { - workItem_ = null; - } else { - workItemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - if (subProcessBuilder_ == null) { - subProcess_ = null; - } else { - subProcessBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - if (milestoneBuilder_ == null) { - milestone_ = null; - } else { - milestoneBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000020); - if (eventBuilder_ == null) { - event_ = null; - } else { - eventBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000040); - if (timerBuilder_ == null) { - timer_ = null; - } else { - timerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000080); - if (joinBuilder_ == null) { - join_ = null; - } else { - joinBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000100); - if (stateBuilder_ == null) { - state_ = null; - } else { - stateBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000200); - if (compositeBuilder_ == null) { - composite_ = null; - } else { - compositeBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000400); - if (forEachBuilder_ == null) { - forEach_ = null; - } else { - forEachBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000800); - if (asyncEventBuilder_ == null) { - asyncEvent_ = null; - } else { - asyncEventBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00001000); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.type_ = type_; - if (((from_bitField0_ & 0x00000002) != 0)) { - if (ruleSetBuilder_ == null) { - result.ruleSet_ = ruleSet_; - } else { - result.ruleSet_ = ruleSetBuilder_.build(); - } - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - if (humanTaskBuilder_ == null) { - result.humanTask_ = humanTask_; - } else { - result.humanTask_ = humanTaskBuilder_.build(); + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(1, type_); } - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - if (workItemBuilder_ == null) { - result.workItem_ = workItem_; - } else { - result.workItem_ = workItemBuilder_.build(); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getCron()); } - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - if (subProcessBuilder_ == null) { - result.subProcess_ = subProcess_; - } else { - result.subProcess_ = subProcessBuilder_.build(); + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(3, getInterval()); } - to_bitField0_ |= 0x00000010; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - if (milestoneBuilder_ == null) { - result.milestone_ = milestone_; - } else { - result.milestone_ = milestoneBuilder_.build(); + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(4, getPit()); } - to_bitField0_ |= 0x00000020; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - if (eventBuilder_ == null) { - result.event_ = event_; - } else { - result.event_ = eventBuilder_.build(); + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(5, getCmdt()); } - to_bitField0_ |= 0x00000040; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - if (timerBuilder_ == null) { - result.timer_ = timer_; - } else { - result.timer_ = timerBuilder_.build(); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } - to_bitField0_ |= 0x00000080; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - if (joinBuilder_ == null) { - result.join_ = join_; - } else { - result.join_ = joinBuilder_.build(); + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCron()); } - to_bitField0_ |= 0x00000100; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - if (stateBuilder_ == null) { - result.state_ = state_; - } else { - result.state_ = stateBuilder_.build(); + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInterval()); } - to_bitField0_ |= 0x00000200; - } - if (((from_bitField0_ & 0x00000400) != 0)) { - if (compositeBuilder_ == null) { - result.composite_ = composite_; - } else { - result.composite_ = compositeBuilder_.build(); + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getPit()); } - to_bitField0_ |= 0x00000400; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - if (forEachBuilder_ == null) { - result.forEach_ = forEach_; - } else { - result.forEach_ = forEachBuilder_.build(); + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCmdt()); } - to_bitField0_ |= 0x00000800; - } - if (((from_bitField0_ & 0x00001000) != 0)) { - if (asyncEventBuilder_ == null) { - result.asyncEvent_ = asyncEvent_; - } else { - result.asyncEvent_ = asyncEventBuilder_.build(); - } - to_bitField0_ |= 0x00001000; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.getDefaultInstance()) return this; - if (other.hasType()) { - setType(other.getType()); - } - if (other.hasRuleSet()) { - mergeRuleSet(other.getRuleSet()); - } - if (other.hasHumanTask()) { - mergeHumanTask(other.getHumanTask()); - } - if (other.hasWorkItem()) { - mergeWorkItem(other.getWorkItem()); - } - if (other.hasSubProcess()) { - mergeSubProcess(other.getSubProcess()); - } - if (other.hasMilestone()) { - mergeMilestone(other.getMilestone()); - } - if (other.hasEvent()) { - mergeEvent(other.getEvent()); - } - if (other.hasTimer()) { - mergeTimer(other.getTimer()); - } - if (other.hasJoin()) { - mergeJoin(other.getJoin()); - } - if (other.hasState()) { - mergeState(other.getState()); - } - if (other.hasComposite()) { - mergeComposite(other.getComposite()); - } - if (other.hasForEach()) { - mergeForEach(other.getForEach()); - } - if (other.hasAsyncEvent()) { - mergeAsyncEvent(other.getAsyncEvent()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; } @java.lang.Override - public final boolean isInitialized() { - return true; + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger) obj; + + if (hasType() != other.hasType()) + return false; + if (hasType()) { + if (type_ != other.type_) + return false; + } + if (hasCron() != other.hasCron()) + return false; + if (hasCron()) { + if (!getCron() + .equals(other.getCron())) + return false; + } + if (hasInterval() != other.hasInterval()) + return false; + if (hasInterval()) { + if (!getInterval() + .equals(other.getInterval())) + return false; + } + if (hasPit() != other.hasPit()) + return false; + if (hasPit()) { + if (!getPit() + .equals(other.getPit())) + return false; + } + if (hasCmdt() != other.hasCmdt()) + return false; + if (hasCmdt()) { + if (!getCmdt() + .equals(other.getCmdt())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; } @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; } - } - return this; + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasType()) { + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + } + if (hasCron()) { + hash = (37 * hash) + CRON_FIELD_NUMBER; + hash = (53 * hash) + getCron().hashCode(); + } + if (hasInterval()) { + hash = (37 * hash) + INTERVAL_FIELD_NUMBER; + hash = (53 * hash) + getInterval().hashCode(); + } + if (hasPit()) { + hash = (37 * hash) + PIT_FIELD_NUMBER; + hash = (53 * hash) + getPit().hashCode(); + } + if (hasCmdt()) { + hash = (37 * hash) + CMDT_FIELD_NUMBER; + hash = (53 * hash) + getCmdt().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } - private int bitField0_; - private int type_ = 0; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; - * @return Whether the type field is set. - */ - @java.lang.Override public boolean hasType() { - return ((bitField0_ & 0x00000001) != 0); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; - * @return The type. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType getType() { - @SuppressWarnings("deprecation") - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType result = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType.valueOf(type_); - return result == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType.RULE_SET_NODE : result; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; - * @param value The type to set. - * @return This builder for chaining. - */ - public Builder setType(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - type_ = value.getNumber(); - onChanged(); - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; - * @return This builder for chaining. - */ - public Builder clearType() { - bitField0_ = (bitField0_ & ~0x00000001); - type_ = 0; - onChanged(); - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode ruleSet_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder> ruleSetBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - * @return Whether the ruleSet field is set. - */ - public boolean hasRuleSet() { - return ((bitField0_ & 0x00000002) != 0); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - * @return The ruleSet. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getRuleSet() { - if (ruleSetBuilder_ == null) { - return ruleSet_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.getDefaultInstance() : ruleSet_; - } else { - return ruleSetBuilder_.getMessage(); - } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - public Builder setRuleSet(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode value) { - if (ruleSetBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ruleSet_ = value; - onChanged(); - } else { - ruleSetBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - public Builder setRuleSet( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder builderForValue) { - if (ruleSetBuilder_ == null) { - ruleSet_ = builderForValue.build(); - onChanged(); - } else { - ruleSetBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - public Builder mergeRuleSet(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode value) { - if (ruleSetBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - ruleSet_ != null && - ruleSet_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.getDefaultInstance()) { - ruleSet_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.newBuilder(ruleSet_).mergeFrom(value).buildPartial(); - } else { - ruleSet_ = value; - } - onChanged(); - } else { - ruleSetBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - public Builder clearRuleSet() { - if (ruleSetBuilder_ == null) { - ruleSet_ = null; - onChanged(); - } else { - ruleSetBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder getRuleSetBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getRuleSetFieldBuilder().getBuilder(); + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder getRuleSetOrBuilder() { - if (ruleSetBuilder_ != null) { - return ruleSetBuilder_.getMessageOrBuilder(); - } else { - return ruleSet_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.getDefaultInstance() : ruleSet_; - } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder> - getRuleSetFieldBuilder() { - if (ruleSetBuilder_ == null) { - ruleSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder>( - getRuleSet(), - getParentForChildren(), - isClean()); - ruleSet_ = null; - } - return ruleSetBuilder_; + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode humanTask_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder> humanTaskBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - * @return Whether the humanTask field is set. - */ - public boolean hasHumanTask() { - return ((bitField0_ & 0x00000004) != 0); + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - * @return The humanTask. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getHumanTask() { - if (humanTaskBuilder_ == null) { - return humanTask_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.getDefaultInstance() : humanTask_; - } else { - return humanTaskBuilder_.getMessage(); - } + + public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - public Builder setHumanTask(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode value) { - if (humanTaskBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - humanTask_ = value; - onChanged(); - } else { - humanTaskBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - return this; + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - public Builder setHumanTask( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder builderForValue) { - if (humanTaskBuilder_ == null) { - humanTask_ = builderForValue.build(); - onChanged(); - } else { - humanTaskBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - return this; + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; } + /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Trigger} */ - public Builder mergeHumanTask(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode value) { - if (humanTaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - humanTask_ != null && - humanTask_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.getDefaultInstance()) { - humanTask_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.newBuilder(humanTask_).mergeFrom(value).buildPartial(); - } else { - humanTask_ = value; + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Trigger) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor; } - onChanged(); - } else { - humanTaskBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - public Builder clearHumanTask() { - if (humanTaskBuilder_ == null) { - humanTask_ = null; - onChanged(); - } else { - humanTaskBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder getHumanTaskBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getHumanTaskFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder getHumanTaskOrBuilder() { - if (humanTaskBuilder_ != null) { - return humanTaskBuilder_.getMessageOrBuilder(); - } else { - return humanTask_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.getDefaultInstance() : humanTask_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder> - getHumanTaskFieldBuilder() { - if (humanTaskBuilder_ == null) { - humanTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder>( - getHumanTask(), - getParentForChildren(), - isClean()); - humanTask_ = null; - } - return humanTaskBuilder_; - } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode workItem_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder> workItemBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - * @return Whether the workItem field is set. - */ - public boolean hasWorkItem() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - * @return The workItem. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getWorkItem() { - if (workItemBuilder_ == null) { - return workItem_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.getDefaultInstance() : workItem_; - } else { - return workItemBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - public Builder setWorkItem(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode value) { - if (workItemBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder.class); } - workItem_ = value; - onChanged(); - } else { - workItemBuilder_.setMessage(value); - } - bitField0_ |= 0x00000008; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - public Builder setWorkItem( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder builderForValue) { - if (workItemBuilder_ == null) { - workItem_ = builderForValue.build(); - onChanged(); - } else { - workItemBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000008; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - public Builder mergeWorkItem(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode value) { - if (workItemBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - workItem_ != null && - workItem_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.getDefaultInstance()) { - workItem_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.newBuilder(workItem_).mergeFrom(value).buildPartial(); - } else { - workItem_ = value; + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); } - onChanged(); - } else { - workItemBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000008; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - public Builder clearWorkItem() { - if (workItemBuilder_ == null) { - workItem_ = null; - onChanged(); - } else { - workItemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder getWorkItemBuilder() { - bitField0_ |= 0x00000008; - onChanged(); - return getWorkItemFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder getWorkItemOrBuilder() { - if (workItemBuilder_ != null) { - return workItemBuilder_.getMessageOrBuilder(); - } else { - return workItem_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.getDefaultInstance() : workItem_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder> - getWorkItemFieldBuilder() { - if (workItemBuilder_ == null) { - workItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder>( - getWorkItem(), - getParentForChildren(), - isClean()); - workItem_ = null; - } - return workItemBuilder_; - } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode subProcess_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder> subProcessBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - * @return Whether the subProcess field is set. - */ - public boolean hasSubProcess() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - * @return The subProcess. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getSubProcess() { - if (subProcessBuilder_ == null) { - return subProcess_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.getDefaultInstance() : subProcess_; - } else { - return subProcessBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - public Builder setSubProcess(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode value) { - if (subProcessBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); } - subProcess_ = value; - onChanged(); - } else { - subProcessBuilder_.setMessage(value); - } - bitField0_ |= 0x00000010; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - public Builder setSubProcess( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder builderForValue) { - if (subProcessBuilder_ == null) { - subProcess_ = builderForValue.build(); - onChanged(); - } else { - subProcessBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000010; - return this; + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCronFieldBuilder(); + getIntervalFieldBuilder(); + getPitFieldBuilder(); + getCmdtFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + type_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + if (cronBuilder_ == null) { + cron_ = null; + } else { + cronBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + if (intervalBuilder_ == null) { + interval_ = null; + } else { + intervalBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + if (pitBuilder_ == null) { + pit_ = null; + } else { + pitBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (cmdtBuilder_ == null) { + cmdt_ = null; + } else { + cmdtBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.type_ = type_; + if (((from_bitField0_ & 0x00000002) != 0)) { + if (cronBuilder_ == null) { + result.cron_ = cron_; + } else { + result.cron_ = cronBuilder_.build(); + } + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + if (intervalBuilder_ == null) { + result.interval_ = interval_; + } else { + result.interval_ = intervalBuilder_.build(); + } + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + if (pitBuilder_ == null) { + result.pit_ = pit_; + } else { + result.pit_ = pitBuilder_.build(); + } + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + if (cmdtBuilder_ == null) { + result.cmdt_ = cmdt_; + } else { + result.cmdt_ = cmdtBuilder_.build(); + } + to_bitField0_ |= 0x00000010; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger) { + return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance()) + return this; + if (other.hasType()) { + setType(other.getType()); + } + if (other.hasCron()) { + mergeCron(other.getCron()); + } + if (other.hasInterval()) { + mergeInterval(other.getInterval()); + } + if (other.hasPit()) { + mergePit(other.getPit()); + } + if (other.hasCmdt()) { + mergeCmdt(other.getCmdt()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private int type_ = 0; + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; + * + * @return Whether the type field is set. + */ + @java.lang.Override + public boolean hasType() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; + * + * @return The type. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType getType() { + @SuppressWarnings("deprecation") + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType result = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType + .valueOf(type_); + return result == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType.CRON + : result; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; + * + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.TriggerType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + type_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.TriggerType type = 1; + * + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000001); + type_ = 0; + onChanged(); + return this; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger cron_; + private com.google.protobuf.SingleFieldBuilderV3 cronBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; + * + * @return Whether the cron field is set. + */ + public boolean hasCron() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; + * + * @return The cron. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger getCron() { + if (cronBuilder_ == null) { + return cron_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger + .getDefaultInstance() + : cron_; + } else { + return cronBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; + */ + public Builder setCron( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger value) { + if (cronBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + cron_ = value; + onChanged(); + } else { + cronBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; + */ + public Builder setCron( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.Builder builderForValue) { + if (cronBuilder_ == null) { + cron_ = builderForValue.build(); + onChanged(); + } else { + cronBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; + */ + public Builder mergeCron( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger value) { + if (cronBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + cron_ != null && + cron_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger + .getDefaultInstance()) { + cron_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger + .newBuilder(cron_).mergeFrom(value).buildPartial(); + } else { + cron_ = value; + } + onChanged(); + } else { + cronBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; + */ + public Builder clearCron() { + if (cronBuilder_ == null) { + cron_ = null; + onChanged(); + } else { + cronBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger.Builder getCronBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getCronFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTriggerOrBuilder getCronOrBuilder() { + if (cronBuilder_ != null) { + return cronBuilder_.getMessageOrBuilder(); + } else { + return cron_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CronTrigger + .getDefaultInstance() + : cron_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CronTrigger cron = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3 getCronFieldBuilder() { + if (cronBuilder_ == null) { + cronBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getCron(), + getParentForChildren(), + isClean()); + cron_ = null; + } + return cronBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger interval_; + private com.google.protobuf.SingleFieldBuilderV3 intervalBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; + * + * @return Whether the interval field is set. + */ + public boolean hasInterval() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; + * + * @return The interval. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger getInterval() { + if (intervalBuilder_ == null) { + return interval_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger + .getDefaultInstance() + : interval_; + } else { + return intervalBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; + */ + public Builder setInterval( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger value) { + if (intervalBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + interval_ = value; + onChanged(); + } else { + intervalBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; + */ + public Builder setInterval( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.Builder builderForValue) { + if (intervalBuilder_ == null) { + interval_ = builderForValue.build(); + onChanged(); + } else { + intervalBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; + */ + public Builder mergeInterval( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger value) { + if (intervalBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + interval_ != null && + interval_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger + .getDefaultInstance()) { + interval_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger + .newBuilder(interval_).mergeFrom(value).buildPartial(); + } else { + interval_ = value; + } + onChanged(); + } else { + intervalBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; + */ + public Builder clearInterval() { + if (intervalBuilder_ == null) { + interval_ = null; + onChanged(); + } else { + intervalBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger.Builder getIntervalBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getIntervalFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTriggerOrBuilder getIntervalOrBuilder() { + if (intervalBuilder_ != null) { + return intervalBuilder_.getMessageOrBuilder(); + } else { + return interval_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.IntervalTrigger + .getDefaultInstance() + : interval_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.IntervalTrigger interval = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3 getIntervalFieldBuilder() { + if (intervalBuilder_ == null) { + intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getInterval(), + getParentForChildren(), + isClean()); + interval_ = null; + } + return intervalBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger pit_; + private com.google.protobuf.SingleFieldBuilderV3 pitBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + * + * @return Whether the pit field is set. + */ + public boolean hasPit() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + * + * @return The pit. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger getPit() { + if (pitBuilder_ == null) { + return pit_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger + .getDefaultInstance() + : pit_; + } else { + return pitBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + */ + public Builder setPit( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger value) { + if (pitBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + pit_ = value; + onChanged(); + } else { + pitBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + */ + public Builder setPit( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.Builder builderForValue) { + if (pitBuilder_ == null) { + pit_ = builderForValue.build(); + onChanged(); + } else { + pitBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + */ + public Builder mergePit( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger value) { + if (pitBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + pit_ != null && + pit_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger + .getDefaultInstance()) { + pit_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger + .newBuilder(pit_).mergeFrom(value).buildPartial(); + } else { + pit_ = value; + } + onChanged(); + } else { + pitBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + */ + public Builder clearPit() { + if (pitBuilder_ == null) { + pit_ = null; + onChanged(); + } else { + pitBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger.Builder getPitBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getPitFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTriggerOrBuilder getPitOrBuilder() { + if (pitBuilder_ != null) { + return pitBuilder_.getMessageOrBuilder(); + } else { + return pit_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PointInTimeTrigger + .getDefaultInstance() + : pit_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.PointInTimeTrigger pit = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3 getPitFieldBuilder() { + if (pitBuilder_ == null) { + pitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getPit(), + getParentForChildren(), + isClean()); + pit_ = null; + } + return pitBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger cmdt_; + private com.google.protobuf.SingleFieldBuilderV3 cmdtBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + * + * @return Whether the cmdt field is set. + */ + public boolean hasCmdt() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + * + * @return The cmdt. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger getCmdt() { + if (cmdtBuilder_ == null) { + return cmdt_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger + .getDefaultInstance() + : cmdt_; + } else { + return cmdtBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + */ + public Builder setCmdt( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger value) { + if (cmdtBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + cmdt_ = value; + onChanged(); + } else { + cmdtBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + */ + public Builder setCmdt( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.Builder builderForValue) { + if (cmdtBuilder_ == null) { + cmdt_ = builderForValue.build(); + onChanged(); + } else { + cmdtBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + */ + public Builder mergeCmdt( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger value) { + if (cmdtBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + cmdt_ != null && + cmdt_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger + .getDefaultInstance()) { + cmdt_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger + .newBuilder(cmdt_).mergeFrom(value).buildPartial(); + } else { + cmdt_ = value; + } + onChanged(); + } else { + cmdtBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + */ + public Builder clearCmdt() { + if (cmdtBuilder_ == null) { + cmdt_ = null; + onChanged(); + } else { + cmdtBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger.Builder getCmdtBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getCmdtFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTriggerOrBuilder getCmdtOrBuilder() { + if (cmdtBuilder_ != null) { + return cmdtBuilder_.getMessageOrBuilder(); + } else { + return cmdt_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.CompositeMaxDurationTrigger + .getDefaultInstance() + : cmdt_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3 getCmdtFieldBuilder() { + if (cmdtBuilder_ == null) { + cmdtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getCmdt(), + getParentForChildren(), + isClean()); + cmdt_ = null; + } + return cmdtBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Trigger) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Trigger) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Trigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Trigger(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ProcessDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessData) + com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder { + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessData} + */ + public static final class ProcessData extends + com.google.protobuf.GeneratedMessageV3.ExtendableMessage implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessData) + ProcessDataOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ProcessData.newBuilder() to construct. + private ProcessData( + com.google.protobuf.GeneratedMessageV3.ExtendableBuilder builder) { + super(builder); + } + + private ProcessData() { + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ProcessData(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ProcessData( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + if (!extensionsAreInitialized()) { + memoizedIsInitialized = 0; + return false; + } + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter extensionWriter = newExtensionWriter(); + extensionWriter.writeUntil(200, output); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + size += extensionsSerializedSize(); + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData) obj; + + if (!unknownFields.equals(other.unknownFields)) + return false; + if (!getExtensionFields().equals(other.getExtensionFields())) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = hashFields(hash, getExtensionFields()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.ExtendableBuilder + implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessData) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData( + this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder setExtension( + com.google.protobuf.GeneratedMessage.GeneratedExtension extension, + Type value) { + return super.setExtension(extension, value); + } + + @java.lang.Override + public Builder setExtension( + com.google.protobuf.GeneratedMessage.GeneratedExtension> extension, + int index, Type value) { + return super.setExtension(extension, index, value); + } + + @java.lang.Override + public Builder addExtension( + com.google.protobuf.GeneratedMessage.GeneratedExtension> extension, + Type value) { + return super.addExtension(extension, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData) { + return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData.getDefaultInstance()) + return this; + this.mergeExtensionFields(other); + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + if (!extensionsAreInitialized()) { + return false; + } + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessData) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessData) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProcessData(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ProcessInstanceOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string process_type = 1; + * + * @return Whether the processType field is set. + */ + boolean hasProcessType(); + + /** + * optional string process_type = 1; + * + * @return The processType. + */ + java.lang.String getProcessType(); + + /** + * optional string process_type = 1; + * + * @return The bytes for processType. + */ + com.google.protobuf.ByteString getProcessTypeBytes(); + + /** + * optional string id = 2; + * + * @return Whether the id field is set. + */ + boolean hasId(); + + /** + * optional string id = 2; + * + * @return The id. + */ + java.lang.String getId(); + + /** + * optional string id = 2; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * optional string process_id = 3; + * + * @return Whether the processId field is set. + */ + boolean hasProcessId(); + + /** + * optional string process_id = 3; + * + * @return The processId. + */ + java.lang.String getProcessId(); + + /** + * optional string process_id = 3; + * + * @return The bytes for processId. + */ + com.google.protobuf.ByteString getProcessIdBytes(); + + /** + * optional string process_version = 31; + * + * @return Whether the processVersion field is set. + */ + boolean hasProcessVersion(); + + /** + * optional string process_version = 31; + * + * @return The processVersion. + */ + java.lang.String getProcessVersion(); + + /** + * optional string process_version = 31; + * + * @return The bytes for processVersion. + */ + com.google.protobuf.ByteString getProcessVersionBytes(); + + /** + * optional int32 state = 4; + * + * @return Whether the state field is set. + */ + boolean hasState(); + + /** + * optional int32 state = 4; + * + * @return The state. + */ + int getState(); + + /** + * optional int64 node_instance_counter = 5; + * + * @return Whether the nodeInstanceCounter field is set. + */ + boolean hasNodeInstanceCounter(); + + /** + * optional int64 node_instance_counter = 5; + * + * @return The nodeInstanceCounter. + */ + long getNodeInstanceCounter(); + + /** + * optional string process_xml = 11; + * + * @return Whether the processXml field is set. + */ + boolean hasProcessXml(); + + /** + * optional string process_xml = 11; + * + * @return The processXml. + */ + java.lang.String getProcessXml(); + + /** + * optional string process_xml = 11; + * + * @return The bytes for processXml. + */ + com.google.protobuf.ByteString getProcessXmlBytes(); + + /** + * optional string parent_process_instance_id = 12; + * + * @return Whether the parentProcessInstanceId field is set. + */ + boolean hasParentProcessInstanceId(); + + /** + * optional string parent_process_instance_id = 12; + * + * @return The parentProcessInstanceId. + */ + java.lang.String getParentProcessInstanceId(); + + /** + * optional string parent_process_instance_id = 12; + * + * @return The bytes for parentProcessInstanceId. + */ + com.google.protobuf.ByteString getParentProcessInstanceIdBytes(); + + /** + * optional string description = 15; + * + * @return Whether the description field is set. + */ + boolean hasDescription(); + + /** + * optional string description = 15; + * + * @return The description. + */ + java.lang.String getDescription(); + + /** + * optional string description = 15; + * + * @return The bytes for description. + */ + com.google.protobuf.ByteString getDescriptionBytes(); + + /** + * optional bool signal_completion = 16 [default = true]; + * + * @return Whether the signalCompletion field is set. + */ + boolean hasSignalCompletion(); + + /** + * optional bool signal_completion = 16 [default = true]; + * + * @return The signalCompletion. + */ + boolean getSignalCompletion(); + + /** + * optional string deploymentId = 17; + * + * @return Whether the deploymentId field is set. + */ + boolean hasDeploymentId(); + + /** + * optional string deploymentId = 17; + * + * @return The deploymentId. + */ + java.lang.String getDeploymentId(); + + /** + * optional string deploymentId = 17; + * + * @return The bytes for deploymentId. + */ + com.google.protobuf.ByteString getDeploymentIdBytes(); + + /** + * optional string correlation_key = 18; + * + * @return Whether the correlationKey field is set. + */ + boolean hasCorrelationKey(); + + /** + * optional string correlation_key = 18; + * + * @return The correlationKey. + */ + java.lang.String getCorrelationKey(); + + /** + * optional string correlation_key = 18; + * + * @return The bytes for correlationKey. + */ + com.google.protobuf.ByteString getCorrelationKeyBytes(); + + /** + * optional string sla_timer_id = 19; + * + * @return Whether the slaTimerId field is set. + */ + boolean hasSlaTimerId(); + + /** + * optional string sla_timer_id = 19; + * + * @return The slaTimerId. + */ + java.lang.String getSlaTimerId(); + + /** + * optional string sla_timer_id = 19; + * + * @return The bytes for slaTimerId. + */ + com.google.protobuf.ByteString getSlaTimerIdBytes(); + + /** + * optional int64 sla_due_date = 20; + * + * @return Whether the slaDueDate field is set. + */ + boolean hasSlaDueDate(); + + /** + * optional int64 sla_due_date = 20; + * + * @return The slaDueDate. + */ + long getSlaDueDate(); + + /** + * optional int32 sla_compliance = 21; + * + * @return Whether the slaCompliance field is set. + */ + boolean hasSlaCompliance(); + + /** + * optional int32 sla_compliance = 21; + * + * @return The slaCompliance. + */ + int getSlaCompliance(); + + /** + * optional string root_process_instance_id = 22; + * + * @return Whether the rootProcessInstanceId field is set. + */ + boolean hasRootProcessInstanceId(); + + /** + * optional string root_process_instance_id = 22; + * + * @return The rootProcessInstanceId. + */ + java.lang.String getRootProcessInstanceId(); + + /** + * optional string root_process_instance_id = 22; + * + * @return The bytes for rootProcessInstanceId. + */ + com.google.protobuf.ByteString getRootProcessInstanceIdBytes(); + + /** + * optional int64 start_date = 23; + * + * @return Whether the startDate field is set. + */ + boolean hasStartDate(); + + /** + * optional int64 start_date = 23; + * + * @return The startDate. + */ + long getStartDate(); + + /** + * optional string root_process_id = 24; + * + * @return Whether the rootProcessId field is set. + */ + boolean hasRootProcessId(); + + /** + * optional string root_process_id = 24; + * + * @return The rootProcessId. + */ + java.lang.String getRootProcessId(); + + /** + * optional string root_process_id = 24; + * + * @return The bytes for rootProcessId. + */ + com.google.protobuf.ByteString getRootProcessIdBytes(); + + /** + * optional string reference_id = 25; + * + * @return Whether the referenceId field is set. + */ + boolean hasReferenceId(); + + /** + * optional string reference_id = 25; + * + * @return The referenceId. + */ + java.lang.String getReferenceId(); + + /** + * optional string reference_id = 25; + * + * @return The bytes for referenceId. + */ + com.google.protobuf.ByteString getReferenceIdBytes(); + + /** + * optional string initiator = 26; + * + * @return Whether the initiator field is set. + */ + boolean hasInitiator(); + + /** + * optional string initiator = 26; + * + * @return The initiator. + */ + java.lang.String getInitiator(); + + /** + * optional string initiator = 26; + * + * @return The bytes for initiator. + */ + com.google.protobuf.ByteString getInitiatorBytes(); + + /** + * optional string reference_from_root = 30; + * + * @return Whether the referenceFromRoot field is set. + */ + boolean hasReferenceFromRoot(); + + /** + * optional string reference_from_root = 30; + * + * @return The referenceFromRoot. + */ + java.lang.String getReferenceFromRoot(); + + /** + * optional string reference_from_root = 30; + * + * @return The bytes for referenceFromRoot. + */ + com.google.protobuf.ByteString getReferenceFromRootBytes(); + + /** + * optional int64 end_date = 33; + * + * @return Whether the endDate field is set. + */ + boolean hasEndDate(); + + /** + * optional int64 end_date = 33; + * + * @return The endDate. + */ + long getEndDate(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + java.util.List getSwimlaneContextList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance getSwimlaneContext( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + int getSwimlaneContextCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + java.util.List getSwimlaneContextOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder getSwimlaneContextOrBuilder( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + java.util.List getNodeInstanceList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + int getNodeInstanceCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + java.util.List getNodeInstanceOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + java.util.List getVariableList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + int getVariableCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + java.util.List getVariableOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + java.util.List getExclusiveGroupList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + int getExclusiveGroupCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + java.util.List getExclusiveGroupOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( + int index); + + /** + * repeated string completedNodeIds = 13; + * + * @return A list containing the completedNodeIds. + */ + java.util.List getCompletedNodeIdsList(); + + /** + * repeated string completedNodeIds = 13; + * + * @return The count of completedNodeIds. + */ + int getCompletedNodeIdsCount(); + + /** + * repeated string completedNodeIds = 13; + * + * @param index The index of the element to return. + * @return The completedNodeIds at the given index. + */ + java.lang.String getCompletedNodeIds(int index); + + /** + * repeated string completedNodeIds = 13; + * + * @param index The index of the value to return. + * @return The bytes of the completedNodeIds at the given index. + */ + com.google.protobuf.ByteString getCompletedNodeIdsBytes(int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + java.util.List getIterationLevelsList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels(int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + int getIterationLevelsCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + java.util.List getIterationLevelsOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + java.util.List getChildrenList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren getChildren( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + int getChildrenCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + java.util.List getChildrenOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildrenOrBuilder getChildrenOrBuilder( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + java.util.List getTagsList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag getTags(int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + int getTagsCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + java.util.List getTagsOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.TagOrBuilder getTagsOrBuilder( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + java.util.List getErrorsList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error getErrors(int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + int getErrorsCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + java.util.List getErrorsOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ErrorOrBuilder getErrorsOrBuilder( + int index); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + * + * @return Whether the recoveryItem field is set. + */ + boolean hasRecoveryItem(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + * + * @return The recoveryItem. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem getRecoveryItem(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItemOrBuilder getRecoveryItemOrBuilder(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + java.util.List getFinishedSubprocessesList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses getFinishedSubprocesses( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + int getFinishedSubprocessesCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + java.util.List getFinishedSubprocessesOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcessesOrBuilder getFinishedSubprocessesOrBuilder( + int index); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance} + */ + public static final class ProcessInstance extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance) + ProcessInstanceOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ProcessInstance.newBuilder() to construct. + private ProcessInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ProcessInstance() { + processType_ = ""; + id_ = ""; + processId_ = ""; + processVersion_ = ""; + processXml_ = ""; + parentProcessInstanceId_ = ""; + description_ = ""; + signalCompletion_ = true; + deploymentId_ = ""; + correlationKey_ = ""; + slaTimerId_ = ""; + rootProcessInstanceId_ = ""; + rootProcessId_ = ""; + referenceId_ = ""; + initiator_ = ""; + referenceFromRoot_ = ""; + swimlaneContext_ = java.util.Collections.emptyList(); + nodeInstance_ = java.util.Collections.emptyList(); + variable_ = java.util.Collections.emptyList(); + exclusiveGroup_ = java.util.Collections.emptyList(); + completedNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + iterationLevels_ = java.util.Collections.emptyList(); + children_ = java.util.Collections.emptyList(); + tags_ = java.util.Collections.emptyList(); + errors_ = java.util.Collections.emptyList(); + finishedSubprocesses_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ProcessInstance(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ProcessInstance( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + int mutable_bitField1_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + processType_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + id_ = bs; + break; + } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000004; + processId_ = bs; + break; + } + case 32: { + bitField0_ |= 0x00000010; + state_ = input.readInt32(); + break; + } + case 40: { + bitField0_ |= 0x00000020; + nodeInstanceCounter_ = input.readInt64(); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00400000) != 0)) { + swimlaneContext_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00400000; + } + swimlaneContext_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.PARSER, + extensionRegistry)); + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00800000) != 0)) { + nodeInstance_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00800000; + } + nodeInstance_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.PARSER, + extensionRegistry)); + break; + } + case 66: { + if (!((mutable_bitField0_ & 0x01000000) != 0)) { + variable_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x01000000; + } + variable_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.PARSER, + extensionRegistry)); + break; + } + case 82: { + if (!((mutable_bitField0_ & 0x02000000) != 0)) { + exclusiveGroup_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x02000000; + } + exclusiveGroup_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.PARSER, + extensionRegistry)); + break; + } + case 90: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000040; + processXml_ = bs; + break; + } + case 98: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000080; + parentProcessInstanceId_ = bs; + break; + } + case 106: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x04000000) != 0)) { + completedNodeIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x04000000; + } + completedNodeIds_.add(bs); + break; + } + case 114: { + if (!((mutable_bitField0_ & 0x08000000) != 0)) { + iterationLevels_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x08000000; + } + iterationLevels_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.PARSER, + extensionRegistry)); + break; + } + case 122: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000100; + description_ = bs; + break; + } + case 128: { + bitField0_ |= 0x00000200; + signalCompletion_ = input.readBool(); + break; + } + case 138: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000400; + deploymentId_ = bs; + break; + } + case 146: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000800; + correlationKey_ = bs; + break; + } + case 154: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00001000; + slaTimerId_ = bs; + break; + } + case 160: { + bitField0_ |= 0x00002000; + slaDueDate_ = input.readInt64(); + break; + } + case 168: { + bitField0_ |= 0x00004000; + slaCompliance_ = input.readInt32(); + break; + } + case 178: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00008000; + rootProcessInstanceId_ = bs; + break; + } + case 184: { + bitField0_ |= 0x00010000; + startDate_ = input.readInt64(); + break; + } + case 194: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00020000; + rootProcessId_ = bs; + break; + } + case 202: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00040000; + referenceId_ = bs; + break; + } + case 210: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00080000; + initiator_ = bs; + break; + } + case 218: { + if (!((mutable_bitField0_ & 0x10000000) != 0)) { + children_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x10000000; + } + children_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.PARSER, + extensionRegistry)); + break; + } + case 226: { + if (!((mutable_bitField0_ & 0x20000000) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x20000000; + } + tags_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.PARSER, + extensionRegistry)); + break; + } + case 234: { + if (!((mutable_bitField0_ & 0x40000000) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x40000000; + } + errors_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.PARSER, + extensionRegistry)); + break; + } + case 242: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00100000; + referenceFromRoot_ = bs; + break; + } + case 250: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000008; + processVersion_ = bs; + break; + } + case 258: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.Builder subBuilder = null; + if (((bitField0_ & 0x00400000) != 0)) { + subBuilder = recoveryItem_.toBuilder(); + } + recoveryItem_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(recoveryItem_); + recoveryItem_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00400000; + break; + } + case 264: { + bitField0_ |= 0x00200000; + endDate_ = input.readInt64(); + break; + } + case 274: { + if (!((mutable_bitField1_ & 0x00000001) != 0)) { + finishedSubprocesses_ = new java.util.ArrayList(); + mutable_bitField1_ |= 0x00000001; + } + finishedSubprocesses_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.PARSER, + extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00400000) != 0)) { + swimlaneContext_ = java.util.Collections.unmodifiableList(swimlaneContext_); + } + if (((mutable_bitField0_ & 0x00800000) != 0)) { + nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); + } + if (((mutable_bitField0_ & 0x01000000) != 0)) { + variable_ = java.util.Collections.unmodifiableList(variable_); + } + if (((mutable_bitField0_ & 0x02000000) != 0)) { + exclusiveGroup_ = java.util.Collections.unmodifiableList(exclusiveGroup_); + } + if (((mutable_bitField0_ & 0x04000000) != 0)) { + completedNodeIds_ = completedNodeIds_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x08000000) != 0)) { + iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); + } + if (((mutable_bitField0_ & 0x10000000) != 0)) { + children_ = java.util.Collections.unmodifiableList(children_); + } + if (((mutable_bitField0_ & 0x20000000) != 0)) { + tags_ = java.util.Collections.unmodifiableList(tags_); + } + if (((mutable_bitField0_ & 0x40000000) != 0)) { + errors_ = java.util.Collections.unmodifiableList(errors_); + } + if (((mutable_bitField1_ & 0x00000001) != 0)) { + finishedSubprocesses_ = java.util.Collections.unmodifiableList(finishedSubprocesses_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Builder.class); + } + + /** + * Protobuf enum {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType} + */ + public enum NodeInstanceType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * RULE_SET_NODE = 0; + */ + RULE_SET_NODE(0), + /** + * HUMAN_TASK_NODE = 1; + */ + HUMAN_TASK_NODE(1), + /** + * WORK_ITEM_NODE = 2; + */ + WORK_ITEM_NODE(2), + /** + * SUBPROCESS_NODE = 3; + */ + SUBPROCESS_NODE(3), + /** + * MILESTONE_NODE = 4; + */ + MILESTONE_NODE(4), + /** + * EVENT_NODE = 5; + */ + EVENT_NODE(5), + /** + * TIMER_NODE = 6; + */ + TIMER_NODE(6), + /** + * JOIN_NODE = 7; + */ + JOIN_NODE(7), + /** + * STATE_NODE = 8; + */ + STATE_NODE(8), + /** + * COMPOSITE_CONTEXT_NODE = 9; + */ + COMPOSITE_CONTEXT_NODE(9), + /** + * FOR_EACH_NODE = 10; + */ + FOR_EACH_NODE(10), + /** + * DYNAMIC_NODE = 11; + */ + DYNAMIC_NODE(11), + /** + * EVENT_SUBPROCESS_NODE = 12; + */ + EVENT_SUBPROCESS_NODE(12), + /** + * ASYNC_EVENT_NODE = 13; + */ + ASYNC_EVENT_NODE(13), + /** + * SUB_PROCESS_NODE = 14; + */ + SUB_PROCESS_NODE(14), + ; + + /** + * RULE_SET_NODE = 0; + */ + public static final int RULE_SET_NODE_VALUE = 0; + /** + * HUMAN_TASK_NODE = 1; + */ + public static final int HUMAN_TASK_NODE_VALUE = 1; + /** + * WORK_ITEM_NODE = 2; + */ + public static final int WORK_ITEM_NODE_VALUE = 2; + /** + * SUBPROCESS_NODE = 3; + */ + public static final int SUBPROCESS_NODE_VALUE = 3; + /** + * MILESTONE_NODE = 4; + */ + public static final int MILESTONE_NODE_VALUE = 4; + /** + * EVENT_NODE = 5; + */ + public static final int EVENT_NODE_VALUE = 5; + /** + * TIMER_NODE = 6; + */ + public static final int TIMER_NODE_VALUE = 6; + /** + * JOIN_NODE = 7; + */ + public static final int JOIN_NODE_VALUE = 7; + /** + * STATE_NODE = 8; + */ + public static final int STATE_NODE_VALUE = 8; + /** + * COMPOSITE_CONTEXT_NODE = 9; + */ + public static final int COMPOSITE_CONTEXT_NODE_VALUE = 9; + /** + * FOR_EACH_NODE = 10; + */ + public static final int FOR_EACH_NODE_VALUE = 10; + /** + * DYNAMIC_NODE = 11; + */ + public static final int DYNAMIC_NODE_VALUE = 11; + /** + * EVENT_SUBPROCESS_NODE = 12; + */ + public static final int EVENT_SUBPROCESS_NODE_VALUE = 12; + /** + * ASYNC_EVENT_NODE = 13; + */ + public static final int ASYNC_EVENT_NODE_VALUE = 13; + /** + * SUB_PROCESS_NODE = 14; + */ + public static final int SUB_PROCESS_NODE_VALUE = 14; + + public final int getNumber() { + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static NodeInstanceType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static NodeInstanceType forNumber(int value) { + switch (value) { + case 0: + return RULE_SET_NODE; + case 1: + return HUMAN_TASK_NODE; + case 2: + return WORK_ITEM_NODE; + case 3: + return SUBPROCESS_NODE; + case 4: + return MILESTONE_NODE; + case 5: + return EVENT_NODE; + case 6: + return TIMER_NODE; + case 7: + return JOIN_NODE; + case 8: + return STATE_NODE; + case 9: + return COMPOSITE_CONTEXT_NODE; + case 10: + return FOR_EACH_NODE; + case 11: + return DYNAMIC_NODE; + case 12: + return EVENT_SUBPROCESS_NODE; + case 13: + return ASYNC_EVENT_NODE; + case 14: + return SUB_PROCESS_NODE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { + public NodeInstanceType findValueByNumber(int number) { + return NodeInstanceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.getDescriptor() + .getEnumTypes().get(0); + } + + private static final NodeInstanceType[] VALUES = values(); + + public static NodeInstanceType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private NodeInstanceType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType) + } + + public interface ProcessInstanchChildrenOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string process_id = 1; + * + * @return Whether the processId field is set. + */ + boolean hasProcessId(); + + /** + * optional string process_id = 1; + * + * @return The processId. + */ + java.lang.String getProcessId(); + + /** + * optional string process_id = 1; + * + * @return The bytes for processId. + */ + com.google.protobuf.ByteString getProcessIdBytes(); + + /** + * repeated string ids = 2; + * + * @return A list containing the ids. + */ + java.util.List getIdsList(); + + /** + * repeated string ids = 2; + * + * @return The count of ids. + */ + int getIdsCount(); + + /** + * repeated string ids = 2; + * + * @param index The index of the element to return. + * @return The ids at the given index. + */ + java.lang.String getIds(int index); + + /** + * repeated string ids = 2; + * + * @param index The index of the value to return. + * @return The bytes of the ids at the given index. + */ + com.google.protobuf.ByteString getIdsBytes(int index); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren} + */ + public static final class ProcessInstanchChildren extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren) + ProcessInstanchChildrenOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ProcessInstanchChildren.newBuilder() to construct. + private ProcessInstanchChildren(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ProcessInstanchChildren() { + processId_ = ""; + ids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ProcessInstanchChildren(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ProcessInstanchChildren( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + processId_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + ids_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + ids_.add(bs); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) != 0)) { + ids_ = ids_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder.class); + } + + private int bitField0_; + public static final int PROCESS_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object processId_; + + /** + * optional string process_id = 1; + * + * @return Whether the processId field is set. + */ + @java.lang.Override + public boolean hasProcessId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string process_id = 1; + * + * @return The processId. + */ + @java.lang.Override + public java.lang.String getProcessId() { + java.lang.Object ref = processId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processId_ = s; + } + return s; + } + } + + /** + * optional string process_id = 1; + * + * @return The bytes for processId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProcessIdBytes() { + java.lang.Object ref = processId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int IDS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList ids_; + + /** + * repeated string ids = 2; + * + * @return A list containing the ids. + */ + public com.google.protobuf.ProtocolStringList getIdsList() { + return ids_; + } + + /** + * repeated string ids = 2; + * + * @return The count of ids. + */ + public int getIdsCount() { + return ids_.size(); + } + + /** + * repeated string ids = 2; + * + * @param index The index of the element to return. + * @return The ids at the given index. + */ + public java.lang.String getIds(int index) { + return ids_.get(index); + } + + /** + * repeated string ids = 2; + * + * @param index The index of the value to return. + * @return The bytes of the ids at the given index. + */ + public com.google.protobuf.ByteString getIdsBytes(int index) { + return ids_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, processId_); + } + for (int i = 0; i < ids_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ids_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, processId_); + } + { + int dataSize = 0; + for (int i = 0; i < ids_.size(); i++) { + dataSize += computeStringSizeNoTag(ids_.getRaw(i)); + } + size += dataSize; + size += 1 * getIdsList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren) obj; + + if (hasProcessId() != other.hasProcessId()) + return false; + if (hasProcessId()) { + if (!getProcessId() + .equals(other.getProcessId())) + return false; + } + if (!getIdsList() + .equals(other.getIdsList())) + return false; + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasProcessId()) { + hash = (37 * hash) + PROCESS_ID_FIELD_NUMBER; + hash = (53 * hash) + getProcessId().hashCode(); + } + if (getIdsCount() > 0) { + hash = (37 * hash) + IDS_FIELD_NUMBER; + hash = (53 * hash) + getIdsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildrenOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + processId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + ids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.processId_ = processId_; + if (((bitField0_ & 0x00000002) != 0)) { + ids_ = ids_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.ids_ = ids_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren + .getDefaultInstance()) + return this; + if (other.hasProcessId()) { + bitField0_ |= 0x00000001; + processId_ = other.processId_; + onChanged(); + } + if (!other.ids_.isEmpty()) { + if (ids_.isEmpty()) { + ids_ = other.ids_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureIdsIsMutable(); + ids_.addAll(other.ids_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object processId_ = ""; + + /** + * optional string process_id = 1; + * + * @return Whether the processId field is set. + */ + public boolean hasProcessId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string process_id = 1; + * + * @return The processId. + */ + public java.lang.String getProcessId() { + java.lang.Object ref = processId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string process_id = 1; + * + * @return The bytes for processId. + */ + public com.google.protobuf.ByteString getProcessIdBytes() { + java.lang.Object ref = processId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string process_id = 1; + * + * @param value The processId to set. + * @return This builder for chaining. + */ + public Builder setProcessId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + processId_ = value; + onChanged(); + return this; + } + + /** + * optional string process_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearProcessId() { + bitField0_ = (bitField0_ & ~0x00000001); + processId_ = getDefaultInstance().getProcessId(); + onChanged(); + return this; + } + + /** + * optional string process_id = 1; + * + * @param value The bytes for processId to set. + * @return This builder for chaining. + */ + public Builder setProcessIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + processId_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList ids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureIdsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + ids_ = new com.google.protobuf.LazyStringArrayList(ids_); + bitField0_ |= 0x00000002; + } + } + + /** + * repeated string ids = 2; + * + * @return A list containing the ids. + */ + public com.google.protobuf.ProtocolStringList getIdsList() { + return ids_.getUnmodifiableView(); + } + + /** + * repeated string ids = 2; + * + * @return The count of ids. + */ + public int getIdsCount() { + return ids_.size(); + } + + /** + * repeated string ids = 2; + * + * @param index The index of the element to return. + * @return The ids at the given index. + */ + public java.lang.String getIds(int index) { + return ids_.get(index); + } + + /** + * repeated string ids = 2; + * + * @param index The index of the value to return. + * @return The bytes of the ids at the given index. + */ + public com.google.protobuf.ByteString getIdsBytes(int index) { + return ids_.getByteString(index); + } + + /** + * repeated string ids = 2; + * + * @param index The index to set the value at. + * @param value The ids to set. + * @return This builder for chaining. + */ + public Builder setIds( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIdsIsMutable(); + ids_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string ids = 2; + * + * @param value The ids to add. + * @return This builder for chaining. + */ + public Builder addIds( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIdsIsMutable(); + ids_.add(value); + onChanged(); + return this; + } + + /** + * repeated string ids = 2; + * + * @param values The ids to add. + * @return This builder for chaining. + */ + public Builder addAllIds( + java.lang.Iterable values) { + ensureIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, ids_); + onChanged(); + return this; + } + + /** + * repeated string ids = 2; + * + * @return This builder for chaining. + */ + public Builder clearIds() { + ids_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * repeated string ids = 2; + * + * @param value The bytes of the ids to add. + * @return This builder for chaining. + */ + public Builder addIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIdsIsMutable(); + ids_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessInstanchChildren parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProcessInstanchChildren(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface InstanceTupleOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + boolean hasId(); + + /** + * optional string id = 1; + * + * @return The id. + */ + java.lang.String getId(); + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * optional int32 status = 2; + * + * @return Whether the status field is set. + */ + boolean hasStatus(); + + /** + * optional int32 status = 2; + * + * @return The status. + */ + int getStatus(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple} + */ + public static final class InstanceTuple extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple) + InstanceTupleOrBuilder { + private static final long serialVersionUID = 0L; + + // Use InstanceTuple.newBuilder() to construct. + private InstanceTuple(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InstanceTuple() { + id_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InstanceTuple(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private InstanceTuple( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + id_ = bs; + break; + } + case 16: { + bitField0_ |= 0x00000002; + status_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder.class); + } + + private int bitField0_; + public static final int ID_FIELD_NUMBER = 1; + private volatile java.lang.Object id_; + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string id = 1; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } + } + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATUS_FIELD_NUMBER = 2; + private int status_; + + /** + * optional int32 status = 2; + * + * @return Whether the status field is set. + */ + @java.lang.Override + public boolean hasStatus() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional int32 status = 2; + * + * @return The status. + */ + @java.lang.Override + public int getStatus() { + return status_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt32(2, status_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, status_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple) obj; + + if (hasId() != other.hasId()) + return false; + if (hasId()) { + if (!getId() + .equals(other.getId())) + return false; + } + if (hasStatus() != other.hasStatus()) + return false; + if (hasStatus()) { + if (getStatus() != other.getStatus()) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + if (hasStatus()) { + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + getStatus(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + id_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + status_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.id_ = id_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.status_ = status_; + to_bitField0_ |= 0x00000002; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple + .getDefaultInstance()) + return this; + if (other.hasId()) { + bitField0_ |= 0x00000001; + id_ = other.id_; + onChanged(); + } + if (other.hasStatus()) { + setStatus(other.getStatus()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object id_ = ""; + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string id = 1; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string id = 1; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } + + /** + * optional string id = 1; + * + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000001); + id_ = getDefaultInstance().getId(); + onChanged(); + return this; + } + + /** + * optional string id = 1; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } + + private int status_; + + /** + * optional int32 status = 2; + * + * @return Whether the status field is set. + */ + @java.lang.Override + public boolean hasStatus() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional int32 status = 2; + * + * @return The status. + */ + @java.lang.Override + public int getStatus() { + return status_; + } + + /** + * optional int32 status = 2; + * + * @param value The status to set. + * @return This builder for chaining. + */ + public Builder setStatus(int value) { + bitField0_ |= 0x00000002; + status_ = value; + onChanged(); + return this; + } + + /** + * optional int32 status = 2; + * + * @return This builder for chaining. + */ + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00000002); + status_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceTuple parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstanceTuple(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface FinishedSubProcessesOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string process_id = 1; + * + * @return Whether the processId field is set. + */ + boolean hasProcessId(); + + /** + * optional string process_id = 1; + * + * @return The processId. + */ + java.lang.String getProcessId(); + + /** + * optional string process_id = 1; + * + * @return The bytes for processId. + */ + com.google.protobuf.ByteString getProcessIdBytes(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + java.util.List getInstancesList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple getInstances( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + int getInstancesCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + java.util.List getInstancesOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder getInstancesOrBuilder( + int index); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses} + */ + public static final class FinishedSubProcesses extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses) + FinishedSubProcessesOrBuilder { + private static final long serialVersionUID = 0L; + + // Use FinishedSubProcesses.newBuilder() to construct. + private FinishedSubProcesses(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private FinishedSubProcesses() { + processId_ = ""; + instances_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FinishedSubProcesses(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private FinishedSubProcesses( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + processId_ = bs; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + instances_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + instances_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.PARSER, + extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) != 0)) { + instances_ = java.util.Collections.unmodifiableList(instances_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder.class); + } + + private int bitField0_; + public static final int PROCESS_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object processId_; + + /** + * optional string process_id = 1; + * + * @return Whether the processId field is set. + */ + @java.lang.Override + public boolean hasProcessId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string process_id = 1; + * + * @return The processId. + */ + @java.lang.Override + public java.lang.String getProcessId() { + java.lang.Object ref = processId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processId_ = s; + } + return s; + } + } + + /** + * optional string process_id = 1; + * + * @return The bytes for processId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProcessIdBytes() { + java.lang.Object ref = processId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INSTANCES_FIELD_NUMBER = 2; + private java.util.List instances_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + @java.lang.Override + public java.util.List getInstancesList() { + return instances_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + @java.lang.Override + public java.util.List getInstancesOrBuilderList() { + return instances_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + @java.lang.Override + public int getInstancesCount() { + return instances_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple getInstances( + int index) { + return instances_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder getInstancesOrBuilder( + int index) { + return instances_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, processId_); + } + for (int i = 0; i < instances_.size(); i++) { + output.writeMessage(2, instances_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, processId_); + } + for (int i = 0; i < instances_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, instances_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses) obj; + + if (hasProcessId() != other.hasProcessId()) + return false; + if (hasProcessId()) { + if (!getProcessId() + .equals(other.getProcessId())) + return false; + } + if (!getInstancesList() + .equals(other.getInstancesList())) + return false; + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasProcessId()) { + hash = (37 * hash) + PROCESS_ID_FIELD_NUMBER; + hash = (53 * hash) + getProcessId().hashCode(); + } + if (getInstancesCount() > 0) { + hash = (37 * hash) + INSTANCES_FIELD_NUMBER; + hash = (53 * hash) + getInstancesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcessesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getInstancesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + processId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + if (instancesBuilder_ == null) { + instances_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + instancesBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.processId_ = processId_; + if (instancesBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + instances_ = java.util.Collections.unmodifiableList(instances_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.instances_ = instances_; + } else { + result.instances_ = instancesBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses + .getDefaultInstance()) + return this; + if (other.hasProcessId()) { + bitField0_ |= 0x00000001; + processId_ = other.processId_; + onChanged(); + } + if (instancesBuilder_ == null) { + if (!other.instances_.isEmpty()) { + if (instances_.isEmpty()) { + instances_ = other.instances_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureInstancesIsMutable(); + instances_.addAll(other.instances_); + } + onChanged(); + } + } else { + if (!other.instances_.isEmpty()) { + if (instancesBuilder_.isEmpty()) { + instancesBuilder_.dispose(); + instancesBuilder_ = null; + instances_ = other.instances_; + bitField0_ = (bitField0_ & ~0x00000002); + instancesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getInstancesFieldBuilder() + : null; + } else { + instancesBuilder_.addAllMessages(other.instances_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object processId_ = ""; + + /** + * optional string process_id = 1; + * + * @return Whether the processId field is set. + */ + public boolean hasProcessId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string process_id = 1; + * + * @return The processId. + */ + public java.lang.String getProcessId() { + java.lang.Object ref = processId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string process_id = 1; + * + * @return The bytes for processId. + */ + public com.google.protobuf.ByteString getProcessIdBytes() { + java.lang.Object ref = processId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string process_id = 1; + * + * @param value The processId to set. + * @return This builder for chaining. + */ + public Builder setProcessId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + processId_ = value; + onChanged(); + return this; + } + + /** + * optional string process_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearProcessId() { + bitField0_ = (bitField0_ & ~0x00000001); + processId_ = getDefaultInstance().getProcessId(); + onChanged(); + return this; + } + + /** + * optional string process_id = 1; + * + * @param value The bytes for processId to set. + * @return This builder for chaining. + */ + public Builder setProcessIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + processId_ = value; + onChanged(); + return this; + } + + private java.util.List instances_ = java.util.Collections + .emptyList(); + + private void ensureInstancesIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + instances_ = new java.util.ArrayList( + instances_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 instancesBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public java.util.List getInstancesList() { + if (instancesBuilder_ == null) { + return java.util.Collections.unmodifiableList(instances_); + } else { + return instancesBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public int getInstancesCount() { + if (instancesBuilder_ == null) { + return instances_.size(); + } else { + return instancesBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple getInstances( + int index) { + if (instancesBuilder_ == null) { + return instances_.get(index); + } else { + return instancesBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public Builder setInstances( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple value) { + if (instancesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInstancesIsMutable(); + instances_.set(index, value); + onChanged(); + } else { + instancesBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public Builder setInstances( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder builderForValue) { + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.set(index, builderForValue.build()); + onChanged(); + } else { + instancesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public Builder addInstances( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple value) { + if (instancesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInstancesIsMutable(); + instances_.add(value); + onChanged(); + } else { + instancesBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public Builder addInstances( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple value) { + if (instancesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureInstancesIsMutable(); + instances_.add(index, value); + onChanged(); + } else { + instancesBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public Builder addInstances( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder builderForValue) { + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(builderForValue.build()); + onChanged(); + } else { + instancesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public Builder addInstances( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder builderForValue) { + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(index, builderForValue.build()); + onChanged(); + } else { + instancesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public Builder addAllInstances( + java.lang.Iterable values) { + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instances_); + onChanged(); + } else { + instancesBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public Builder clearInstances() { + if (instancesBuilder_ == null) { + instances_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + instancesBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public Builder removeInstances(int index) { + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.remove(index); + onChanged(); + } else { + instancesBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder getInstancesBuilder( + int index) { + return getInstancesFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder getInstancesOrBuilder( + int index) { + if (instancesBuilder_ == null) { + return instances_.get(index); + } else { + return instancesBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public java.util.List getInstancesOrBuilderList() { + if (instancesBuilder_ != null) { + return instancesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(instances_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder addInstancesBuilder() { + return getInstancesFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.InstanceTuple instances = 2; + */ + public java.util.List getInstancesBuilderList() { + return getInstancesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getInstancesFieldBuilder() { + if (instancesBuilder_ == null) { + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + instances_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + instances_ = null; + } + return instancesBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FinishedSubProcesses parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FinishedSubProcesses(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface RecoveryItemOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string transaction_id = 1; + * + * @return Whether the transactionId field is set. + */ + boolean hasTransactionId(); + + /** + * optional string transaction_id = 1; + * + * @return The transactionId. + */ + java.lang.String getTransactionId(); + + /** + * optional string transaction_id = 1; + * + * @return The bytes for transactionId. + */ + com.google.protobuf.ByteString getTransactionIdBytes(); + + /** + * optional string node_id = 2; + * + * @return Whether the nodeId field is set. + */ + boolean hasNodeId(); + + /** + * optional string node_id = 2; + * + * @return The nodeId. + */ + java.lang.String getNodeId(); + + /** + * optional string node_id = 2; + * + * @return The bytes for nodeId. + */ + com.google.protobuf.ByteString getNodeIdBytes(); + + /** + * optional string instance_id = 3; + * + * @return Whether the instanceId field is set. + */ + boolean hasInstanceId(); + + /** + * optional string instance_id = 3; + * + * @return The instanceId. + */ + java.lang.String getInstanceId(); + + /** + * optional string instance_id = 3; + * + * @return The bytes for instanceId. + */ + com.google.protobuf.ByteString getInstanceIdBytes(); + + /** + * optional string timer_id = 4; + * + * @return Whether the timerId field is set. + */ + boolean hasTimerId(); + + /** + * optional string timer_id = 4; + * + * @return The timerId. + */ + java.lang.String getTimerId(); + + /** + * optional string timer_id = 4; + * + * @return The bytes for timerId. + */ + com.google.protobuf.ByteString getTimerIdBytes(); + + /** + * repeated string state_timer_ids = 5; + * + * @return A list containing the stateTimerIds. + */ + java.util.List getStateTimerIdsList(); + + /** + * repeated string state_timer_ids = 5; + * + * @return The count of stateTimerIds. + */ + int getStateTimerIdsCount(); + + /** + * repeated string state_timer_ids = 5; + * + * @param index The index of the element to return. + * @return The stateTimerIds at the given index. + */ + java.lang.String getStateTimerIds(int index); + + /** + * repeated string state_timer_ids = 5; + * + * @param index The index of the value to return. + * @return The bytes of the stateTimerIds at the given index. + */ + com.google.protobuf.ByteString getStateTimerIdsBytes(int index); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem} + */ + public static final class RecoveryItem extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem) + RecoveryItemOrBuilder { + private static final long serialVersionUID = 0L; + + // Use RecoveryItem.newBuilder() to construct. + private RecoveryItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RecoveryItem() { + transactionId_ = ""; + nodeId_ = ""; + instanceId_ = ""; + timerId_ = ""; + stateTimerIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RecoveryItem(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RecoveryItem( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + transactionId_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + nodeId_ = bs; + break; + } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000004; + instanceId_ = bs; + break; + } + case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000008; + timerId_ = bs; + break; + } + case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + stateTimerIds_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000010; + } + stateTimerIds_.add(bs); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000010) != 0)) { + stateTimerIds_ = stateTimerIds_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.Builder.class); + } + + private int bitField0_; + public static final int TRANSACTION_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object transactionId_; + + /** + * optional string transaction_id = 1; + * + * @return Whether the transactionId field is set. + */ + @java.lang.Override + public boolean hasTransactionId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string transaction_id = 1; + * + * @return The transactionId. + */ + @java.lang.Override + public java.lang.String getTransactionId() { + java.lang.Object ref = transactionId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + transactionId_ = s; + } + return s; + } + } + + /** + * optional string transaction_id = 1; + * + * @return The bytes for transactionId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTransactionIdBytes() { + java.lang.Object ref = transactionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + transactionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NODE_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object nodeId_; + + /** + * optional string node_id = 2; + * + * @return Whether the nodeId field is set. + */ + @java.lang.Override + public boolean hasNodeId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string node_id = 2; + * + * @return The nodeId. + */ + @java.lang.Override + public java.lang.String getNodeId() { + java.lang.Object ref = nodeId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + nodeId_ = s; + } + return s; + } + } + + /** + * optional string node_id = 2; + * + * @return The bytes for nodeId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNodeIdBytes() { + java.lang.Object ref = nodeId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nodeId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INSTANCE_ID_FIELD_NUMBER = 3; + private volatile java.lang.Object instanceId_; + + /** + * optional string instance_id = 3; + * + * @return Whether the instanceId field is set. + */ + @java.lang.Override + public boolean hasInstanceId() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string instance_id = 3; + * + * @return The instanceId. + */ + @java.lang.Override + public java.lang.String getInstanceId() { + java.lang.Object ref = instanceId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + instanceId_ = s; + } + return s; + } + } + + /** + * optional string instance_id = 3; + * + * @return The bytes for instanceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getInstanceIdBytes() { + java.lang.Object ref = instanceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + instanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TIMER_ID_FIELD_NUMBER = 4; + private volatile java.lang.Object timerId_; + + /** + * optional string timer_id = 4; + * + * @return Whether the timerId field is set. + */ + @java.lang.Override + public boolean hasTimerId() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional string timer_id = 4; + * + * @return The timerId. + */ + @java.lang.Override + public java.lang.String getTimerId() { + java.lang.Object ref = timerId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + timerId_ = s; + } + return s; + } + } + + /** + * optional string timer_id = 4; + * + * @return The bytes for timerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTimerIdBytes() { + java.lang.Object ref = timerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + timerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_TIMER_IDS_FIELD_NUMBER = 5; + private com.google.protobuf.LazyStringList stateTimerIds_; + + /** + * repeated string state_timer_ids = 5; + * + * @return A list containing the stateTimerIds. + */ + public com.google.protobuf.ProtocolStringList getStateTimerIdsList() { + return stateTimerIds_; + } + + /** + * repeated string state_timer_ids = 5; + * + * @return The count of stateTimerIds. + */ + public int getStateTimerIdsCount() { + return stateTimerIds_.size(); + } + + /** + * repeated string state_timer_ids = 5; + * + * @param index The index of the element to return. + * @return The stateTimerIds at the given index. + */ + public java.lang.String getStateTimerIds(int index) { + return stateTimerIds_.get(index); + } + + /** + * repeated string state_timer_ids = 5; + * + * @param index The index of the value to return. + * @return The bytes of the stateTimerIds at the given index. + */ + public com.google.protobuf.ByteString getStateTimerIdsBytes(int index) { + return stateTimerIds_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transactionId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nodeId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, instanceId_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, timerId_); + } + for (int i = 0; i < stateTimerIds_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, stateTimerIds_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transactionId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nodeId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, instanceId_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, timerId_); + } + { + int dataSize = 0; + for (int i = 0; i < stateTimerIds_.size(); i++) { + dataSize += computeStringSizeNoTag(stateTimerIds_.getRaw(i)); + } + size += dataSize; + size += 1 * getStateTimerIdsList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem) obj; + + if (hasTransactionId() != other.hasTransactionId()) + return false; + if (hasTransactionId()) { + if (!getTransactionId() + .equals(other.getTransactionId())) + return false; + } + if (hasNodeId() != other.hasNodeId()) + return false; + if (hasNodeId()) { + if (!getNodeId() + .equals(other.getNodeId())) + return false; + } + if (hasInstanceId() != other.hasInstanceId()) + return false; + if (hasInstanceId()) { + if (!getInstanceId() + .equals(other.getInstanceId())) + return false; + } + if (hasTimerId() != other.hasTimerId()) + return false; + if (hasTimerId()) { + if (!getTimerId() + .equals(other.getTimerId())) + return false; + } + if (!getStateTimerIdsList() + .equals(other.getStateTimerIdsList())) + return false; + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTransactionId()) { + hash = (37 * hash) + TRANSACTION_ID_FIELD_NUMBER; + hash = (53 * hash) + getTransactionId().hashCode(); + } + if (hasNodeId()) { + hash = (37 * hash) + NODE_ID_FIELD_NUMBER; + hash = (53 * hash) + getNodeId().hashCode(); + } + if (hasInstanceId()) { + hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getInstanceId().hashCode(); + } + if (hasTimerId()) { + hash = (37 * hash) + TIMER_ID_FIELD_NUMBER; + hash = (53 * hash) + getTimerId().hashCode(); + } + if (getStateTimerIdsCount() > 0) { + hash = (37 * hash) + STATE_TIMER_IDS_FIELD_NUMBER; + hash = (53 * hash) + getStateTimerIdsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItemOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + transactionId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + nodeId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + instanceId_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + timerId_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + stateTimerIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.transactionId_ = transactionId_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.nodeId_ = nodeId_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.instanceId_ = instanceId_; + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.timerId_ = timerId_; + if (((bitField0_ & 0x00000010) != 0)) { + stateTimerIds_ = stateTimerIds_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.stateTimerIds_ = stateTimerIds_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem + .getDefaultInstance()) + return this; + if (other.hasTransactionId()) { + bitField0_ |= 0x00000001; + transactionId_ = other.transactionId_; + onChanged(); + } + if (other.hasNodeId()) { + bitField0_ |= 0x00000002; + nodeId_ = other.nodeId_; + onChanged(); + } + if (other.hasInstanceId()) { + bitField0_ |= 0x00000004; + instanceId_ = other.instanceId_; + onChanged(); + } + if (other.hasTimerId()) { + bitField0_ |= 0x00000008; + timerId_ = other.timerId_; + onChanged(); + } + if (!other.stateTimerIds_.isEmpty()) { + if (stateTimerIds_.isEmpty()) { + stateTimerIds_ = other.stateTimerIds_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureStateTimerIdsIsMutable(); + stateTimerIds_.addAll(other.stateTimerIds_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object transactionId_ = ""; + + /** + * optional string transaction_id = 1; + * + * @return Whether the transactionId field is set. + */ + public boolean hasTransactionId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string transaction_id = 1; + * + * @return The transactionId. + */ + public java.lang.String getTransactionId() { + java.lang.Object ref = transactionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + transactionId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string transaction_id = 1; + * + * @return The bytes for transactionId. + */ + public com.google.protobuf.ByteString getTransactionIdBytes() { + java.lang.Object ref = transactionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + transactionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string transaction_id = 1; + * + * @param value The transactionId to set. + * @return This builder for chaining. + */ + public Builder setTransactionId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + transactionId_ = value; + onChanged(); + return this; + } + + /** + * optional string transaction_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearTransactionId() { + bitField0_ = (bitField0_ & ~0x00000001); + transactionId_ = getDefaultInstance().getTransactionId(); + onChanged(); + return this; + } + + /** + * optional string transaction_id = 1; + * + * @param value The bytes for transactionId to set. + * @return This builder for chaining. + */ + public Builder setTransactionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + transactionId_ = value; + onChanged(); + return this; + } + + private java.lang.Object nodeId_ = ""; + + /** + * optional string node_id = 2; + * + * @return Whether the nodeId field is set. + */ + public boolean hasNodeId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string node_id = 2; + * + * @return The nodeId. + */ + public java.lang.String getNodeId() { + java.lang.Object ref = nodeId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + nodeId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string node_id = 2; + * + * @return The bytes for nodeId. + */ + public com.google.protobuf.ByteString getNodeIdBytes() { + java.lang.Object ref = nodeId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nodeId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string node_id = 2; + * + * @param value The nodeId to set. + * @return This builder for chaining. + */ + public Builder setNodeId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + nodeId_ = value; + onChanged(); + return this; + } + + /** + * optional string node_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearNodeId() { + bitField0_ = (bitField0_ & ~0x00000002); + nodeId_ = getDefaultInstance().getNodeId(); + onChanged(); + return this; + } + + /** + * optional string node_id = 2; + * + * @param value The bytes for nodeId to set. + * @return This builder for chaining. + */ + public Builder setNodeIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + nodeId_ = value; + onChanged(); + return this; + } + + private java.lang.Object instanceId_ = ""; + + /** + * optional string instance_id = 3; + * + * @return Whether the instanceId field is set. + */ + public boolean hasInstanceId() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string instance_id = 3; + * + * @return The instanceId. + */ + public java.lang.String getInstanceId() { + java.lang.Object ref = instanceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + instanceId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string instance_id = 3; + * + * @return The bytes for instanceId. + */ + public com.google.protobuf.ByteString getInstanceIdBytes() { + java.lang.Object ref = instanceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + instanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string instance_id = 3; + * + * @param value The instanceId to set. + * @return This builder for chaining. + */ + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + instanceId_ = value; + onChanged(); + return this; + } + + /** + * optional string instance_id = 3; + * + * @return This builder for chaining. + */ + public Builder clearInstanceId() { + bitField0_ = (bitField0_ & ~0x00000004); + instanceId_ = getDefaultInstance().getInstanceId(); + onChanged(); + return this; + } + + /** + * optional string instance_id = 3; + * + * @param value The bytes for instanceId to set. + * @return This builder for chaining. + */ + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + instanceId_ = value; + onChanged(); + return this; + } + + private java.lang.Object timerId_ = ""; + + /** + * optional string timer_id = 4; + * + * @return Whether the timerId field is set. + */ + public boolean hasTimerId() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional string timer_id = 4; + * + * @return The timerId. + */ + public java.lang.String getTimerId() { + java.lang.Object ref = timerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + timerId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string timer_id = 4; + * + * @return The bytes for timerId. + */ + public com.google.protobuf.ByteString getTimerIdBytes() { + java.lang.Object ref = timerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + timerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string timer_id = 4; + * + * @param value The timerId to set. + * @return This builder for chaining. + */ + public Builder setTimerId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + timerId_ = value; + onChanged(); + return this; + } + + /** + * optional string timer_id = 4; + * + * @return This builder for chaining. + */ + public Builder clearTimerId() { + bitField0_ = (bitField0_ & ~0x00000008); + timerId_ = getDefaultInstance().getTimerId(); + onChanged(); + return this; + } + + /** + * optional string timer_id = 4; + * + * @param value The bytes for timerId to set. + * @return This builder for chaining. + */ + public Builder setTimerIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + timerId_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList stateTimerIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureStateTimerIdsIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + stateTimerIds_ = new com.google.protobuf.LazyStringArrayList(stateTimerIds_); + bitField0_ |= 0x00000010; + } + } + + /** + * repeated string state_timer_ids = 5; + * + * @return A list containing the stateTimerIds. + */ + public com.google.protobuf.ProtocolStringList getStateTimerIdsList() { + return stateTimerIds_.getUnmodifiableView(); + } + + /** + * repeated string state_timer_ids = 5; + * + * @return The count of stateTimerIds. + */ + public int getStateTimerIdsCount() { + return stateTimerIds_.size(); + } + + /** + * repeated string state_timer_ids = 5; + * + * @param index The index of the element to return. + * @return The stateTimerIds at the given index. + */ + public java.lang.String getStateTimerIds(int index) { + return stateTimerIds_.get(index); + } + + /** + * repeated string state_timer_ids = 5; + * + * @param index The index of the value to return. + * @return The bytes of the stateTimerIds at the given index. + */ + public com.google.protobuf.ByteString getStateTimerIdsBytes(int index) { + return stateTimerIds_.getByteString(index); + } + + /** + * repeated string state_timer_ids = 5; + * + * @param index The index to set the value at. + * @param value The stateTimerIds to set. + * @return This builder for chaining. + */ + public Builder setStateTimerIds( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureStateTimerIdsIsMutable(); + stateTimerIds_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string state_timer_ids = 5; + * + * @param value The stateTimerIds to add. + * @return This builder for chaining. + */ + public Builder addStateTimerIds( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureStateTimerIdsIsMutable(); + stateTimerIds_.add(value); + onChanged(); + return this; + } + + /** + * repeated string state_timer_ids = 5; + * + * @param values The stateTimerIds to add. + * @return This builder for chaining. + */ + public Builder addAllStateTimerIds( + java.lang.Iterable values) { + ensureStateTimerIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stateTimerIds_); + onChanged(); + return this; + } + + /** + * repeated string state_timer_ids = 5; + * + * @return This builder for chaining. + */ + public Builder clearStateTimerIds() { + stateTimerIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + + /** + * repeated string state_timer_ids = 5; + * + * @param value The bytes of the stateTimerIds to add. + * @return This builder for chaining. + */ + public Builder addStateTimerIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureStateTimerIdsIsMutable(); + stateTimerIds_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RecoveryItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RecoveryItem(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TagOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + boolean hasId(); + + /** + * optional string id = 1; + * + * @return The id. + */ + java.lang.String getId(); + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * optional string value = 2; + * + * @return Whether the value field is set. + */ + boolean hasValue(); + + /** + * optional string value = 2; + * + * @return The value. + */ + java.lang.String getValue(); + + /** + * optional string value = 2; + * + * @return The bytes for value. + */ + com.google.protobuf.ByteString getValueBytes(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag} + */ + public static final class Tag extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag) + TagOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Tag.newBuilder() to construct. + private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Tag() { + id_ = ""; + value_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Tag(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Tag( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + id_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + value_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder.class); + } + + private int bitField0_; + public static final int ID_FIELD_NUMBER = 1; + private volatile java.lang.Object id_; + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string id = 1; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } + } + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VALUE_FIELD_NUMBER = 2; + private volatile java.lang.Object value_; + + /** + * optional string value = 2; + * + * @return Whether the value field is set. + */ + @java.lang.Override + public boolean hasValue() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string value = 2; + * + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + value_ = s; + } + return s; + } + } + + /** + * optional string value = 2; + * + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag) obj; + + if (hasId() != other.hasId()) + return false; + if (hasId()) { + if (!getId() + .equals(other.getId())) + return false; + } + if (hasValue() != other.hasValue()) + return false; + if (hasValue()) { + if (!getValue() + .equals(other.getValue())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + if (hasValue()) { + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.TagOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + id_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + value_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.id_ = id_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.value_ = value_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag + .getDefaultInstance()) + return this; + if (other.hasId()) { + bitField0_ |= 0x00000001; + id_ = other.id_; + onChanged(); + } + if (other.hasValue()) { + bitField0_ |= 0x00000002; + value_ = other.value_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object id_ = ""; + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string id = 1; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string id = 1; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } + + /** + * optional string id = 1; + * + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000001); + id_ = getDefaultInstance().getId(); + onChanged(); + return this; + } + + /** + * optional string id = 1; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } + + private java.lang.Object value_ = ""; + + /** + * optional string value = 2; + * + * @return Whether the value field is set. + */ + public boolean hasValue() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string value = 2; + * + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + value_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string value = 2; + * + * @return The bytes for value. + */ + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string value = 2; + * + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + value_ = value; + onChanged(); + return this; + } + + /** + * optional string value = 2; + * + * @return This builder for chaining. + */ + public Builder clearValue() { + bitField0_ = (bitField0_ & ~0x00000002); + value_ = getDefaultInstance().getValue(); + onChanged(); + return this; + } + + /** + * optional string value = 2; + * + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + value_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.Error) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string error_id = 31; + * + * @return Whether the errorId field is set. + */ + boolean hasErrorId(); + + /** + * optional string error_id = 31; + * + * @return The errorId. + */ + java.lang.String getErrorId(); + + /** + * optional string error_id = 31; + * + * @return The bytes for errorId. + */ + com.google.protobuf.ByteString getErrorIdBytes(); + + /** + * optional string error_node_id = 25; + * + * @return Whether the errorNodeId field is set. + */ + boolean hasErrorNodeId(); + + /** + * optional string error_node_id = 25; + * + * @return The errorNodeId. + */ + java.lang.String getErrorNodeId(); + + /** + * optional string error_node_id = 25; + * + * @return The bytes for errorNodeId. + */ + com.google.protobuf.ByteString getErrorNodeIdBytes(); + + /** + * optional string error_message = 26; + * + * @return Whether the errorMessage field is set. + */ + boolean hasErrorMessage(); + + /** + * optional string error_message = 26; + * + * @return The errorMessage. + */ + java.lang.String getErrorMessage(); + + /** + * optional string error_message = 26; + * + * @return The bytes for errorMessage. + */ + com.google.protobuf.ByteString getErrorMessageBytes(); + + /** + * optional string error_details = 32; + * + * @return Whether the errorDetails field is set. + */ + boolean hasErrorDetails(); + + /** + * optional string error_details = 32; + * + * @return The errorDetails. + */ + java.lang.String getErrorDetails(); + + /** + * optional string error_details = 32; + * + * @return The bytes for errorDetails. + */ + com.google.protobuf.ByteString getErrorDetailsBytes(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.Error} + */ + public static final class Error extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.Error) + ErrorOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Error.newBuilder() to construct. + private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Error() { + errorId_ = ""; + errorNodeId_ = ""; + errorMessage_ = ""; + errorDetails_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Error(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Error( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 202: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + errorNodeId_ = bs; + break; + } + case 210: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000004; + errorMessage_ = bs; + break; + } + case 250: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + errorId_ = bs; + break; + } + case 258: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000008; + errorDetails_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder.class); + } + + private int bitField0_; + public static final int ERROR_ID_FIELD_NUMBER = 31; + private volatile java.lang.Object errorId_; + + /** + * optional string error_id = 31; + * + * @return Whether the errorId field is set. + */ + @java.lang.Override + public boolean hasErrorId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string error_id = 31; + * + * @return The errorId. + */ + @java.lang.Override + public java.lang.String getErrorId() { + java.lang.Object ref = errorId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + errorId_ = s; + } + return s; + } + } + + /** + * optional string error_id = 31; + * + * @return The bytes for errorId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getErrorIdBytes() { + java.lang.Object ref = errorId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ERROR_NODE_ID_FIELD_NUMBER = 25; + private volatile java.lang.Object errorNodeId_; + + /** + * optional string error_node_id = 25; + * + * @return Whether the errorNodeId field is set. + */ + @java.lang.Override + public boolean hasErrorNodeId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string error_node_id = 25; + * + * @return The errorNodeId. + */ + @java.lang.Override + public java.lang.String getErrorNodeId() { + java.lang.Object ref = errorNodeId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + errorNodeId_ = s; + } + return s; + } + } + + /** + * optional string error_node_id = 25; + * + * @return The bytes for errorNodeId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getErrorNodeIdBytes() { + java.lang.Object ref = errorNodeId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorNodeId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ERROR_MESSAGE_FIELD_NUMBER = 26; + private volatile java.lang.Object errorMessage_; + + /** + * optional string error_message = 26; + * + * @return Whether the errorMessage field is set. + */ + @java.lang.Override + public boolean hasErrorMessage() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string error_message = 26; + * + * @return The errorMessage. + */ + @java.lang.Override + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + errorMessage_ = s; + } + return s; + } + } + + /** + * optional string error_message = 26; + * + * @return The bytes for errorMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ERROR_DETAILS_FIELD_NUMBER = 32; + private volatile java.lang.Object errorDetails_; + + /** + * optional string error_details = 32; + * + * @return Whether the errorDetails field is set. + */ + @java.lang.Override + public boolean hasErrorDetails() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional string error_details = 32; + * + * @return The errorDetails. + */ + @java.lang.Override + public java.lang.String getErrorDetails() { + java.lang.Object ref = errorDetails_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + errorDetails_ = s; + } + return s; + } + } + + /** + * optional string error_details = 32; + * + * @return The bytes for errorDetails. + */ + @java.lang.Override + public com.google.protobuf.ByteString getErrorDetailsBytes() { + java.lang.Object ref = errorDetails_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorDetails_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 25, errorNodeId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 26, errorMessage_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 31, errorId_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 32, errorDetails_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, errorNodeId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, errorMessage_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, errorId_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, errorDetails_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error) obj; + + if (hasErrorId() != other.hasErrorId()) + return false; + if (hasErrorId()) { + if (!getErrorId() + .equals(other.getErrorId())) + return false; + } + if (hasErrorNodeId() != other.hasErrorNodeId()) + return false; + if (hasErrorNodeId()) { + if (!getErrorNodeId() + .equals(other.getErrorNodeId())) + return false; + } + if (hasErrorMessage() != other.hasErrorMessage()) + return false; + if (hasErrorMessage()) { + if (!getErrorMessage() + .equals(other.getErrorMessage())) + return false; + } + if (hasErrorDetails() != other.hasErrorDetails()) + return false; + if (hasErrorDetails()) { + if (!getErrorDetails() + .equals(other.getErrorDetails())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasErrorId()) { + hash = (37 * hash) + ERROR_ID_FIELD_NUMBER; + hash = (53 * hash) + getErrorId().hashCode(); + } + if (hasErrorNodeId()) { + hash = (37 * hash) + ERROR_NODE_ID_FIELD_NUMBER; + hash = (53 * hash) + getErrorNodeId().hashCode(); + } + if (hasErrorMessage()) { + hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getErrorMessage().hashCode(); + } + if (hasErrorDetails()) { + hash = (37 * hash) + ERROR_DETAILS_FIELD_NUMBER; + hash = (53 * hash) + getErrorDetails().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.Error} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.Error) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ErrorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + errorId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + errorNodeId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + errorMessage_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + errorDetails_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.errorId_ = errorId_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.errorNodeId_ = errorNodeId_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.errorMessage_ = errorMessage_; + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.errorDetails_ = errorDetails_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error + .getDefaultInstance()) + return this; + if (other.hasErrorId()) { + bitField0_ |= 0x00000001; + errorId_ = other.errorId_; + onChanged(); + } + if (other.hasErrorNodeId()) { + bitField0_ |= 0x00000002; + errorNodeId_ = other.errorNodeId_; + onChanged(); + } + if (other.hasErrorMessage()) { + bitField0_ |= 0x00000004; + errorMessage_ = other.errorMessage_; + onChanged(); + } + if (other.hasErrorDetails()) { + bitField0_ |= 0x00000008; + errorDetails_ = other.errorDetails_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object errorId_ = ""; + + /** + * optional string error_id = 31; + * + * @return Whether the errorId field is set. + */ + public boolean hasErrorId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string error_id = 31; + * + * @return The errorId. + */ + public java.lang.String getErrorId() { + java.lang.Object ref = errorId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + errorId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string error_id = 31; + * + * @return The bytes for errorId. + */ + public com.google.protobuf.ByteString getErrorIdBytes() { + java.lang.Object ref = errorId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string error_id = 31; + * + * @param value The errorId to set. + * @return This builder for chaining. + */ + public Builder setErrorId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + errorId_ = value; + onChanged(); + return this; + } + + /** + * optional string error_id = 31; + * + * @return This builder for chaining. + */ + public Builder clearErrorId() { + bitField0_ = (bitField0_ & ~0x00000001); + errorId_ = getDefaultInstance().getErrorId(); + onChanged(); + return this; + } + + /** + * optional string error_id = 31; + * + * @param value The bytes for errorId to set. + * @return This builder for chaining. + */ + public Builder setErrorIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + errorId_ = value; + onChanged(); + return this; + } + + private java.lang.Object errorNodeId_ = ""; + + /** + * optional string error_node_id = 25; + * + * @return Whether the errorNodeId field is set. + */ + public boolean hasErrorNodeId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string error_node_id = 25; + * + * @return The errorNodeId. + */ + public java.lang.String getErrorNodeId() { + java.lang.Object ref = errorNodeId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + errorNodeId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string error_node_id = 25; + * + * @return The bytes for errorNodeId. + */ + public com.google.protobuf.ByteString getErrorNodeIdBytes() { + java.lang.Object ref = errorNodeId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorNodeId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string error_node_id = 25; + * + * @param value The errorNodeId to set. + * @return This builder for chaining. + */ + public Builder setErrorNodeId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + errorNodeId_ = value; + onChanged(); + return this; + } + + /** + * optional string error_node_id = 25; + * + * @return This builder for chaining. + */ + public Builder clearErrorNodeId() { + bitField0_ = (bitField0_ & ~0x00000002); + errorNodeId_ = getDefaultInstance().getErrorNodeId(); + onChanged(); + return this; + } + + /** + * optional string error_node_id = 25; + * + * @param value The bytes for errorNodeId to set. + * @return This builder for chaining. + */ + public Builder setErrorNodeIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + errorNodeId_ = value; + onChanged(); + return this; + } + + private java.lang.Object errorMessage_ = ""; + + /** + * optional string error_message = 26; + * + * @return Whether the errorMessage field is set. + */ + public boolean hasErrorMessage() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string error_message = 26; + * + * @return The errorMessage. + */ + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + errorMessage_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string error_message = 26; + * + * @return The bytes for errorMessage. + */ + public com.google.protobuf.ByteString getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string error_message = 26; + * + * @param value The errorMessage to set. + * @return This builder for chaining. + */ + public Builder setErrorMessage( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + errorMessage_ = value; + onChanged(); + return this; + } + + /** + * optional string error_message = 26; + * + * @return This builder for chaining. + */ + public Builder clearErrorMessage() { + bitField0_ = (bitField0_ & ~0x00000004); + errorMessage_ = getDefaultInstance().getErrorMessage(); + onChanged(); + return this; + } + + /** + * optional string error_message = 26; + * + * @param value The bytes for errorMessage to set. + * @return This builder for chaining. + */ + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + errorMessage_ = value; + onChanged(); + return this; + } + + private java.lang.Object errorDetails_ = ""; + + /** + * optional string error_details = 32; + * + * @return Whether the errorDetails field is set. + */ + public boolean hasErrorDetails() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional string error_details = 32; + * + * @return The errorDetails. + */ + public java.lang.String getErrorDetails() { + java.lang.Object ref = errorDetails_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + errorDetails_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string error_details = 32; + * + * @return The bytes for errorDetails. + */ + public com.google.protobuf.ByteString getErrorDetailsBytes() { + java.lang.Object ref = errorDetails_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorDetails_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string error_details = 32; + * + * @param value The errorDetails to set. + * @return This builder for chaining. + */ + public Builder setErrorDetails( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + errorDetails_ = value; + onChanged(); + return this; + } + + /** + * optional string error_details = 32; + * + * @return This builder for chaining. + */ + public Builder clearErrorDetails() { + bitField0_ = (bitField0_ & ~0x00000008); + errorDetails_ = getDefaultInstance().getErrorDetails(); + onChanged(); + return this; + } + + /** + * optional string error_details = 32; + * + * @param value The bytes for errorDetails to set. + * @return This builder for chaining. + */ + public Builder setErrorDetailsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + errorDetails_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.Error) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.Error) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Error(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SwimlaneContextInstanceOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string swimlane = 1; + * + * @return Whether the swimlane field is set. + */ + boolean hasSwimlane(); + + /** + * optional string swimlane = 1; + * + * @return The swimlane. + */ + java.lang.String getSwimlane(); + + /** + * optional string swimlane = 1; + * + * @return The bytes for swimlane. + */ + com.google.protobuf.ByteString getSwimlaneBytes(); + + /** + * optional string actor_id = 2; + * + * @return Whether the actorId field is set. + */ + boolean hasActorId(); + + /** + * optional string actor_id = 2; + * + * @return The actorId. + */ + java.lang.String getActorId(); + + /** + * optional string actor_id = 2; + * + * @return The bytes for actorId. + */ + com.google.protobuf.ByteString getActorIdBytes(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance} + */ + public static final class SwimlaneContextInstance extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance) + SwimlaneContextInstanceOrBuilder { + private static final long serialVersionUID = 0L; + + // Use SwimlaneContextInstance.newBuilder() to construct. + private SwimlaneContextInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SwimlaneContextInstance() { + swimlane_ = ""; + actorId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SwimlaneContextInstance(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private SwimlaneContextInstance( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + swimlane_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + actorId_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder.class); + } + + private int bitField0_; + public static final int SWIMLANE_FIELD_NUMBER = 1; + private volatile java.lang.Object swimlane_; + + /** + * optional string swimlane = 1; + * + * @return Whether the swimlane field is set. + */ + @java.lang.Override + public boolean hasSwimlane() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string swimlane = 1; + * + * @return The swimlane. + */ + @java.lang.Override + public java.lang.String getSwimlane() { + java.lang.Object ref = swimlane_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + swimlane_ = s; + } + return s; + } + } + + /** + * optional string swimlane = 1; + * + * @return The bytes for swimlane. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSwimlaneBytes() { + java.lang.Object ref = swimlane_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + swimlane_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ACTOR_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object actorId_; + + /** + * optional string actor_id = 2; + * + * @return Whether the actorId field is set. + */ + @java.lang.Override + public boolean hasActorId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string actor_id = 2; + * + * @return The actorId. + */ + @java.lang.Override + public java.lang.String getActorId() { + java.lang.Object ref = actorId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + actorId_ = s; + } + return s; + } + } + + /** + * optional string actor_id = 2; + * + * @return The bytes for actorId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getActorIdBytes() { + java.lang.Object ref = actorId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + actorId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, swimlane_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, actorId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, swimlane_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, actorId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance) obj; + + if (hasSwimlane() != other.hasSwimlane()) + return false; + if (hasSwimlane()) { + if (!getSwimlane() + .equals(other.getSwimlane())) + return false; + } + if (hasActorId() != other.hasActorId()) + return false; + if (hasActorId()) { + if (!getActorId() + .equals(other.getActorId())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasSwimlane()) { + hash = (37 * hash) + SWIMLANE_FIELD_NUMBER; + hash = (53 * hash) + getSwimlane().hashCode(); + } + if (hasActorId()) { + hash = (37 * hash) + ACTOR_ID_FIELD_NUMBER; + hash = (53 * hash) + getActorId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + swimlane_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + actorId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.swimlane_ = swimlane_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.actorId_ = actorId_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance + .getDefaultInstance()) + return this; + if (other.hasSwimlane()) { + bitField0_ |= 0x00000001; + swimlane_ = other.swimlane_; + onChanged(); + } + if (other.hasActorId()) { + bitField0_ |= 0x00000002; + actorId_ = other.actorId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object swimlane_ = ""; + + /** + * optional string swimlane = 1; + * + * @return Whether the swimlane field is set. + */ + public boolean hasSwimlane() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string swimlane = 1; + * + * @return The swimlane. + */ + public java.lang.String getSwimlane() { + java.lang.Object ref = swimlane_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + swimlane_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string swimlane = 1; + * + * @return The bytes for swimlane. + */ + public com.google.protobuf.ByteString getSwimlaneBytes() { + java.lang.Object ref = swimlane_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + swimlane_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string swimlane = 1; + * + * @param value The swimlane to set. + * @return This builder for chaining. + */ + public Builder setSwimlane( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + swimlane_ = value; + onChanged(); + return this; + } + + /** + * optional string swimlane = 1; + * + * @return This builder for chaining. + */ + public Builder clearSwimlane() { + bitField0_ = (bitField0_ & ~0x00000001); + swimlane_ = getDefaultInstance().getSwimlane(); + onChanged(); + return this; + } + + /** + * optional string swimlane = 1; + * + * @param value The bytes for swimlane to set. + * @return This builder for chaining. + */ + public Builder setSwimlaneBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + swimlane_ = value; + onChanged(); + return this; + } + + private java.lang.Object actorId_ = ""; + + /** + * optional string actor_id = 2; + * + * @return Whether the actorId field is set. + */ + public boolean hasActorId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string actor_id = 2; + * + * @return The actorId. + */ + public java.lang.String getActorId() { + java.lang.Object ref = actorId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + actorId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string actor_id = 2; + * + * @return The bytes for actorId. + */ + public com.google.protobuf.ByteString getActorIdBytes() { + java.lang.Object ref = actorId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + actorId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string actor_id = 2; + * + * @param value The actorId to set. + * @return This builder for chaining. + */ + public Builder setActorId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + actorId_ = value; + onChanged(); + return this; + } + + /** + * optional string actor_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearActorId() { + bitField0_ = (bitField0_ & ~0x00000002); + actorId_ = getDefaultInstance().getActorId(); + onChanged(); + return this; + } + + /** + * optional string actor_id = 2; + * + * @param value The bytes for actorId to set. + * @return This builder for chaining. + */ + public Builder setActorIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + actorId_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SwimlaneContextInstance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SwimlaneContextInstance(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface NodeInstanceOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + boolean hasId(); + + /** + * optional string id = 1; + * + * @return The id. + */ + java.lang.String getId(); + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * optional int64 node_id = 2; + * + * @return Whether the nodeId field is set. + */ + boolean hasNodeId(); + + /** + * optional int64 node_id = 2; + * + * @return The nodeId. + */ + long getNodeId(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + * + * @return Whether the content field is set. + */ + boolean hasContent(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + * + * @return The content. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent getContent(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContentOrBuilder getContentOrBuilder(); + + /** + * optional int32 level = 5; + * + * @return Whether the level field is set. + */ + boolean hasLevel(); + + /** + * optional int32 level = 5; + * + * @return The level. + */ + int getLevel(); + + /** + * optional string sla_timer_id = 6; + * + * @return Whether the slaTimerId field is set. + */ + boolean hasSlaTimerId(); + + /** + * optional string sla_timer_id = 6; + * + * @return The slaTimerId. + */ + java.lang.String getSlaTimerId(); + + /** + * optional string sla_timer_id = 6; + * + * @return The bytes for slaTimerId. + */ + com.google.protobuf.ByteString getSlaTimerIdBytes(); + + /** + * optional int64 sla_due_date = 7; + * + * @return Whether the slaDueDate field is set. + */ + boolean hasSlaDueDate(); + + /** + * optional int64 sla_due_date = 7; + * + * @return The slaDueDate. + */ + long getSlaDueDate(); + + /** + * optional int32 sla_compliance = 8; + * + * @return Whether the slaCompliance field is set. + */ + boolean hasSlaCompliance(); + + /** + * optional int32 sla_compliance = 8; + * + * @return The slaCompliance. + */ + int getSlaCompliance(); + + /** + * optional int64 trigger_date = 9; + * + * @return Whether the triggerDate field is set. + */ + boolean hasTriggerDate(); + + /** + * optional int64 trigger_date = 9; + * + * @return The triggerDate. + */ + long getTriggerDate(); + + /** + * optional string retry_job_id = 10; + * + * @return Whether the retryJobId field is set. + */ + boolean hasRetryJobId(); + + /** + * optional string retry_job_id = 10; + * + * @return The retryJobId. + */ + java.lang.String getRetryJobId(); + + /** + * optional string retry_job_id = 10; + * + * @return The bytes for retryJobId. + */ + com.google.protobuf.ByteString getRetryJobIdBytes(); + + /** + * optional int32 retry_attempts = 11; + * + * @return Whether the retryAttempts field is set. + */ + boolean hasRetryAttempts(); + + /** + * optional int32 retry_attempts = 11; + * + * @return The retryAttempts. + */ + int getRetryAttempts(); + + /** + * optional string node_def_id = 12; + * + * @return Whether the nodeDefId field is set. + */ + boolean hasNodeDefId(); + + /** + * optional string node_def_id = 12; + * + * @return The nodeDefId. + */ + java.lang.String getNodeDefId(); + + /** + * optional string node_def_id = 12; + * + * @return The bytes for nodeDefId. + */ + com.google.protobuf.ByteString getNodeDefIdBytes(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance} + */ + public static final class NodeInstance extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance) + NodeInstanceOrBuilder { + private static final long serialVersionUID = 0L; + + // Use NodeInstance.newBuilder() to construct. + private NodeInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NodeInstance() { + id_ = ""; + slaTimerId_ = ""; + retryJobId_ = ""; + nodeDefId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new NodeInstance(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private NodeInstance( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + id_ = bs; + break; + } + case 16: { + bitField0_ |= 0x00000002; + nodeId_ = input.readInt64(); + break; + } + case 34: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) != 0)) { + subBuilder = content_.toBuilder(); + } + content_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(content_); + content_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + case 40: { + bitField0_ |= 0x00000008; + level_ = input.readInt32(); + break; + } + case 50: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000010; + slaTimerId_ = bs; + break; + } + case 56: { + bitField0_ |= 0x00000020; + slaDueDate_ = input.readInt64(); + break; + } + case 64: { + bitField0_ |= 0x00000040; + slaCompliance_ = input.readInt32(); + break; + } + case 72: { + bitField0_ |= 0x00000080; + triggerDate_ = input.readInt64(); + break; + } + case 82: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000100; + retryJobId_ = bs; + break; + } + case 88: { + bitField0_ |= 0x00000200; + retryAttempts_ = input.readInt32(); + break; + } + case 98: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000400; + nodeDefId_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder.class); + } + + private int bitField0_; + public static final int ID_FIELD_NUMBER = 1; + private volatile java.lang.Object id_; + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string id = 1; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } + } + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NODE_ID_FIELD_NUMBER = 2; + private long nodeId_; + + /** + * optional int64 node_id = 2; + * + * @return Whether the nodeId field is set. + */ + @java.lang.Override + public boolean hasNodeId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional int64 node_id = 2; + * + * @return The nodeId. + */ + @java.lang.Override + public long getNodeId() { + return nodeId_; + } + + public static final int CONTENT_FIELD_NUMBER = 4; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent content_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + * + * @return Whether the content field is set. + */ + @java.lang.Override + public boolean hasContent() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + * + * @return The content. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent getContent() { + return content_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent + .getDefaultInstance() + : content_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContentOrBuilder getContentOrBuilder() { + return content_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent + .getDefaultInstance() + : content_; + } + + public static final int LEVEL_FIELD_NUMBER = 5; + private int level_; + + /** + * optional int32 level = 5; + * + * @return Whether the level field is set. + */ + @java.lang.Override + public boolean hasLevel() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional int32 level = 5; + * + * @return The level. + */ + @java.lang.Override + public int getLevel() { + return level_; + } + + public static final int SLA_TIMER_ID_FIELD_NUMBER = 6; + private volatile java.lang.Object slaTimerId_; + + /** + * optional string sla_timer_id = 6; + * + * @return Whether the slaTimerId field is set. + */ + @java.lang.Override + public boolean hasSlaTimerId() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * optional string sla_timer_id = 6; + * + * @return The slaTimerId. + */ + @java.lang.Override + public java.lang.String getSlaTimerId() { + java.lang.Object ref = slaTimerId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + slaTimerId_ = s; + } + return s; + } + } + + /** + * optional string sla_timer_id = 6; + * + * @return The bytes for slaTimerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSlaTimerIdBytes() { + java.lang.Object ref = slaTimerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + slaTimerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SLA_DUE_DATE_FIELD_NUMBER = 7; + private long slaDueDate_; + + /** + * optional int64 sla_due_date = 7; + * + * @return Whether the slaDueDate field is set. + */ + @java.lang.Override + public boolean hasSlaDueDate() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * optional int64 sla_due_date = 7; + * + * @return The slaDueDate. + */ + @java.lang.Override + public long getSlaDueDate() { + return slaDueDate_; + } + + public static final int SLA_COMPLIANCE_FIELD_NUMBER = 8; + private int slaCompliance_; + + /** + * optional int32 sla_compliance = 8; + * + * @return Whether the slaCompliance field is set. + */ + @java.lang.Override + public boolean hasSlaCompliance() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * optional int32 sla_compliance = 8; + * + * @return The slaCompliance. + */ + @java.lang.Override + public int getSlaCompliance() { + return slaCompliance_; + } + + public static final int TRIGGER_DATE_FIELD_NUMBER = 9; + private long triggerDate_; + + /** + * optional int64 trigger_date = 9; + * + * @return Whether the triggerDate field is set. + */ + @java.lang.Override + public boolean hasTriggerDate() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * optional int64 trigger_date = 9; + * + * @return The triggerDate. + */ + @java.lang.Override + public long getTriggerDate() { + return triggerDate_; + } + + public static final int RETRY_JOB_ID_FIELD_NUMBER = 10; + private volatile java.lang.Object retryJobId_; + + /** + * optional string retry_job_id = 10; + * + * @return Whether the retryJobId field is set. + */ + @java.lang.Override + public boolean hasRetryJobId() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * optional string retry_job_id = 10; + * + * @return The retryJobId. + */ + @java.lang.Override + public java.lang.String getRetryJobId() { + java.lang.Object ref = retryJobId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + retryJobId_ = s; + } + return s; + } + } + + /** + * optional string retry_job_id = 10; + * + * @return The bytes for retryJobId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRetryJobIdBytes() { + java.lang.Object ref = retryJobId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + retryJobId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RETRY_ATTEMPTS_FIELD_NUMBER = 11; + private int retryAttempts_; + + /** + * optional int32 retry_attempts = 11; + * + * @return Whether the retryAttempts field is set. + */ + @java.lang.Override + public boolean hasRetryAttempts() { + return ((bitField0_ & 0x00000200) != 0); + } + + /** + * optional int32 retry_attempts = 11; + * + * @return The retryAttempts. + */ + @java.lang.Override + public int getRetryAttempts() { + return retryAttempts_; + } + + public static final int NODE_DEF_ID_FIELD_NUMBER = 12; + private volatile java.lang.Object nodeDefId_; + + /** + * optional string node_def_id = 12; + * + * @return Whether the nodeDefId field is set. + */ + @java.lang.Override + public boolean hasNodeDefId() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * optional string node_def_id = 12; + * + * @return The nodeDefId. + */ + @java.lang.Override + public java.lang.String getNodeDefId() { + java.lang.Object ref = nodeDefId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + nodeDefId_ = s; + } + return s; + } + } + + /** + * optional string node_def_id = 12; + * + * @return The bytes for nodeDefId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNodeDefIdBytes() { + java.lang.Object ref = nodeDefId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nodeDefId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt64(2, nodeId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(4, getContent()); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeInt32(5, level_); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, slaTimerId_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeInt64(7, slaDueDate_); + } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeInt32(8, slaCompliance_); + } + if (((bitField0_ & 0x00000080) != 0)) { + output.writeInt64(9, triggerDate_); + } + if (((bitField0_ & 0x00000100) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, retryJobId_); + } + if (((bitField0_ & 0x00000200) != 0)) { + output.writeInt32(11, retryAttempts_); + } + if (((bitField0_ & 0x00000400) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, nodeDefId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, nodeId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getContent()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, level_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, slaTimerId_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, slaDueDate_); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, slaCompliance_); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, triggerDate_); + } + if (((bitField0_ & 0x00000100) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, retryJobId_); + } + if (((bitField0_ & 0x00000200) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(11, retryAttempts_); + } + if (((bitField0_ & 0x00000400) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, nodeDefId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance) obj; + + if (hasId() != other.hasId()) + return false; + if (hasId()) { + if (!getId() + .equals(other.getId())) + return false; + } + if (hasNodeId() != other.hasNodeId()) + return false; + if (hasNodeId()) { + if (getNodeId() != other.getNodeId()) + return false; + } + if (hasContent() != other.hasContent()) + return false; + if (hasContent()) { + if (!getContent() + .equals(other.getContent())) + return false; + } + if (hasLevel() != other.hasLevel()) + return false; + if (hasLevel()) { + if (getLevel() != other.getLevel()) + return false; + } + if (hasSlaTimerId() != other.hasSlaTimerId()) + return false; + if (hasSlaTimerId()) { + if (!getSlaTimerId() + .equals(other.getSlaTimerId())) + return false; + } + if (hasSlaDueDate() != other.hasSlaDueDate()) + return false; + if (hasSlaDueDate()) { + if (getSlaDueDate() != other.getSlaDueDate()) + return false; + } + if (hasSlaCompliance() != other.hasSlaCompliance()) + return false; + if (hasSlaCompliance()) { + if (getSlaCompliance() != other.getSlaCompliance()) + return false; + } + if (hasTriggerDate() != other.hasTriggerDate()) + return false; + if (hasTriggerDate()) { + if (getTriggerDate() != other.getTriggerDate()) + return false; + } + if (hasRetryJobId() != other.hasRetryJobId()) + return false; + if (hasRetryJobId()) { + if (!getRetryJobId() + .equals(other.getRetryJobId())) + return false; + } + if (hasRetryAttempts() != other.hasRetryAttempts()) + return false; + if (hasRetryAttempts()) { + if (getRetryAttempts() != other.getRetryAttempts()) + return false; + } + if (hasNodeDefId() != other.hasNodeDefId()) + return false; + if (hasNodeDefId()) { + if (!getNodeDefId() + .equals(other.getNodeDefId())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + if (hasNodeId()) { + hash = (37 * hash) + NODE_ID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNodeId()); + } + if (hasContent()) { + hash = (37 * hash) + CONTENT_FIELD_NUMBER; + hash = (53 * hash) + getContent().hashCode(); + } + if (hasLevel()) { + hash = (37 * hash) + LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getLevel(); + } + if (hasSlaTimerId()) { + hash = (37 * hash) + SLA_TIMER_ID_FIELD_NUMBER; + hash = (53 * hash) + getSlaTimerId().hashCode(); + } + if (hasSlaDueDate()) { + hash = (37 * hash) + SLA_DUE_DATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSlaDueDate()); + } + if (hasSlaCompliance()) { + hash = (37 * hash) + SLA_COMPLIANCE_FIELD_NUMBER; + hash = (53 * hash) + getSlaCompliance(); + } + if (hasTriggerDate()) { + hash = (37 * hash) + TRIGGER_DATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTriggerDate()); + } + if (hasRetryJobId()) { + hash = (37 * hash) + RETRY_JOB_ID_FIELD_NUMBER; + hash = (53 * hash) + getRetryJobId().hashCode(); + } + if (hasRetryAttempts()) { + hash = (37 * hash) + RETRY_ATTEMPTS_FIELD_NUMBER; + hash = (53 * hash) + getRetryAttempts(); + } + if (hasNodeDefId()) { + hash = (37 * hash) + NODE_DEF_ID_FIELD_NUMBER; + hash = (53 * hash) + getNodeDefId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getContentFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + id_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + nodeId_ = 0L; + bitField0_ = (bitField0_ & ~0x00000002); + if (contentBuilder_ == null) { + content_ = null; + } else { + contentBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + level_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); + slaTimerId_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + slaDueDate_ = 0L; + bitField0_ = (bitField0_ & ~0x00000020); + slaCompliance_ = 0; + bitField0_ = (bitField0_ & ~0x00000040); + triggerDate_ = 0L; + bitField0_ = (bitField0_ & ~0x00000080); + retryJobId_ = ""; + bitField0_ = (bitField0_ & ~0x00000100); + retryAttempts_ = 0; + bitField0_ = (bitField0_ & ~0x00000200); + nodeDefId_ = ""; + bitField0_ = (bitField0_ & ~0x00000400); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.id_ = id_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.nodeId_ = nodeId_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + if (contentBuilder_ == null) { + result.content_ = content_; + } else { + result.content_ = contentBuilder_.build(); + } + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.level_ = level_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.slaTimerId_ = slaTimerId_; + if (((from_bitField0_ & 0x00000020) != 0)) { + result.slaDueDate_ = slaDueDate_; + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.slaCompliance_ = slaCompliance_; + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.triggerDate_ = triggerDate_; + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + to_bitField0_ |= 0x00000100; + } + result.retryJobId_ = retryJobId_; + if (((from_bitField0_ & 0x00000200) != 0)) { + result.retryAttempts_ = retryAttempts_; + to_bitField0_ |= 0x00000200; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + to_bitField0_ |= 0x00000400; + } + result.nodeDefId_ = nodeDefId_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance + .getDefaultInstance()) + return this; + if (other.hasId()) { + bitField0_ |= 0x00000001; + id_ = other.id_; + onChanged(); + } + if (other.hasNodeId()) { + setNodeId(other.getNodeId()); + } + if (other.hasContent()) { + mergeContent(other.getContent()); + } + if (other.hasLevel()) { + setLevel(other.getLevel()); + } + if (other.hasSlaTimerId()) { + bitField0_ |= 0x00000010; + slaTimerId_ = other.slaTimerId_; + onChanged(); + } + if (other.hasSlaDueDate()) { + setSlaDueDate(other.getSlaDueDate()); + } + if (other.hasSlaCompliance()) { + setSlaCompliance(other.getSlaCompliance()); + } + if (other.hasTriggerDate()) { + setTriggerDate(other.getTriggerDate()); + } + if (other.hasRetryJobId()) { + bitField0_ |= 0x00000100; + retryJobId_ = other.retryJobId_; + onChanged(); + } + if (other.hasRetryAttempts()) { + setRetryAttempts(other.getRetryAttempts()); + } + if (other.hasNodeDefId()) { + bitField0_ |= 0x00000400; + nodeDefId_ = other.nodeDefId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object id_ = ""; + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string id = 1; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string id = 1; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } + + /** + * optional string id = 1; + * + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000001); + id_ = getDefaultInstance().getId(); + onChanged(); + return this; + } + + /** + * optional string id = 1; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } + + private long nodeId_; + + /** + * optional int64 node_id = 2; + * + * @return Whether the nodeId field is set. + */ + @java.lang.Override + public boolean hasNodeId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional int64 node_id = 2; + * + * @return The nodeId. + */ + @java.lang.Override + public long getNodeId() { + return nodeId_; + } + + /** + * optional int64 node_id = 2; + * + * @param value The nodeId to set. + * @return This builder for chaining. + */ + public Builder setNodeId(long value) { + bitField0_ |= 0x00000002; + nodeId_ = value; + onChanged(); + return this; + } + + /** + * optional int64 node_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearNodeId() { + bitField0_ = (bitField0_ & ~0x00000002); + nodeId_ = 0L; + onChanged(); + return this; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent content_; + private com.google.protobuf.SingleFieldBuilderV3 contentBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + * + * @return Whether the content field is set. + */ + public boolean hasContent() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + * + * @return The content. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent getContent() { + if (contentBuilder_ == null) { + return content_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent + .getDefaultInstance() + : content_; + } else { + return contentBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + */ + public Builder setContent( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent value) { + if (contentBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + content_ = value; + onChanged(); + } else { + contentBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + */ + public Builder setContent( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.Builder builderForValue) { + if (contentBuilder_ == null) { + content_ = builderForValue.build(); + onChanged(); + } else { + contentBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + */ + public Builder mergeContent( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent value) { + if (contentBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + content_ != null && + content_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent + .getDefaultInstance()) { + content_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent + .newBuilder(content_).mergeFrom(value).buildPartial(); + } else { + content_ = value; + } + onChanged(); + } else { + contentBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + */ + public Builder clearContent() { + if (contentBuilder_ == null) { + content_ = null; + onChanged(); + } else { + contentBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.Builder getContentBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getContentFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContentOrBuilder getContentOrBuilder() { + if (contentBuilder_ != null) { + return contentBuilder_.getMessageOrBuilder(); + } else { + return content_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent + .getDefaultInstance() + : content_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent content = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3 getContentFieldBuilder() { + if (contentBuilder_ == null) { + contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getContent(), + getParentForChildren(), + isClean()); + content_ = null; + } + return contentBuilder_; + } + + private int level_; + + /** + * optional int32 level = 5; + * + * @return Whether the level field is set. + */ + @java.lang.Override + public boolean hasLevel() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional int32 level = 5; + * + * @return The level. + */ + @java.lang.Override + public int getLevel() { + return level_; + } + + /** + * optional int32 level = 5; + * + * @param value The level to set. + * @return This builder for chaining. + */ + public Builder setLevel(int value) { + bitField0_ |= 0x00000008; + level_ = value; + onChanged(); + return this; + } + + /** + * optional int32 level = 5; + * + * @return This builder for chaining. + */ + public Builder clearLevel() { + bitField0_ = (bitField0_ & ~0x00000008); + level_ = 0; + onChanged(); + return this; + } + + private java.lang.Object slaTimerId_ = ""; + + /** + * optional string sla_timer_id = 6; + * + * @return Whether the slaTimerId field is set. + */ + public boolean hasSlaTimerId() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * optional string sla_timer_id = 6; + * + * @return The slaTimerId. + */ + public java.lang.String getSlaTimerId() { + java.lang.Object ref = slaTimerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + slaTimerId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string sla_timer_id = 6; + * + * @return The bytes for slaTimerId. + */ + public com.google.protobuf.ByteString getSlaTimerIdBytes() { + java.lang.Object ref = slaTimerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + slaTimerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string sla_timer_id = 6; + * + * @param value The slaTimerId to set. + * @return This builder for chaining. + */ + public Builder setSlaTimerId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + slaTimerId_ = value; + onChanged(); + return this; + } + + /** + * optional string sla_timer_id = 6; + * + * @return This builder for chaining. + */ + public Builder clearSlaTimerId() { + bitField0_ = (bitField0_ & ~0x00000010); + slaTimerId_ = getDefaultInstance().getSlaTimerId(); + onChanged(); + return this; + } + + /** + * optional string sla_timer_id = 6; + * + * @param value The bytes for slaTimerId to set. + * @return This builder for chaining. + */ + public Builder setSlaTimerIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + slaTimerId_ = value; + onChanged(); + return this; + } + + private long slaDueDate_; + + /** + * optional int64 sla_due_date = 7; + * + * @return Whether the slaDueDate field is set. + */ + @java.lang.Override + public boolean hasSlaDueDate() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * optional int64 sla_due_date = 7; + * + * @return The slaDueDate. + */ + @java.lang.Override + public long getSlaDueDate() { + return slaDueDate_; + } + + /** + * optional int64 sla_due_date = 7; + * + * @param value The slaDueDate to set. + * @return This builder for chaining. + */ + public Builder setSlaDueDate(long value) { + bitField0_ |= 0x00000020; + slaDueDate_ = value; + onChanged(); + return this; + } + + /** + * optional int64 sla_due_date = 7; + * + * @return This builder for chaining. + */ + public Builder clearSlaDueDate() { + bitField0_ = (bitField0_ & ~0x00000020); + slaDueDate_ = 0L; + onChanged(); + return this; + } + + private int slaCompliance_; + + /** + * optional int32 sla_compliance = 8; + * + * @return Whether the slaCompliance field is set. + */ + @java.lang.Override + public boolean hasSlaCompliance() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * optional int32 sla_compliance = 8; + * + * @return The slaCompliance. + */ + @java.lang.Override + public int getSlaCompliance() { + return slaCompliance_; + } + + /** + * optional int32 sla_compliance = 8; + * + * @param value The slaCompliance to set. + * @return This builder for chaining. + */ + public Builder setSlaCompliance(int value) { + bitField0_ |= 0x00000040; + slaCompliance_ = value; + onChanged(); + return this; + } + + /** + * optional int32 sla_compliance = 8; + * + * @return This builder for chaining. + */ + public Builder clearSlaCompliance() { + bitField0_ = (bitField0_ & ~0x00000040); + slaCompliance_ = 0; + onChanged(); + return this; + } + + private long triggerDate_; + + /** + * optional int64 trigger_date = 9; + * + * @return Whether the triggerDate field is set. + */ + @java.lang.Override + public boolean hasTriggerDate() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * optional int64 trigger_date = 9; + * + * @return The triggerDate. + */ + @java.lang.Override + public long getTriggerDate() { + return triggerDate_; + } + + /** + * optional int64 trigger_date = 9; + * + * @param value The triggerDate to set. + * @return This builder for chaining. + */ + public Builder setTriggerDate(long value) { + bitField0_ |= 0x00000080; + triggerDate_ = value; + onChanged(); + return this; + } + + /** + * optional int64 trigger_date = 9; + * + * @return This builder for chaining. + */ + public Builder clearTriggerDate() { + bitField0_ = (bitField0_ & ~0x00000080); + triggerDate_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object retryJobId_ = ""; + + /** + * optional string retry_job_id = 10; + * + * @return Whether the retryJobId field is set. + */ + public boolean hasRetryJobId() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * optional string retry_job_id = 10; + * + * @return The retryJobId. + */ + public java.lang.String getRetryJobId() { + java.lang.Object ref = retryJobId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + retryJobId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string retry_job_id = 10; + * + * @return The bytes for retryJobId. + */ + public com.google.protobuf.ByteString getRetryJobIdBytes() { + java.lang.Object ref = retryJobId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + retryJobId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string retry_job_id = 10; + * + * @param value The retryJobId to set. + * @return This builder for chaining. + */ + public Builder setRetryJobId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; + retryJobId_ = value; + onChanged(); + return this; + } + + /** + * optional string retry_job_id = 10; + * + * @return This builder for chaining. + */ + public Builder clearRetryJobId() { + bitField0_ = (bitField0_ & ~0x00000100); + retryJobId_ = getDefaultInstance().getRetryJobId(); + onChanged(); + return this; + } + + /** + * optional string retry_job_id = 10; + * + * @param value The bytes for retryJobId to set. + * @return This builder for chaining. + */ + public Builder setRetryJobIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; + retryJobId_ = value; + onChanged(); + return this; + } + + private int retryAttempts_; + + /** + * optional int32 retry_attempts = 11; + * + * @return Whether the retryAttempts field is set. + */ + @java.lang.Override + public boolean hasRetryAttempts() { + return ((bitField0_ & 0x00000200) != 0); + } + + /** + * optional int32 retry_attempts = 11; + * + * @return The retryAttempts. + */ + @java.lang.Override + public int getRetryAttempts() { + return retryAttempts_; + } + + /** + * optional int32 retry_attempts = 11; + * + * @param value The retryAttempts to set. + * @return This builder for chaining. + */ + public Builder setRetryAttempts(int value) { + bitField0_ |= 0x00000200; + retryAttempts_ = value; + onChanged(); + return this; + } + + /** + * optional int32 retry_attempts = 11; + * + * @return This builder for chaining. + */ + public Builder clearRetryAttempts() { + bitField0_ = (bitField0_ & ~0x00000200); + retryAttempts_ = 0; + onChanged(); + return this; + } + + private java.lang.Object nodeDefId_ = ""; + + /** + * optional string node_def_id = 12; + * + * @return Whether the nodeDefId field is set. + */ + public boolean hasNodeDefId() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * optional string node_def_id = 12; + * + * @return The nodeDefId. + */ + public java.lang.String getNodeDefId() { + java.lang.Object ref = nodeDefId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + nodeDefId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string node_def_id = 12; + * + * @return The bytes for nodeDefId. + */ + public com.google.protobuf.ByteString getNodeDefIdBytes() { + java.lang.Object ref = nodeDefId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nodeDefId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string node_def_id = 12; + * + * @param value The nodeDefId to set. + * @return This builder for chaining. + */ + public Builder setNodeDefId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; + nodeDefId_ = value; + onChanged(); + return this; + } + + /** + * optional string node_def_id = 12; + * + * @return This builder for chaining. + */ + public Builder clearNodeDefId() { + bitField0_ = (bitField0_ & ~0x00000400); + nodeDefId_ = getDefaultInstance().getNodeDefId(); + onChanged(); + return this; + } + + /** + * optional string node_def_id = 12; + * + * @param value The bytes for nodeDefId to set. + * @return This builder for chaining. + */ + public Builder setNodeDefIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; + nodeDefId_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeInstance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NodeInstance(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ExclusiveGroupInstanceOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated string group_node_instance_id = 1; + * + * @return A list containing the groupNodeInstanceId. + */ + java.util.List getGroupNodeInstanceIdList(); + + /** + * repeated string group_node_instance_id = 1; + * + * @return The count of groupNodeInstanceId. + */ + int getGroupNodeInstanceIdCount(); + + /** + * repeated string group_node_instance_id = 1; + * + * @param index The index of the element to return. + * @return The groupNodeInstanceId at the given index. + */ + java.lang.String getGroupNodeInstanceId(int index); + + /** + * repeated string group_node_instance_id = 1; + * + * @param index The index of the value to return. + * @return The bytes of the groupNodeInstanceId at the given index. + */ + com.google.protobuf.ByteString getGroupNodeInstanceIdBytes(int index); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance} + */ + public static final class ExclusiveGroupInstance extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance) + ExclusiveGroupInstanceOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ExclusiveGroupInstance.newBuilder() to construct. + private ExclusiveGroupInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ExclusiveGroupInstance() { + groupNodeInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ExclusiveGroupInstance(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ExclusiveGroupInstance( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + groupNodeInstanceId_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + groupNodeInstanceId_.add(bs); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + groupNodeInstanceId_ = groupNodeInstanceId_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder.class); + } + + public static final int GROUP_NODE_INSTANCE_ID_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList groupNodeInstanceId_; + + /** + * repeated string group_node_instance_id = 1; + * + * @return A list containing the groupNodeInstanceId. + */ + public com.google.protobuf.ProtocolStringList getGroupNodeInstanceIdList() { + return groupNodeInstanceId_; + } + + /** + * repeated string group_node_instance_id = 1; + * + * @return The count of groupNodeInstanceId. + */ + public int getGroupNodeInstanceIdCount() { + return groupNodeInstanceId_.size(); + } + + /** + * repeated string group_node_instance_id = 1; + * + * @param index The index of the element to return. + * @return The groupNodeInstanceId at the given index. + */ + public java.lang.String getGroupNodeInstanceId(int index) { + return groupNodeInstanceId_.get(index); + } + + /** + * repeated string group_node_instance_id = 1; + * + * @param index The index of the value to return. + * @return The bytes of the groupNodeInstanceId at the given index. + */ + public com.google.protobuf.ByteString getGroupNodeInstanceIdBytes(int index) { + return groupNodeInstanceId_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < groupNodeInstanceId_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupNodeInstanceId_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < groupNodeInstanceId_.size(); i++) { + dataSize += computeStringSizeNoTag(groupNodeInstanceId_.getRaw(i)); + } + size += dataSize; + size += 1 * getGroupNodeInstanceIdList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance) obj; + + if (!getGroupNodeInstanceIdList() + .equals(other.getGroupNodeInstanceIdList())) + return false; + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getGroupNodeInstanceIdCount() > 0) { + hash = (37 * hash) + GROUP_NODE_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getGroupNodeInstanceIdList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + groupNodeInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance( + this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + groupNodeInstanceId_ = groupNodeInstanceId_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.groupNodeInstanceId_ = groupNodeInstanceId_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance + .getDefaultInstance()) + return this; + if (!other.groupNodeInstanceId_.isEmpty()) { + if (groupNodeInstanceId_.isEmpty()) { + groupNodeInstanceId_ = other.groupNodeInstanceId_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureGroupNodeInstanceIdIsMutable(); + groupNodeInstanceId_.addAll(other.groupNodeInstanceId_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList groupNodeInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureGroupNodeInstanceIdIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + groupNodeInstanceId_ = new com.google.protobuf.LazyStringArrayList(groupNodeInstanceId_); + bitField0_ |= 0x00000001; + } + } + + /** + * repeated string group_node_instance_id = 1; + * + * @return A list containing the groupNodeInstanceId. + */ + public com.google.protobuf.ProtocolStringList getGroupNodeInstanceIdList() { + return groupNodeInstanceId_.getUnmodifiableView(); + } + + /** + * repeated string group_node_instance_id = 1; + * + * @return The count of groupNodeInstanceId. + */ + public int getGroupNodeInstanceIdCount() { + return groupNodeInstanceId_.size(); + } + + /** + * repeated string group_node_instance_id = 1; + * + * @param index The index of the element to return. + * @return The groupNodeInstanceId at the given index. + */ + public java.lang.String getGroupNodeInstanceId(int index) { + return groupNodeInstanceId_.get(index); + } + + /** + * repeated string group_node_instance_id = 1; + * + * @param index The index of the value to return. + * @return The bytes of the groupNodeInstanceId at the given index. + */ + public com.google.protobuf.ByteString getGroupNodeInstanceIdBytes(int index) { + return groupNodeInstanceId_.getByteString(index); + } + + /** + * repeated string group_node_instance_id = 1; + * + * @param index The index to set the value at. + * @param value The groupNodeInstanceId to set. + * @return This builder for chaining. + */ + public Builder setGroupNodeInstanceId( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureGroupNodeInstanceIdIsMutable(); + groupNodeInstanceId_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string group_node_instance_id = 1; + * + * @param value The groupNodeInstanceId to add. + * @return This builder for chaining. + */ + public Builder addGroupNodeInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureGroupNodeInstanceIdIsMutable(); + groupNodeInstanceId_.add(value); + onChanged(); + return this; + } + + /** + * repeated string group_node_instance_id = 1; + * + * @param values The groupNodeInstanceId to add. + * @return This builder for chaining. + */ + public Builder addAllGroupNodeInstanceId( + java.lang.Iterable values) { + ensureGroupNodeInstanceIdIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, groupNodeInstanceId_); + onChanged(); + return this; + } + + /** + * repeated string group_node_instance_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearGroupNodeInstanceId() { + groupNodeInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * repeated string group_node_instance_id = 1; + * + * @param value The bytes of the groupNodeInstanceId to add. + * @return This builder for chaining. + */ + public Builder addGroupNodeInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureGroupNodeInstanceIdIsMutable(); + groupNodeInstanceId_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExclusiveGroupInstance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExclusiveGroupInstance(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface NodeInstanceContentOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; + * + * @return Whether the type field is set. + */ + boolean hasType(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; + * + * @return The type. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType getType(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + * + * @return Whether the ruleSet field is set. + */ + boolean hasRuleSet(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + * + * @return The ruleSet. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getRuleSet(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder getRuleSetOrBuilder(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + * + * @return Whether the humanTask field is set. + */ + boolean hasHumanTask(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + * + * @return The humanTask. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getHumanTask(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder getHumanTaskOrBuilder(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + * + * @return Whether the workItem field is set. + */ + boolean hasWorkItem(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + * + * @return The workItem. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getWorkItem(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder getWorkItemOrBuilder(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + * + * @return Whether the subProcess field is set. + */ + boolean hasSubProcess(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + * + * @return The subProcess. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getSubProcess(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder getSubProcessOrBuilder(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + * + * @return Whether the milestone field is set. + */ + boolean hasMilestone(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + * + * @return The milestone. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getMilestone(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder getMilestoneOrBuilder(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + * + * @return Whether the event field is set. + */ + boolean hasEvent(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + * + * @return The event. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode getEvent(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder getEventOrBuilder(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + * + * @return Whether the timer field is set. + */ + boolean hasTimer(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + * + * @return The timer. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode getTimer(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder getTimerOrBuilder(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + * + * @return Whether the join field is set. + */ + boolean hasJoin(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + * + * @return The join. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode getJoin(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder getJoinOrBuilder(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + * + * @return Whether the state field is set. + */ + boolean hasState(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + * + * @return The state. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode getState(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder getStateOrBuilder(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + * + * @return Whether the composite field is set. + */ + boolean hasComposite(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + * + * @return The composite. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getComposite(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder getCompositeOrBuilder(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + * + * @return Whether the forEach field is set. + */ + boolean hasForEach(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + * + * @return The forEach. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode getForEach(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder getForEachOrBuilder(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + * + * @return Whether the asyncEvent field is set. + */ + boolean hasAsyncEvent(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + * + * @return The asyncEvent. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getAsyncEvent(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder getAsyncEventOrBuilder(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent} + */ + public static final class NodeInstanceContent extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent) + NodeInstanceContentOrBuilder { + private static final long serialVersionUID = 0L; + + // Use NodeInstanceContent.newBuilder() to construct. + private NodeInstanceContent(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NodeInstanceContent() { + type_ = 0; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new NodeInstanceContent(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private NodeInstanceContent( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + int rawValue = input.readEnum(); + @SuppressWarnings("deprecation") + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType value = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType + .valueOf(rawValue); + if (value == null) { + unknownFields.mergeVarintField(1, rawValue); + } else { + bitField0_ |= 0x00000001; + type_ = rawValue; + } + break; + } + case 18: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) != 0)) { + subBuilder = ruleSet_.toBuilder(); + } + ruleSet_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(ruleSet_); + ruleSet_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + case 26: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) != 0)) { + subBuilder = humanTask_.toBuilder(); + } + humanTask_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(humanTask_); + humanTask_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + case 34: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder subBuilder = null; + if (((bitField0_ & 0x00000008) != 0)) { + subBuilder = workItem_.toBuilder(); + } + workItem_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workItem_); + workItem_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000008; + break; + } + case 42: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder subBuilder = null; + if (((bitField0_ & 0x00000010) != 0)) { + subBuilder = subProcess_.toBuilder(); + } + subProcess_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(subProcess_); + subProcess_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000010; + break; + } + case 50: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder subBuilder = null; + if (((bitField0_ & 0x00000020) != 0)) { + subBuilder = milestone_.toBuilder(); + } + milestone_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(milestone_); + milestone_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000020; + break; + } + case 58: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder subBuilder = null; + if (((bitField0_ & 0x00000040) != 0)) { + subBuilder = event_.toBuilder(); + } + event_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(event_); + event_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000040; + break; + } + case 66: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder subBuilder = null; + if (((bitField0_ & 0x00000080) != 0)) { + subBuilder = timer_.toBuilder(); + } + timer_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timer_); + timer_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000080; + break; + } + case 74: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder subBuilder = null; + if (((bitField0_ & 0x00000100) != 0)) { + subBuilder = join_.toBuilder(); + } + join_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(join_); + join_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000100; + break; + } + case 82: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder subBuilder = null; + if (((bitField0_ & 0x00000200) != 0)) { + subBuilder = state_.toBuilder(); + } + state_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(state_); + state_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000200; + break; + } + case 90: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder subBuilder = null; + if (((bitField0_ & 0x00000400) != 0)) { + subBuilder = composite_.toBuilder(); + } + composite_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(composite_); + composite_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000400; + break; + } + case 98: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder subBuilder = null; + if (((bitField0_ & 0x00000800) != 0)) { + subBuilder = forEach_.toBuilder(); + } + forEach_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(forEach_); + forEach_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000800; + break; + } + case 106: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder subBuilder = null; + if (((bitField0_ & 0x00001000) != 0)) { + subBuilder = asyncEvent_.toBuilder(); + } + asyncEvent_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(asyncEvent_); + asyncEvent_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00001000; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.Builder.class); + } + + public interface RuleSetNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated string timer_instance_id = 1; + * + * @return A list containing the timerInstanceId. + */ + java.util.List getTimerInstanceIdList(); + + /** + * repeated string timer_instance_id = 1; + * + * @return The count of timerInstanceId. + */ + int getTimerInstanceIdCount(); + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + java.lang.String getTimerInstanceId(int index); + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + java.util.List getMapEntryList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getMapEntry( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + int getMapEntryCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + java.util.List getMapEntryOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder getMapEntryOrBuilder( + int index); + + /** + * optional string rule_flow_group = 3; + * + * @return Whether the ruleFlowGroup field is set. + */ + boolean hasRuleFlowGroup(); + + /** + * optional string rule_flow_group = 3; + * + * @return The ruleFlowGroup. + */ + java.lang.String getRuleFlowGroup(); + + /** + * optional string rule_flow_group = 3; + * + * @return The bytes for ruleFlowGroup. + */ + com.google.protobuf.ByteString getRuleFlowGroupBytes(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode} + */ + public static final class RuleSetNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) + RuleSetNodeOrBuilder { + private static final long serialVersionUID = 0L; + + // Use RuleSetNode.newBuilder() to construct. + private RuleSetNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RuleSetNode() { + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + mapEntry_ = java.util.Collections.emptyList(); + ruleFlowGroup_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RuleSetNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RuleSetNode( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + timerInstanceId_.add(bs); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + mapEntry_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + mapEntry_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.PARSER, + extensionRegistry)); + break; + } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + ruleFlowGroup_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + mapEntry_ = java.util.Collections.unmodifiableList(mapEntry_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder.class); + } + + public interface TextMapEntryOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string name = 1; + * + * @return Whether the name field is set. + */ + boolean hasName(); + + /** + * optional string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * optional string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * optional string value = 2; + * + * @return Whether the value field is set. + */ + boolean hasValue(); + + /** + * optional string value = 2; + * + * @return The value. + */ + java.lang.String getValue(); + + /** + * optional string value = 2; + * + * @return The bytes for value. + */ + com.google.protobuf.ByteString getValueBytes(); + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry} + */ + public static final class TextMapEntry extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) + TextMapEntryOrBuilder { + private static final long serialVersionUID = 0L; + + // Use TextMapEntry.newBuilder() to construct. + private TextMapEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private TextMapEntry() { + name_ = ""; + value_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TextMapEntry(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private TextMapEntry( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + name_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + value_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder.class); + } + + private int bitField0_; + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + + /** + * optional string name = 1; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string name = 1; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } + return s; + } + } + + /** + * optional string name = 1; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VALUE_FIELD_NUMBER = 2; + private volatile java.lang.Object value_; + + /** + * optional string value = 2; + * + * @return Whether the value field is set. + */ + @java.lang.Override + public boolean hasValue() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string value = 2; + * + * @return The value. + */ + @java.lang.Override + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + value_ = s; + } + return s; + } + } + + /** + * optional string value = 2; + * + * @return The bytes for value. + */ + @java.lang.Override + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) obj; + + if (hasName() != other.hasName()) + return false; + if (hasName()) { + if (!getName() + .equals(other.getName())) + return false; + } + if (hasValue() != other.hasValue()) + return false; + if (hasValue()) { + if (!getValue() + .equals(other.getValue())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (hasValue()) { + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + value_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.name_ = name_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.value_ = value_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry + .getDefaultInstance()) + return this; + if (other.hasName()) { + bitField0_ |= 0x00000001; + name_ = other.name_; + onChanged(); + } + if (other.hasValue()) { + bitField0_ |= 0x00000002; + value_ = other.value_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * optional string name = 1; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string name = 1; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string name = 1; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + name_ = value; + onChanged(); + return this; + } + + /** + * optional string name = 1; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000001); + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + + /** + * optional string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object value_ = ""; + + /** + * optional string value = 2; + * + * @return Whether the value field is set. + */ + public boolean hasValue() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string value = 2; + * + * @return The value. + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + value_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string value = 2; + * + * @return The bytes for value. + */ + public com.google.protobuf.ByteString getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string value = 2; + * + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + value_ = value; + onChanged(); + return this; + } + + /** + * optional string value = 2; + * + * @return This builder for chaining. + */ + public Builder clearValue() { + bitField0_ = (bitField0_ & ~0x00000002); + value_ = getDefaultInstance().getValue(); + onChanged(); + return this; + } + + /** + * optional string value = 2; + * + * @param value The bytes for value to set. + * @return This builder for chaining. + */ + public Builder setValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + value_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TextMapEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TextMapEntry(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int bitField0_; + public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList timerInstanceId_; + + /** + * repeated string timer_instance_id = 1; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_; + } + + /** + * repeated string timer_instance_id = 1; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + public static final int MAPENTRY_FIELD_NUMBER = 2; + private java.util.List mapEntry_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + @java.lang.Override + public java.util.List getMapEntryList() { + return mapEntry_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + @java.lang.Override + public java.util.List getMapEntryOrBuilderList() { + return mapEntry_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + @java.lang.Override + public int getMapEntryCount() { + return mapEntry_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getMapEntry( + int index) { + return mapEntry_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder getMapEntryOrBuilder( + int index) { + return mapEntry_.get(index); + } + + public static final int RULE_FLOW_GROUP_FIELD_NUMBER = 3; + private volatile java.lang.Object ruleFlowGroup_; + + /** + * optional string rule_flow_group = 3; + * + * @return Whether the ruleFlowGroup field is set. + */ + @java.lang.Override + public boolean hasRuleFlowGroup() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string rule_flow_group = 3; + * + * @return The ruleFlowGroup. + */ + @java.lang.Override + public java.lang.String getRuleFlowGroup() { + java.lang.Object ref = ruleFlowGroup_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + ruleFlowGroup_ = s; + } + return s; + } + } + + /** + * optional string rule_flow_group = 3; + * + * @return The bytes for ruleFlowGroup. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRuleFlowGroupBytes() { + java.lang.Object ref = ruleFlowGroup_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ruleFlowGroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < timerInstanceId_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timerInstanceId_.getRaw(i)); + } + for (int i = 0; i < mapEntry_.size(); i++) { + output.writeMessage(2, mapEntry_.get(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ruleFlowGroup_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < timerInstanceId_.size(); i++) { + dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); + } + size += dataSize; + size += 1 * getTimerInstanceIdList().size(); + } + for (int i = 0; i < mapEntry_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, mapEntry_.get(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ruleFlowGroup_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode) obj; + + if (!getTimerInstanceIdList() + .equals(other.getTimerInstanceIdList())) + return false; + if (!getMapEntryList() + .equals(other.getMapEntryList())) + return false; + if (hasRuleFlowGroup() != other.hasRuleFlowGroup()) + return false; + if (hasRuleFlowGroup()) { + if (!getRuleFlowGroup() + .equals(other.getRuleFlowGroup())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getTimerInstanceIdCount() > 0) { + hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTimerInstanceIdList().hashCode(); + } + if (getMapEntryCount() > 0) { + hash = (37 * hash) + MAPENTRY_FIELD_NUMBER; + hash = (53 * hash) + getMapEntryList().hashCode(); + } + if (hasRuleFlowGroup()) { + hash = (37 * hash) + RULE_FLOW_GROUP_FIELD_NUMBER; + hash = (53 * hash) + getRuleFlowGroup().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getMapEntryFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + if (mapEntryBuilder_ == null) { + mapEntry_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + mapEntryBuilder_.clear(); + } + ruleFlowGroup_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.timerInstanceId_ = timerInstanceId_; + if (mapEntryBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + mapEntry_ = java.util.Collections.unmodifiableList(mapEntry_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.mapEntry_ = mapEntry_; + } else { + result.mapEntry_ = mapEntryBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.ruleFlowGroup_ = ruleFlowGroup_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode + .getDefaultInstance()) + return this; + if (!other.timerInstanceId_.isEmpty()) { + if (timerInstanceId_.isEmpty()) { + timerInstanceId_ = other.timerInstanceId_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.addAll(other.timerInstanceId_); + } + onChanged(); + } + if (mapEntryBuilder_ == null) { + if (!other.mapEntry_.isEmpty()) { + if (mapEntry_.isEmpty()) { + mapEntry_ = other.mapEntry_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureMapEntryIsMutable(); + mapEntry_.addAll(other.mapEntry_); + } + onChanged(); + } + } else { + if (!other.mapEntry_.isEmpty()) { + if (mapEntryBuilder_.isEmpty()) { + mapEntryBuilder_.dispose(); + mapEntryBuilder_ = null; + mapEntry_ = other.mapEntry_; + bitField0_ = (bitField0_ & ~0x00000002); + mapEntryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMapEntryFieldBuilder() + : null; + } else { + mapEntryBuilder_.addAllMessages(other.mapEntry_); + } + } + } + if (other.hasRuleFlowGroup()) { + bitField0_ |= 0x00000004; + ruleFlowGroup_ = other.ruleFlowGroup_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureTimerInstanceIdIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); + bitField0_ |= 0x00000001; + } + } + + /** + * repeated string timer_instance_id = 1; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_.getUnmodifiableView(); + } + + /** + * repeated string timer_instance_id = 1; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index to set the value at. + * @param value The timerInstanceId to set. + * @return This builder for chaining. + */ + public Builder setTimerInstanceId( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 1; + * + * @param value The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 1; + * + * @param values The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addAllTimerInstanceId( + java.lang.Iterable values) { + ensureTimerInstanceIdIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timerInstanceId_); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearTimerInstanceId() { + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 1; + * + * @param value The bytes of the timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + private java.util.List mapEntry_ = java.util.Collections + .emptyList(); + + private void ensureMapEntryIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + mapEntry_ = new java.util.ArrayList( + mapEntry_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 mapEntryBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public java.util.List getMapEntryList() { + if (mapEntryBuilder_ == null) { + return java.util.Collections.unmodifiableList(mapEntry_); + } else { + return mapEntryBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public int getMapEntryCount() { + if (mapEntryBuilder_ == null) { + return mapEntry_.size(); + } else { + return mapEntryBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getMapEntry( + int index) { + if (mapEntryBuilder_ == null) { + return mapEntry_.get(index); + } else { + return mapEntryBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public Builder setMapEntry( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry value) { + if (mapEntryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMapEntryIsMutable(); + mapEntry_.set(index, value); + onChanged(); + } else { + mapEntryBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public Builder setMapEntry( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder builderForValue) { + if (mapEntryBuilder_ == null) { + ensureMapEntryIsMutable(); + mapEntry_.set(index, builderForValue.build()); + onChanged(); + } else { + mapEntryBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public Builder addMapEntry( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry value) { + if (mapEntryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMapEntryIsMutable(); + mapEntry_.add(value); + onChanged(); + } else { + mapEntryBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public Builder addMapEntry( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry value) { + if (mapEntryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureMapEntryIsMutable(); + mapEntry_.add(index, value); + onChanged(); + } else { + mapEntryBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public Builder addMapEntry( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder builderForValue) { + if (mapEntryBuilder_ == null) { + ensureMapEntryIsMutable(); + mapEntry_.add(builderForValue.build()); + onChanged(); + } else { + mapEntryBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public Builder addMapEntry( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder builderForValue) { + if (mapEntryBuilder_ == null) { + ensureMapEntryIsMutable(); + mapEntry_.add(index, builderForValue.build()); + onChanged(); + } else { + mapEntryBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public Builder addAllMapEntry( + java.lang.Iterable values) { + if (mapEntryBuilder_ == null) { + ensureMapEntryIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mapEntry_); + onChanged(); + } else { + mapEntryBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public Builder clearMapEntry() { + if (mapEntryBuilder_ == null) { + mapEntry_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + mapEntryBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public Builder removeMapEntry(int index) { + if (mapEntryBuilder_ == null) { + ensureMapEntryIsMutable(); + mapEntry_.remove(index); + onChanged(); + } else { + mapEntryBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder getMapEntryBuilder( + int index) { + return getMapEntryFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder getMapEntryOrBuilder( + int index) { + if (mapEntryBuilder_ == null) { + return mapEntry_.get(index); + } else { + return mapEntryBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public java.util.List getMapEntryOrBuilderList() { + if (mapEntryBuilder_ != null) { + return mapEntryBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(mapEntry_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder addMapEntryBuilder() { + return getMapEntryFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder addMapEntryBuilder( + int index) { + return getMapEntryFieldBuilder().addBuilder( + index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; + */ + public java.util.List getMapEntryBuilderList() { + return getMapEntryFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getMapEntryFieldBuilder() { + if (mapEntryBuilder_ == null) { + mapEntryBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + mapEntry_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + mapEntry_ = null; + } + return mapEntryBuilder_; + } + + private java.lang.Object ruleFlowGroup_ = ""; + + /** + * optional string rule_flow_group = 3; + * + * @return Whether the ruleFlowGroup field is set. + */ + public boolean hasRuleFlowGroup() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string rule_flow_group = 3; + * + * @return The ruleFlowGroup. + */ + public java.lang.String getRuleFlowGroup() { + java.lang.Object ref = ruleFlowGroup_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + ruleFlowGroup_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string rule_flow_group = 3; + * + * @return The bytes for ruleFlowGroup. + */ + public com.google.protobuf.ByteString getRuleFlowGroupBytes() { + java.lang.Object ref = ruleFlowGroup_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + ruleFlowGroup_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string rule_flow_group = 3; + * + * @param value The ruleFlowGroup to set. + * @return This builder for chaining. + */ + public Builder setRuleFlowGroup( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + ruleFlowGroup_ = value; + onChanged(); + return this; + } + + /** + * optional string rule_flow_group = 3; + * + * @return This builder for chaining. + */ + public Builder clearRuleFlowGroup() { + bitField0_ = (bitField0_ & ~0x00000004); + ruleFlowGroup_ = getDefaultInstance().getRuleFlowGroup(); + onChanged(); + return this; + } + + /** + * optional string rule_flow_group = 3; + * + * @param value The bytes for ruleFlowGroup to set. + * @return This builder for chaining. + */ + public Builder setRuleFlowGroupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + ruleFlowGroup_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RuleSetNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RuleSetNode(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface HumanTaskNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string work_item_id = 1; + * + * @return Whether the workItemId field is set. + */ + boolean hasWorkItemId(); + + /** + * optional string work_item_id = 1; + * + * @return The workItemId. + */ + java.lang.String getWorkItemId(); + + /** + * optional string work_item_id = 1; + * + * @return The bytes for workItemId. + */ + com.google.protobuf.ByteString getWorkItemIdBytes(); + + /** + * repeated string timer_instance_id = 2; + * + * @return A list containing the timerInstanceId. + */ + java.util.List getTimerInstanceIdList(); + + /** + * repeated string timer_instance_id = 2; + * + * @return The count of timerInstanceId. + */ + int getTimerInstanceIdCount(); + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + java.lang.String getTimerInstanceId(int index); + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return Whether the errorHandlingProcessInstanceId field is set. + */ + boolean hasErrorHandlingProcessInstanceId(); + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return The errorHandlingProcessInstanceId. + */ + java.lang.String getErrorHandlingProcessInstanceId(); + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return The bytes for errorHandlingProcessInstanceId. + */ + com.google.protobuf.ByteString getErrorHandlingProcessInstanceIdBytes(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + * + * @return Whether the workitem field is set. + */ + boolean hasWorkitem(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + * + * @return The workitem. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem getWorkitem(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItemOrBuilder getWorkitemOrBuilder(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode} + */ + public static final class HumanTaskNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) + HumanTaskNodeOrBuilder { + private static final long serialVersionUID = 0L; + + // Use HumanTaskNode.newBuilder() to construct. + private HumanTaskNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private HumanTaskNode() { + workItemId_ = ""; + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + errorHandlingProcessInstanceId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new HumanTaskNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private HumanTaskNode( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + workItemId_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + timerInstanceId_.add(bs); + break; + } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + errorHandlingProcessInstanceId_ = bs; + break; + } + case 34: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) != 0)) { + subBuilder = workitem_.toBuilder(); + } + workitem_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workitem_); + workitem_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder.class); + } + + private int bitField0_; + public static final int WORK_ITEM_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object workItemId_; + + /** + * optional string work_item_id = 1; + * + * @return Whether the workItemId field is set. + */ + @java.lang.Override + public boolean hasWorkItemId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string work_item_id = 1; + * + * @return The workItemId. + */ + @java.lang.Override + public java.lang.String getWorkItemId() { + java.lang.Object ref = workItemId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + workItemId_ = s; + } + return s; + } + } + + /** + * optional string work_item_id = 1; + * + * @return The bytes for workItemId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getWorkItemIdBytes() { + java.lang.Object ref = workItemId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workItemId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList timerInstanceId_; + + /** + * repeated string timer_instance_id = 2; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_; + } + + /** + * repeated string timer_instance_id = 2; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + public static final int ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER = 3; + private volatile java.lang.Object errorHandlingProcessInstanceId_; + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return Whether the errorHandlingProcessInstanceId field is set. + */ + @java.lang.Override + public boolean hasErrorHandlingProcessInstanceId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return The errorHandlingProcessInstanceId. + */ + @java.lang.Override + public java.lang.String getErrorHandlingProcessInstanceId() { + java.lang.Object ref = errorHandlingProcessInstanceId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + errorHandlingProcessInstanceId_ = s; + } + return s; + } + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return The bytes for errorHandlingProcessInstanceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getErrorHandlingProcessInstanceIdBytes() { + java.lang.Object ref = errorHandlingProcessInstanceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorHandlingProcessInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WORKITEM_FIELD_NUMBER = 4; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem workitem_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + * + * @return Whether the workitem field is set. + */ + @java.lang.Override + public boolean hasWorkitem() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + * + * @return The workitem. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem getWorkitem() { + return workitem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem + .getDefaultInstance() + : workitem_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItemOrBuilder getWorkitemOrBuilder() { + return workitem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem + .getDefaultInstance() + : workitem_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workItemId_); + } + for (int i = 0; i < timerInstanceId_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerInstanceId_.getRaw(i)); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errorHandlingProcessInstanceId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(4, getWorkitem()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workItemId_); + } + { + int dataSize = 0; + for (int i = 0; i < timerInstanceId_.size(); i++) { + dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); + } + size += dataSize; + size += 1 * getTimerInstanceIdList().size(); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errorHandlingProcessInstanceId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getWorkitem()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode) obj; + + if (hasWorkItemId() != other.hasWorkItemId()) + return false; + if (hasWorkItemId()) { + if (!getWorkItemId() + .equals(other.getWorkItemId())) + return false; + } + if (!getTimerInstanceIdList() + .equals(other.getTimerInstanceIdList())) + return false; + if (hasErrorHandlingProcessInstanceId() != other.hasErrorHandlingProcessInstanceId()) + return false; + if (hasErrorHandlingProcessInstanceId()) { + if (!getErrorHandlingProcessInstanceId() + .equals(other.getErrorHandlingProcessInstanceId())) + return false; + } + if (hasWorkitem() != other.hasWorkitem()) + return false; + if (hasWorkitem()) { + if (!getWorkitem() + .equals(other.getWorkitem())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasWorkItemId()) { + hash = (37 * hash) + WORK_ITEM_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkItemId().hashCode(); + } + if (getTimerInstanceIdCount() > 0) { + hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTimerInstanceIdList().hashCode(); + } + if (hasErrorHandlingProcessInstanceId()) { + hash = (37 * hash) + ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getErrorHandlingProcessInstanceId().hashCode(); + } + if (hasWorkitem()) { + hash = (37 * hash) + WORKITEM_FIELD_NUMBER; + hash = (53 * hash) + getWorkitem().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getWorkitemFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + workItemId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + errorHandlingProcessInstanceId_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + if (workitemBuilder_ == null) { + workitem_ = null; + } else { + workitemBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.workItemId_ = workItemId_; + if (((bitField0_ & 0x00000002) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.timerInstanceId_ = timerInstanceId_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.errorHandlingProcessInstanceId_ = errorHandlingProcessInstanceId_; + if (((from_bitField0_ & 0x00000008) != 0)) { + if (workitemBuilder_ == null) { + result.workitem_ = workitem_; + } else { + result.workitem_ = workitemBuilder_.build(); + } + to_bitField0_ |= 0x00000004; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode + .getDefaultInstance()) + return this; + if (other.hasWorkItemId()) { + bitField0_ |= 0x00000001; + workItemId_ = other.workItemId_; + onChanged(); + } + if (!other.timerInstanceId_.isEmpty()) { + if (timerInstanceId_.isEmpty()) { + timerInstanceId_ = other.timerInstanceId_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.addAll(other.timerInstanceId_); + } + onChanged(); + } + if (other.hasErrorHandlingProcessInstanceId()) { + bitField0_ |= 0x00000004; + errorHandlingProcessInstanceId_ = other.errorHandlingProcessInstanceId_; + onChanged(); + } + if (other.hasWorkitem()) { + mergeWorkitem(other.getWorkitem()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object workItemId_ = ""; + + /** + * optional string work_item_id = 1; + * + * @return Whether the workItemId field is set. + */ + public boolean hasWorkItemId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string work_item_id = 1; + * + * @return The workItemId. + */ + public java.lang.String getWorkItemId() { + java.lang.Object ref = workItemId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + workItemId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string work_item_id = 1; + * + * @return The bytes for workItemId. + */ + public com.google.protobuf.ByteString getWorkItemIdBytes() { + java.lang.Object ref = workItemId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workItemId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string work_item_id = 1; + * + * @param value The workItemId to set. + * @return This builder for chaining. + */ + public Builder setWorkItemId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + workItemId_ = value; + onChanged(); + return this; + } + + /** + * optional string work_item_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearWorkItemId() { + bitField0_ = (bitField0_ & ~0x00000001); + workItemId_ = getDefaultInstance().getWorkItemId(); + onChanged(); + return this; + } + + /** + * optional string work_item_id = 1; + * + * @param value The bytes for workItemId to set. + * @return This builder for chaining. + */ + public Builder setWorkItemIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + workItemId_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureTimerInstanceIdIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); + bitField0_ |= 0x00000002; + } + } + + /** + * repeated string timer_instance_id = 2; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_.getUnmodifiableView(); + } + + /** + * repeated string timer_instance_id = 2; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index to set the value at. + * @param value The timerInstanceId to set. + * @return This builder for chaining. + */ + public Builder setTimerInstanceId( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @param value The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @param values The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addAllTimerInstanceId( + java.lang.Iterable values) { + ensureTimerInstanceIdIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timerInstanceId_); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearTimerInstanceId() { + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @param value The bytes of the timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + private java.lang.Object errorHandlingProcessInstanceId_ = ""; + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return Whether the errorHandlingProcessInstanceId field is set. + */ + public boolean hasErrorHandlingProcessInstanceId() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return The errorHandlingProcessInstanceId. + */ + public java.lang.String getErrorHandlingProcessInstanceId() { + java.lang.Object ref = errorHandlingProcessInstanceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + errorHandlingProcessInstanceId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return The bytes for errorHandlingProcessInstanceId. + */ + public com.google.protobuf.ByteString getErrorHandlingProcessInstanceIdBytes() { + java.lang.Object ref = errorHandlingProcessInstanceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorHandlingProcessInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @param value The errorHandlingProcessInstanceId to set. + * @return This builder for chaining. + */ + public Builder setErrorHandlingProcessInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + errorHandlingProcessInstanceId_ = value; + onChanged(); + return this; + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return This builder for chaining. + */ + public Builder clearErrorHandlingProcessInstanceId() { + bitField0_ = (bitField0_ & ~0x00000004); + errorHandlingProcessInstanceId_ = getDefaultInstance().getErrorHandlingProcessInstanceId(); + onChanged(); + return this; + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @param value The bytes for errorHandlingProcessInstanceId to set. + * @return This builder for chaining. + */ + public Builder setErrorHandlingProcessInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + errorHandlingProcessInstanceId_ = value; + onChanged(); + return this; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem workitem_; + private com.google.protobuf.SingleFieldBuilderV3 workitemBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + * + * @return Whether the workitem field is set. + */ + public boolean hasWorkitem() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + * + * @return The workitem. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem getWorkitem() { + if (workitemBuilder_ == null) { + return workitem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem + .getDefaultInstance() + : workitem_; + } else { + return workitemBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + */ + public Builder setWorkitem( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem value) { + if (workitemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + workitem_ = value; + onChanged(); + } else { + workitemBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + */ + public Builder setWorkitem( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.Builder builderForValue) { + if (workitemBuilder_ == null) { + workitem_ = builderForValue.build(); + onChanged(); + } else { + workitemBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + */ + public Builder mergeWorkitem( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem value) { + if (workitemBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + workitem_ != null && + workitem_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem + .getDefaultInstance()) { + workitem_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem + .newBuilder(workitem_).mergeFrom(value).buildPartial(); + } else { + workitem_ = value; + } + onChanged(); + } else { + workitemBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + */ + public Builder clearWorkitem() { + if (workitemBuilder_ == null) { + workitem_ = null; + onChanged(); + } else { + workitemBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.Builder getWorkitemBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getWorkitemFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItemOrBuilder getWorkitemOrBuilder() { + if (workitemBuilder_ != null) { + return workitemBuilder_.getMessageOrBuilder(); + } else { + return workitem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem + .getDefaultInstance() + : workitem_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem workitem = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3 getWorkitemFieldBuilder() { + if (workitemBuilder_ == null) { + workitemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getWorkitem(), + getParentForChildren(), + isClean()); + workitem_ = null; + } + return workitemBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HumanTaskNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HumanTaskNode(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WorkItemNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string work_item_id = 1; + * + * @return Whether the workItemId field is set. + */ + boolean hasWorkItemId(); + + /** + * optional string work_item_id = 1; + * + * @return The workItemId. + */ + java.lang.String getWorkItemId(); + + /** + * optional string work_item_id = 1; + * + * @return The bytes for workItemId. + */ + com.google.protobuf.ByteString getWorkItemIdBytes(); + + /** + * repeated string timer_instance_id = 2; + * + * @return A list containing the timerInstanceId. + */ + java.util.List getTimerInstanceIdList(); + + /** + * repeated string timer_instance_id = 2; + * + * @return The count of timerInstanceId. + */ + int getTimerInstanceIdCount(); + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + java.lang.String getTimerInstanceId(int index); + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return Whether the errorHandlingProcessInstanceId field is set. + */ + boolean hasErrorHandlingProcessInstanceId(); + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return The errorHandlingProcessInstanceId. + */ + java.lang.String getErrorHandlingProcessInstanceId(); + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return The bytes for errorHandlingProcessInstanceId. + */ + com.google.protobuf.ByteString getErrorHandlingProcessInstanceIdBytes(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + * + * @return Whether the workitem field is set. + */ + boolean hasWorkitem(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + * + * @return The workitem. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem getWorkitem(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItemOrBuilder getWorkitemOrBuilder(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode} + */ + public static final class WorkItemNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) + WorkItemNodeOrBuilder { + private static final long serialVersionUID = 0L; + + // Use WorkItemNode.newBuilder() to construct. + private WorkItemNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private WorkItemNode() { + workItemId_ = ""; + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + errorHandlingProcessInstanceId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new WorkItemNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private WorkItemNode( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + workItemId_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + timerInstanceId_.add(bs); + break; + } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + errorHandlingProcessInstanceId_ = bs; + break; + } + case 34: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.Builder subBuilder = null; + if (((bitField0_ & 0x00000004) != 0)) { + subBuilder = workitem_.toBuilder(); + } + workitem_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workitem_); + workitem_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000004; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder.class); + } + + private int bitField0_; + public static final int WORK_ITEM_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object workItemId_; + + /** + * optional string work_item_id = 1; + * + * @return Whether the workItemId field is set. + */ + @java.lang.Override + public boolean hasWorkItemId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string work_item_id = 1; + * + * @return The workItemId. + */ + @java.lang.Override + public java.lang.String getWorkItemId() { + java.lang.Object ref = workItemId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + workItemId_ = s; + } + return s; + } + } + + /** + * optional string work_item_id = 1; + * + * @return The bytes for workItemId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getWorkItemIdBytes() { + java.lang.Object ref = workItemId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workItemId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList timerInstanceId_; + + /** + * repeated string timer_instance_id = 2; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_; + } + + /** + * repeated string timer_instance_id = 2; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + public static final int ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER = 3; + private volatile java.lang.Object errorHandlingProcessInstanceId_; + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return Whether the errorHandlingProcessInstanceId field is set. + */ + @java.lang.Override + public boolean hasErrorHandlingProcessInstanceId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return The errorHandlingProcessInstanceId. + */ + @java.lang.Override + public java.lang.String getErrorHandlingProcessInstanceId() { + java.lang.Object ref = errorHandlingProcessInstanceId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + errorHandlingProcessInstanceId_ = s; + } + return s; + } + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return The bytes for errorHandlingProcessInstanceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getErrorHandlingProcessInstanceIdBytes() { + java.lang.Object ref = errorHandlingProcessInstanceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorHandlingProcessInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WORKITEM_FIELD_NUMBER = 4; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem workitem_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + * + * @return Whether the workitem field is set. + */ + @java.lang.Override + public boolean hasWorkitem() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + * + * @return The workitem. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem getWorkitem() { + return workitem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.getDefaultInstance() + : workitem_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItemOrBuilder getWorkitemOrBuilder() { + return workitem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.getDefaultInstance() + : workitem_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workItemId_); + } + for (int i = 0; i < timerInstanceId_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerInstanceId_.getRaw(i)); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errorHandlingProcessInstanceId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(4, getWorkitem()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workItemId_); + } + { + int dataSize = 0; + for (int i = 0; i < timerInstanceId_.size(); i++) { + dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); + } + size += dataSize; + size += 1 * getTimerInstanceIdList().size(); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, errorHandlingProcessInstanceId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getWorkitem()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode) obj; + + if (hasWorkItemId() != other.hasWorkItemId()) + return false; + if (hasWorkItemId()) { + if (!getWorkItemId() + .equals(other.getWorkItemId())) + return false; + } + if (!getTimerInstanceIdList() + .equals(other.getTimerInstanceIdList())) + return false; + if (hasErrorHandlingProcessInstanceId() != other.hasErrorHandlingProcessInstanceId()) + return false; + if (hasErrorHandlingProcessInstanceId()) { + if (!getErrorHandlingProcessInstanceId() + .equals(other.getErrorHandlingProcessInstanceId())) + return false; + } + if (hasWorkitem() != other.hasWorkitem()) + return false; + if (hasWorkitem()) { + if (!getWorkitem() + .equals(other.getWorkitem())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasWorkItemId()) { + hash = (37 * hash) + WORK_ITEM_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkItemId().hashCode(); + } + if (getTimerInstanceIdCount() > 0) { + hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTimerInstanceIdList().hashCode(); + } + if (hasErrorHandlingProcessInstanceId()) { + hash = (37 * hash) + ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getErrorHandlingProcessInstanceId().hashCode(); + } + if (hasWorkitem()) { + hash = (37 * hash) + WORKITEM_FIELD_NUMBER; + hash = (53 * hash) + getWorkitem().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getWorkitemFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + workItemId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + errorHandlingProcessInstanceId_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + if (workitemBuilder_ == null) { + workitem_ = null; + } else { + workitemBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.workItemId_ = workItemId_; + if (((bitField0_ & 0x00000002) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.timerInstanceId_ = timerInstanceId_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.errorHandlingProcessInstanceId_ = errorHandlingProcessInstanceId_; + if (((from_bitField0_ & 0x00000008) != 0)) { + if (workitemBuilder_ == null) { + result.workitem_ = workitem_; + } else { + result.workitem_ = workitemBuilder_.build(); + } + to_bitField0_ |= 0x00000004; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode + .getDefaultInstance()) + return this; + if (other.hasWorkItemId()) { + bitField0_ |= 0x00000001; + workItemId_ = other.workItemId_; + onChanged(); + } + if (!other.timerInstanceId_.isEmpty()) { + if (timerInstanceId_.isEmpty()) { + timerInstanceId_ = other.timerInstanceId_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.addAll(other.timerInstanceId_); + } + onChanged(); + } + if (other.hasErrorHandlingProcessInstanceId()) { + bitField0_ |= 0x00000004; + errorHandlingProcessInstanceId_ = other.errorHandlingProcessInstanceId_; + onChanged(); + } + if (other.hasWorkitem()) { + mergeWorkitem(other.getWorkitem()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object workItemId_ = ""; + + /** + * optional string work_item_id = 1; + * + * @return Whether the workItemId field is set. + */ + public boolean hasWorkItemId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string work_item_id = 1; + * + * @return The workItemId. + */ + public java.lang.String getWorkItemId() { + java.lang.Object ref = workItemId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + workItemId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string work_item_id = 1; + * + * @return The bytes for workItemId. + */ + public com.google.protobuf.ByteString getWorkItemIdBytes() { + java.lang.Object ref = workItemId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workItemId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string work_item_id = 1; + * + * @param value The workItemId to set. + * @return This builder for chaining. + */ + public Builder setWorkItemId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + workItemId_ = value; + onChanged(); + return this; + } + + /** + * optional string work_item_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearWorkItemId() { + bitField0_ = (bitField0_ & ~0x00000001); + workItemId_ = getDefaultInstance().getWorkItemId(); + onChanged(); + return this; + } + + /** + * optional string work_item_id = 1; + * + * @param value The bytes for workItemId to set. + * @return This builder for chaining. + */ + public Builder setWorkItemIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + workItemId_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureTimerInstanceIdIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); + bitField0_ |= 0x00000002; + } + } + + /** + * repeated string timer_instance_id = 2; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_.getUnmodifiableView(); + } + + /** + * repeated string timer_instance_id = 2; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index to set the value at. + * @param value The timerInstanceId to set. + * @return This builder for chaining. + */ + public Builder setTimerInstanceId( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @param value The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @param values The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addAllTimerInstanceId( + java.lang.Iterable values) { + ensureTimerInstanceIdIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timerInstanceId_); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearTimerInstanceId() { + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @param value The bytes of the timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + private java.lang.Object errorHandlingProcessInstanceId_ = ""; + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return Whether the errorHandlingProcessInstanceId field is set. + */ + public boolean hasErrorHandlingProcessInstanceId() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return The errorHandlingProcessInstanceId. + */ + public java.lang.String getErrorHandlingProcessInstanceId() { + java.lang.Object ref = errorHandlingProcessInstanceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + errorHandlingProcessInstanceId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return The bytes for errorHandlingProcessInstanceId. + */ + public com.google.protobuf.ByteString getErrorHandlingProcessInstanceIdBytes() { + java.lang.Object ref = errorHandlingProcessInstanceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorHandlingProcessInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @param value The errorHandlingProcessInstanceId to set. + * @return This builder for chaining. + */ + public Builder setErrorHandlingProcessInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + errorHandlingProcessInstanceId_ = value; + onChanged(); + return this; + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @return This builder for chaining. + */ + public Builder clearErrorHandlingProcessInstanceId() { + bitField0_ = (bitField0_ & ~0x00000004); + errorHandlingProcessInstanceId_ = getDefaultInstance().getErrorHandlingProcessInstanceId(); + onChanged(); + return this; + } + + /** + * optional string error_handling_process_instance_id = 3; + * + * @param value The bytes for errorHandlingProcessInstanceId to set. + * @return This builder for chaining. + */ + public Builder setErrorHandlingProcessInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + errorHandlingProcessInstanceId_ = value; + onChanged(); + return this; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem workitem_; + private com.google.protobuf.SingleFieldBuilderV3 workitemBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + * + * @return Whether the workitem field is set. + */ + public boolean hasWorkitem() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + * + * @return The workitem. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem getWorkitem() { + if (workitemBuilder_ == null) { + return workitem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem + .getDefaultInstance() + : workitem_; + } else { + return workitemBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + */ + public Builder setWorkitem( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem value) { + if (workitemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + workitem_ = value; + onChanged(); + } else { + workitemBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + */ + public Builder setWorkitem( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.Builder builderForValue) { + if (workitemBuilder_ == null) { + workitem_ = builderForValue.build(); + onChanged(); + } else { + workitemBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + */ + public Builder mergeWorkitem( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem value) { + if (workitemBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + workitem_ != null && + workitem_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem + .getDefaultInstance()) { + workitem_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem + .newBuilder(workitem_).mergeFrom(value).buildPartial(); + } else { + workitem_ = value; + } + onChanged(); + } else { + workitemBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + */ + public Builder clearWorkitem() { + if (workitemBuilder_ == null) { + workitem_ = null; + onChanged(); + } else { + workitemBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.Builder getWorkitemBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getWorkitemFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItemOrBuilder getWorkitemOrBuilder() { + if (workitemBuilder_ != null) { + return workitemBuilder_.getMessageOrBuilder(); + } else { + return workitem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem + .getDefaultInstance() + : workitem_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.WorkItem workitem = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3 getWorkitemFieldBuilder() { + if (workitemBuilder_ == null) { + workitemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getWorkitem(), + getParentForChildren(), + isClean()); + workitem_ = null; + } + return workitemBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkItemNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkItemNode(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SubProcessNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string process_instance_id = 1; + * + * @return Whether the processInstanceId field is set. + */ + boolean hasProcessInstanceId(); + + /** + * optional string process_instance_id = 1; + * + * @return The processInstanceId. + */ + java.lang.String getProcessInstanceId(); + + /** + * optional string process_instance_id = 1; + * + * @return The bytes for processInstanceId. + */ + com.google.protobuf.ByteString getProcessInstanceIdBytes(); + + /** + * repeated string timer_instance_id = 2; + * + * @return A list containing the timerInstanceId. + */ + java.util.List getTimerInstanceIdList(); + + /** + * repeated string timer_instance_id = 2; + * + * @return The count of timerInstanceId. + */ + int getTimerInstanceIdCount(); + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + java.lang.String getTimerInstanceId(int index); + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); + + /** + * optional string process_instance_name = 3; + * + * @return Whether the processInstanceName field is set. + */ + boolean hasProcessInstanceName(); + + /** + * optional string process_instance_name = 3; + * + * @return The processInstanceName. + */ + java.lang.String getProcessInstanceName(); + + /** + * optional string process_instance_name = 3; + * + * @return The bytes for processInstanceName. + */ + com.google.protobuf.ByteString getProcessInstanceNameBytes(); + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode} + */ + public static final class SubProcessNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) + SubProcessNodeOrBuilder { + private static final long serialVersionUID = 0L; + + // Use SubProcessNode.newBuilder() to construct. + private SubProcessNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SubProcessNode() { + processInstanceId_ = ""; + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + processInstanceName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SubProcessNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private SubProcessNode( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + processInstanceId_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + timerInstanceId_.add(bs); + break; + } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + processInstanceName_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder.class); + } + + private int bitField0_; + public static final int PROCESS_INSTANCE_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object processInstanceId_; + + /** + * optional string process_instance_id = 1; + * + * @return Whether the processInstanceId field is set. + */ + @java.lang.Override + public boolean hasProcessInstanceId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string process_instance_id = 1; + * + * @return The processInstanceId. + */ + @java.lang.Override + public java.lang.String getProcessInstanceId() { + java.lang.Object ref = processInstanceId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processInstanceId_ = s; + } + return s; + } + } + + /** + * optional string process_instance_id = 1; + * + * @return The bytes for processInstanceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProcessInstanceIdBytes() { + java.lang.Object ref = processInstanceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList timerInstanceId_; + + /** + * repeated string timer_instance_id = 2; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_; + } + + /** + * repeated string timer_instance_id = 2; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + public static final int PROCESS_INSTANCE_NAME_FIELD_NUMBER = 3; + private volatile java.lang.Object processInstanceName_; + + /** + * optional string process_instance_name = 3; + * + * @return Whether the processInstanceName field is set. + */ + @java.lang.Override + public boolean hasProcessInstanceName() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string process_instance_name = 3; + * + * @return The processInstanceName. + */ + @java.lang.Override + public java.lang.String getProcessInstanceName() { + java.lang.Object ref = processInstanceName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processInstanceName_ = s; + } + return s; + } + } + + /** + * optional string process_instance_name = 3; + * + * @return The bytes for processInstanceName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProcessInstanceNameBytes() { + java.lang.Object ref = processInstanceName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processInstanceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, processInstanceId_); + } + for (int i = 0; i < timerInstanceId_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerInstanceId_.getRaw(i)); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, processInstanceName_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, processInstanceId_); + } + { + int dataSize = 0; + for (int i = 0; i < timerInstanceId_.size(); i++) { + dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); + } + size += dataSize; + size += 1 * getTimerInstanceIdList().size(); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, processInstanceName_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode) obj; + + if (hasProcessInstanceId() != other.hasProcessInstanceId()) + return false; + if (hasProcessInstanceId()) { + if (!getProcessInstanceId() + .equals(other.getProcessInstanceId())) + return false; + } + if (!getTimerInstanceIdList() + .equals(other.getTimerInstanceIdList())) + return false; + if (hasProcessInstanceName() != other.hasProcessInstanceName()) + return false; + if (hasProcessInstanceName()) { + if (!getProcessInstanceName() + .equals(other.getProcessInstanceName())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasProcessInstanceId()) { + hash = (37 * hash) + PROCESS_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getProcessInstanceId().hashCode(); + } + if (getTimerInstanceIdCount() > 0) { + hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTimerInstanceIdList().hashCode(); + } + if (hasProcessInstanceName()) { + hash = (37 * hash) + PROCESS_INSTANCE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getProcessInstanceName().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + processInstanceId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + processInstanceName_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.processInstanceId_ = processInstanceId_; + if (((bitField0_ & 0x00000002) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.timerInstanceId_ = timerInstanceId_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.processInstanceName_ = processInstanceName_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode + .getDefaultInstance()) + return this; + if (other.hasProcessInstanceId()) { + bitField0_ |= 0x00000001; + processInstanceId_ = other.processInstanceId_; + onChanged(); + } + if (!other.timerInstanceId_.isEmpty()) { + if (timerInstanceId_.isEmpty()) { + timerInstanceId_ = other.timerInstanceId_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.addAll(other.timerInstanceId_); + } + onChanged(); + } + if (other.hasProcessInstanceName()) { + bitField0_ |= 0x00000004; + processInstanceName_ = other.processInstanceName_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object processInstanceId_ = ""; + + /** + * optional string process_instance_id = 1; + * + * @return Whether the processInstanceId field is set. + */ + public boolean hasProcessInstanceId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string process_instance_id = 1; + * + * @return The processInstanceId. + */ + public java.lang.String getProcessInstanceId() { + java.lang.Object ref = processInstanceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processInstanceId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string process_instance_id = 1; + * + * @return The bytes for processInstanceId. + */ + public com.google.protobuf.ByteString getProcessInstanceIdBytes() { + java.lang.Object ref = processInstanceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string process_instance_id = 1; + * + * @param value The processInstanceId to set. + * @return This builder for chaining. + */ + public Builder setProcessInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + processInstanceId_ = value; + onChanged(); + return this; + } + + /** + * optional string process_instance_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearProcessInstanceId() { + bitField0_ = (bitField0_ & ~0x00000001); + processInstanceId_ = getDefaultInstance().getProcessInstanceId(); + onChanged(); + return this; + } + + /** + * optional string process_instance_id = 1; + * + * @param value The bytes for processInstanceId to set. + * @return This builder for chaining. + */ + public Builder setProcessInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + processInstanceId_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureTimerInstanceIdIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); + bitField0_ |= 0x00000002; + } + } + + /** + * repeated string timer_instance_id = 2; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_.getUnmodifiableView(); + } + + /** + * repeated string timer_instance_id = 2; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index to set the value at. + * @param value The timerInstanceId to set. + * @return This builder for chaining. + */ + public Builder setTimerInstanceId( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @param value The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @param values The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addAllTimerInstanceId( + java.lang.Iterable values) { + ensureTimerInstanceIdIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timerInstanceId_); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearTimerInstanceId() { + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @param value The bytes of the timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + private java.lang.Object processInstanceName_ = ""; + + /** + * optional string process_instance_name = 3; + * + * @return Whether the processInstanceName field is set. + */ + public boolean hasProcessInstanceName() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string process_instance_name = 3; + * + * @return The processInstanceName. + */ + public java.lang.String getProcessInstanceName() { + java.lang.Object ref = processInstanceName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processInstanceName_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string process_instance_name = 3; + * + * @return The bytes for processInstanceName. + */ + public com.google.protobuf.ByteString getProcessInstanceNameBytes() { + java.lang.Object ref = processInstanceName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processInstanceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string process_instance_name = 3; + * + * @param value The processInstanceName to set. + * @return This builder for chaining. + */ + public Builder setProcessInstanceName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + processInstanceName_ = value; + onChanged(); + return this; + } + + /** + * optional string process_instance_name = 3; + * + * @return This builder for chaining. + */ + public Builder clearProcessInstanceName() { + bitField0_ = (bitField0_ & ~0x00000004); + processInstanceName_ = getDefaultInstance().getProcessInstanceName(); + onChanged(); + return this; + } + + /** + * optional string process_instance_name = 3; + * + * @param value The bytes for processInstanceName to set. + * @return This builder for chaining. + */ + public Builder setProcessInstanceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + processInstanceName_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SubProcessNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SubProcessNode(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface MilestoneNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated string timer_instance_id = 1; + * + * @return A list containing the timerInstanceId. + */ + java.util.List getTimerInstanceIdList(); + + /** + * repeated string timer_instance_id = 1; + * + * @return The count of timerInstanceId. + */ + int getTimerInstanceIdCount(); + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + java.lang.String getTimerInstanceId(int index); + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode} + */ + public static final class MilestoneNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) + MilestoneNodeOrBuilder { + private static final long serialVersionUID = 0L; + + // Use MilestoneNode.newBuilder() to construct. + private MilestoneNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private MilestoneNode() { + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MilestoneNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private MilestoneNode( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + timerInstanceId_.add(bs); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder.class); + } + + public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList timerInstanceId_; + + /** + * repeated string timer_instance_id = 1; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_; + } + + /** + * repeated string timer_instance_id = 1; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < timerInstanceId_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timerInstanceId_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < timerInstanceId_.size(); i++) { + dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); + } + size += dataSize; + size += 1 * getTimerInstanceIdList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode) obj; + + if (!getTimerInstanceIdList() + .equals(other.getTimerInstanceIdList())) + return false; + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getTimerInstanceIdCount() > 0) { + hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTimerInstanceIdList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode( + this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.timerInstanceId_ = timerInstanceId_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode + .getDefaultInstance()) + return this; + if (!other.timerInstanceId_.isEmpty()) { + if (timerInstanceId_.isEmpty()) { + timerInstanceId_ = other.timerInstanceId_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.addAll(other.timerInstanceId_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureTimerInstanceIdIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); + bitField0_ |= 0x00000001; + } + } + + /** + * repeated string timer_instance_id = 1; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_.getUnmodifiableView(); + } + + /** + * repeated string timer_instance_id = 1; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index to set the value at. + * @param value The timerInstanceId to set. + * @return This builder for chaining. + */ + public Builder setTimerInstanceId( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 1; + * + * @param value The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 1; + * + * @param values The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addAllTimerInstanceId( + java.lang.Iterable values) { + ensureTimerInstanceIdIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timerInstanceId_); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearTimerInstanceId() { + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 1; + * + * @param value The bytes of the timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MilestoneNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MilestoneNode(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface EventNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode) + com.google.protobuf.MessageOrBuilder { + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode} + */ + public static final class EventNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode) + EventNodeOrBuilder { + private static final long serialVersionUID = 0L; + + // Use EventNode.newBuilder() to construct. + private EventNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private EventNode() { + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new EventNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private EventNode( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode) obj; + + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode( + this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode + .getDefaultInstance()) + return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EventNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new EventNode(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface TimerNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string timer_id = 1; + * + * @return Whether the timerId field is set. + */ + boolean hasTimerId(); + + /** + * optional string timer_id = 1; + * + * @return The timerId. + */ + java.lang.String getTimerId(); + + /** + * optional string timer_id = 1; + * + * @return The bytes for timerId. + */ + com.google.protobuf.ByteString getTimerIdBytes(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode} + */ + public static final class TimerNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) + TimerNodeOrBuilder { + private static final long serialVersionUID = 0L; + + // Use TimerNode.newBuilder() to construct. + private TimerNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private TimerNode() { + timerId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TimerNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private TimerNode( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + timerId_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder.class); + } + + private int bitField0_; + public static final int TIMER_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object timerId_; + + /** + * optional string timer_id = 1; + * + * @return Whether the timerId field is set. + */ + @java.lang.Override + public boolean hasTimerId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string timer_id = 1; + * + * @return The timerId. + */ + @java.lang.Override + public java.lang.String getTimerId() { + java.lang.Object ref = timerId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + timerId_ = s; + } + return s; + } + } + + /** + * optional string timer_id = 1; + * + * @return The bytes for timerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTimerIdBytes() { + java.lang.Object ref = timerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + timerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timerId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, timerId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode) obj; + + if (hasTimerId() != other.hasTimerId()) + return false; + if (hasTimerId()) { + if (!getTimerId() + .equals(other.getTimerId())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTimerId()) { + hash = (37 * hash) + TIMER_ID_FIELD_NUMBER; + hash = (53 * hash) + getTimerId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + timerId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.timerId_ = timerId_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode + .getDefaultInstance()) + return this; + if (other.hasTimerId()) { + bitField0_ |= 0x00000001; + timerId_ = other.timerId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object timerId_ = ""; + + /** + * optional string timer_id = 1; + * + * @return Whether the timerId field is set. + */ + public boolean hasTimerId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string timer_id = 1; + * + * @return The timerId. + */ + public java.lang.String getTimerId() { + java.lang.Object ref = timerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + timerId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string timer_id = 1; + * + * @return The bytes for timerId. + */ + public com.google.protobuf.ByteString getTimerIdBytes() { + java.lang.Object ref = timerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + timerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string timer_id = 1; + * + * @param value The timerId to set. + * @return This builder for chaining. + */ + public Builder setTimerId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + timerId_ = value; + onChanged(); + return this; + } + + /** + * optional string timer_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearTimerId() { + bitField0_ = (bitField0_ & ~0x00000001); + timerId_ = getDefaultInstance().getTimerId(); + onChanged(); + return this; + } + + /** + * optional string timer_id = 1; + * + * @param value The bytes for timerId to set. + * @return This builder for chaining. + */ + public Builder setTimerIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + timerId_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimerNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimerNode(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface JoinNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + java.util.List getTriggerList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getTrigger( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + int getTriggerCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + java.util.List getTriggerOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder getTriggerOrBuilder( + int index); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode} + */ + public static final class JoinNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) + JoinNodeOrBuilder { + private static final long serialVersionUID = 0L; + + // Use JoinNode.newBuilder() to construct. + private JoinNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private JoinNode() { + trigger_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new JoinNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private JoinNode( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + trigger_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + trigger_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.PARSER, + extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + trigger_ = java.util.Collections.unmodifiableList(trigger_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder.class); + } + + public interface JoinTriggerOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) + com.google.protobuf.MessageOrBuilder { + + /** + * optional int64 node_id = 1; + * + * @return Whether the nodeId field is set. + */ + boolean hasNodeId(); + + /** + * optional int64 node_id = 1; + * + * @return The nodeId. + */ + long getNodeId(); + + /** + * optional int32 counter = 2; + * + * @return Whether the counter field is set. + */ + boolean hasCounter(); + + /** + * optional int32 counter = 2; + * + * @return The counter. + */ + int getCounter(); + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger} + */ + public static final class JoinTrigger extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) + JoinTriggerOrBuilder { + private static final long serialVersionUID = 0L; + + // Use JoinTrigger.newBuilder() to construct. + private JoinTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private JoinTrigger() { + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new JoinTrigger(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private JoinTrigger( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + bitField0_ |= 0x00000001; + nodeId_ = input.readInt64(); + break; + } + case 16: { + bitField0_ |= 0x00000002; + counter_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder.class); + } + + private int bitField0_; + public static final int NODE_ID_FIELD_NUMBER = 1; + private long nodeId_; + + /** + * optional int64 node_id = 1; + * + * @return Whether the nodeId field is set. + */ + @java.lang.Override + public boolean hasNodeId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional int64 node_id = 1; + * + * @return The nodeId. + */ + @java.lang.Override + public long getNodeId() { + return nodeId_; + } + + public static final int COUNTER_FIELD_NUMBER = 2; + private int counter_; + + /** + * optional int32 counter = 2; + * + * @return Whether the counter field is set. + */ + @java.lang.Override + public boolean hasCounter() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional int32 counter = 2; + * + * @return The counter. + */ + @java.lang.Override + public int getCounter() { + return counter_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt64(1, nodeId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt32(2, counter_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, nodeId_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, counter_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) obj; + + if (hasNodeId() != other.hasNodeId()) + return false; + if (hasNodeId()) { + if (getNodeId() != other.getNodeId()) + return false; + } + if (hasCounter() != other.hasCounter()) + return false; + if (hasCounter()) { + if (getCounter() != other.getCounter()) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasNodeId()) { + hash = (37 * hash) + NODE_ID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNodeId()); + } + if (hasCounter()) { + hash = (37 * hash) + COUNTER_FIELD_NUMBER; + hash = (53 * hash) + getCounter(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + nodeId_ = 0L; + bitField0_ = (bitField0_ & ~0x00000001); + counter_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.nodeId_ = nodeId_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.counter_ = counter_; + to_bitField0_ |= 0x00000002; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger + .getDefaultInstance()) + return this; + if (other.hasNodeId()) { + setNodeId(other.getNodeId()); + } + if (other.hasCounter()) { + setCounter(other.getCounter()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private long nodeId_; + + /** + * optional int64 node_id = 1; + * + * @return Whether the nodeId field is set. + */ + @java.lang.Override + public boolean hasNodeId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional int64 node_id = 1; + * + * @return The nodeId. + */ + @java.lang.Override + public long getNodeId() { + return nodeId_; + } + + /** + * optional int64 node_id = 1; + * + * @param value The nodeId to set. + * @return This builder for chaining. + */ + public Builder setNodeId(long value) { + bitField0_ |= 0x00000001; + nodeId_ = value; + onChanged(); + return this; + } + + /** + * optional int64 node_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearNodeId() { + bitField0_ = (bitField0_ & ~0x00000001); + nodeId_ = 0L; + onChanged(); + return this; + } + + private int counter_; + + /** + * optional int32 counter = 2; + * + * @return Whether the counter field is set. + */ + @java.lang.Override + public boolean hasCounter() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional int32 counter = 2; + * + * @return The counter. + */ + @java.lang.Override + public int getCounter() { + return counter_; + } + + /** + * optional int32 counter = 2; + * + * @param value The counter to set. + * @return This builder for chaining. + */ + public Builder setCounter(int value) { + bitField0_ |= 0x00000002; + counter_ = value; + onChanged(); + return this; + } + + /** + * optional int32 counter = 2; + * + * @return This builder for chaining. + */ + public Builder clearCounter() { + bitField0_ = (bitField0_ & ~0x00000002); + counter_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JoinTrigger parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JoinTrigger(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int TRIGGER_FIELD_NUMBER = 1; + private java.util.List trigger_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + @java.lang.Override + public java.util.List getTriggerList() { + return trigger_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + @java.lang.Override + public java.util.List getTriggerOrBuilderList() { + return trigger_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + @java.lang.Override + public int getTriggerCount() { + return trigger_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getTrigger( + int index) { + return trigger_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder getTriggerOrBuilder( + int index) { + return trigger_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < trigger_.size(); i++) { + output.writeMessage(1, trigger_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + for (int i = 0; i < trigger_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, trigger_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode) obj; + + if (!getTriggerList() + .equals(other.getTriggerList())) + return false; + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getTriggerCount() > 0) { + hash = (37 * hash) + TRIGGER_FIELD_NUMBER; + hash = (53 * hash) + getTriggerList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getTriggerFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (triggerBuilder_ == null) { + trigger_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + triggerBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode( + this); + int from_bitField0_ = bitField0_; + if (triggerBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + trigger_ = java.util.Collections.unmodifiableList(trigger_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.trigger_ = trigger_; + } else { + result.trigger_ = triggerBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode + .getDefaultInstance()) + return this; + if (triggerBuilder_ == null) { + if (!other.trigger_.isEmpty()) { + if (trigger_.isEmpty()) { + trigger_ = other.trigger_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureTriggerIsMutable(); + trigger_.addAll(other.trigger_); + } + onChanged(); + } + } else { + if (!other.trigger_.isEmpty()) { + if (triggerBuilder_.isEmpty()) { + triggerBuilder_.dispose(); + triggerBuilder_ = null; + trigger_ = other.trigger_; + bitField0_ = (bitField0_ & ~0x00000001); + triggerBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTriggerFieldBuilder() + : null; + } else { + triggerBuilder_.addAllMessages(other.trigger_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List trigger_ = java.util.Collections + .emptyList(); + + private void ensureTriggerIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + trigger_ = new java.util.ArrayList( + trigger_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 triggerBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public java.util.List getTriggerList() { + if (triggerBuilder_ == null) { + return java.util.Collections.unmodifiableList(trigger_); + } else { + return triggerBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public int getTriggerCount() { + if (triggerBuilder_ == null) { + return trigger_.size(); + } else { + return triggerBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getTrigger( + int index) { + if (triggerBuilder_ == null) { + return trigger_.get(index); + } else { + return triggerBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public Builder setTrigger( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger value) { + if (triggerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTriggerIsMutable(); + trigger_.set(index, value); + onChanged(); + } else { + triggerBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public Builder setTrigger( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder builderForValue) { + if (triggerBuilder_ == null) { + ensureTriggerIsMutable(); + trigger_.set(index, builderForValue.build()); + onChanged(); + } else { + triggerBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public Builder addTrigger( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger value) { + if (triggerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTriggerIsMutable(); + trigger_.add(value); + onChanged(); + } else { + triggerBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public Builder addTrigger( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger value) { + if (triggerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTriggerIsMutable(); + trigger_.add(index, value); + onChanged(); + } else { + triggerBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public Builder addTrigger( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder builderForValue) { + if (triggerBuilder_ == null) { + ensureTriggerIsMutable(); + trigger_.add(builderForValue.build()); + onChanged(); + } else { + triggerBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public Builder addTrigger( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder builderForValue) { + if (triggerBuilder_ == null) { + ensureTriggerIsMutable(); + trigger_.add(index, builderForValue.build()); + onChanged(); + } else { + triggerBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public Builder addAllTrigger( + java.lang.Iterable values) { + if (triggerBuilder_ == null) { + ensureTriggerIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, trigger_); + onChanged(); + } else { + triggerBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public Builder clearTrigger() { + if (triggerBuilder_ == null) { + trigger_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + triggerBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public Builder removeTrigger(int index) { + if (triggerBuilder_ == null) { + ensureTriggerIsMutable(); + trigger_.remove(index); + onChanged(); + } else { + triggerBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder getTriggerBuilder( + int index) { + return getTriggerFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder getTriggerOrBuilder( + int index) { + if (triggerBuilder_ == null) { + return trigger_.get(index); + } else { + return triggerBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public java.util.List getTriggerOrBuilderList() { + if (triggerBuilder_ != null) { + return triggerBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(trigger_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder addTriggerBuilder() { + return getTriggerFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder addTriggerBuilder( + int index) { + return getTriggerFieldBuilder().addBuilder( + index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; + */ + public java.util.List getTriggerBuilderList() { + return getTriggerFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getTriggerFieldBuilder() { + if (triggerBuilder_ == null) { + triggerBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + trigger_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + trigger_ = null; + } + return triggerBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public JoinNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new JoinNode(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface StateNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated string timer_instance_id = 1; + * + * @return A list containing the timerInstanceId. + */ + java.util.List getTimerInstanceIdList(); + + /** + * repeated string timer_instance_id = 1; + * + * @return The count of timerInstanceId. + */ + int getTimerInstanceIdCount(); + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + java.lang.String getTimerInstanceId(int index); + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode} + */ + public static final class StateNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode) + StateNodeOrBuilder { + private static final long serialVersionUID = 0L; + + // Use StateNode.newBuilder() to construct. + private StateNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private StateNode() { + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StateNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private StateNode( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + timerInstanceId_.add(bs); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder.class); + } + + public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList timerInstanceId_; + + /** + * repeated string timer_instance_id = 1; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_; + } + + /** + * repeated string timer_instance_id = 1; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < timerInstanceId_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timerInstanceId_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < timerInstanceId_.size(); i++) { + dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); + } + size += dataSize; + size += 1 * getTimerInstanceIdList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode) obj; + + if (!getTimerInstanceIdList() + .equals(other.getTimerInstanceIdList())) + return false; + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getTimerInstanceIdCount() > 0) { + hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTimerInstanceIdList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode( + this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.timerInstanceId_ = timerInstanceId_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode + .getDefaultInstance()) + return this; + if (!other.timerInstanceId_.isEmpty()) { + if (timerInstanceId_.isEmpty()) { + timerInstanceId_ = other.timerInstanceId_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.addAll(other.timerInstanceId_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureTimerInstanceIdIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); + bitField0_ |= 0x00000001; + } + } + + /** + * repeated string timer_instance_id = 1; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_.getUnmodifiableView(); + } + + /** + * repeated string timer_instance_id = 1; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + /** + * repeated string timer_instance_id = 1; + * + * @param index The index to set the value at. + * @param value The timerInstanceId to set. + * @return This builder for chaining. + */ + public Builder setTimerInstanceId( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 1; + * + * @param value The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 1; + * + * @param values The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addAllTimerInstanceId( + java.lang.Iterable values) { + ensureTimerInstanceIdIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timerInstanceId_); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 1; + * + * @return This builder for chaining. + */ + public Builder clearTimerInstanceId() { + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 1; + * + * @param value The bytes of the timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StateNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StateNode(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CompositeContextNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated string timer_instance_id = 2; + * + * @return A list containing the timerInstanceId. + */ + java.util.List getTimerInstanceIdList(); + + /** + * repeated string timer_instance_id = 2; + * + * @return The count of timerInstanceId. + */ + int getTimerInstanceIdCount(); + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + java.lang.String getTimerInstanceId(int index); + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + java.util.List getVariableList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + int getVariableCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + java.util.List getVariableOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + java.util.List getNodeInstanceList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + int getNodeInstanceCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + java.util.List getNodeInstanceOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + java.util.List getExclusiveGroupList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + int getExclusiveGroupCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + java.util.List getExclusiveGroupOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + java.util.List getIterationLevelsList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels(int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + int getIterationLevelsCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + java.util.List getIterationLevelsOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( + int index); + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode} + */ + public static final class CompositeContextNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) + CompositeContextNodeOrBuilder { + private static final long serialVersionUID = 0L; + + // Use CompositeContextNode.newBuilder() to construct. + private CompositeContextNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CompositeContextNode() { + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + variable_ = java.util.Collections.emptyList(); + nodeInstance_ = java.util.Collections.emptyList(); + exclusiveGroup_ = java.util.Collections.emptyList(); + iterationLevels_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CompositeContextNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CompositeContextNode( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + timerInstanceId_.add(bs); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + variable_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + variable_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.PARSER, + extensionRegistry)); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + nodeInstance_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + nodeInstance_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.PARSER, + extensionRegistry)); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + exclusiveGroup_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000008; + } + exclusiveGroup_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.PARSER, + extensionRegistry)); + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + iterationLevels_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + iterationLevels_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.PARSER, + extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + variable_ = java.util.Collections.unmodifiableList(variable_); + } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); + } + if (((mutable_bitField0_ & 0x00000008) != 0)) { + exclusiveGroup_ = java.util.Collections.unmodifiableList(exclusiveGroup_); + } + if (((mutable_bitField0_ & 0x00000010) != 0)) { + iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder.class); + } + + public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList timerInstanceId_; + + /** + * repeated string timer_instance_id = 2; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_; + } + + /** + * repeated string timer_instance_id = 2; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + public static final int VARIABLE_FIELD_NUMBER = 3; + private java.util.List variable_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + @java.lang.Override + public java.util.List getVariableList() { + return variable_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + @java.lang.Override + public java.util.List getVariableOrBuilderList() { + return variable_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + @java.lang.Override + public int getVariableCount() { + return variable_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { + return variable_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index) { + return variable_.get(index); + } + + public static final int NODE_INSTANCE_FIELD_NUMBER = 4; + private java.util.List nodeInstance_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + @java.lang.Override + public java.util.List getNodeInstanceList() { + return nodeInstance_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + @java.lang.Override + public java.util.List getNodeInstanceOrBuilderList() { + return nodeInstance_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + @java.lang.Override + public int getNodeInstanceCount() { + return nodeInstance_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance( + int index) { + return nodeInstance_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( + int index) { + return nodeInstance_.get(index); + } + + public static final int EXCLUSIVE_GROUP_FIELD_NUMBER = 5; + private java.util.List exclusiveGroup_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + @java.lang.Override + public java.util.List getExclusiveGroupList() { + return exclusiveGroup_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + @java.lang.Override + public java.util.List getExclusiveGroupOrBuilderList() { + return exclusiveGroup_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + @java.lang.Override + public int getExclusiveGroupCount() { + return exclusiveGroup_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup( + int index) { + return exclusiveGroup_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( + int index) { + return exclusiveGroup_.get(index); + } + + public static final int ITERATIONLEVELS_FIELD_NUMBER = 6; + private java.util.List iterationLevels_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + @java.lang.Override + public java.util.List getIterationLevelsList() { + return iterationLevels_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + @java.lang.Override + public java.util.List getIterationLevelsOrBuilderList() { + return iterationLevels_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + @java.lang.Override + public int getIterationLevelsCount() { + return iterationLevels_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels( + int index) { + return iterationLevels_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( + int index) { + return iterationLevels_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < timerInstanceId_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerInstanceId_.getRaw(i)); + } + for (int i = 0; i < variable_.size(); i++) { + output.writeMessage(3, variable_.get(i)); + } + for (int i = 0; i < nodeInstance_.size(); i++) { + output.writeMessage(4, nodeInstance_.get(i)); + } + for (int i = 0; i < exclusiveGroup_.size(); i++) { + output.writeMessage(5, exclusiveGroup_.get(i)); + } + for (int i = 0; i < iterationLevels_.size(); i++) { + output.writeMessage(6, iterationLevels_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < timerInstanceId_.size(); i++) { + dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); + } + size += dataSize; + size += 1 * getTimerInstanceIdList().size(); + } + for (int i = 0; i < variable_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, variable_.get(i)); + } + for (int i = 0; i < nodeInstance_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, nodeInstance_.get(i)); + } + for (int i = 0; i < exclusiveGroup_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, exclusiveGroup_.get(i)); + } + for (int i = 0; i < iterationLevels_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, iterationLevels_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode) obj; + + if (!getTimerInstanceIdList() + .equals(other.getTimerInstanceIdList())) + return false; + if (!getVariableList() + .equals(other.getVariableList())) + return false; + if (!getNodeInstanceList() + .equals(other.getNodeInstanceList())) + return false; + if (!getExclusiveGroupList() + .equals(other.getExclusiveGroupList())) + return false; + if (!getIterationLevelsList() + .equals(other.getIterationLevelsList())) + return false; + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getTimerInstanceIdCount() > 0) { + hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTimerInstanceIdList().hashCode(); + } + if (getVariableCount() > 0) { + hash = (37 * hash) + VARIABLE_FIELD_NUMBER; + hash = (53 * hash) + getVariableList().hashCode(); + } + if (getNodeInstanceCount() > 0) { + hash = (37 * hash) + NODE_INSTANCE_FIELD_NUMBER; + hash = (53 * hash) + getNodeInstanceList().hashCode(); + } + if (getExclusiveGroupCount() > 0) { + hash = (37 * hash) + EXCLUSIVE_GROUP_FIELD_NUMBER; + hash = (53 * hash) + getExclusiveGroupList().hashCode(); + } + if (getIterationLevelsCount() > 0) { + hash = (37 * hash) + ITERATIONLEVELS_FIELD_NUMBER; + hash = (53 * hash) + getIterationLevelsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getVariableFieldBuilder(); + getNodeInstanceFieldBuilder(); + getExclusiveGroupFieldBuilder(); + getIterationLevelsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + if (variableBuilder_ == null) { + variable_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + variableBuilder_.clear(); + } + if (nodeInstanceBuilder_ == null) { + nodeInstance_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + nodeInstanceBuilder_.clear(); + } + if (exclusiveGroupBuilder_ == null) { + exclusiveGroup_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + } else { + exclusiveGroupBuilder_.clear(); + } + if (iterationLevelsBuilder_ == null) { + iterationLevels_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + } else { + iterationLevelsBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode( + this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.timerInstanceId_ = timerInstanceId_; + if (variableBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + variable_ = java.util.Collections.unmodifiableList(variable_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.variable_ = variable_; + } else { + result.variable_ = variableBuilder_.build(); + } + if (nodeInstanceBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.nodeInstance_ = nodeInstance_; + } else { + result.nodeInstance_ = nodeInstanceBuilder_.build(); + } + if (exclusiveGroupBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + exclusiveGroup_ = java.util.Collections.unmodifiableList(exclusiveGroup_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.exclusiveGroup_ = exclusiveGroup_; + } else { + result.exclusiveGroup_ = exclusiveGroupBuilder_.build(); + } + if (iterationLevelsBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.iterationLevels_ = iterationLevels_; + } else { + result.iterationLevels_ = iterationLevelsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode + .getDefaultInstance()) + return this; + if (!other.timerInstanceId_.isEmpty()) { + if (timerInstanceId_.isEmpty()) { + timerInstanceId_ = other.timerInstanceId_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.addAll(other.timerInstanceId_); + } + onChanged(); + } + if (variableBuilder_ == null) { + if (!other.variable_.isEmpty()) { + if (variable_.isEmpty()) { + variable_ = other.variable_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureVariableIsMutable(); + variable_.addAll(other.variable_); + } + onChanged(); + } + } else { + if (!other.variable_.isEmpty()) { + if (variableBuilder_.isEmpty()) { + variableBuilder_.dispose(); + variableBuilder_ = null; + variable_ = other.variable_; + bitField0_ = (bitField0_ & ~0x00000002); + variableBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVariableFieldBuilder() + : null; + } else { + variableBuilder_.addAllMessages(other.variable_); + } + } + } + if (nodeInstanceBuilder_ == null) { + if (!other.nodeInstance_.isEmpty()) { + if (nodeInstance_.isEmpty()) { + nodeInstance_ = other.nodeInstance_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureNodeInstanceIsMutable(); + nodeInstance_.addAll(other.nodeInstance_); + } + onChanged(); + } + } else { + if (!other.nodeInstance_.isEmpty()) { + if (nodeInstanceBuilder_.isEmpty()) { + nodeInstanceBuilder_.dispose(); + nodeInstanceBuilder_ = null; + nodeInstance_ = other.nodeInstance_; + bitField0_ = (bitField0_ & ~0x00000004); + nodeInstanceBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNodeInstanceFieldBuilder() + : null; + } else { + nodeInstanceBuilder_.addAllMessages(other.nodeInstance_); + } + } + } + if (exclusiveGroupBuilder_ == null) { + if (!other.exclusiveGroup_.isEmpty()) { + if (exclusiveGroup_.isEmpty()) { + exclusiveGroup_ = other.exclusiveGroup_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.addAll(other.exclusiveGroup_); + } + onChanged(); + } + } else { + if (!other.exclusiveGroup_.isEmpty()) { + if (exclusiveGroupBuilder_.isEmpty()) { + exclusiveGroupBuilder_.dispose(); + exclusiveGroupBuilder_ = null; + exclusiveGroup_ = other.exclusiveGroup_; + bitField0_ = (bitField0_ & ~0x00000008); + exclusiveGroupBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getExclusiveGroupFieldBuilder() + : null; + } else { + exclusiveGroupBuilder_.addAllMessages(other.exclusiveGroup_); + } + } + } + if (iterationLevelsBuilder_ == null) { + if (!other.iterationLevels_.isEmpty()) { + if (iterationLevels_.isEmpty()) { + iterationLevels_ = other.iterationLevels_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureIterationLevelsIsMutable(); + iterationLevels_.addAll(other.iterationLevels_); + } + onChanged(); + } + } else { + if (!other.iterationLevels_.isEmpty()) { + if (iterationLevelsBuilder_.isEmpty()) { + iterationLevelsBuilder_.dispose(); + iterationLevelsBuilder_ = null; + iterationLevels_ = other.iterationLevels_; + bitField0_ = (bitField0_ & ~0x00000010); + iterationLevelsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIterationLevelsFieldBuilder() + : null; + } else { + iterationLevelsBuilder_.addAllMessages(other.iterationLevels_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureTimerInstanceIdIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); + bitField0_ |= 0x00000001; + } + } + + /** + * repeated string timer_instance_id = 2; + * + * @return A list containing the timerInstanceId. + */ + public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { + return timerInstanceId_.getUnmodifiableView(); + } + + /** + * repeated string timer_instance_id = 2; + * + * @return The count of timerInstanceId. + */ + public int getTimerInstanceIdCount() { + return timerInstanceId_.size(); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the element to return. + * @return The timerInstanceId at the given index. + */ + public java.lang.String getTimerInstanceId(int index) { + return timerInstanceId_.get(index); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index of the value to return. + * @return The bytes of the timerInstanceId at the given index. + */ + public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { + return timerInstanceId_.getByteString(index); + } + + /** + * repeated string timer_instance_id = 2; + * + * @param index The index to set the value at. + * @param value The timerInstanceId to set. + * @return This builder for chaining. + */ + public Builder setTimerInstanceId( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @param value The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @param values The timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addAllTimerInstanceId( + java.lang.Iterable values) { + ensureTimerInstanceIdIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timerInstanceId_); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearTimerInstanceId() { + timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + + /** + * repeated string timer_instance_id = 2; + * + * @param value The bytes of the timerInstanceId to add. + * @return This builder for chaining. + */ + public Builder addTimerInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTimerInstanceIdIsMutable(); + timerInstanceId_.add(value); + onChanged(); + return this; + } + + private java.util.List variable_ = java.util.Collections + .emptyList(); + + private void ensureVariableIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + variable_ = new java.util.ArrayList( + variable_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 variableBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public java.util.List getVariableList() { + if (variableBuilder_ == null) { + return java.util.Collections.unmodifiableList(variable_); + } else { + return variableBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public int getVariableCount() { + if (variableBuilder_ == null) { + return variable_.size(); + } else { + return variableBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { + if (variableBuilder_ == null) { + return variable_.get(index); + } else { + return variableBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public Builder setVariable( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.set(index, value); + onChanged(); + } else { + variableBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public Builder setVariable( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.set(index, builderForValue.build()); + onChanged(); + } else { + variableBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public Builder addVariable( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.add(value); + onChanged(); + } else { + variableBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public Builder addVariable( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.add(index, value); + onChanged(); + } else { + variableBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public Builder addVariable( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.add(builderForValue.build()); + onChanged(); + } else { + variableBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public Builder addVariable( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.add(index, builderForValue.build()); + onChanged(); + } else { + variableBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public Builder addAllVariable( + java.lang.Iterable values) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, variable_); + onChanged(); + } else { + variableBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public Builder clearVariable() { + if (variableBuilder_ == null) { + variable_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + variableBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public Builder removeVariable(int index) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.remove(index); + onChanged(); + } else { + variableBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder getVariableBuilder( + int index) { + return getVariableFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index) { + if (variableBuilder_ == null) { + return variable_.get(index); + } else { + return variableBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public java.util.List getVariableOrBuilderList() { + if (variableBuilder_ != null) { + return variableBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(variable_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder() { + return getVariableFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder( + int index) { + return getVariableFieldBuilder().addBuilder( + index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 3; + */ + public java.util.List getVariableBuilderList() { + return getVariableFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getVariableFieldBuilder() { + if (variableBuilder_ == null) { + variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + variable_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + variable_ = null; + } + return variableBuilder_; + } + + private java.util.List nodeInstance_ = java.util.Collections + .emptyList(); + + private void ensureNodeInstanceIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + nodeInstance_ = new java.util.ArrayList( + nodeInstance_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 nodeInstanceBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public java.util.List getNodeInstanceList() { + if (nodeInstanceBuilder_ == null) { + return java.util.Collections.unmodifiableList(nodeInstance_); + } else { + return nodeInstanceBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public int getNodeInstanceCount() { + if (nodeInstanceBuilder_ == null) { + return nodeInstance_.size(); + } else { + return nodeInstanceBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance( + int index) { + if (nodeInstanceBuilder_ == null) { + return nodeInstance_.get(index); + } else { + return nodeInstanceBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public Builder setNodeInstance( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { + if (nodeInstanceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInstanceIsMutable(); + nodeInstance_.set(index, value); + onChanged(); + } else { + nodeInstanceBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public Builder setNodeInstance( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + nodeInstance_.set(index, builderForValue.build()); + onChanged(); + } else { + nodeInstanceBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public Builder addNodeInstance( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { + if (nodeInstanceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInstanceIsMutable(); + nodeInstance_.add(value); + onChanged(); + } else { + nodeInstanceBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public Builder addNodeInstance( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { + if (nodeInstanceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInstanceIsMutable(); + nodeInstance_.add(index, value); + onChanged(); + } else { + nodeInstanceBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public Builder addNodeInstance( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + nodeInstance_.add(builderForValue.build()); + onChanged(); + } else { + nodeInstanceBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public Builder addNodeInstance( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + nodeInstance_.add(index, builderForValue.build()); + onChanged(); + } else { + nodeInstanceBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public Builder addAllNodeInstance( + java.lang.Iterable values) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nodeInstance_); + onChanged(); + } else { + nodeInstanceBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public Builder clearNodeInstance() { + if (nodeInstanceBuilder_ == null) { + nodeInstance_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + nodeInstanceBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public Builder removeNodeInstance(int index) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + nodeInstance_.remove(index); + onChanged(); + } else { + nodeInstanceBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder getNodeInstanceBuilder( + int index) { + return getNodeInstanceFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( + int index) { + if (nodeInstanceBuilder_ == null) { + return nodeInstance_.get(index); + } else { + return nodeInstanceBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public java.util.List getNodeInstanceOrBuilderList() { + if (nodeInstanceBuilder_ != null) { + return nodeInstanceBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(nodeInstance_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder() { + return getNodeInstanceFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder( + int index) { + return getNodeInstanceFieldBuilder().addBuilder( + index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 4; + */ + public java.util.List getNodeInstanceBuilderList() { + return getNodeInstanceFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getNodeInstanceFieldBuilder() { + if (nodeInstanceBuilder_ == null) { + nodeInstanceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + nodeInstance_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + nodeInstance_ = null; + } + return nodeInstanceBuilder_; + } + + private java.util.List exclusiveGroup_ = java.util.Collections + .emptyList(); + + private void ensureExclusiveGroupIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + exclusiveGroup_ = new java.util.ArrayList( + exclusiveGroup_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 exclusiveGroupBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public java.util.List getExclusiveGroupList() { + if (exclusiveGroupBuilder_ == null) { + return java.util.Collections.unmodifiableList(exclusiveGroup_); + } else { + return exclusiveGroupBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public int getExclusiveGroupCount() { + if (exclusiveGroupBuilder_ == null) { + return exclusiveGroup_.size(); + } else { + return exclusiveGroupBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup( + int index) { + if (exclusiveGroupBuilder_ == null) { + return exclusiveGroup_.get(index); + } else { + return exclusiveGroupBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public Builder setExclusiveGroup( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance value) { + if (exclusiveGroupBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.set(index, value); + onChanged(); + } else { + exclusiveGroupBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public Builder setExclusiveGroup( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { + if (exclusiveGroupBuilder_ == null) { + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.set(index, builderForValue.build()); + onChanged(); + } else { + exclusiveGroupBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public Builder addExclusiveGroup( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance value) { + if (exclusiveGroupBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.add(value); + onChanged(); + } else { + exclusiveGroupBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public Builder addExclusiveGroup( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance value) { + if (exclusiveGroupBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.add(index, value); + onChanged(); + } else { + exclusiveGroupBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public Builder addExclusiveGroup( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { + if (exclusiveGroupBuilder_ == null) { + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.add(builderForValue.build()); + onChanged(); + } else { + exclusiveGroupBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public Builder addExclusiveGroup( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { + if (exclusiveGroupBuilder_ == null) { + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.add(index, builderForValue.build()); + onChanged(); + } else { + exclusiveGroupBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public Builder addAllExclusiveGroup( + java.lang.Iterable values) { + if (exclusiveGroupBuilder_ == null) { + ensureExclusiveGroupIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, exclusiveGroup_); + onChanged(); + } else { + exclusiveGroupBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public Builder clearExclusiveGroup() { + if (exclusiveGroupBuilder_ == null) { + exclusiveGroup_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + exclusiveGroupBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public Builder removeExclusiveGroup(int index) { + if (exclusiveGroupBuilder_ == null) { + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.remove(index); + onChanged(); + } else { + exclusiveGroupBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder getExclusiveGroupBuilder( + int index) { + return getExclusiveGroupFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( + int index) { + if (exclusiveGroupBuilder_ == null) { + return exclusiveGroup_.get(index); + } else { + return exclusiveGroupBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public java.util.List getExclusiveGroupOrBuilderList() { + if (exclusiveGroupBuilder_ != null) { + return exclusiveGroupBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(exclusiveGroup_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder addExclusiveGroupBuilder() { + return getExclusiveGroupFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder addExclusiveGroupBuilder( + int index) { + return getExclusiveGroupFieldBuilder().addBuilder( + index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; + */ + public java.util.List getExclusiveGroupBuilderList() { + return getExclusiveGroupFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getExclusiveGroupFieldBuilder() { + if (exclusiveGroupBuilder_ == null) { + exclusiveGroupBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + exclusiveGroup_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + exclusiveGroup_ = null; + } + return exclusiveGroupBuilder_; + } + + private java.util.List iterationLevels_ = java.util.Collections + .emptyList(); + + private void ensureIterationLevelsIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + iterationLevels_ = new java.util.ArrayList( + iterationLevels_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 iterationLevelsBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public java.util.List getIterationLevelsList() { + if (iterationLevelsBuilder_ == null) { + return java.util.Collections.unmodifiableList(iterationLevels_); + } else { + return iterationLevelsBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public int getIterationLevelsCount() { + if (iterationLevelsBuilder_ == null) { + return iterationLevels_.size(); + } else { + return iterationLevelsBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels( + int index) { + if (iterationLevelsBuilder_ == null) { + return iterationLevels_.get(index); + } else { + return iterationLevelsBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public Builder setIterationLevels( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { + if (iterationLevelsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIterationLevelsIsMutable(); + iterationLevels_.set(index, value); + onChanged(); + } else { + iterationLevelsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public Builder setIterationLevels( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + iterationLevels_.set(index, builderForValue.build()); + onChanged(); + } else { + iterationLevelsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public Builder addIterationLevels( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { + if (iterationLevelsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIterationLevelsIsMutable(); + iterationLevels_.add(value); + onChanged(); + } else { + iterationLevelsBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public Builder addIterationLevels( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { + if (iterationLevelsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIterationLevelsIsMutable(); + iterationLevels_.add(index, value); + onChanged(); + } else { + iterationLevelsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public Builder addIterationLevels( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + iterationLevels_.add(builderForValue.build()); + onChanged(); + } else { + iterationLevelsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public Builder addIterationLevels( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + iterationLevels_.add(index, builderForValue.build()); + onChanged(); + } else { + iterationLevelsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public Builder addAllIterationLevels( + java.lang.Iterable values) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, iterationLevels_); + onChanged(); + } else { + iterationLevelsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public Builder clearIterationLevels() { + if (iterationLevelsBuilder_ == null) { + iterationLevels_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + iterationLevelsBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public Builder removeIterationLevels(int index) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + iterationLevels_.remove(index); + onChanged(); + } else { + iterationLevelsBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder getIterationLevelsBuilder( + int index) { + return getIterationLevelsFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( + int index) { + if (iterationLevelsBuilder_ == null) { + return iterationLevels_.get(index); + } else { + return iterationLevelsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public java.util.List getIterationLevelsOrBuilderList() { + if (iterationLevelsBuilder_ != null) { + return iterationLevelsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(iterationLevels_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder addIterationLevelsBuilder() { + return getIterationLevelsFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder addIterationLevelsBuilder( + int index) { + return getIterationLevelsFieldBuilder().addBuilder( + index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 6; + */ + public java.util.List getIterationLevelsBuilderList() { + return getIterationLevelsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getIterationLevelsFieldBuilder() { + if (iterationLevelsBuilder_ == null) { + iterationLevelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + iterationLevels_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + iterationLevels_ = null; + } + return iterationLevelsBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompositeContextNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompositeContextNode(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ForEachNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) + com.google.protobuf.MessageOrBuilder { + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + java.util.List getNodeInstanceList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + int getNodeInstanceCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + java.util.List getNodeInstanceOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + java.util.List getVariableList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + int getVariableCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + java.util.List getVariableOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + java.util.List getIterationLevelsList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels(int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + int getIterationLevelsCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + java.util.List getIterationLevelsOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( + int index); + + /** + * optional int32 sequential_counter = 4; + * + * @return Whether the sequentialCounter field is set. + */ + boolean hasSequentialCounter(); + + /** + * optional int32 sequential_counter = 4; + * + * @return The sequentialCounter. + */ + int getSequentialCounter(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode} + */ + public static final class ForEachNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) + ForEachNodeOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ForEachNode.newBuilder() to construct. + private ForEachNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ForEachNode() { + nodeInstance_ = java.util.Collections.emptyList(); + variable_ = java.util.Collections.emptyList(); + iterationLevels_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ForEachNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ForEachNode( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + nodeInstance_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + nodeInstance_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.PARSER, + extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + variable_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + variable_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.PARSER, + extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + iterationLevels_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + iterationLevels_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.PARSER, + extensionRegistry)); + break; + } + case 32: { + bitField0_ |= 0x00000001; + sequentialCounter_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + variable_ = java.util.Collections.unmodifiableList(variable_); + } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder.class); + } + + private int bitField0_; + public static final int NODE_INSTANCE_FIELD_NUMBER = 1; + private java.util.List nodeInstance_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + @java.lang.Override + public java.util.List getNodeInstanceList() { + return nodeInstance_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + @java.lang.Override + public java.util.List getNodeInstanceOrBuilderList() { + return nodeInstance_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + @java.lang.Override + public int getNodeInstanceCount() { + return nodeInstance_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance( + int index) { + return nodeInstance_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( + int index) { + return nodeInstance_.get(index); + } + + public static final int VARIABLE_FIELD_NUMBER = 2; + private java.util.List variable_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + @java.lang.Override + public java.util.List getVariableList() { + return variable_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + @java.lang.Override + public java.util.List getVariableOrBuilderList() { + return variable_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + @java.lang.Override + public int getVariableCount() { + return variable_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { + return variable_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index) { + return variable_.get(index); + } + + public static final int ITERATIONLEVELS_FIELD_NUMBER = 3; + private java.util.List iterationLevels_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + @java.lang.Override + public java.util.List getIterationLevelsList() { + return iterationLevels_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + @java.lang.Override + public java.util.List getIterationLevelsOrBuilderList() { + return iterationLevels_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + @java.lang.Override + public int getIterationLevelsCount() { + return iterationLevels_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels( + int index) { + return iterationLevels_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( + int index) { + return iterationLevels_.get(index); + } + + public static final int SEQUENTIAL_COUNTER_FIELD_NUMBER = 4; + private int sequentialCounter_; + + /** + * optional int32 sequential_counter = 4; + * + * @return Whether the sequentialCounter field is set. + */ + @java.lang.Override + public boolean hasSequentialCounter() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional int32 sequential_counter = 4; + * + * @return The sequentialCounter. + */ + @java.lang.Override + public int getSequentialCounter() { + return sequentialCounter_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < nodeInstance_.size(); i++) { + output.writeMessage(1, nodeInstance_.get(i)); + } + for (int i = 0; i < variable_.size(); i++) { + output.writeMessage(2, variable_.get(i)); + } + for (int i = 0; i < iterationLevels_.size(); i++) { + output.writeMessage(3, iterationLevels_.get(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(4, sequentialCounter_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + for (int i = 0; i < nodeInstance_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, nodeInstance_.get(i)); + } + for (int i = 0; i < variable_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, variable_.get(i)); + } + for (int i = 0; i < iterationLevels_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, iterationLevels_.get(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, sequentialCounter_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode) obj; + + if (!getNodeInstanceList() + .equals(other.getNodeInstanceList())) + return false; + if (!getVariableList() + .equals(other.getVariableList())) + return false; + if (!getIterationLevelsList() + .equals(other.getIterationLevelsList())) + return false; + if (hasSequentialCounter() != other.hasSequentialCounter()) + return false; + if (hasSequentialCounter()) { + if (getSequentialCounter() != other.getSequentialCounter()) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getNodeInstanceCount() > 0) { + hash = (37 * hash) + NODE_INSTANCE_FIELD_NUMBER; + hash = (53 * hash) + getNodeInstanceList().hashCode(); + } + if (getVariableCount() > 0) { + hash = (37 * hash) + VARIABLE_FIELD_NUMBER; + hash = (53 * hash) + getVariableList().hashCode(); + } + if (getIterationLevelsCount() > 0) { + hash = (37 * hash) + ITERATIONLEVELS_FIELD_NUMBER; + hash = (53 * hash) + getIterationLevelsList().hashCode(); + } + if (hasSequentialCounter()) { + hash = (37 * hash) + SEQUENTIAL_COUNTER_FIELD_NUMBER; + hash = (53 * hash) + getSequentialCounter(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getNodeInstanceFieldBuilder(); + getVariableFieldBuilder(); + getIterationLevelsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (nodeInstanceBuilder_ == null) { + nodeInstance_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + nodeInstanceBuilder_.clear(); + } + if (variableBuilder_ == null) { + variable_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + variableBuilder_.clear(); + } + if (iterationLevelsBuilder_ == null) { + iterationLevels_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + iterationLevelsBuilder_.clear(); + } + sequentialCounter_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (nodeInstanceBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.nodeInstance_ = nodeInstance_; + } else { + result.nodeInstance_ = nodeInstanceBuilder_.build(); + } + if (variableBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + variable_ = java.util.Collections.unmodifiableList(variable_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.variable_ = variable_; + } else { + result.variable_ = variableBuilder_.build(); + } + if (iterationLevelsBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.iterationLevels_ = iterationLevels_; + } else { + result.iterationLevels_ = iterationLevelsBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.sequentialCounter_ = sequentialCounter_; + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode + .getDefaultInstance()) + return this; + if (nodeInstanceBuilder_ == null) { + if (!other.nodeInstance_.isEmpty()) { + if (nodeInstance_.isEmpty()) { + nodeInstance_ = other.nodeInstance_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureNodeInstanceIsMutable(); + nodeInstance_.addAll(other.nodeInstance_); + } + onChanged(); + } + } else { + if (!other.nodeInstance_.isEmpty()) { + if (nodeInstanceBuilder_.isEmpty()) { + nodeInstanceBuilder_.dispose(); + nodeInstanceBuilder_ = null; + nodeInstance_ = other.nodeInstance_; + bitField0_ = (bitField0_ & ~0x00000001); + nodeInstanceBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNodeInstanceFieldBuilder() + : null; + } else { + nodeInstanceBuilder_.addAllMessages(other.nodeInstance_); + } + } + } + if (variableBuilder_ == null) { + if (!other.variable_.isEmpty()) { + if (variable_.isEmpty()) { + variable_ = other.variable_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureVariableIsMutable(); + variable_.addAll(other.variable_); + } + onChanged(); + } + } else { + if (!other.variable_.isEmpty()) { + if (variableBuilder_.isEmpty()) { + variableBuilder_.dispose(); + variableBuilder_ = null; + variable_ = other.variable_; + bitField0_ = (bitField0_ & ~0x00000002); + variableBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVariableFieldBuilder() + : null; + } else { + variableBuilder_.addAllMessages(other.variable_); + } + } + } + if (iterationLevelsBuilder_ == null) { + if (!other.iterationLevels_.isEmpty()) { + if (iterationLevels_.isEmpty()) { + iterationLevels_ = other.iterationLevels_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureIterationLevelsIsMutable(); + iterationLevels_.addAll(other.iterationLevels_); + } + onChanged(); + } + } else { + if (!other.iterationLevels_.isEmpty()) { + if (iterationLevelsBuilder_.isEmpty()) { + iterationLevelsBuilder_.dispose(); + iterationLevelsBuilder_ = null; + iterationLevels_ = other.iterationLevels_; + bitField0_ = (bitField0_ & ~0x00000004); + iterationLevelsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIterationLevelsFieldBuilder() + : null; + } else { + iterationLevelsBuilder_.addAllMessages(other.iterationLevels_); + } + } + } + if (other.hasSequentialCounter()) { + setSequentialCounter(other.getSequentialCounter()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List nodeInstance_ = java.util.Collections + .emptyList(); + + private void ensureNodeInstanceIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + nodeInstance_ = new java.util.ArrayList( + nodeInstance_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 nodeInstanceBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public java.util.List getNodeInstanceList() { + if (nodeInstanceBuilder_ == null) { + return java.util.Collections.unmodifiableList(nodeInstance_); + } else { + return nodeInstanceBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public int getNodeInstanceCount() { + if (nodeInstanceBuilder_ == null) { + return nodeInstance_.size(); + } else { + return nodeInstanceBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance( + int index) { + if (nodeInstanceBuilder_ == null) { + return nodeInstance_.get(index); + } else { + return nodeInstanceBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public Builder setNodeInstance( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { + if (nodeInstanceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInstanceIsMutable(); + nodeInstance_.set(index, value); + onChanged(); + } else { + nodeInstanceBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public Builder setNodeInstance( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + nodeInstance_.set(index, builderForValue.build()); + onChanged(); + } else { + nodeInstanceBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public Builder addNodeInstance( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { + if (nodeInstanceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInstanceIsMutable(); + nodeInstance_.add(value); + onChanged(); + } else { + nodeInstanceBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public Builder addNodeInstance( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { + if (nodeInstanceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInstanceIsMutable(); + nodeInstance_.add(index, value); + onChanged(); + } else { + nodeInstanceBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public Builder addNodeInstance( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + nodeInstance_.add(builderForValue.build()); + onChanged(); + } else { + nodeInstanceBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public Builder addNodeInstance( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + nodeInstance_.add(index, builderForValue.build()); + onChanged(); + } else { + nodeInstanceBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public Builder addAllNodeInstance( + java.lang.Iterable values) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nodeInstance_); + onChanged(); + } else { + nodeInstanceBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public Builder clearNodeInstance() { + if (nodeInstanceBuilder_ == null) { + nodeInstance_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + nodeInstanceBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public Builder removeNodeInstance(int index) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + nodeInstance_.remove(index); + onChanged(); + } else { + nodeInstanceBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder getNodeInstanceBuilder( + int index) { + return getNodeInstanceFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( + int index) { + if (nodeInstanceBuilder_ == null) { + return nodeInstance_.get(index); + } else { + return nodeInstanceBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public java.util.List getNodeInstanceOrBuilderList() { + if (nodeInstanceBuilder_ != null) { + return nodeInstanceBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(nodeInstance_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder() { + return getNodeInstanceFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder( + int index) { + return getNodeInstanceFieldBuilder().addBuilder( + index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 1; + */ + public java.util.List getNodeInstanceBuilderList() { + return getNodeInstanceFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getNodeInstanceFieldBuilder() { + if (nodeInstanceBuilder_ == null) { + nodeInstanceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + nodeInstance_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + nodeInstance_ = null; + } + return nodeInstanceBuilder_; + } + + private java.util.List variable_ = java.util.Collections + .emptyList(); + + private void ensureVariableIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + variable_ = new java.util.ArrayList( + variable_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 variableBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public java.util.List getVariableList() { + if (variableBuilder_ == null) { + return java.util.Collections.unmodifiableList(variable_); + } else { + return variableBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public int getVariableCount() { + if (variableBuilder_ == null) { + return variable_.size(); + } else { + return variableBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { + if (variableBuilder_ == null) { + return variable_.get(index); + } else { + return variableBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public Builder setVariable( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.set(index, value); + onChanged(); + } else { + variableBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public Builder setVariable( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.set(index, builderForValue.build()); + onChanged(); + } else { + variableBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public Builder addVariable( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.add(value); + onChanged(); + } else { + variableBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public Builder addVariable( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.add(index, value); + onChanged(); + } else { + variableBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public Builder addVariable( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.add(builderForValue.build()); + onChanged(); + } else { + variableBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public Builder addVariable( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.add(index, builderForValue.build()); + onChanged(); + } else { + variableBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public Builder addAllVariable( + java.lang.Iterable values) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, variable_); + onChanged(); + } else { + variableBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public Builder clearVariable() { + if (variableBuilder_ == null) { + variable_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + variableBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public Builder removeVariable(int index) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.remove(index); + onChanged(); + } else { + variableBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder getVariableBuilder( + int index) { + return getVariableFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index) { + if (variableBuilder_ == null) { + return variable_.get(index); + } else { + return variableBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public java.util.List getVariableOrBuilderList() { + if (variableBuilder_ != null) { + return variableBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(variable_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder() { + return getVariableFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder( + int index) { + return getVariableFieldBuilder().addBuilder( + index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 2; + */ + public java.util.List getVariableBuilderList() { + return getVariableFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getVariableFieldBuilder() { + if (variableBuilder_ == null) { + variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + variable_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); + variable_ = null; + } + return variableBuilder_; + } + + private java.util.List iterationLevels_ = java.util.Collections + .emptyList(); + + private void ensureIterationLevelsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + iterationLevels_ = new java.util.ArrayList( + iterationLevels_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 iterationLevelsBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public java.util.List getIterationLevelsList() { + if (iterationLevelsBuilder_ == null) { + return java.util.Collections.unmodifiableList(iterationLevels_); + } else { + return iterationLevelsBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public int getIterationLevelsCount() { + if (iterationLevelsBuilder_ == null) { + return iterationLevels_.size(); + } else { + return iterationLevelsBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels( + int index) { + if (iterationLevelsBuilder_ == null) { + return iterationLevels_.get(index); + } else { + return iterationLevelsBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public Builder setIterationLevels( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { + if (iterationLevelsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIterationLevelsIsMutable(); + iterationLevels_.set(index, value); + onChanged(); + } else { + iterationLevelsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public Builder setIterationLevels( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + iterationLevels_.set(index, builderForValue.build()); + onChanged(); + } else { + iterationLevelsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public Builder addIterationLevels( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { + if (iterationLevelsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIterationLevelsIsMutable(); + iterationLevels_.add(value); + onChanged(); + } else { + iterationLevelsBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public Builder addIterationLevels( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { + if (iterationLevelsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIterationLevelsIsMutable(); + iterationLevels_.add(index, value); + onChanged(); + } else { + iterationLevelsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public Builder addIterationLevels( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + iterationLevels_.add(builderForValue.build()); + onChanged(); + } else { + iterationLevelsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public Builder addIterationLevels( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + iterationLevels_.add(index, builderForValue.build()); + onChanged(); + } else { + iterationLevelsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public Builder addAllIterationLevels( + java.lang.Iterable values) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, iterationLevels_); + onChanged(); + } else { + iterationLevelsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public Builder clearIterationLevels() { + if (iterationLevelsBuilder_ == null) { + iterationLevels_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + iterationLevelsBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public Builder removeIterationLevels(int index) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + iterationLevels_.remove(index); + onChanged(); + } else { + iterationLevelsBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder getIterationLevelsBuilder( + int index) { + return getIterationLevelsFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( + int index) { + if (iterationLevelsBuilder_ == null) { + return iterationLevels_.get(index); + } else { + return iterationLevelsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public java.util.List getIterationLevelsOrBuilderList() { + if (iterationLevelsBuilder_ != null) { + return iterationLevelsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(iterationLevels_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder addIterationLevelsBuilder() { + return getIterationLevelsFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder addIterationLevelsBuilder( + int index) { + return getIterationLevelsFieldBuilder().addBuilder( + index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 3; + */ + public java.util.List getIterationLevelsBuilderList() { + return getIterationLevelsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getIterationLevelsFieldBuilder() { + if (iterationLevelsBuilder_ == null) { + iterationLevelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + iterationLevels_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); + iterationLevels_ = null; + } + return iterationLevelsBuilder_; + } + + private int sequentialCounter_; + + /** + * optional int32 sequential_counter = 4; + * + * @return Whether the sequentialCounter field is set. + */ + @java.lang.Override + public boolean hasSequentialCounter() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional int32 sequential_counter = 4; + * + * @return The sequentialCounter. + */ + @java.lang.Override + public int getSequentialCounter() { + return sequentialCounter_; + } + + /** + * optional int32 sequential_counter = 4; + * + * @param value The sequentialCounter to set. + * @return This builder for chaining. + */ + public Builder setSequentialCounter(int value) { + bitField0_ |= 0x00000008; + sequentialCounter_ = value; + onChanged(); + return this; + } + + /** + * optional int32 sequential_counter = 4; + * + * @return This builder for chaining. + */ + public Builder clearSequentialCounter() { + bitField0_ = (bitField0_ & ~0x00000008); + sequentialCounter_ = 0; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ForEachNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ForEachNode(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AsyncEventNodeOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string event_type = 1; + * + * @return Whether the eventType field is set. + */ + boolean hasEventType(); + + /** + * optional string event_type = 1; + * + * @return The eventType. + */ + java.lang.String getEventType(); + + /** + * optional string event_type = 1; + * + * @return The bytes for eventType. + */ + com.google.protobuf.ByteString getEventTypeBytes(); + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode} + */ + public static final class AsyncEventNode extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) + AsyncEventNodeOrBuilder { + private static final long serialVersionUID = 0L; + + // Use AsyncEventNode.newBuilder() to construct. + private AsyncEventNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AsyncEventNode() { + eventType_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AsyncEventNode(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AsyncEventNode( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet + .newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + eventType_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder.class); + } + + private int bitField0_; + public static final int EVENT_TYPE_FIELD_NUMBER = 1; + private volatile java.lang.Object eventType_; + + /** + * optional string event_type = 1; + * + * @return Whether the eventType field is set. + */ + @java.lang.Override + public boolean hasEventType() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string event_type = 1; + * + * @return The eventType. + */ + @java.lang.Override + public java.lang.String getEventType() { + java.lang.Object ref = eventType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + eventType_ = s; + } + return s; + } + } + + /** + * optional string event_type = 1; + * + * @return The bytes for eventType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getEventTypeBytes() { + java.lang.Object ref = eventType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, eventType_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, eventType_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode) obj; + + if (hasEventType() != other.hasEventType()) + return false; + if (hasEventType()) { + if (!getEventType() + .equals(other.getEventType())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasEventType()) { + hash = (37 * hash) + EVENT_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getEventType().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type + * {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + eventType_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.eventType_ = eventType_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode + .getDefaultInstance()) + return this; + if (other.hasEventType()) { + bitField0_ |= 0x00000001; + eventType_ = other.eventType_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object eventType_ = ""; + + /** + * optional string event_type = 1; + * + * @return Whether the eventType field is set. + */ + public boolean hasEventType() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string event_type = 1; + * + * @return The eventType. + */ + public java.lang.String getEventType() { + java.lang.Object ref = eventType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + eventType_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string event_type = 1; + * + * @return The bytes for eventType. + */ + public com.google.protobuf.ByteString getEventTypeBytes() { + java.lang.Object ref = eventType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string event_type = 1; + * + * @param value The eventType to set. + * @return This builder for chaining. + */ + public Builder setEventType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + eventType_ = value; + onChanged(); + return this; + } + + /** + * optional string event_type = 1; + * + * @return This builder for chaining. + */ + public Builder clearEventType() { + bitField0_ = (bitField0_ & ~0x00000001); + eventType_ = getDefaultInstance().getEventType(); + onChanged(); + return this; + } + + /** + * optional string event_type = 1; + * + * @param value The bytes for eventType to set. + * @return This builder for chaining. + */ + public Builder setEventTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + eventType_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AsyncEventNode parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AsyncEventNode(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int bitField0_; + public static final int TYPE_FIELD_NUMBER = 1; + private int type_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; + * + * @return Whether the type field is set. + */ + @java.lang.Override + public boolean hasType() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; + * + * @return The type. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType getType() { + @SuppressWarnings("deprecation") + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType result = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType + .valueOf(type_); + return result == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType.RULE_SET_NODE + : result; + } + + public static final int RULE_SET_FIELD_NUMBER = 2; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode ruleSet_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + * + * @return Whether the ruleSet field is set. + */ + @java.lang.Override + public boolean hasRuleSet() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + * + * @return The ruleSet. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getRuleSet() { + return ruleSet_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode + .getDefaultInstance() + : ruleSet_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder getRuleSetOrBuilder() { + return ruleSet_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode + .getDefaultInstance() + : ruleSet_; + } + + public static final int HUMAN_TASK_FIELD_NUMBER = 3; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode humanTask_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + * + * @return Whether the humanTask field is set. + */ + @java.lang.Override + public boolean hasHumanTask() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + * + * @return The humanTask. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getHumanTask() { + return humanTask_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode + .getDefaultInstance() + : humanTask_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder getHumanTaskOrBuilder() { + return humanTask_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode + .getDefaultInstance() + : humanTask_; + } + + public static final int WORK_ITEM_FIELD_NUMBER = 4; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode workItem_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + * + * @return Whether the workItem field is set. + */ + @java.lang.Override + public boolean hasWorkItem() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + * + * @return The workItem. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getWorkItem() { + return workItem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode + .getDefaultInstance() + : workItem_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder getWorkItemOrBuilder() { + return workItem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode + .getDefaultInstance() + : workItem_; + } + + public static final int SUB_PROCESS_FIELD_NUMBER = 5; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode subProcess_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + * + * @return Whether the subProcess field is set. + */ + @java.lang.Override + public boolean hasSubProcess() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + * + * @return The subProcess. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getSubProcess() { + return subProcess_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode + .getDefaultInstance() + : subProcess_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder getSubProcessOrBuilder() { + return subProcess_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode + .getDefaultInstance() + : subProcess_; + } + + public static final int MILESTONE_FIELD_NUMBER = 6; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode milestone_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + * + * @return Whether the milestone field is set. + */ + @java.lang.Override + public boolean hasMilestone() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + * + * @return The milestone. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getMilestone() { + return milestone_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode + .getDefaultInstance() + : milestone_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder getMilestoneOrBuilder() { + return milestone_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode + .getDefaultInstance() + : milestone_; + } + + public static final int EVENT_FIELD_NUMBER = 7; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode event_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + * + * @return Whether the event field is set. + */ + @java.lang.Override + public boolean hasEvent() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + * + * @return The event. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode getEvent() { + return event_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode + .getDefaultInstance() + : event_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder getEventOrBuilder() { + return event_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode + .getDefaultInstance() + : event_; + } + + public static final int TIMER_FIELD_NUMBER = 8; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode timer_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + * + * @return Whether the timer field is set. + */ + @java.lang.Override + public boolean hasTimer() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + * + * @return The timer. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode getTimer() { + return timer_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode + .getDefaultInstance() + : timer_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder getTimerOrBuilder() { + return timer_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode + .getDefaultInstance() + : timer_; + } + + public static final int JOIN_FIELD_NUMBER = 9; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode join_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + * + * @return Whether the join field is set. + */ + @java.lang.Override + public boolean hasJoin() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + * + * @return The join. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode getJoin() { + return join_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode + .getDefaultInstance() + : join_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder getJoinOrBuilder() { + return join_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode + .getDefaultInstance() + : join_; + } + + public static final int STATE_FIELD_NUMBER = 10; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode state_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + * + * @return Whether the state field is set. + */ + @java.lang.Override + public boolean hasState() { + return ((bitField0_ & 0x00000200) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + * + * @return The state. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode getState() { + return state_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode + .getDefaultInstance() + : state_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder getStateOrBuilder() { + return state_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode + .getDefaultInstance() + : state_; + } + + public static final int COMPOSITE_FIELD_NUMBER = 11; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode composite_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + * + * @return Whether the composite field is set. + */ + @java.lang.Override + public boolean hasComposite() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + * + * @return The composite. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getComposite() { + return composite_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode + .getDefaultInstance() + : composite_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder getCompositeOrBuilder() { + return composite_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode + .getDefaultInstance() + : composite_; + } + + public static final int FOR_EACH_FIELD_NUMBER = 12; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode forEach_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + * + * @return Whether the forEach field is set. + */ + @java.lang.Override + public boolean hasForEach() { + return ((bitField0_ & 0x00000800) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + * + * @return The forEach. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode getForEach() { + return forEach_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode + .getDefaultInstance() + : forEach_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder getForEachOrBuilder() { + return forEach_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode + .getDefaultInstance() + : forEach_; + } + + public static final int ASYNC_EVENT_FIELD_NUMBER = 13; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode asyncEvent_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + * + * @return Whether the asyncEvent field is set. + */ + @java.lang.Override + public boolean hasAsyncEvent() { + return ((bitField0_ & 0x00001000) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + * + * @return The asyncEvent. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getAsyncEvent() { + return asyncEvent_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode + .getDefaultInstance() + : asyncEvent_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder getAsyncEventOrBuilder() { + return asyncEvent_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode + .getDefaultInstance() + : asyncEvent_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeEnum(1, type_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getRuleSet()); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeMessage(3, getHumanTask()); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(4, getWorkItem()); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeMessage(5, getSubProcess()); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeMessage(6, getMilestone()); + } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeMessage(7, getEvent()); + } + if (((bitField0_ & 0x00000080) != 0)) { + output.writeMessage(8, getTimer()); + } + if (((bitField0_ & 0x00000100) != 0)) { + output.writeMessage(9, getJoin()); + } + if (((bitField0_ & 0x00000200) != 0)) { + output.writeMessage(10, getState()); + } + if (((bitField0_ & 0x00000400) != 0)) { + output.writeMessage(11, getComposite()); + } + if (((bitField0_ & 0x00000800) != 0)) { + output.writeMessage(12, getForEach()); + } + if (((bitField0_ & 0x00001000) != 0)) { + output.writeMessage(13, getAsyncEvent()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRuleSet()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getHumanTask()); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getWorkItem()); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getSubProcess()); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getMilestone()); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getEvent()); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getTimer()); + } + if (((bitField0_ & 0x00000100) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getJoin()); + } + if (((bitField0_ & 0x00000200) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getState()); + } + if (((bitField0_ & 0x00000400) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getComposite()); + } + if (((bitField0_ & 0x00000800) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getForEach()); + } + if (((bitField0_ & 0x00001000) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getAsyncEvent()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent) obj; + + if (hasType() != other.hasType()) + return false; + if (hasType()) { + if (type_ != other.type_) + return false; + } + if (hasRuleSet() != other.hasRuleSet()) + return false; + if (hasRuleSet()) { + if (!getRuleSet() + .equals(other.getRuleSet())) + return false; + } + if (hasHumanTask() != other.hasHumanTask()) + return false; + if (hasHumanTask()) { + if (!getHumanTask() + .equals(other.getHumanTask())) + return false; + } + if (hasWorkItem() != other.hasWorkItem()) + return false; + if (hasWorkItem()) { + if (!getWorkItem() + .equals(other.getWorkItem())) + return false; + } + if (hasSubProcess() != other.hasSubProcess()) + return false; + if (hasSubProcess()) { + if (!getSubProcess() + .equals(other.getSubProcess())) + return false; + } + if (hasMilestone() != other.hasMilestone()) + return false; + if (hasMilestone()) { + if (!getMilestone() + .equals(other.getMilestone())) + return false; + } + if (hasEvent() != other.hasEvent()) + return false; + if (hasEvent()) { + if (!getEvent() + .equals(other.getEvent())) + return false; + } + if (hasTimer() != other.hasTimer()) + return false; + if (hasTimer()) { + if (!getTimer() + .equals(other.getTimer())) + return false; + } + if (hasJoin() != other.hasJoin()) + return false; + if (hasJoin()) { + if (!getJoin() + .equals(other.getJoin())) + return false; + } + if (hasState() != other.hasState()) + return false; + if (hasState()) { + if (!getState() + .equals(other.getState())) + return false; + } + if (hasComposite() != other.hasComposite()) + return false; + if (hasComposite()) { + if (!getComposite() + .equals(other.getComposite())) + return false; + } + if (hasForEach() != other.hasForEach()) + return false; + if (hasForEach()) { + if (!getForEach() + .equals(other.getForEach())) + return false; + } + if (hasAsyncEvent() != other.hasAsyncEvent()) + return false; + if (hasAsyncEvent()) { + if (!getAsyncEvent() + .equals(other.getAsyncEvent())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasType()) { + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + } + if (hasRuleSet()) { + hash = (37 * hash) + RULE_SET_FIELD_NUMBER; + hash = (53 * hash) + getRuleSet().hashCode(); + } + if (hasHumanTask()) { + hash = (37 * hash) + HUMAN_TASK_FIELD_NUMBER; + hash = (53 * hash) + getHumanTask().hashCode(); + } + if (hasWorkItem()) { + hash = (37 * hash) + WORK_ITEM_FIELD_NUMBER; + hash = (53 * hash) + getWorkItem().hashCode(); + } + if (hasSubProcess()) { + hash = (37 * hash) + SUB_PROCESS_FIELD_NUMBER; + hash = (53 * hash) + getSubProcess().hashCode(); + } + if (hasMilestone()) { + hash = (37 * hash) + MILESTONE_FIELD_NUMBER; + hash = (53 * hash) + getMilestone().hashCode(); + } + if (hasEvent()) { + hash = (37 * hash) + EVENT_FIELD_NUMBER; + hash = (53 * hash) + getEvent().hashCode(); + } + if (hasTimer()) { + hash = (37 * hash) + TIMER_FIELD_NUMBER; + hash = (53 * hash) + getTimer().hashCode(); + } + if (hasJoin()) { + hash = (37 * hash) + JOIN_FIELD_NUMBER; + hash = (53 * hash) + getJoin().hashCode(); + } + if (hasState()) { + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + getState().hashCode(); + } + if (hasComposite()) { + hash = (37 * hash) + COMPOSITE_FIELD_NUMBER; + hash = (53 * hash) + getComposite().hashCode(); + } + if (hasForEach()) { + hash = (37 * hash) + FOR_EACH_FIELD_NUMBER; + hash = (53 * hash) + getForEach().hashCode(); + } + if (hasAsyncEvent()) { + hash = (37 * hash) + ASYNC_EVENT_FIELD_NUMBER; + hash = (53 * hash) + getAsyncEvent().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContentOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getRuleSetFieldBuilder(); + getHumanTaskFieldBuilder(); + getWorkItemFieldBuilder(); + getSubProcessFieldBuilder(); + getMilestoneFieldBuilder(); + getEventFieldBuilder(); + getTimerFieldBuilder(); + getJoinFieldBuilder(); + getStateFieldBuilder(); + getCompositeFieldBuilder(); + getForEachFieldBuilder(); + getAsyncEventFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + type_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + if (ruleSetBuilder_ == null) { + ruleSet_ = null; + } else { + ruleSetBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + if (humanTaskBuilder_ == null) { + humanTask_ = null; + } else { + humanTaskBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + if (workItemBuilder_ == null) { + workItem_ = null; + } else { + workItemBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + if (subProcessBuilder_ == null) { + subProcess_ = null; + } else { + subProcessBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + if (milestoneBuilder_ == null) { + milestone_ = null; + } else { + milestoneBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000020); + if (eventBuilder_ == null) { + event_ = null; + } else { + eventBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000040); + if (timerBuilder_ == null) { + timer_ = null; + } else { + timerBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); + if (joinBuilder_ == null) { + join_ = null; + } else { + joinBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000100); + if (stateBuilder_ == null) { + state_ = null; + } else { + stateBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000200); + if (compositeBuilder_ == null) { + composite_ = null; + } else { + compositeBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000400); + if (forEachBuilder_ == null) { + forEach_ = null; + } else { + forEachBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000800); + if (asyncEventBuilder_ == null) { + asyncEvent_ = null; + } else { + asyncEventBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00001000); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.type_ = type_; + if (((from_bitField0_ & 0x00000002) != 0)) { + if (ruleSetBuilder_ == null) { + result.ruleSet_ = ruleSet_; + } else { + result.ruleSet_ = ruleSetBuilder_.build(); + } + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + if (humanTaskBuilder_ == null) { + result.humanTask_ = humanTask_; + } else { + result.humanTask_ = humanTaskBuilder_.build(); + } + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + if (workItemBuilder_ == null) { + result.workItem_ = workItem_; + } else { + result.workItem_ = workItemBuilder_.build(); + } + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + if (subProcessBuilder_ == null) { + result.subProcess_ = subProcess_; + } else { + result.subProcess_ = subProcessBuilder_.build(); + } + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + if (milestoneBuilder_ == null) { + result.milestone_ = milestone_; + } else { + result.milestone_ = milestoneBuilder_.build(); + } + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + if (eventBuilder_ == null) { + result.event_ = event_; + } else { + result.event_ = eventBuilder_.build(); + } + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + if (timerBuilder_ == null) { + result.timer_ = timer_; + } else { + result.timer_ = timerBuilder_.build(); + } + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + if (joinBuilder_ == null) { + result.join_ = join_; + } else { + result.join_ = joinBuilder_.build(); + } + to_bitField0_ |= 0x00000100; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + if (stateBuilder_ == null) { + result.state_ = state_; + } else { + result.state_ = stateBuilder_.build(); + } + to_bitField0_ |= 0x00000200; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + if (compositeBuilder_ == null) { + result.composite_ = composite_; + } else { + result.composite_ = compositeBuilder_.build(); + } + to_bitField0_ |= 0x00000400; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + if (forEachBuilder_ == null) { + result.forEach_ = forEach_; + } else { + result.forEach_ = forEachBuilder_.build(); + } + to_bitField0_ |= 0x00000800; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + if (asyncEventBuilder_ == null) { + result.asyncEvent_ = asyncEvent_; + } else { + result.asyncEvent_ = asyncEventBuilder_.build(); + } + to_bitField0_ |= 0x00001000; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent + .getDefaultInstance()) + return this; + if (other.hasType()) { + setType(other.getType()); + } + if (other.hasRuleSet()) { + mergeRuleSet(other.getRuleSet()); + } + if (other.hasHumanTask()) { + mergeHumanTask(other.getHumanTask()); + } + if (other.hasWorkItem()) { + mergeWorkItem(other.getWorkItem()); + } + if (other.hasSubProcess()) { + mergeSubProcess(other.getSubProcess()); + } + if (other.hasMilestone()) { + mergeMilestone(other.getMilestone()); + } + if (other.hasEvent()) { + mergeEvent(other.getEvent()); + } + if (other.hasTimer()) { + mergeTimer(other.getTimer()); + } + if (other.hasJoin()) { + mergeJoin(other.getJoin()); + } + if (other.hasState()) { + mergeState(other.getState()); + } + if (other.hasComposite()) { + mergeComposite(other.getComposite()); + } + if (other.hasForEach()) { + mergeForEach(other.getForEach()); + } + if (other.hasAsyncEvent()) { + mergeAsyncEvent(other.getAsyncEvent()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private int type_ = 0; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; + * + * @return Whether the type field is set. + */ + @java.lang.Override + public boolean hasType() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; + * + * @return The type. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType getType() { + @SuppressWarnings("deprecation") + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType result = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType + .valueOf(type_); + return result == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType.RULE_SET_NODE + : result; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; + * + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + type_ = value.getNumber(); + onChanged(); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceType type = 1; + * + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000001); + type_ = 0; + onChanged(); + return this; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode ruleSet_; + private com.google.protobuf.SingleFieldBuilderV3 ruleSetBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + * + * @return Whether the ruleSet field is set. + */ + public boolean hasRuleSet() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + * + * @return The ruleSet. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getRuleSet() { + if (ruleSetBuilder_ == null) { + return ruleSet_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode + .getDefaultInstance() + : ruleSet_; + } else { + return ruleSetBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + */ + public Builder setRuleSet( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode value) { + if (ruleSetBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ruleSet_ = value; + onChanged(); + } else { + ruleSetBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + */ + public Builder setRuleSet( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder builderForValue) { + if (ruleSetBuilder_ == null) { + ruleSet_ = builderForValue.build(); + onChanged(); + } else { + ruleSetBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + */ + public Builder mergeRuleSet( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode value) { + if (ruleSetBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + ruleSet_ != null && + ruleSet_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode + .getDefaultInstance()) { + ruleSet_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode + .newBuilder(ruleSet_).mergeFrom(value).buildPartial(); + } else { + ruleSet_ = value; + } + onChanged(); + } else { + ruleSetBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + */ + public Builder clearRuleSet() { + if (ruleSetBuilder_ == null) { + ruleSet_ = null; + onChanged(); + } else { + ruleSetBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder getRuleSetBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getRuleSetFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder getRuleSetOrBuilder() { + if (ruleSetBuilder_ != null) { + return ruleSetBuilder_.getMessageOrBuilder(); + } else { + return ruleSet_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode + .getDefaultInstance() + : ruleSet_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3 getRuleSetFieldBuilder() { + if (ruleSetBuilder_ == null) { + ruleSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getRuleSet(), + getParentForChildren(), + isClean()); + ruleSet_ = null; + } + return ruleSetBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode humanTask_; + private com.google.protobuf.SingleFieldBuilderV3 humanTaskBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + * + * @return Whether the humanTask field is set. + */ + public boolean hasHumanTask() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + * + * @return The humanTask. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getHumanTask() { + if (humanTaskBuilder_ == null) { + return humanTask_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode + .getDefaultInstance() + : humanTask_; + } else { + return humanTaskBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + */ + public Builder setHumanTask( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode value) { + if (humanTaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + humanTask_ = value; + onChanged(); + } else { + humanTaskBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + */ + public Builder setHumanTask( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder builderForValue) { + if (humanTaskBuilder_ == null) { + humanTask_ = builderForValue.build(); + onChanged(); + } else { + humanTaskBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + */ + public Builder mergeHumanTask( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode value) { + if (humanTaskBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + humanTask_ != null && + humanTask_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode + .getDefaultInstance()) { + humanTask_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode + .newBuilder(humanTask_).mergeFrom(value).buildPartial(); + } else { + humanTask_ = value; + } + onChanged(); + } else { + humanTaskBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + */ + public Builder clearHumanTask() { + if (humanTaskBuilder_ == null) { + humanTask_ = null; + onChanged(); + } else { + humanTaskBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder getHumanTaskBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getHumanTaskFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder getHumanTaskOrBuilder() { + if (humanTaskBuilder_ != null) { + return humanTaskBuilder_.getMessageOrBuilder(); + } else { + return humanTask_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode + .getDefaultInstance() + : humanTask_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3 getHumanTaskFieldBuilder() { + if (humanTaskBuilder_ == null) { + humanTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getHumanTask(), + getParentForChildren(), + isClean()); + humanTask_ = null; + } + return humanTaskBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode workItem_; + private com.google.protobuf.SingleFieldBuilderV3 workItemBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + * + * @return Whether the workItem field is set. + */ + public boolean hasWorkItem() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + * + * @return The workItem. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getWorkItem() { + if (workItemBuilder_ == null) { + return workItem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode + .getDefaultInstance() + : workItem_; + } else { + return workItemBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + */ + public Builder setWorkItem( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode value) { + if (workItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + workItem_ = value; + onChanged(); + } else { + workItemBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + */ + public Builder setWorkItem( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder builderForValue) { + if (workItemBuilder_ == null) { + workItem_ = builderForValue.build(); + onChanged(); + } else { + workItemBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + */ + public Builder mergeWorkItem( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode value) { + if (workItemBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + workItem_ != null && + workItem_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode + .getDefaultInstance()) { + workItem_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode + .newBuilder(workItem_).mergeFrom(value).buildPartial(); + } else { + workItem_ = value; + } + onChanged(); + } else { + workItemBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + */ + public Builder clearWorkItem() { + if (workItemBuilder_ == null) { + workItem_ = null; + onChanged(); + } else { + workItemBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder getWorkItemBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getWorkItemFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder getWorkItemOrBuilder() { + if (workItemBuilder_ != null) { + return workItemBuilder_.getMessageOrBuilder(); + } else { + return workItem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.WorkItemNode + .getDefaultInstance() + : workItem_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3 getWorkItemFieldBuilder() { + if (workItemBuilder_ == null) { + workItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getWorkItem(), + getParentForChildren(), + isClean()); + workItem_ = null; + } + return workItemBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode subProcess_; + private com.google.protobuf.SingleFieldBuilderV3 subProcessBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + * + * @return Whether the subProcess field is set. + */ + public boolean hasSubProcess() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + * + * @return The subProcess. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getSubProcess() { + if (subProcessBuilder_ == null) { + return subProcess_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode + .getDefaultInstance() + : subProcess_; + } else { + return subProcessBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + */ + public Builder setSubProcess( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode value) { + if (subProcessBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + subProcess_ = value; + onChanged(); + } else { + subProcessBuilder_.setMessage(value); + } + bitField0_ |= 0x00000010; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + */ + public Builder setSubProcess( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder builderForValue) { + if (subProcessBuilder_ == null) { + subProcess_ = builderForValue.build(); + onChanged(); + } else { + subProcessBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000010; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + */ + public Builder mergeSubProcess( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode value) { + if (subProcessBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0) && + subProcess_ != null && + subProcess_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode + .getDefaultInstance()) { + subProcess_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode + .newBuilder(subProcess_).mergeFrom(value).buildPartial(); + } else { + subProcess_ = value; + } + onChanged(); + } else { + subProcessBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000010; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + */ + public Builder clearSubProcess() { + if (subProcessBuilder_ == null) { + subProcess_ = null; + onChanged(); + } else { + subProcessBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder getSubProcessBuilder() { + bitField0_ |= 0x00000010; + onChanged(); + return getSubProcessFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder getSubProcessOrBuilder() { + if (subProcessBuilder_ != null) { + return subProcessBuilder_.getMessageOrBuilder(); + } else { + return subProcess_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode + .getDefaultInstance() + : subProcess_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3 getSubProcessFieldBuilder() { + if (subProcessBuilder_ == null) { + subProcessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getSubProcess(), + getParentForChildren(), + isClean()); + subProcess_ = null; + } + return subProcessBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode milestone_; + private com.google.protobuf.SingleFieldBuilderV3 milestoneBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + * + * @return Whether the milestone field is set. + */ + public boolean hasMilestone() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + * + * @return The milestone. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getMilestone() { + if (milestoneBuilder_ == null) { + return milestone_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode + .getDefaultInstance() + : milestone_; + } else { + return milestoneBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + */ + public Builder setMilestone( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode value) { + if (milestoneBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + milestone_ = value; + onChanged(); + } else { + milestoneBuilder_.setMessage(value); + } + bitField0_ |= 0x00000020; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + */ + public Builder setMilestone( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder builderForValue) { + if (milestoneBuilder_ == null) { + milestone_ = builderForValue.build(); + onChanged(); + } else { + milestoneBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000020; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + */ + public Builder mergeMilestone( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode value) { + if (milestoneBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0) && + milestone_ != null && + milestone_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode + .getDefaultInstance()) { + milestone_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode + .newBuilder(milestone_).mergeFrom(value).buildPartial(); + } else { + milestone_ = value; + } + onChanged(); + } else { + milestoneBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000020; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + */ + public Builder clearMilestone() { + if (milestoneBuilder_ == null) { + milestone_ = null; + onChanged(); + } else { + milestoneBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000020); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder getMilestoneBuilder() { + bitField0_ |= 0x00000020; + onChanged(); + return getMilestoneFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder getMilestoneOrBuilder() { + if (milestoneBuilder_ != null) { + return milestoneBuilder_.getMessageOrBuilder(); + } else { + return milestone_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode + .getDefaultInstance() + : milestone_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3 getMilestoneFieldBuilder() { + if (milestoneBuilder_ == null) { + milestoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getMilestone(), + getParentForChildren(), + isClean()); + milestone_ = null; + } + return milestoneBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode event_; + private com.google.protobuf.SingleFieldBuilderV3 eventBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + * + * @return Whether the event field is set. + */ + public boolean hasEvent() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + * + * @return The event. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode getEvent() { + if (eventBuilder_ == null) { + return event_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode + .getDefaultInstance() + : event_; + } else { + return eventBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + */ + public Builder setEvent( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode value) { + if (eventBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + event_ = value; + onChanged(); + } else { + eventBuilder_.setMessage(value); + } + bitField0_ |= 0x00000040; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + */ + public Builder setEvent( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder builderForValue) { + if (eventBuilder_ == null) { + event_ = builderForValue.build(); + onChanged(); + } else { + eventBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000040; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + */ + public Builder mergeEvent( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode value) { + if (eventBuilder_ == null) { + if (((bitField0_ & 0x00000040) != 0) && + event_ != null && + event_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode + .getDefaultInstance()) { + event_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode + .newBuilder(event_).mergeFrom(value).buildPartial(); + } else { + event_ = value; + } + onChanged(); + } else { + eventBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000040; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + */ + public Builder clearEvent() { + if (eventBuilder_ == null) { + event_ = null; + onChanged(); + } else { + eventBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000040); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder getEventBuilder() { + bitField0_ |= 0x00000040; + onChanged(); + return getEventFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder getEventOrBuilder() { + if (eventBuilder_ != null) { + return eventBuilder_.getMessageOrBuilder(); + } else { + return event_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode + .getDefaultInstance() + : event_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3 getEventFieldBuilder() { + if (eventBuilder_ == null) { + eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getEvent(), + getParentForChildren(), + isClean()); + event_ = null; + } + return eventBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode timer_; + private com.google.protobuf.SingleFieldBuilderV3 timerBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + * + * @return Whether the timer field is set. + */ + public boolean hasTimer() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + * + * @return The timer. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode getTimer() { + if (timerBuilder_ == null) { + return timer_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode + .getDefaultInstance() + : timer_; + } else { + return timerBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + */ + public Builder setTimer( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode value) { + if (timerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + timer_ = value; + onChanged(); + } else { + timerBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + */ + public Builder setTimer( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder builderForValue) { + if (timerBuilder_ == null) { + timer_ = builderForValue.build(); + onChanged(); + } else { + timerBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + */ + public Builder mergeTimer( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode value) { + if (timerBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + timer_ != null && + timer_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode + .getDefaultInstance()) { + timer_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode + .newBuilder(timer_).mergeFrom(value).buildPartial(); + } else { + timer_ = value; + } + onChanged(); + } else { + timerBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + */ + public Builder clearTimer() { + if (timerBuilder_ == null) { + timer_ = null; + onChanged(); + } else { + timerBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder getTimerBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getTimerFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder getTimerOrBuilder() { + if (timerBuilder_ != null) { + return timerBuilder_.getMessageOrBuilder(); + } else { + return timer_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode + .getDefaultInstance() + : timer_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; + */ + private com.google.protobuf.SingleFieldBuilderV3 getTimerFieldBuilder() { + if (timerBuilder_ == null) { + timerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getTimer(), + getParentForChildren(), + isClean()); + timer_ = null; + } + return timerBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode join_; + private com.google.protobuf.SingleFieldBuilderV3 joinBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + * + * @return Whether the join field is set. + */ + public boolean hasJoin() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + * + * @return The join. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode getJoin() { + if (joinBuilder_ == null) { + return join_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode + .getDefaultInstance() + : join_; + } else { + return joinBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + */ + public Builder setJoin( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode value) { + if (joinBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + join_ = value; + onChanged(); + } else { + joinBuilder_.setMessage(value); + } + bitField0_ |= 0x00000100; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + */ + public Builder setJoin( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder builderForValue) { + if (joinBuilder_ == null) { + join_ = builderForValue.build(); + onChanged(); + } else { + joinBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000100; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + */ + public Builder mergeJoin( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode value) { + if (joinBuilder_ == null) { + if (((bitField0_ & 0x00000100) != 0) && + join_ != null && + join_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode + .getDefaultInstance()) { + join_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode + .newBuilder(join_).mergeFrom(value).buildPartial(); + } else { + join_ = value; + } + onChanged(); + } else { + joinBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000100; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + */ + public Builder clearJoin() { + if (joinBuilder_ == null) { + join_ = null; + onChanged(); + } else { + joinBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000100); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder getJoinBuilder() { + bitField0_ |= 0x00000100; + onChanged(); + return getJoinFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder getJoinOrBuilder() { + if (joinBuilder_ != null) { + return joinBuilder_.getMessageOrBuilder(); + } else { + return join_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode + .getDefaultInstance() + : join_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; + */ + private com.google.protobuf.SingleFieldBuilderV3 getJoinFieldBuilder() { + if (joinBuilder_ == null) { + joinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getJoin(), + getParentForChildren(), + isClean()); + join_ = null; + } + return joinBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode state_; + private com.google.protobuf.SingleFieldBuilderV3 stateBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + * + * @return Whether the state field is set. + */ + public boolean hasState() { + return ((bitField0_ & 0x00000200) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + * + * @return The state. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode getState() { + if (stateBuilder_ == null) { + return state_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode + .getDefaultInstance() + : state_; + } else { + return stateBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + */ + public Builder setState( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode value) { + if (stateBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + state_ = value; + onChanged(); + } else { + stateBuilder_.setMessage(value); + } + bitField0_ |= 0x00000200; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + */ + public Builder setState( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder builderForValue) { + if (stateBuilder_ == null) { + state_ = builderForValue.build(); + onChanged(); + } else { + stateBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000200; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + */ + public Builder mergeState( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode value) { + if (stateBuilder_ == null) { + if (((bitField0_ & 0x00000200) != 0) && + state_ != null && + state_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode + .getDefaultInstance()) { + state_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode + .newBuilder(state_).mergeFrom(value).buildPartial(); + } else { + state_ = value; + } + onChanged(); + } else { + stateBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000200; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + */ + public Builder clearState() { + if (stateBuilder_ == null) { + state_ = null; + onChanged(); + } else { + stateBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000200); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder getStateBuilder() { + bitField0_ |= 0x00000200; + onChanged(); + return getStateFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder getStateOrBuilder() { + if (stateBuilder_ != null) { + return stateBuilder_.getMessageOrBuilder(); + } else { + return state_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode + .getDefaultInstance() + : state_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; + */ + private com.google.protobuf.SingleFieldBuilderV3 getStateFieldBuilder() { + if (stateBuilder_ == null) { + stateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getState(), + getParentForChildren(), + isClean()); + state_ = null; + } + return stateBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode composite_; + private com.google.protobuf.SingleFieldBuilderV3 compositeBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + * + * @return Whether the composite field is set. + */ + public boolean hasComposite() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + * + * @return The composite. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getComposite() { + if (compositeBuilder_ == null) { + return composite_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode + .getDefaultInstance() + : composite_; + } else { + return compositeBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + */ + public Builder setComposite( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode value) { + if (compositeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + composite_ = value; + onChanged(); + } else { + compositeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000400; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + */ + public Builder setComposite( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder builderForValue) { + if (compositeBuilder_ == null) { + composite_ = builderForValue.build(); + onChanged(); + } else { + compositeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000400; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + */ + public Builder mergeComposite( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode value) { + if (compositeBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0) && + composite_ != null && + composite_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode + .getDefaultInstance()) { + composite_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode + .newBuilder(composite_).mergeFrom(value).buildPartial(); + } else { + composite_ = value; + } + onChanged(); + } else { + compositeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000400; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + */ + public Builder clearComposite() { + if (compositeBuilder_ == null) { + composite_ = null; + onChanged(); + } else { + compositeBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000400); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder getCompositeBuilder() { + bitField0_ |= 0x00000400; + onChanged(); + return getCompositeFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder getCompositeOrBuilder() { + if (compositeBuilder_ != null) { + return compositeBuilder_.getMessageOrBuilder(); + } else { + return composite_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode + .getDefaultInstance() + : composite_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; + */ + private com.google.protobuf.SingleFieldBuilderV3 getCompositeFieldBuilder() { + if (compositeBuilder_ == null) { + compositeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getComposite(), + getParentForChildren(), + isClean()); + composite_ = null; + } + return compositeBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode forEach_; + private com.google.protobuf.SingleFieldBuilderV3 forEachBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + * + * @return Whether the forEach field is set. + */ + public boolean hasForEach() { + return ((bitField0_ & 0x00000800) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + * + * @return The forEach. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode getForEach() { + if (forEachBuilder_ == null) { + return forEach_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode + .getDefaultInstance() + : forEach_; + } else { + return forEachBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + */ + public Builder setForEach( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode value) { + if (forEachBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + forEach_ = value; + onChanged(); + } else { + forEachBuilder_.setMessage(value); + } + bitField0_ |= 0x00000800; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + */ + public Builder setForEach( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder builderForValue) { + if (forEachBuilder_ == null) { + forEach_ = builderForValue.build(); + onChanged(); + } else { + forEachBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000800; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + */ + public Builder mergeForEach( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode value) { + if (forEachBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0) && + forEach_ != null && + forEach_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode + .getDefaultInstance()) { + forEach_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode + .newBuilder(forEach_).mergeFrom(value).buildPartial(); + } else { + forEach_ = value; + } + onChanged(); + } else { + forEachBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000800; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + */ + public Builder clearForEach() { + if (forEachBuilder_ == null) { + forEach_ = null; + onChanged(); + } else { + forEachBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000800); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder getForEachBuilder() { + bitField0_ |= 0x00000800; + onChanged(); + return getForEachFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder getForEachOrBuilder() { + if (forEachBuilder_ != null) { + return forEachBuilder_.getMessageOrBuilder(); + } else { + return forEach_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode + .getDefaultInstance() + : forEach_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; + */ + private com.google.protobuf.SingleFieldBuilderV3 getForEachFieldBuilder() { + if (forEachBuilder_ == null) { + forEachBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getForEach(), + getParentForChildren(), + isClean()); + forEach_ = null; + } + return forEachBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode asyncEvent_; + private com.google.protobuf.SingleFieldBuilderV3 asyncEventBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + * + * @return Whether the asyncEvent field is set. + */ + public boolean hasAsyncEvent() { + return ((bitField0_ & 0x00001000) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + * + * @return The asyncEvent. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getAsyncEvent() { + if (asyncEventBuilder_ == null) { + return asyncEvent_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode + .getDefaultInstance() + : asyncEvent_; + } else { + return asyncEventBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + */ + public Builder setAsyncEvent( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode value) { + if (asyncEventBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + asyncEvent_ = value; + onChanged(); + } else { + asyncEventBuilder_.setMessage(value); + } + bitField0_ |= 0x00001000; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + */ + public Builder setAsyncEvent( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder builderForValue) { + if (asyncEventBuilder_ == null) { + asyncEvent_ = builderForValue.build(); + onChanged(); + } else { + asyncEventBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00001000; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + */ + public Builder mergeAsyncEvent( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode value) { + if (asyncEventBuilder_ == null) { + if (((bitField0_ & 0x00001000) != 0) && + asyncEvent_ != null && + asyncEvent_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode + .getDefaultInstance()) { + asyncEvent_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode + .newBuilder(asyncEvent_).mergeFrom(value).buildPartial(); + } else { + asyncEvent_ = value; + } + onChanged(); + } else { + asyncEventBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00001000; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + */ + public Builder clearAsyncEvent() { + if (asyncEventBuilder_ == null) { + asyncEvent_ = null; + onChanged(); + } else { + asyncEventBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00001000); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder getAsyncEventBuilder() { + bitField0_ |= 0x00001000; + onChanged(); + return getAsyncEventFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder getAsyncEventOrBuilder() { + if (asyncEventBuilder_ != null) { + return asyncEventBuilder_.getMessageOrBuilder(); + } else { + return asyncEvent_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode + .getDefaultInstance() + : asyncEvent_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; + */ + private com.google.protobuf.SingleFieldBuilderV3 getAsyncEventFieldBuilder() { + if (asyncEventBuilder_ == null) { + asyncEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getAsyncEvent(), + getParentForChildren(), + isClean()); + asyncEvent_ = null; + } + return asyncEventBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NodeInstanceContent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NodeInstanceContent(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int bitField0_; + public static final int PROCESS_TYPE_FIELD_NUMBER = 1; + private volatile java.lang.Object processType_; + + /** + * optional string process_type = 1; + * + * @return Whether the processType field is set. + */ + @java.lang.Override + public boolean hasProcessType() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string process_type = 1; + * + * @return The processType. + */ + @java.lang.Override + public java.lang.String getProcessType() { + java.lang.Object ref = processType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processType_ = s; + } + return s; + } + } + + /** + * optional string process_type = 1; + * + * @return The bytes for processType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProcessTypeBytes() { + java.lang.Object ref = processType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ID_FIELD_NUMBER = 2; + private volatile java.lang.Object id_; + + /** + * optional string id = 2; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string id = 2; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } + } + + /** + * optional string id = 2; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROCESS_ID_FIELD_NUMBER = 3; + private volatile java.lang.Object processId_; + + /** + * optional string process_id = 3; + * + * @return Whether the processId field is set. + */ + @java.lang.Override + public boolean hasProcessId() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string process_id = 3; + * + * @return The processId. + */ + @java.lang.Override + public java.lang.String getProcessId() { + java.lang.Object ref = processId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processId_ = s; + } + return s; + } + } + + /** + * optional string process_id = 3; + * + * @return The bytes for processId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProcessIdBytes() { + java.lang.Object ref = processId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROCESS_VERSION_FIELD_NUMBER = 31; + private volatile java.lang.Object processVersion_; + + /** + * optional string process_version = 31; + * + * @return Whether the processVersion field is set. + */ + @java.lang.Override + public boolean hasProcessVersion() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional string process_version = 31; + * + * @return The processVersion. + */ + @java.lang.Override + public java.lang.String getProcessVersion() { + java.lang.Object ref = processVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processVersion_ = s; + } + return s; + } + } + + /** + * optional string process_version = 31; + * + * @return The bytes for processVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProcessVersionBytes() { + java.lang.Object ref = processVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_FIELD_NUMBER = 4; + private int state_; + + /** + * optional int32 state = 4; + * + * @return Whether the state field is set. + */ + @java.lang.Override + public boolean hasState() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * optional int32 state = 4; + * + * @return The state. + */ + @java.lang.Override + public int getState() { + return state_; + } + + public static final int NODE_INSTANCE_COUNTER_FIELD_NUMBER = 5; + private long nodeInstanceCounter_; + + /** + * optional int64 node_instance_counter = 5; + * + * @return Whether the nodeInstanceCounter field is set. + */ + @java.lang.Override + public boolean hasNodeInstanceCounter() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * optional int64 node_instance_counter = 5; + * + * @return The nodeInstanceCounter. + */ + @java.lang.Override + public long getNodeInstanceCounter() { + return nodeInstanceCounter_; + } + + public static final int PROCESS_XML_FIELD_NUMBER = 11; + private volatile java.lang.Object processXml_; + + /** + * optional string process_xml = 11; + * + * @return Whether the processXml field is set. + */ + @java.lang.Override + public boolean hasProcessXml() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * optional string process_xml = 11; + * + * @return The processXml. + */ + @java.lang.Override + public java.lang.String getProcessXml() { + java.lang.Object ref = processXml_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processXml_ = s; + } + return s; + } + } + + /** + * optional string process_xml = 11; + * + * @return The bytes for processXml. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProcessXmlBytes() { + java.lang.Object ref = processXml_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processXml_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PARENT_PROCESS_INSTANCE_ID_FIELD_NUMBER = 12; + private volatile java.lang.Object parentProcessInstanceId_; + + /** + * optional string parent_process_instance_id = 12; + * + * @return Whether the parentProcessInstanceId field is set. + */ + @java.lang.Override + public boolean hasParentProcessInstanceId() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * optional string parent_process_instance_id = 12; + * + * @return The parentProcessInstanceId. + */ + @java.lang.Override + public java.lang.String getParentProcessInstanceId() { + java.lang.Object ref = parentProcessInstanceId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + parentProcessInstanceId_ = s; + } + return s; + } + } + + /** + * optional string parent_process_instance_id = 12; + * + * @return The bytes for parentProcessInstanceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getParentProcessInstanceIdBytes() { + java.lang.Object ref = parentProcessInstanceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parentProcessInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DESCRIPTION_FIELD_NUMBER = 15; + private volatile java.lang.Object description_; + + /** + * optional string description = 15; + * + * @return Whether the description field is set. + */ + @java.lang.Override + public boolean hasDescription() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * optional string description = 15; + * + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + description_ = s; + } + return s; + } + } + + /** + * optional string description = 15; + * + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SIGNAL_COMPLETION_FIELD_NUMBER = 16; + private boolean signalCompletion_; + + /** + * optional bool signal_completion = 16 [default = true]; + * + * @return Whether the signalCompletion field is set. + */ + @java.lang.Override + public boolean hasSignalCompletion() { + return ((bitField0_ & 0x00000200) != 0); + } + + /** + * optional bool signal_completion = 16 [default = true]; + * + * @return The signalCompletion. + */ + @java.lang.Override + public boolean getSignalCompletion() { + return signalCompletion_; + } + + public static final int DEPLOYMENTID_FIELD_NUMBER = 17; + private volatile java.lang.Object deploymentId_; + + /** + * optional string deploymentId = 17; + * + * @return Whether the deploymentId field is set. + */ + @java.lang.Override + public boolean hasDeploymentId() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * optional string deploymentId = 17; + * + * @return The deploymentId. + */ + @java.lang.Override + public java.lang.String getDeploymentId() { + java.lang.Object ref = deploymentId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + deploymentId_ = s; + } + return s; + } + } + + /** + * optional string deploymentId = 17; + * + * @return The bytes for deploymentId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDeploymentIdBytes() { + java.lang.Object ref = deploymentId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + deploymentId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CORRELATION_KEY_FIELD_NUMBER = 18; + private volatile java.lang.Object correlationKey_; + + /** + * optional string correlation_key = 18; + * + * @return Whether the correlationKey field is set. + */ + @java.lang.Override + public boolean hasCorrelationKey() { + return ((bitField0_ & 0x00000800) != 0); + } + + /** + * optional string correlation_key = 18; + * + * @return The correlationKey. + */ + @java.lang.Override + public java.lang.String getCorrelationKey() { + java.lang.Object ref = correlationKey_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + correlationKey_ = s; + } + return s; + } + } + + /** + * optional string correlation_key = 18; + * + * @return The bytes for correlationKey. + */ + @java.lang.Override + public com.google.protobuf.ByteString getCorrelationKeyBytes() { + java.lang.Object ref = correlationKey_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + correlationKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SLA_TIMER_ID_FIELD_NUMBER = 19; + private volatile java.lang.Object slaTimerId_; + + /** + * optional string sla_timer_id = 19; + * + * @return Whether the slaTimerId field is set. + */ + @java.lang.Override + public boolean hasSlaTimerId() { + return ((bitField0_ & 0x00001000) != 0); + } + + /** + * optional string sla_timer_id = 19; + * + * @return The slaTimerId. + */ + @java.lang.Override + public java.lang.String getSlaTimerId() { + java.lang.Object ref = slaTimerId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + slaTimerId_ = s; + } + return s; + } + } + + /** + * optional string sla_timer_id = 19; + * + * @return The bytes for slaTimerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSlaTimerIdBytes() { + java.lang.Object ref = slaTimerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + slaTimerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SLA_DUE_DATE_FIELD_NUMBER = 20; + private long slaDueDate_; + + /** + * optional int64 sla_due_date = 20; + * + * @return Whether the slaDueDate field is set. + */ + @java.lang.Override + public boolean hasSlaDueDate() { + return ((bitField0_ & 0x00002000) != 0); + } + + /** + * optional int64 sla_due_date = 20; + * + * @return The slaDueDate. + */ + @java.lang.Override + public long getSlaDueDate() { + return slaDueDate_; + } + + public static final int SLA_COMPLIANCE_FIELD_NUMBER = 21; + private int slaCompliance_; + + /** + * optional int32 sla_compliance = 21; + * + * @return Whether the slaCompliance field is set. + */ + @java.lang.Override + public boolean hasSlaCompliance() { + return ((bitField0_ & 0x00004000) != 0); + } + + /** + * optional int32 sla_compliance = 21; + * + * @return The slaCompliance. + */ + @java.lang.Override + public int getSlaCompliance() { + return slaCompliance_; + } + + public static final int ROOT_PROCESS_INSTANCE_ID_FIELD_NUMBER = 22; + private volatile java.lang.Object rootProcessInstanceId_; + + /** + * optional string root_process_instance_id = 22; + * + * @return Whether the rootProcessInstanceId field is set. + */ + @java.lang.Override + public boolean hasRootProcessInstanceId() { + return ((bitField0_ & 0x00008000) != 0); + } + + /** + * optional string root_process_instance_id = 22; + * + * @return The rootProcessInstanceId. + */ + @java.lang.Override + public java.lang.String getRootProcessInstanceId() { + java.lang.Object ref = rootProcessInstanceId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + rootProcessInstanceId_ = s; + } + return s; + } + } + + /** + * optional string root_process_instance_id = 22; + * + * @return The bytes for rootProcessInstanceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRootProcessInstanceIdBytes() { + java.lang.Object ref = rootProcessInstanceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + rootProcessInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int START_DATE_FIELD_NUMBER = 23; + private long startDate_; + + /** + * optional int64 start_date = 23; + * + * @return Whether the startDate field is set. + */ + @java.lang.Override + public boolean hasStartDate() { + return ((bitField0_ & 0x00010000) != 0); + } + + /** + * optional int64 start_date = 23; + * + * @return The startDate. + */ + @java.lang.Override + public long getStartDate() { + return startDate_; + } + + public static final int ROOT_PROCESS_ID_FIELD_NUMBER = 24; + private volatile java.lang.Object rootProcessId_; + + /** + * optional string root_process_id = 24; + * + * @return Whether the rootProcessId field is set. + */ + @java.lang.Override + public boolean hasRootProcessId() { + return ((bitField0_ & 0x00020000) != 0); + } + + /** + * optional string root_process_id = 24; + * + * @return The rootProcessId. + */ + @java.lang.Override + public java.lang.String getRootProcessId() { + java.lang.Object ref = rootProcessId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + rootProcessId_ = s; + } + return s; + } + } + + /** + * optional string root_process_id = 24; + * + * @return The bytes for rootProcessId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRootProcessIdBytes() { + java.lang.Object ref = rootProcessId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + rootProcessId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REFERENCE_ID_FIELD_NUMBER = 25; + private volatile java.lang.Object referenceId_; + + /** + * optional string reference_id = 25; + * + * @return Whether the referenceId field is set. + */ + @java.lang.Override + public boolean hasReferenceId() { + return ((bitField0_ & 0x00040000) != 0); + } + + /** + * optional string reference_id = 25; + * + * @return The referenceId. + */ + @java.lang.Override + public java.lang.String getReferenceId() { + java.lang.Object ref = referenceId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + referenceId_ = s; + } + return s; + } + } + + /** + * optional string reference_id = 25; + * + * @return The bytes for referenceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getReferenceIdBytes() { + java.lang.Object ref = referenceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + referenceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INITIATOR_FIELD_NUMBER = 26; + private volatile java.lang.Object initiator_; + + /** + * optional string initiator = 26; + * + * @return Whether the initiator field is set. + */ + @java.lang.Override + public boolean hasInitiator() { + return ((bitField0_ & 0x00080000) != 0); + } + + /** + * optional string initiator = 26; + * + * @return The initiator. + */ + @java.lang.Override + public java.lang.String getInitiator() { + java.lang.Object ref = initiator_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + initiator_ = s; + } + return s; + } + } + + /** + * optional string initiator = 26; + * + * @return The bytes for initiator. + */ + @java.lang.Override + public com.google.protobuf.ByteString getInitiatorBytes() { + java.lang.Object ref = initiator_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + initiator_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REFERENCE_FROM_ROOT_FIELD_NUMBER = 30; + private volatile java.lang.Object referenceFromRoot_; + + /** + * optional string reference_from_root = 30; + * + * @return Whether the referenceFromRoot field is set. + */ + @java.lang.Override + public boolean hasReferenceFromRoot() { + return ((bitField0_ & 0x00100000) != 0); + } + + /** + * optional string reference_from_root = 30; + * + * @return The referenceFromRoot. + */ + @java.lang.Override + public java.lang.String getReferenceFromRoot() { + java.lang.Object ref = referenceFromRoot_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + referenceFromRoot_ = s; + } + return s; + } + } + + /** + * optional string reference_from_root = 30; + * + * @return The bytes for referenceFromRoot. + */ + @java.lang.Override + public com.google.protobuf.ByteString getReferenceFromRootBytes() { + java.lang.Object ref = referenceFromRoot_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + referenceFromRoot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int END_DATE_FIELD_NUMBER = 33; + private long endDate_; + + /** + * optional int64 end_date = 33; + * + * @return Whether the endDate field is set. + */ + @java.lang.Override + public boolean hasEndDate() { + return ((bitField0_ & 0x00200000) != 0); + } + + /** + * optional int64 end_date = 33; + * + * @return The endDate. + */ + @java.lang.Override + public long getEndDate() { + return endDate_; + } + + public static final int SWIMLANE_CONTEXT_FIELD_NUMBER = 6; + private java.util.List swimlaneContext_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + @java.lang.Override + public java.util.List getSwimlaneContextList() { + return swimlaneContext_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + @java.lang.Override + public java.util.List getSwimlaneContextOrBuilderList() { + return swimlaneContext_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + @java.lang.Override + public int getSwimlaneContextCount() { + return swimlaneContext_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance getSwimlaneContext( + int index) { + return swimlaneContext_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder getSwimlaneContextOrBuilder( + int index) { + return swimlaneContext_.get(index); + } + + public static final int NODE_INSTANCE_FIELD_NUMBER = 7; + private java.util.List nodeInstance_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + @java.lang.Override + public java.util.List getNodeInstanceList() { + return nodeInstance_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + @java.lang.Override + public java.util.List getNodeInstanceOrBuilderList() { + return nodeInstance_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + @java.lang.Override + public int getNodeInstanceCount() { + return nodeInstance_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance( + int index) { + return nodeInstance_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( + int index) { + return nodeInstance_.get(index); + } + + public static final int VARIABLE_FIELD_NUMBER = 8; + private java.util.List variable_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + @java.lang.Override + public java.util.List getVariableList() { + return variable_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + @java.lang.Override + public java.util.List getVariableOrBuilderList() { + return variable_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + @java.lang.Override + public int getVariableCount() { + return variable_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { + return variable_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index) { + return variable_.get(index); + } + + public static final int EXCLUSIVE_GROUP_FIELD_NUMBER = 10; + private java.util.List exclusiveGroup_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + @java.lang.Override + public java.util.List getExclusiveGroupList() { + return exclusiveGroup_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + @java.lang.Override + public java.util.List getExclusiveGroupOrBuilderList() { + return exclusiveGroup_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + @java.lang.Override + public int getExclusiveGroupCount() { + return exclusiveGroup_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup( + int index) { + return exclusiveGroup_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( + int index) { + return exclusiveGroup_.get(index); + } + + public static final int COMPLETEDNODEIDS_FIELD_NUMBER = 13; + private com.google.protobuf.LazyStringList completedNodeIds_; + + /** + * repeated string completedNodeIds = 13; + * + * @return A list containing the completedNodeIds. + */ + public com.google.protobuf.ProtocolStringList getCompletedNodeIdsList() { + return completedNodeIds_; + } + + /** + * repeated string completedNodeIds = 13; + * + * @return The count of completedNodeIds. + */ + public int getCompletedNodeIdsCount() { + return completedNodeIds_.size(); + } + + /** + * repeated string completedNodeIds = 13; + * + * @param index The index of the element to return. + * @return The completedNodeIds at the given index. + */ + public java.lang.String getCompletedNodeIds(int index) { + return completedNodeIds_.get(index); + } + + /** + * repeated string completedNodeIds = 13; + * + * @param index The index of the value to return. + * @return The bytes of the completedNodeIds at the given index. + */ + public com.google.protobuf.ByteString getCompletedNodeIdsBytes(int index) { + return completedNodeIds_.getByteString(index); + } + + public static final int ITERATIONLEVELS_FIELD_NUMBER = 14; + private java.util.List iterationLevels_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + @java.lang.Override + public java.util.List getIterationLevelsList() { + return iterationLevels_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + @java.lang.Override + public java.util.List getIterationLevelsOrBuilderList() { + return iterationLevels_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + @java.lang.Override + public int getIterationLevelsCount() { + return iterationLevels_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels(int index) { + return iterationLevels_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( + int index) { + return iterationLevels_.get(index); + } + + public static final int CHILDREN_FIELD_NUMBER = 27; + private java.util.List children_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + @java.lang.Override + public java.util.List getChildrenList() { + return children_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + @java.lang.Override + public java.util.List getChildrenOrBuilderList() { + return children_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + @java.lang.Override + public int getChildrenCount() { + return children_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren getChildren( + int index) { + return children_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildrenOrBuilder getChildrenOrBuilder( + int index) { + return children_.get(index); + } + + public static final int TAGS_FIELD_NUMBER = 28; + private java.util.List tags_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + @java.lang.Override + public java.util.List getTagsList() { + return tags_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + @java.lang.Override + public java.util.List getTagsOrBuilderList() { + return tags_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + @java.lang.Override + public int getTagsCount() { + return tags_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag getTags(int index) { + return tags_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.TagOrBuilder getTagsOrBuilder( + int index) { + return tags_.get(index); + } + + public static final int ERRORS_FIELD_NUMBER = 29; + private java.util.List errors_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + @java.lang.Override + public java.util.List getErrorsList() { + return errors_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + @java.lang.Override + public java.util.List getErrorsOrBuilderList() { + return errors_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + @java.lang.Override + public int getErrorsCount() { + return errors_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error getErrors(int index) { + return errors_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ErrorOrBuilder getErrorsOrBuilder( + int index) { + return errors_.get(index); + } + + public static final int RECOVERY_ITEM_FIELD_NUMBER = 32; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem recoveryItem_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + * + * @return Whether the recoveryItem field is set. + */ + @java.lang.Override + public boolean hasRecoveryItem() { + return ((bitField0_ & 0x00400000) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + * + * @return The recoveryItem. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem getRecoveryItem() { + return recoveryItem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem + .getDefaultInstance() + : recoveryItem_; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItemOrBuilder getRecoveryItemOrBuilder() { + return recoveryItem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem + .getDefaultInstance() + : recoveryItem_; + } + + public static final int FINISHED_SUBPROCESSES_FIELD_NUMBER = 34; + private java.util.List finishedSubprocesses_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + @java.lang.Override + public java.util.List getFinishedSubprocessesList() { + return finishedSubprocesses_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + @java.lang.Override + public java.util.List getFinishedSubprocessesOrBuilderList() { + return finishedSubprocesses_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + @java.lang.Override + public int getFinishedSubprocessesCount() { + return finishedSubprocesses_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses getFinishedSubprocesses( + int index) { + return finishedSubprocesses_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcessesOrBuilder getFinishedSubprocessesOrBuilder( + int index) { + return finishedSubprocesses_.get(index); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, processType_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, processId_); + } + if (((bitField0_ & 0x00000010) != 0)) { + output.writeInt32(4, state_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeInt64(5, nodeInstanceCounter_); + } + for (int i = 0; i < swimlaneContext_.size(); i++) { + output.writeMessage(6, swimlaneContext_.get(i)); + } + for (int i = 0; i < nodeInstance_.size(); i++) { + output.writeMessage(7, nodeInstance_.get(i)); + } + for (int i = 0; i < variable_.size(); i++) { + output.writeMessage(8, variable_.get(i)); + } + for (int i = 0; i < exclusiveGroup_.size(); i++) { + output.writeMessage(10, exclusiveGroup_.get(i)); + } + if (((bitField0_ & 0x00000040) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, processXml_); + } + if (((bitField0_ & 0x00000080) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, parentProcessInstanceId_); + } + for (int i = 0; i < completedNodeIds_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, completedNodeIds_.getRaw(i)); + } + for (int i = 0; i < iterationLevels_.size(); i++) { + output.writeMessage(14, iterationLevels_.get(i)); + } + if (((bitField0_ & 0x00000100) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 15, description_); + } + if (((bitField0_ & 0x00000200) != 0)) { + output.writeBool(16, signalCompletion_); + } + if (((bitField0_ & 0x00000400) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 17, deploymentId_); + } + if (((bitField0_ & 0x00000800) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 18, correlationKey_); + } + if (((bitField0_ & 0x00001000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 19, slaTimerId_); + } + if (((bitField0_ & 0x00002000) != 0)) { + output.writeInt64(20, slaDueDate_); + } + if (((bitField0_ & 0x00004000) != 0)) { + output.writeInt32(21, slaCompliance_); + } + if (((bitField0_ & 0x00008000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 22, rootProcessInstanceId_); + } + if (((bitField0_ & 0x00010000) != 0)) { + output.writeInt64(23, startDate_); + } + if (((bitField0_ & 0x00020000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 24, rootProcessId_); + } + if (((bitField0_ & 0x00040000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 25, referenceId_); + } + if (((bitField0_ & 0x00080000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 26, initiator_); + } + for (int i = 0; i < children_.size(); i++) { + output.writeMessage(27, children_.get(i)); + } + for (int i = 0; i < tags_.size(); i++) { + output.writeMessage(28, tags_.get(i)); + } + for (int i = 0; i < errors_.size(); i++) { + output.writeMessage(29, errors_.get(i)); + } + if (((bitField0_ & 0x00100000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 30, referenceFromRoot_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 31, processVersion_); + } + if (((bitField0_ & 0x00400000) != 0)) { + output.writeMessage(32, getRecoveryItem()); + } + if (((bitField0_ & 0x00200000) != 0)) { + output.writeInt64(33, endDate_); + } + for (int i = 0; i < finishedSubprocesses_.size(); i++) { + output.writeMessage(34, finishedSubprocesses_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, processType_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, processId_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, state_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, nodeInstanceCounter_); + } + for (int i = 0; i < swimlaneContext_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, swimlaneContext_.get(i)); + } + for (int i = 0; i < nodeInstance_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, nodeInstance_.get(i)); + } + for (int i = 0; i < variable_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, variable_.get(i)); + } + for (int i = 0; i < exclusiveGroup_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, exclusiveGroup_.get(i)); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, processXml_); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, parentProcessInstanceId_); + } + { + int dataSize = 0; + for (int i = 0; i < completedNodeIds_.size(); i++) { + dataSize += computeStringSizeNoTag(completedNodeIds_.getRaw(i)); + } + size += dataSize; + size += 1 * getCompletedNodeIdsList().size(); + } + for (int i = 0; i < iterationLevels_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, iterationLevels_.get(i)); + } + if (((bitField0_ & 0x00000100) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, description_); + } + if (((bitField0_ & 0x00000200) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, signalCompletion_); + } + if (((bitField0_ & 0x00000400) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, deploymentId_); + } + if (((bitField0_ & 0x00000800) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, correlationKey_); + } + if (((bitField0_ & 0x00001000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, slaTimerId_); + } + if (((bitField0_ & 0x00002000) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(20, slaDueDate_); + } + if (((bitField0_ & 0x00004000) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(21, slaCompliance_); + } + if (((bitField0_ & 0x00008000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, rootProcessInstanceId_); + } + if (((bitField0_ & 0x00010000) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(23, startDate_); + } + if (((bitField0_ & 0x00020000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, rootProcessId_); + } + if (((bitField0_ & 0x00040000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, referenceId_); + } + if (((bitField0_ & 0x00080000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, initiator_); + } + for (int i = 0; i < children_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, children_.get(i)); + } + for (int i = 0; i < tags_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(28, tags_.get(i)); + } + for (int i = 0; i < errors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, errors_.get(i)); + } + if (((bitField0_ & 0x00100000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, referenceFromRoot_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, processVersion_); + } + if (((bitField0_ & 0x00400000) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(32, getRecoveryItem()); + } + if (((bitField0_ & 0x00200000) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(33, endDate_); + } + for (int i = 0; i < finishedSubprocesses_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(34, finishedSubprocesses_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance) obj; + + if (hasProcessType() != other.hasProcessType()) + return false; + if (hasProcessType()) { + if (!getProcessType() + .equals(other.getProcessType())) + return false; + } + if (hasId() != other.hasId()) + return false; + if (hasId()) { + if (!getId() + .equals(other.getId())) + return false; + } + if (hasProcessId() != other.hasProcessId()) + return false; + if (hasProcessId()) { + if (!getProcessId() + .equals(other.getProcessId())) + return false; + } + if (hasProcessVersion() != other.hasProcessVersion()) + return false; + if (hasProcessVersion()) { + if (!getProcessVersion() + .equals(other.getProcessVersion())) + return false; + } + if (hasState() != other.hasState()) + return false; + if (hasState()) { + if (getState() != other.getState()) + return false; + } + if (hasNodeInstanceCounter() != other.hasNodeInstanceCounter()) + return false; + if (hasNodeInstanceCounter()) { + if (getNodeInstanceCounter() != other.getNodeInstanceCounter()) + return false; + } + if (hasProcessXml() != other.hasProcessXml()) + return false; + if (hasProcessXml()) { + if (!getProcessXml() + .equals(other.getProcessXml())) + return false; + } + if (hasParentProcessInstanceId() != other.hasParentProcessInstanceId()) + return false; + if (hasParentProcessInstanceId()) { + if (!getParentProcessInstanceId() + .equals(other.getParentProcessInstanceId())) + return false; + } + if (hasDescription() != other.hasDescription()) + return false; + if (hasDescription()) { + if (!getDescription() + .equals(other.getDescription())) + return false; + } + if (hasSignalCompletion() != other.hasSignalCompletion()) + return false; + if (hasSignalCompletion()) { + if (getSignalCompletion() != other.getSignalCompletion()) + return false; + } + if (hasDeploymentId() != other.hasDeploymentId()) + return false; + if (hasDeploymentId()) { + if (!getDeploymentId() + .equals(other.getDeploymentId())) + return false; + } + if (hasCorrelationKey() != other.hasCorrelationKey()) + return false; + if (hasCorrelationKey()) { + if (!getCorrelationKey() + .equals(other.getCorrelationKey())) + return false; + } + if (hasSlaTimerId() != other.hasSlaTimerId()) + return false; + if (hasSlaTimerId()) { + if (!getSlaTimerId() + .equals(other.getSlaTimerId())) + return false; + } + if (hasSlaDueDate() != other.hasSlaDueDate()) + return false; + if (hasSlaDueDate()) { + if (getSlaDueDate() != other.getSlaDueDate()) + return false; + } + if (hasSlaCompliance() != other.hasSlaCompliance()) + return false; + if (hasSlaCompliance()) { + if (getSlaCompliance() != other.getSlaCompliance()) + return false; + } + if (hasRootProcessInstanceId() != other.hasRootProcessInstanceId()) + return false; + if (hasRootProcessInstanceId()) { + if (!getRootProcessInstanceId() + .equals(other.getRootProcessInstanceId())) + return false; + } + if (hasStartDate() != other.hasStartDate()) + return false; + if (hasStartDate()) { + if (getStartDate() != other.getStartDate()) + return false; + } + if (hasRootProcessId() != other.hasRootProcessId()) + return false; + if (hasRootProcessId()) { + if (!getRootProcessId() + .equals(other.getRootProcessId())) + return false; + } + if (hasReferenceId() != other.hasReferenceId()) + return false; + if (hasReferenceId()) { + if (!getReferenceId() + .equals(other.getReferenceId())) + return false; + } + if (hasInitiator() != other.hasInitiator()) + return false; + if (hasInitiator()) { + if (!getInitiator() + .equals(other.getInitiator())) + return false; + } + if (hasReferenceFromRoot() != other.hasReferenceFromRoot()) + return false; + if (hasReferenceFromRoot()) { + if (!getReferenceFromRoot() + .equals(other.getReferenceFromRoot())) + return false; + } + if (hasEndDate() != other.hasEndDate()) + return false; + if (hasEndDate()) { + if (getEndDate() != other.getEndDate()) + return false; + } + if (!getSwimlaneContextList() + .equals(other.getSwimlaneContextList())) + return false; + if (!getNodeInstanceList() + .equals(other.getNodeInstanceList())) + return false; + if (!getVariableList() + .equals(other.getVariableList())) + return false; + if (!getExclusiveGroupList() + .equals(other.getExclusiveGroupList())) + return false; + if (!getCompletedNodeIdsList() + .equals(other.getCompletedNodeIdsList())) + return false; + if (!getIterationLevelsList() + .equals(other.getIterationLevelsList())) + return false; + if (!getChildrenList() + .equals(other.getChildrenList())) + return false; + if (!getTagsList() + .equals(other.getTagsList())) + return false; + if (!getErrorsList() + .equals(other.getErrorsList())) + return false; + if (hasRecoveryItem() != other.hasRecoveryItem()) + return false; + if (hasRecoveryItem()) { + if (!getRecoveryItem() + .equals(other.getRecoveryItem())) + return false; + } + if (!getFinishedSubprocessesList() + .equals(other.getFinishedSubprocessesList())) + return false; + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasProcessType()) { + hash = (37 * hash) + PROCESS_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getProcessType().hashCode(); + } + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + if (hasProcessId()) { + hash = (37 * hash) + PROCESS_ID_FIELD_NUMBER; + hash = (53 * hash) + getProcessId().hashCode(); + } + if (hasProcessVersion()) { + hash = (37 * hash) + PROCESS_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getProcessVersion().hashCode(); + } + if (hasState()) { + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + getState(); + } + if (hasNodeInstanceCounter()) { + hash = (37 * hash) + NODE_INSTANCE_COUNTER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNodeInstanceCounter()); + } + if (hasProcessXml()) { + hash = (37 * hash) + PROCESS_XML_FIELD_NUMBER; + hash = (53 * hash) + getProcessXml().hashCode(); + } + if (hasParentProcessInstanceId()) { + hash = (37 * hash) + PARENT_PROCESS_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getParentProcessInstanceId().hashCode(); + } + if (hasDescription()) { + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + } + if (hasSignalCompletion()) { + hash = (37 * hash) + SIGNAL_COMPLETION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSignalCompletion()); + } + if (hasDeploymentId()) { + hash = (37 * hash) + DEPLOYMENTID_FIELD_NUMBER; + hash = (53 * hash) + getDeploymentId().hashCode(); + } + if (hasCorrelationKey()) { + hash = (37 * hash) + CORRELATION_KEY_FIELD_NUMBER; + hash = (53 * hash) + getCorrelationKey().hashCode(); + } + if (hasSlaTimerId()) { + hash = (37 * hash) + SLA_TIMER_ID_FIELD_NUMBER; + hash = (53 * hash) + getSlaTimerId().hashCode(); + } + if (hasSlaDueDate()) { + hash = (37 * hash) + SLA_DUE_DATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSlaDueDate()); + } + if (hasSlaCompliance()) { + hash = (37 * hash) + SLA_COMPLIANCE_FIELD_NUMBER; + hash = (53 * hash) + getSlaCompliance(); + } + if (hasRootProcessInstanceId()) { + hash = (37 * hash) + ROOT_PROCESS_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getRootProcessInstanceId().hashCode(); + } + if (hasStartDate()) { + hash = (37 * hash) + START_DATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartDate()); + } + if (hasRootProcessId()) { + hash = (37 * hash) + ROOT_PROCESS_ID_FIELD_NUMBER; + hash = (53 * hash) + getRootProcessId().hashCode(); + } + if (hasReferenceId()) { + hash = (37 * hash) + REFERENCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getReferenceId().hashCode(); + } + if (hasInitiator()) { + hash = (37 * hash) + INITIATOR_FIELD_NUMBER; + hash = (53 * hash) + getInitiator().hashCode(); + } + if (hasReferenceFromRoot()) { + hash = (37 * hash) + REFERENCE_FROM_ROOT_FIELD_NUMBER; + hash = (53 * hash) + getReferenceFromRoot().hashCode(); + } + if (hasEndDate()) { + hash = (37 * hash) + END_DATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEndDate()); + } + if (getSwimlaneContextCount() > 0) { + hash = (37 * hash) + SWIMLANE_CONTEXT_FIELD_NUMBER; + hash = (53 * hash) + getSwimlaneContextList().hashCode(); + } + if (getNodeInstanceCount() > 0) { + hash = (37 * hash) + NODE_INSTANCE_FIELD_NUMBER; + hash = (53 * hash) + getNodeInstanceList().hashCode(); + } + if (getVariableCount() > 0) { + hash = (37 * hash) + VARIABLE_FIELD_NUMBER; + hash = (53 * hash) + getVariableList().hashCode(); + } + if (getExclusiveGroupCount() > 0) { + hash = (37 * hash) + EXCLUSIVE_GROUP_FIELD_NUMBER; + hash = (53 * hash) + getExclusiveGroupList().hashCode(); + } + if (getCompletedNodeIdsCount() > 0) { + hash = (37 * hash) + COMPLETEDNODEIDS_FIELD_NUMBER; + hash = (53 * hash) + getCompletedNodeIdsList().hashCode(); + } + if (getIterationLevelsCount() > 0) { + hash = (37 * hash) + ITERATIONLEVELS_FIELD_NUMBER; + hash = (53 * hash) + getIterationLevelsList().hashCode(); + } + if (getChildrenCount() > 0) { + hash = (37 * hash) + CHILDREN_FIELD_NUMBER; + hash = (53 * hash) + getChildrenList().hashCode(); + } + if (getTagsCount() > 0) { + hash = (37 * hash) + TAGS_FIELD_NUMBER; + hash = (53 * hash) + getTagsList().hashCode(); + } + if (getErrorsCount() > 0) { + hash = (37 * hash) + ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getErrorsList().hashCode(); + } + if (hasRecoveryItem()) { + hash = (37 * hash) + RECOVERY_ITEM_FIELD_NUMBER; + hash = (53 * hash) + getRecoveryItem().hashCode(); + } + if (getFinishedSubprocessesCount() > 0) { + hash = (37 * hash) + FINISHED_SUBPROCESSES_FIELD_NUMBER; + hash = (53 * hash) + getFinishedSubprocessesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstanceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSwimlaneContextFieldBuilder(); + getNodeInstanceFieldBuilder(); + getVariableFieldBuilder(); + getExclusiveGroupFieldBuilder(); + getIterationLevelsFieldBuilder(); + getChildrenFieldBuilder(); + getTagsFieldBuilder(); + getErrorsFieldBuilder(); + getRecoveryItemFieldBuilder(); + getFinishedSubprocessesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + processType_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + id_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + processId_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + processVersion_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + state_ = 0; + bitField0_ = (bitField0_ & ~0x00000010); + nodeInstanceCounter_ = 0L; + bitField0_ = (bitField0_ & ~0x00000020); + processXml_ = ""; + bitField0_ = (bitField0_ & ~0x00000040); + parentProcessInstanceId_ = ""; + bitField0_ = (bitField0_ & ~0x00000080); + description_ = ""; + bitField0_ = (bitField0_ & ~0x00000100); + signalCompletion_ = true; + bitField0_ = (bitField0_ & ~0x00000200); + deploymentId_ = ""; + bitField0_ = (bitField0_ & ~0x00000400); + correlationKey_ = ""; + bitField0_ = (bitField0_ & ~0x00000800); + slaTimerId_ = ""; + bitField0_ = (bitField0_ & ~0x00001000); + slaDueDate_ = 0L; + bitField0_ = (bitField0_ & ~0x00002000); + slaCompliance_ = 0; + bitField0_ = (bitField0_ & ~0x00004000); + rootProcessInstanceId_ = ""; + bitField0_ = (bitField0_ & ~0x00008000); + startDate_ = 0L; + bitField0_ = (bitField0_ & ~0x00010000); + rootProcessId_ = ""; + bitField0_ = (bitField0_ & ~0x00020000); + referenceId_ = ""; + bitField0_ = (bitField0_ & ~0x00040000); + initiator_ = ""; + bitField0_ = (bitField0_ & ~0x00080000); + referenceFromRoot_ = ""; + bitField0_ = (bitField0_ & ~0x00100000); + endDate_ = 0L; + bitField0_ = (bitField0_ & ~0x00200000); + if (swimlaneContextBuilder_ == null) { + swimlaneContext_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00400000); + } else { + swimlaneContextBuilder_.clear(); + } + if (nodeInstanceBuilder_ == null) { + nodeInstance_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00800000); + } else { + nodeInstanceBuilder_.clear(); + } + if (variableBuilder_ == null) { + variable_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x01000000); + } else { + variableBuilder_.clear(); + } + if (exclusiveGroupBuilder_ == null) { + exclusiveGroup_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x02000000); + } else { + exclusiveGroupBuilder_.clear(); + } + completedNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x04000000); + if (iterationLevelsBuilder_ == null) { + iterationLevels_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x08000000); + } else { + iterationLevelsBuilder_.clear(); + } + if (childrenBuilder_ == null) { + children_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x10000000); + } else { + childrenBuilder_.clear(); + } + if (tagsBuilder_ == null) { + tags_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x20000000); + } else { + tagsBuilder_.clear(); + } + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x40000000); + } else { + errorsBuilder_.clear(); + } + if (recoveryItemBuilder_ == null) { + recoveryItem_ = null; + } else { + recoveryItemBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x80000000); + if (finishedSubprocessesBuilder_ == null) { + finishedSubprocesses_ = java.util.Collections.emptyList(); + bitField1_ = (bitField1_ & ~0x00000001); + } else { + finishedSubprocessesBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance( + this); + int from_bitField0_ = bitField0_; + int from_bitField1_ = bitField1_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.processType_ = processType_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.id_ = id_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.processId_ = processId_; + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.processVersion_ = processVersion_; + if (((from_bitField0_ & 0x00000010) != 0)) { + result.state_ = state_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.nodeInstanceCounter_ = nodeInstanceCounter_; + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + to_bitField0_ |= 0x00000040; + } + result.processXml_ = processXml_; + if (((from_bitField0_ & 0x00000080) != 0)) { + to_bitField0_ |= 0x00000080; + } + result.parentProcessInstanceId_ = parentProcessInstanceId_; + if (((from_bitField0_ & 0x00000100) != 0)) { + to_bitField0_ |= 0x00000100; + } + result.description_ = description_; + if (((from_bitField0_ & 0x00000200) != 0)) { + to_bitField0_ |= 0x00000200; + } + result.signalCompletion_ = signalCompletion_; + if (((from_bitField0_ & 0x00000400) != 0)) { + to_bitField0_ |= 0x00000400; + } + result.deploymentId_ = deploymentId_; + if (((from_bitField0_ & 0x00000800) != 0)) { + to_bitField0_ |= 0x00000800; + } + result.correlationKey_ = correlationKey_; + if (((from_bitField0_ & 0x00001000) != 0)) { + to_bitField0_ |= 0x00001000; + } + result.slaTimerId_ = slaTimerId_; + if (((from_bitField0_ & 0x00002000) != 0)) { + result.slaDueDate_ = slaDueDate_; + to_bitField0_ |= 0x00002000; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.slaCompliance_ = slaCompliance_; + to_bitField0_ |= 0x00004000; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + to_bitField0_ |= 0x00008000; + } + result.rootProcessInstanceId_ = rootProcessInstanceId_; + if (((from_bitField0_ & 0x00010000) != 0)) { + result.startDate_ = startDate_; + to_bitField0_ |= 0x00010000; + } + if (((from_bitField0_ & 0x00020000) != 0)) { + to_bitField0_ |= 0x00020000; + } + result.rootProcessId_ = rootProcessId_; + if (((from_bitField0_ & 0x00040000) != 0)) { + to_bitField0_ |= 0x00040000; + } + result.referenceId_ = referenceId_; + if (((from_bitField0_ & 0x00080000) != 0)) { + to_bitField0_ |= 0x00080000; + } + result.initiator_ = initiator_; + if (((from_bitField0_ & 0x00100000) != 0)) { + to_bitField0_ |= 0x00100000; + } + result.referenceFromRoot_ = referenceFromRoot_; + if (((from_bitField0_ & 0x00200000) != 0)) { + result.endDate_ = endDate_; + to_bitField0_ |= 0x00200000; + } + if (swimlaneContextBuilder_ == null) { + if (((bitField0_ & 0x00400000) != 0)) { + swimlaneContext_ = java.util.Collections.unmodifiableList(swimlaneContext_); + bitField0_ = (bitField0_ & ~0x00400000); + } + result.swimlaneContext_ = swimlaneContext_; + } else { + result.swimlaneContext_ = swimlaneContextBuilder_.build(); + } + if (nodeInstanceBuilder_ == null) { + if (((bitField0_ & 0x00800000) != 0)) { + nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); + bitField0_ = (bitField0_ & ~0x00800000); + } + result.nodeInstance_ = nodeInstance_; + } else { + result.nodeInstance_ = nodeInstanceBuilder_.build(); + } + if (variableBuilder_ == null) { + if (((bitField0_ & 0x01000000) != 0)) { + variable_ = java.util.Collections.unmodifiableList(variable_); + bitField0_ = (bitField0_ & ~0x01000000); + } + result.variable_ = variable_; + } else { + result.variable_ = variableBuilder_.build(); + } + if (exclusiveGroupBuilder_ == null) { + if (((bitField0_ & 0x02000000) != 0)) { + exclusiveGroup_ = java.util.Collections.unmodifiableList(exclusiveGroup_); + bitField0_ = (bitField0_ & ~0x02000000); + } + result.exclusiveGroup_ = exclusiveGroup_; + } else { + result.exclusiveGroup_ = exclusiveGroupBuilder_.build(); + } + if (((bitField0_ & 0x04000000) != 0)) { + completedNodeIds_ = completedNodeIds_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x04000000); + } + result.completedNodeIds_ = completedNodeIds_; + if (iterationLevelsBuilder_ == null) { + if (((bitField0_ & 0x08000000) != 0)) { + iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); + bitField0_ = (bitField0_ & ~0x08000000); + } + result.iterationLevels_ = iterationLevels_; + } else { + result.iterationLevels_ = iterationLevelsBuilder_.build(); + } + if (childrenBuilder_ == null) { + if (((bitField0_ & 0x10000000) != 0)) { + children_ = java.util.Collections.unmodifiableList(children_); + bitField0_ = (bitField0_ & ~0x10000000); + } + result.children_ = children_; + } else { + result.children_ = childrenBuilder_.build(); + } + if (tagsBuilder_ == null) { + if (((bitField0_ & 0x20000000) != 0)) { + tags_ = java.util.Collections.unmodifiableList(tags_); + bitField0_ = (bitField0_ & ~0x20000000); + } + result.tags_ = tags_; + } else { + result.tags_ = tagsBuilder_.build(); + } + if (errorsBuilder_ == null) { + if (((bitField0_ & 0x40000000) != 0)) { + errors_ = java.util.Collections.unmodifiableList(errors_); + bitField0_ = (bitField0_ & ~0x40000000); + } + result.errors_ = errors_; + } else { + result.errors_ = errorsBuilder_.build(); + } + if (((from_bitField0_ & 0x80000000) != 0)) { + if (recoveryItemBuilder_ == null) { + result.recoveryItem_ = recoveryItem_; + } else { + result.recoveryItem_ = recoveryItemBuilder_.build(); + } + to_bitField0_ |= 0x00400000; + } + if (finishedSubprocessesBuilder_ == null) { + if (((bitField1_ & 0x00000001) != 0)) { + finishedSubprocesses_ = java.util.Collections.unmodifiableList(finishedSubprocesses_); + bitField1_ = (bitField1_ & ~0x00000001); + } + result.finishedSubprocesses_ = finishedSubprocesses_; + } else { + result.finishedSubprocesses_ = finishedSubprocessesBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance) { + return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance + .getDefaultInstance()) + return this; + if (other.hasProcessType()) { + bitField0_ |= 0x00000001; + processType_ = other.processType_; + onChanged(); + } + if (other.hasId()) { + bitField0_ |= 0x00000002; + id_ = other.id_; + onChanged(); + } + if (other.hasProcessId()) { + bitField0_ |= 0x00000004; + processId_ = other.processId_; + onChanged(); + } + if (other.hasProcessVersion()) { + bitField0_ |= 0x00000008; + processVersion_ = other.processVersion_; + onChanged(); + } + if (other.hasState()) { + setState(other.getState()); + } + if (other.hasNodeInstanceCounter()) { + setNodeInstanceCounter(other.getNodeInstanceCounter()); + } + if (other.hasProcessXml()) { + bitField0_ |= 0x00000040; + processXml_ = other.processXml_; + onChanged(); + } + if (other.hasParentProcessInstanceId()) { + bitField0_ |= 0x00000080; + parentProcessInstanceId_ = other.parentProcessInstanceId_; + onChanged(); + } + if (other.hasDescription()) { + bitField0_ |= 0x00000100; + description_ = other.description_; + onChanged(); + } + if (other.hasSignalCompletion()) { + setSignalCompletion(other.getSignalCompletion()); + } + if (other.hasDeploymentId()) { + bitField0_ |= 0x00000400; + deploymentId_ = other.deploymentId_; + onChanged(); + } + if (other.hasCorrelationKey()) { + bitField0_ |= 0x00000800; + correlationKey_ = other.correlationKey_; + onChanged(); + } + if (other.hasSlaTimerId()) { + bitField0_ |= 0x00001000; + slaTimerId_ = other.slaTimerId_; + onChanged(); + } + if (other.hasSlaDueDate()) { + setSlaDueDate(other.getSlaDueDate()); + } + if (other.hasSlaCompliance()) { + setSlaCompliance(other.getSlaCompliance()); + } + if (other.hasRootProcessInstanceId()) { + bitField0_ |= 0x00008000; + rootProcessInstanceId_ = other.rootProcessInstanceId_; + onChanged(); + } + if (other.hasStartDate()) { + setStartDate(other.getStartDate()); + } + if (other.hasRootProcessId()) { + bitField0_ |= 0x00020000; + rootProcessId_ = other.rootProcessId_; + onChanged(); + } + if (other.hasReferenceId()) { + bitField0_ |= 0x00040000; + referenceId_ = other.referenceId_; + onChanged(); + } + if (other.hasInitiator()) { + bitField0_ |= 0x00080000; + initiator_ = other.initiator_; + onChanged(); + } + if (other.hasReferenceFromRoot()) { + bitField0_ |= 0x00100000; + referenceFromRoot_ = other.referenceFromRoot_; + onChanged(); + } + if (other.hasEndDate()) { + setEndDate(other.getEndDate()); + } + if (swimlaneContextBuilder_ == null) { + if (!other.swimlaneContext_.isEmpty()) { + if (swimlaneContext_.isEmpty()) { + swimlaneContext_ = other.swimlaneContext_; + bitField0_ = (bitField0_ & ~0x00400000); + } else { + ensureSwimlaneContextIsMutable(); + swimlaneContext_.addAll(other.swimlaneContext_); + } + onChanged(); + } + } else { + if (!other.swimlaneContext_.isEmpty()) { + if (swimlaneContextBuilder_.isEmpty()) { + swimlaneContextBuilder_.dispose(); + swimlaneContextBuilder_ = null; + swimlaneContext_ = other.swimlaneContext_; + bitField0_ = (bitField0_ & ~0x00400000); + swimlaneContextBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSwimlaneContextFieldBuilder() + : null; + } else { + swimlaneContextBuilder_.addAllMessages(other.swimlaneContext_); + } + } + } + if (nodeInstanceBuilder_ == null) { + if (!other.nodeInstance_.isEmpty()) { + if (nodeInstance_.isEmpty()) { + nodeInstance_ = other.nodeInstance_; + bitField0_ = (bitField0_ & ~0x00800000); + } else { + ensureNodeInstanceIsMutable(); + nodeInstance_.addAll(other.nodeInstance_); + } + onChanged(); + } + } else { + if (!other.nodeInstance_.isEmpty()) { + if (nodeInstanceBuilder_.isEmpty()) { + nodeInstanceBuilder_.dispose(); + nodeInstanceBuilder_ = null; + nodeInstance_ = other.nodeInstance_; + bitField0_ = (bitField0_ & ~0x00800000); + nodeInstanceBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNodeInstanceFieldBuilder() + : null; + } else { + nodeInstanceBuilder_.addAllMessages(other.nodeInstance_); + } + } + } + if (variableBuilder_ == null) { + if (!other.variable_.isEmpty()) { + if (variable_.isEmpty()) { + variable_ = other.variable_; + bitField0_ = (bitField0_ & ~0x01000000); + } else { + ensureVariableIsMutable(); + variable_.addAll(other.variable_); + } + onChanged(); + } + } else { + if (!other.variable_.isEmpty()) { + if (variableBuilder_.isEmpty()) { + variableBuilder_.dispose(); + variableBuilder_ = null; + variable_ = other.variable_; + bitField0_ = (bitField0_ & ~0x01000000); + variableBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVariableFieldBuilder() + : null; + } else { + variableBuilder_.addAllMessages(other.variable_); + } + } + } + if (exclusiveGroupBuilder_ == null) { + if (!other.exclusiveGroup_.isEmpty()) { + if (exclusiveGroup_.isEmpty()) { + exclusiveGroup_ = other.exclusiveGroup_; + bitField0_ = (bitField0_ & ~0x02000000); + } else { + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.addAll(other.exclusiveGroup_); + } + onChanged(); + } + } else { + if (!other.exclusiveGroup_.isEmpty()) { + if (exclusiveGroupBuilder_.isEmpty()) { + exclusiveGroupBuilder_.dispose(); + exclusiveGroupBuilder_ = null; + exclusiveGroup_ = other.exclusiveGroup_; + bitField0_ = (bitField0_ & ~0x02000000); + exclusiveGroupBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getExclusiveGroupFieldBuilder() + : null; + } else { + exclusiveGroupBuilder_.addAllMessages(other.exclusiveGroup_); + } + } + } + if (!other.completedNodeIds_.isEmpty()) { + if (completedNodeIds_.isEmpty()) { + completedNodeIds_ = other.completedNodeIds_; + bitField0_ = (bitField0_ & ~0x04000000); + } else { + ensureCompletedNodeIdsIsMutable(); + completedNodeIds_.addAll(other.completedNodeIds_); + } + onChanged(); + } + if (iterationLevelsBuilder_ == null) { + if (!other.iterationLevels_.isEmpty()) { + if (iterationLevels_.isEmpty()) { + iterationLevels_ = other.iterationLevels_; + bitField0_ = (bitField0_ & ~0x08000000); + } else { + ensureIterationLevelsIsMutable(); + iterationLevels_.addAll(other.iterationLevels_); + } + onChanged(); + } + } else { + if (!other.iterationLevels_.isEmpty()) { + if (iterationLevelsBuilder_.isEmpty()) { + iterationLevelsBuilder_.dispose(); + iterationLevelsBuilder_ = null; + iterationLevels_ = other.iterationLevels_; + bitField0_ = (bitField0_ & ~0x08000000); + iterationLevelsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIterationLevelsFieldBuilder() + : null; + } else { + iterationLevelsBuilder_.addAllMessages(other.iterationLevels_); + } + } + } + if (childrenBuilder_ == null) { + if (!other.children_.isEmpty()) { + if (children_.isEmpty()) { + children_ = other.children_; + bitField0_ = (bitField0_ & ~0x10000000); + } else { + ensureChildrenIsMutable(); + children_.addAll(other.children_); + } + onChanged(); + } + } else { + if (!other.children_.isEmpty()) { + if (childrenBuilder_.isEmpty()) { + childrenBuilder_.dispose(); + childrenBuilder_ = null; + children_ = other.children_; + bitField0_ = (bitField0_ & ~0x10000000); + childrenBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getChildrenFieldBuilder() + : null; + } else { + childrenBuilder_.addAllMessages(other.children_); + } + } + } + if (tagsBuilder_ == null) { + if (!other.tags_.isEmpty()) { + if (tags_.isEmpty()) { + tags_ = other.tags_; + bitField0_ = (bitField0_ & ~0x20000000); + } else { + ensureTagsIsMutable(); + tags_.addAll(other.tags_); + } + onChanged(); + } + } else { + if (!other.tags_.isEmpty()) { + if (tagsBuilder_.isEmpty()) { + tagsBuilder_.dispose(); + tagsBuilder_ = null; + tags_ = other.tags_; + bitField0_ = (bitField0_ & ~0x20000000); + tagsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTagsFieldBuilder() + : null; + } else { + tagsBuilder_.addAllMessages(other.tags_); + } + } + } + if (errorsBuilder_ == null) { + if (!other.errors_.isEmpty()) { + if (errors_.isEmpty()) { + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x40000000); + } else { + ensureErrorsIsMutable(); + errors_.addAll(other.errors_); + } + onChanged(); + } + } else { + if (!other.errors_.isEmpty()) { + if (errorsBuilder_.isEmpty()) { + errorsBuilder_.dispose(); + errorsBuilder_ = null; + errors_ = other.errors_; + bitField0_ = (bitField0_ & ~0x40000000); + errorsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; + } else { + errorsBuilder_.addAllMessages(other.errors_); + } + } + } + if (other.hasRecoveryItem()) { + mergeRecoveryItem(other.getRecoveryItem()); + } + if (finishedSubprocessesBuilder_ == null) { + if (!other.finishedSubprocesses_.isEmpty()) { + if (finishedSubprocesses_.isEmpty()) { + finishedSubprocesses_ = other.finishedSubprocesses_; + bitField1_ = (bitField1_ & ~0x00000001); + } else { + ensureFinishedSubprocessesIsMutable(); + finishedSubprocesses_.addAll(other.finishedSubprocesses_); + } + onChanged(); + } + } else { + if (!other.finishedSubprocesses_.isEmpty()) { + if (finishedSubprocessesBuilder_.isEmpty()) { + finishedSubprocessesBuilder_.dispose(); + finishedSubprocessesBuilder_ = null; + finishedSubprocesses_ = other.finishedSubprocesses_; + bitField1_ = (bitField1_ & ~0x00000001); + finishedSubprocessesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFinishedSubprocessesFieldBuilder() + : null; + } else { + finishedSubprocessesBuilder_.addAllMessages(other.finishedSubprocesses_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + private int bitField1_; + + private java.lang.Object processType_ = ""; + + /** + * optional string process_type = 1; + * + * @return Whether the processType field is set. + */ + public boolean hasProcessType() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string process_type = 1; + * + * @return The processType. + */ + public java.lang.String getProcessType() { + java.lang.Object ref = processType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processType_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string process_type = 1; + * + * @return The bytes for processType. + */ + public com.google.protobuf.ByteString getProcessTypeBytes() { + java.lang.Object ref = processType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string process_type = 1; + * + * @param value The processType to set. + * @return This builder for chaining. + */ + public Builder setProcessType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + processType_ = value; + onChanged(); + return this; + } + + /** + * optional string process_type = 1; + * + * @return This builder for chaining. + */ + public Builder clearProcessType() { + bitField0_ = (bitField0_ & ~0x00000001); + processType_ = getDefaultInstance().getProcessType(); + onChanged(); + return this; + } + + /** + * optional string process_type = 1; + * + * @param value The bytes for processType to set. + * @return This builder for chaining. + */ + public Builder setProcessTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + processType_ = value; + onChanged(); + return this; + } + + private java.lang.Object id_ = ""; + + /** + * optional string id = 2; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string id = 2; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string id = 2; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string id = 2; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + id_ = value; + onChanged(); + return this; + } + + /** + * optional string id = 2; + * + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000002); + id_ = getDefaultInstance().getId(); + onChanged(); + return this; + } + + /** + * optional string id = 2; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + id_ = value; + onChanged(); + return this; + } + + private java.lang.Object processId_ = ""; + + /** + * optional string process_id = 3; + * + * @return Whether the processId field is set. + */ + public boolean hasProcessId() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string process_id = 3; + * + * @return The processId. + */ + public java.lang.String getProcessId() { + java.lang.Object ref = processId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string process_id = 3; + * + * @return The bytes for processId. + */ + public com.google.protobuf.ByteString getProcessIdBytes() { + java.lang.Object ref = processId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string process_id = 3; + * + * @param value The processId to set. + * @return This builder for chaining. + */ + public Builder setProcessId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + processId_ = value; + onChanged(); + return this; + } + + /** + * optional string process_id = 3; + * + * @return This builder for chaining. + */ + public Builder clearProcessId() { + bitField0_ = (bitField0_ & ~0x00000004); + processId_ = getDefaultInstance().getProcessId(); + onChanged(); + return this; + } + + /** + * optional string process_id = 3; + * + * @param value The bytes for processId to set. + * @return This builder for chaining. + */ + public Builder setProcessIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + processId_ = value; + onChanged(); + return this; + } + + private java.lang.Object processVersion_ = ""; + + /** + * optional string process_version = 31; + * + * @return Whether the processVersion field is set. + */ + public boolean hasProcessVersion() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional string process_version = 31; + * + * @return The processVersion. + */ + public java.lang.String getProcessVersion() { + java.lang.Object ref = processVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processVersion_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string process_version = 31; + * + * @return The bytes for processVersion. + */ + public com.google.protobuf.ByteString getProcessVersionBytes() { + java.lang.Object ref = processVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string process_version = 31; + * + * @param value The processVersion to set. + * @return This builder for chaining. + */ + public Builder setProcessVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + processVersion_ = value; + onChanged(); + return this; + } + + /** + * optional string process_version = 31; + * + * @return This builder for chaining. + */ + public Builder clearProcessVersion() { + bitField0_ = (bitField0_ & ~0x00000008); + processVersion_ = getDefaultInstance().getProcessVersion(); + onChanged(); + return this; + } + + /** + * optional string process_version = 31; + * + * @param value The bytes for processVersion to set. + * @return This builder for chaining. + */ + public Builder setProcessVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + processVersion_ = value; + onChanged(); + return this; + } + + private int state_; + + /** + * optional int32 state = 4; + * + * @return Whether the state field is set. + */ + @java.lang.Override + public boolean hasState() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * optional int32 state = 4; + * + * @return The state. + */ + @java.lang.Override + public int getState() { + return state_; + } + + /** + * optional int32 state = 4; + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(int value) { + bitField0_ |= 0x00000010; + state_ = value; + onChanged(); + return this; + } + + /** + * optional int32 state = 4; + * + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000010); + state_ = 0; + onChanged(); + return this; + } + + private long nodeInstanceCounter_; + + /** + * optional int64 node_instance_counter = 5; + * + * @return Whether the nodeInstanceCounter field is set. + */ + @java.lang.Override + public boolean hasNodeInstanceCounter() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * optional int64 node_instance_counter = 5; + * + * @return The nodeInstanceCounter. + */ + @java.lang.Override + public long getNodeInstanceCounter() { + return nodeInstanceCounter_; + } + + /** + * optional int64 node_instance_counter = 5; + * + * @param value The nodeInstanceCounter to set. + * @return This builder for chaining. + */ + public Builder setNodeInstanceCounter(long value) { + bitField0_ |= 0x00000020; + nodeInstanceCounter_ = value; + onChanged(); + return this; + } + + /** + * optional int64 node_instance_counter = 5; + * + * @return This builder for chaining. + */ + public Builder clearNodeInstanceCounter() { + bitField0_ = (bitField0_ & ~0x00000020); + nodeInstanceCounter_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object processXml_ = ""; + + /** + * optional string process_xml = 11; + * + * @return Whether the processXml field is set. + */ + public boolean hasProcessXml() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * optional string process_xml = 11; + * + * @return The processXml. + */ + public java.lang.String getProcessXml() { + java.lang.Object ref = processXml_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processXml_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string process_xml = 11; + * + * @return The bytes for processXml. + */ + public com.google.protobuf.ByteString getProcessXmlBytes() { + java.lang.Object ref = processXml_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processXml_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string process_xml = 11; + * + * @param value The processXml to set. + * @return This builder for chaining. + */ + public Builder setProcessXml( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + processXml_ = value; + onChanged(); + return this; + } + + /** + * optional string process_xml = 11; + * + * @return This builder for chaining. + */ + public Builder clearProcessXml() { + bitField0_ = (bitField0_ & ~0x00000040); + processXml_ = getDefaultInstance().getProcessXml(); + onChanged(); + return this; + } + + /** + * optional string process_xml = 11; + * + * @param value The bytes for processXml to set. + * @return This builder for chaining. + */ + public Builder setProcessXmlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + processXml_ = value; + onChanged(); + return this; + } + + private java.lang.Object parentProcessInstanceId_ = ""; + + /** + * optional string parent_process_instance_id = 12; + * + * @return Whether the parentProcessInstanceId field is set. + */ + public boolean hasParentProcessInstanceId() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * optional string parent_process_instance_id = 12; + * + * @return The parentProcessInstanceId. + */ + public java.lang.String getParentProcessInstanceId() { + java.lang.Object ref = parentProcessInstanceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + parentProcessInstanceId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string parent_process_instance_id = 12; + * + * @return The bytes for parentProcessInstanceId. + */ + public com.google.protobuf.ByteString getParentProcessInstanceIdBytes() { + java.lang.Object ref = parentProcessInstanceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parentProcessInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string parent_process_instance_id = 12; + * + * @param value The parentProcessInstanceId to set. + * @return This builder for chaining. + */ + public Builder setParentProcessInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; + parentProcessInstanceId_ = value; + onChanged(); + return this; + } + + /** + * optional string parent_process_instance_id = 12; + * + * @return This builder for chaining. + */ + public Builder clearParentProcessInstanceId() { + bitField0_ = (bitField0_ & ~0x00000080); + parentProcessInstanceId_ = getDefaultInstance().getParentProcessInstanceId(); + onChanged(); + return this; + } + + /** + * optional string parent_process_instance_id = 12; + * + * @param value The bytes for parentProcessInstanceId to set. + * @return This builder for chaining. + */ + public Builder setParentProcessInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; + parentProcessInstanceId_ = value; + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + + /** + * optional string description = 15; + * + * @return Whether the description field is set. + */ + public boolean hasDescription() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * optional string description = 15; + * + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + description_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string description = 15; + * + * @return The bytes for description. + */ + public com.google.protobuf.ByteString getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string description = 15; + * + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; + description_ = value; + onChanged(); + return this; + } + + /** + * optional string description = 15; + * + * @return This builder for chaining. + */ + public Builder clearDescription() { + bitField0_ = (bitField0_ & ~0x00000100); + description_ = getDefaultInstance().getDescription(); + onChanged(); + return this; + } + + /** + * optional string description = 15; + * + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; + description_ = value; + onChanged(); + return this; + } + + private boolean signalCompletion_ = true; + + /** + * optional bool signal_completion = 16 [default = true]; + * + * @return Whether the signalCompletion field is set. + */ + @java.lang.Override + public boolean hasSignalCompletion() { + return ((bitField0_ & 0x00000200) != 0); + } + + /** + * optional bool signal_completion = 16 [default = true]; + * + * @return The signalCompletion. + */ + @java.lang.Override + public boolean getSignalCompletion() { + return signalCompletion_; + } + + /** + * optional bool signal_completion = 16 [default = true]; + * + * @param value The signalCompletion to set. + * @return This builder for chaining. + */ + public Builder setSignalCompletion(boolean value) { + bitField0_ |= 0x00000200; + signalCompletion_ = value; + onChanged(); + return this; + } + + /** + * optional bool signal_completion = 16 [default = true]; + * + * @return This builder for chaining. + */ + public Builder clearSignalCompletion() { + bitField0_ = (bitField0_ & ~0x00000200); + signalCompletion_ = true; + onChanged(); + return this; + } + + private java.lang.Object deploymentId_ = ""; + + /** + * optional string deploymentId = 17; + * + * @return Whether the deploymentId field is set. + */ + public boolean hasDeploymentId() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * optional string deploymentId = 17; + * + * @return The deploymentId. + */ + public java.lang.String getDeploymentId() { + java.lang.Object ref = deploymentId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + deploymentId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string deploymentId = 17; + * + * @return The bytes for deploymentId. + */ + public com.google.protobuf.ByteString getDeploymentIdBytes() { + java.lang.Object ref = deploymentId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + deploymentId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string deploymentId = 17; + * + * @param value The deploymentId to set. + * @return This builder for chaining. + */ + public Builder setDeploymentId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; + deploymentId_ = value; + onChanged(); + return this; + } + + /** + * optional string deploymentId = 17; + * + * @return This builder for chaining. + */ + public Builder clearDeploymentId() { + bitField0_ = (bitField0_ & ~0x00000400); + deploymentId_ = getDefaultInstance().getDeploymentId(); + onChanged(); + return this; + } + + /** + * optional string deploymentId = 17; + * + * @param value The bytes for deploymentId to set. + * @return This builder for chaining. + */ + public Builder setDeploymentIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; + deploymentId_ = value; + onChanged(); + return this; + } + + private java.lang.Object correlationKey_ = ""; + + /** + * optional string correlation_key = 18; + * + * @return Whether the correlationKey field is set. + */ + public boolean hasCorrelationKey() { + return ((bitField0_ & 0x00000800) != 0); + } + + /** + * optional string correlation_key = 18; + * + * @return The correlationKey. + */ + public java.lang.String getCorrelationKey() { + java.lang.Object ref = correlationKey_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + correlationKey_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string correlation_key = 18; + * + * @return The bytes for correlationKey. + */ + public com.google.protobuf.ByteString getCorrelationKeyBytes() { + java.lang.Object ref = correlationKey_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + correlationKey_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string correlation_key = 18; + * + * @param value The correlationKey to set. + * @return This builder for chaining. + */ + public Builder setCorrelationKey( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000800; + correlationKey_ = value; + onChanged(); + return this; + } + + /** + * optional string correlation_key = 18; + * + * @return This builder for chaining. + */ + public Builder clearCorrelationKey() { + bitField0_ = (bitField0_ & ~0x00000800); + correlationKey_ = getDefaultInstance().getCorrelationKey(); + onChanged(); + return this; + } + + /** + * optional string correlation_key = 18; + * + * @param value The bytes for correlationKey to set. + * @return This builder for chaining. + */ + public Builder setCorrelationKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000800; + correlationKey_ = value; + onChanged(); + return this; + } + + private java.lang.Object slaTimerId_ = ""; + + /** + * optional string sla_timer_id = 19; + * + * @return Whether the slaTimerId field is set. + */ + public boolean hasSlaTimerId() { + return ((bitField0_ & 0x00001000) != 0); + } + + /** + * optional string sla_timer_id = 19; + * + * @return The slaTimerId. + */ + public java.lang.String getSlaTimerId() { + java.lang.Object ref = slaTimerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + slaTimerId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string sla_timer_id = 19; + * + * @return The bytes for slaTimerId. + */ + public com.google.protobuf.ByteString getSlaTimerIdBytes() { + java.lang.Object ref = slaTimerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + slaTimerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string sla_timer_id = 19; + * + * @param value The slaTimerId to set. + * @return This builder for chaining. + */ + public Builder setSlaTimerId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00001000; + slaTimerId_ = value; + onChanged(); + return this; + } + + /** + * optional string sla_timer_id = 19; + * + * @return This builder for chaining. + */ + public Builder clearSlaTimerId() { + bitField0_ = (bitField0_ & ~0x00001000); + slaTimerId_ = getDefaultInstance().getSlaTimerId(); + onChanged(); + return this; + } + + /** + * optional string sla_timer_id = 19; + * + * @param value The bytes for slaTimerId to set. + * @return This builder for chaining. + */ + public Builder setSlaTimerIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00001000; + slaTimerId_ = value; + onChanged(); + return this; + } + + private long slaDueDate_; + + /** + * optional int64 sla_due_date = 20; + * + * @return Whether the slaDueDate field is set. + */ + @java.lang.Override + public boolean hasSlaDueDate() { + return ((bitField0_ & 0x00002000) != 0); + } + + /** + * optional int64 sla_due_date = 20; + * + * @return The slaDueDate. + */ + @java.lang.Override + public long getSlaDueDate() { + return slaDueDate_; + } + + /** + * optional int64 sla_due_date = 20; + * + * @param value The slaDueDate to set. + * @return This builder for chaining. + */ + public Builder setSlaDueDate(long value) { + bitField0_ |= 0x00002000; + slaDueDate_ = value; + onChanged(); + return this; + } + + /** + * optional int64 sla_due_date = 20; + * + * @return This builder for chaining. + */ + public Builder clearSlaDueDate() { + bitField0_ = (bitField0_ & ~0x00002000); + slaDueDate_ = 0L; + onChanged(); + return this; + } + + private int slaCompliance_; + + /** + * optional int32 sla_compliance = 21; + * + * @return Whether the slaCompliance field is set. + */ + @java.lang.Override + public boolean hasSlaCompliance() { + return ((bitField0_ & 0x00004000) != 0); + } + + /** + * optional int32 sla_compliance = 21; + * + * @return The slaCompliance. + */ + @java.lang.Override + public int getSlaCompliance() { + return slaCompliance_; + } + + /** + * optional int32 sla_compliance = 21; + * + * @param value The slaCompliance to set. + * @return This builder for chaining. + */ + public Builder setSlaCompliance(int value) { + bitField0_ |= 0x00004000; + slaCompliance_ = value; + onChanged(); + return this; + } + + /** + * optional int32 sla_compliance = 21; + * + * @return This builder for chaining. + */ + public Builder clearSlaCompliance() { + bitField0_ = (bitField0_ & ~0x00004000); + slaCompliance_ = 0; + onChanged(); + return this; + } + + private java.lang.Object rootProcessInstanceId_ = ""; + + /** + * optional string root_process_instance_id = 22; + * + * @return Whether the rootProcessInstanceId field is set. + */ + public boolean hasRootProcessInstanceId() { + return ((bitField0_ & 0x00008000) != 0); + } + + /** + * optional string root_process_instance_id = 22; + * + * @return The rootProcessInstanceId. + */ + public java.lang.String getRootProcessInstanceId() { + java.lang.Object ref = rootProcessInstanceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + rootProcessInstanceId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string root_process_instance_id = 22; + * + * @return The bytes for rootProcessInstanceId. + */ + public com.google.protobuf.ByteString getRootProcessInstanceIdBytes() { + java.lang.Object ref = rootProcessInstanceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + rootProcessInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string root_process_instance_id = 22; + * + * @param value The rootProcessInstanceId to set. + * @return This builder for chaining. + */ + public Builder setRootProcessInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00008000; + rootProcessInstanceId_ = value; + onChanged(); + return this; + } + + /** + * optional string root_process_instance_id = 22; + * + * @return This builder for chaining. + */ + public Builder clearRootProcessInstanceId() { + bitField0_ = (bitField0_ & ~0x00008000); + rootProcessInstanceId_ = getDefaultInstance().getRootProcessInstanceId(); + onChanged(); + return this; + } + + /** + * optional string root_process_instance_id = 22; + * + * @param value The bytes for rootProcessInstanceId to set. + * @return This builder for chaining. + */ + public Builder setRootProcessInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00008000; + rootProcessInstanceId_ = value; + onChanged(); + return this; + } + + private long startDate_; + + /** + * optional int64 start_date = 23; + * + * @return Whether the startDate field is set. + */ + @java.lang.Override + public boolean hasStartDate() { + return ((bitField0_ & 0x00010000) != 0); + } + + /** + * optional int64 start_date = 23; + * + * @return The startDate. + */ + @java.lang.Override + public long getStartDate() { + return startDate_; + } + + /** + * optional int64 start_date = 23; + * + * @param value The startDate to set. + * @return This builder for chaining. + */ + public Builder setStartDate(long value) { + bitField0_ |= 0x00010000; + startDate_ = value; + onChanged(); + return this; + } + + /** + * optional int64 start_date = 23; + * + * @return This builder for chaining. + */ + public Builder clearStartDate() { + bitField0_ = (bitField0_ & ~0x00010000); + startDate_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object rootProcessId_ = ""; + + /** + * optional string root_process_id = 24; + * + * @return Whether the rootProcessId field is set. + */ + public boolean hasRootProcessId() { + return ((bitField0_ & 0x00020000) != 0); + } + + /** + * optional string root_process_id = 24; + * + * @return The rootProcessId. + */ + public java.lang.String getRootProcessId() { + java.lang.Object ref = rootProcessId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + rootProcessId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string root_process_id = 24; + * + * @return The bytes for rootProcessId. + */ + public com.google.protobuf.ByteString getRootProcessIdBytes() { + java.lang.Object ref = rootProcessId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + rootProcessId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string root_process_id = 24; + * + * @param value The rootProcessId to set. + * @return This builder for chaining. + */ + public Builder setRootProcessId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00020000; + rootProcessId_ = value; + onChanged(); + return this; + } + + /** + * optional string root_process_id = 24; + * + * @return This builder for chaining. + */ + public Builder clearRootProcessId() { + bitField0_ = (bitField0_ & ~0x00020000); + rootProcessId_ = getDefaultInstance().getRootProcessId(); + onChanged(); + return this; + } + + /** + * optional string root_process_id = 24; + * + * @param value The bytes for rootProcessId to set. + * @return This builder for chaining. + */ + public Builder setRootProcessIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00020000; + rootProcessId_ = value; + onChanged(); + return this; + } + + private java.lang.Object referenceId_ = ""; + + /** + * optional string reference_id = 25; + * + * @return Whether the referenceId field is set. + */ + public boolean hasReferenceId() { + return ((bitField0_ & 0x00040000) != 0); + } + + /** + * optional string reference_id = 25; + * + * @return The referenceId. + */ + public java.lang.String getReferenceId() { + java.lang.Object ref = referenceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + referenceId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string reference_id = 25; + * + * @return The bytes for referenceId. + */ + public com.google.protobuf.ByteString getReferenceIdBytes() { + java.lang.Object ref = referenceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + referenceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string reference_id = 25; + * + * @param value The referenceId to set. + * @return This builder for chaining. + */ + public Builder setReferenceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00040000; + referenceId_ = value; + onChanged(); + return this; + } + + /** + * optional string reference_id = 25; + * + * @return This builder for chaining. + */ + public Builder clearReferenceId() { + bitField0_ = (bitField0_ & ~0x00040000); + referenceId_ = getDefaultInstance().getReferenceId(); + onChanged(); + return this; + } + + /** + * optional string reference_id = 25; + * + * @param value The bytes for referenceId to set. + * @return This builder for chaining. + */ + public Builder setReferenceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00040000; + referenceId_ = value; + onChanged(); + return this; + } + + private java.lang.Object initiator_ = ""; + + /** + * optional string initiator = 26; + * + * @return Whether the initiator field is set. + */ + public boolean hasInitiator() { + return ((bitField0_ & 0x00080000) != 0); + } + + /** + * optional string initiator = 26; + * + * @return The initiator. + */ + public java.lang.String getInitiator() { + java.lang.Object ref = initiator_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + initiator_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string initiator = 26; + * + * @return The bytes for initiator. + */ + public com.google.protobuf.ByteString getInitiatorBytes() { + java.lang.Object ref = initiator_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + initiator_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string initiator = 26; + * + * @param value The initiator to set. + * @return This builder for chaining. + */ + public Builder setInitiator( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00080000; + initiator_ = value; + onChanged(); + return this; + } + + /** + * optional string initiator = 26; + * + * @return This builder for chaining. + */ + public Builder clearInitiator() { + bitField0_ = (bitField0_ & ~0x00080000); + initiator_ = getDefaultInstance().getInitiator(); + onChanged(); + return this; + } + + /** + * optional string initiator = 26; + * + * @param value The bytes for initiator to set. + * @return This builder for chaining. + */ + public Builder setInitiatorBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00080000; + initiator_ = value; + onChanged(); + return this; + } + + private java.lang.Object referenceFromRoot_ = ""; + + /** + * optional string reference_from_root = 30; + * + * @return Whether the referenceFromRoot field is set. + */ + public boolean hasReferenceFromRoot() { + return ((bitField0_ & 0x00100000) != 0); + } + + /** + * optional string reference_from_root = 30; + * + * @return The referenceFromRoot. + */ + public java.lang.String getReferenceFromRoot() { + java.lang.Object ref = referenceFromRoot_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + referenceFromRoot_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string reference_from_root = 30; + * + * @return The bytes for referenceFromRoot. + */ + public com.google.protobuf.ByteString getReferenceFromRootBytes() { + java.lang.Object ref = referenceFromRoot_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + referenceFromRoot_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string reference_from_root = 30; + * + * @param value The referenceFromRoot to set. + * @return This builder for chaining. + */ + public Builder setReferenceFromRoot( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00100000; + referenceFromRoot_ = value; + onChanged(); + return this; + } + + /** + * optional string reference_from_root = 30; + * + * @return This builder for chaining. + */ + public Builder clearReferenceFromRoot() { + bitField0_ = (bitField0_ & ~0x00100000); + referenceFromRoot_ = getDefaultInstance().getReferenceFromRoot(); + onChanged(); + return this; + } + + /** + * optional string reference_from_root = 30; + * + * @param value The bytes for referenceFromRoot to set. + * @return This builder for chaining. + */ + public Builder setReferenceFromRootBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00100000; + referenceFromRoot_ = value; + onChanged(); + return this; + } + + private long endDate_; + + /** + * optional int64 end_date = 33; + * + * @return Whether the endDate field is set. + */ + @java.lang.Override + public boolean hasEndDate() { + return ((bitField0_ & 0x00200000) != 0); + } + + /** + * optional int64 end_date = 33; + * + * @return The endDate. + */ + @java.lang.Override + public long getEndDate() { + return endDate_; + } + + /** + * optional int64 end_date = 33; + * + * @param value The endDate to set. + * @return This builder for chaining. + */ + public Builder setEndDate(long value) { + bitField0_ |= 0x00200000; + endDate_ = value; + onChanged(); + return this; + } + + /** + * optional int64 end_date = 33; + * + * @return This builder for chaining. + */ + public Builder clearEndDate() { + bitField0_ = (bitField0_ & ~0x00200000); + endDate_ = 0L; + onChanged(); + return this; + } + + private java.util.List swimlaneContext_ = java.util.Collections + .emptyList(); + + private void ensureSwimlaneContextIsMutable() { + if (!((bitField0_ & 0x00400000) != 0)) { + swimlaneContext_ = new java.util.ArrayList( + swimlaneContext_); + bitField0_ |= 0x00400000; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 swimlaneContextBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public java.util.List getSwimlaneContextList() { + if (swimlaneContextBuilder_ == null) { + return java.util.Collections.unmodifiableList(swimlaneContext_); + } else { + return swimlaneContextBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public int getSwimlaneContextCount() { + if (swimlaneContextBuilder_ == null) { + return swimlaneContext_.size(); + } else { + return swimlaneContextBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance getSwimlaneContext( + int index) { + if (swimlaneContextBuilder_ == null) { + return swimlaneContext_.get(index); + } else { + return swimlaneContextBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public Builder setSwimlaneContext( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance value) { + if (swimlaneContextBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSwimlaneContextIsMutable(); + swimlaneContext_.set(index, value); + onChanged(); + } else { + swimlaneContextBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public Builder setSwimlaneContext( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder builderForValue) { + if (swimlaneContextBuilder_ == null) { + ensureSwimlaneContextIsMutable(); + swimlaneContext_.set(index, builderForValue.build()); + onChanged(); + } else { + swimlaneContextBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public Builder addSwimlaneContext( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance value) { + if (swimlaneContextBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSwimlaneContextIsMutable(); + swimlaneContext_.add(value); + onChanged(); + } else { + swimlaneContextBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public Builder addSwimlaneContext( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance value) { + if (swimlaneContextBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSwimlaneContextIsMutable(); + swimlaneContext_.add(index, value); + onChanged(); + } else { + swimlaneContextBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public Builder addSwimlaneContext( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder builderForValue) { + if (swimlaneContextBuilder_ == null) { + ensureSwimlaneContextIsMutable(); + swimlaneContext_.add(builderForValue.build()); + onChanged(); + } else { + swimlaneContextBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public Builder addSwimlaneContext( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder builderForValue) { + if (swimlaneContextBuilder_ == null) { + ensureSwimlaneContextIsMutable(); + swimlaneContext_.add(index, builderForValue.build()); + onChanged(); + } else { + swimlaneContextBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public Builder addAllSwimlaneContext( + java.lang.Iterable values) { + if (swimlaneContextBuilder_ == null) { + ensureSwimlaneContextIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, swimlaneContext_); + onChanged(); + } else { + swimlaneContextBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public Builder clearSwimlaneContext() { + if (swimlaneContextBuilder_ == null) { + swimlaneContext_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00400000); + onChanged(); + } else { + swimlaneContextBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public Builder removeSwimlaneContext(int index) { + if (swimlaneContextBuilder_ == null) { + ensureSwimlaneContextIsMutable(); + swimlaneContext_.remove(index); + onChanged(); + } else { + swimlaneContextBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder getSwimlaneContextBuilder( + int index) { + return getSwimlaneContextFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder getSwimlaneContextOrBuilder( + int index) { + if (swimlaneContextBuilder_ == null) { + return swimlaneContext_.get(index); + } else { + return swimlaneContextBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public java.util.List getSwimlaneContextOrBuilderList() { + if (swimlaneContextBuilder_ != null) { + return swimlaneContextBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(swimlaneContext_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder addSwimlaneContextBuilder() { + return getSwimlaneContextFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder addSwimlaneContextBuilder( + int index) { + return getSwimlaneContextFieldBuilder().addBuilder( + index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; + */ + public java.util.List getSwimlaneContextBuilderList() { + return getSwimlaneContextFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getSwimlaneContextFieldBuilder() { + if (swimlaneContextBuilder_ == null) { + swimlaneContextBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + swimlaneContext_, + ((bitField0_ & 0x00400000) != 0), + getParentForChildren(), + isClean()); + swimlaneContext_ = null; + } + return swimlaneContextBuilder_; + } + + private java.util.List nodeInstance_ = java.util.Collections + .emptyList(); + + private void ensureNodeInstanceIsMutable() { + if (!((bitField0_ & 0x00800000) != 0)) { + nodeInstance_ = new java.util.ArrayList( + nodeInstance_); + bitField0_ |= 0x00800000; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 nodeInstanceBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public java.util.List getNodeInstanceList() { + if (nodeInstanceBuilder_ == null) { + return java.util.Collections.unmodifiableList(nodeInstance_); + } else { + return nodeInstanceBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public int getNodeInstanceCount() { + if (nodeInstanceBuilder_ == null) { + return nodeInstance_.size(); + } else { + return nodeInstanceBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance( + int index) { + if (nodeInstanceBuilder_ == null) { + return nodeInstance_.get(index); + } else { + return nodeInstanceBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public Builder setNodeInstance( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { + if (nodeInstanceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInstanceIsMutable(); + nodeInstance_.set(index, value); + onChanged(); + } else { + nodeInstanceBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public Builder setNodeInstance( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + nodeInstance_.set(index, builderForValue.build()); + onChanged(); + } else { + nodeInstanceBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public Builder addNodeInstance( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { + if (nodeInstanceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInstanceIsMutable(); + nodeInstance_.add(value); + onChanged(); + } else { + nodeInstanceBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public Builder addNodeInstance( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { + if (nodeInstanceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNodeInstanceIsMutable(); + nodeInstance_.add(index, value); + onChanged(); + } else { + nodeInstanceBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public Builder addNodeInstance( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + nodeInstance_.add(builderForValue.build()); + onChanged(); + } else { + nodeInstanceBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public Builder addNodeInstance( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + nodeInstance_.add(index, builderForValue.build()); + onChanged(); + } else { + nodeInstanceBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public Builder addAllNodeInstance( + java.lang.Iterable values) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, nodeInstance_); + onChanged(); + } else { + nodeInstanceBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public Builder clearNodeInstance() { + if (nodeInstanceBuilder_ == null) { + nodeInstance_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00800000); + onChanged(); + } else { + nodeInstanceBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public Builder removeNodeInstance(int index) { + if (nodeInstanceBuilder_ == null) { + ensureNodeInstanceIsMutable(); + nodeInstance_.remove(index); + onChanged(); + } else { + nodeInstanceBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder getNodeInstanceBuilder( + int index) { + return getNodeInstanceFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( + int index) { + if (nodeInstanceBuilder_ == null) { + return nodeInstance_.get(index); + } else { + return nodeInstanceBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public java.util.List getNodeInstanceOrBuilderList() { + if (nodeInstanceBuilder_ != null) { + return nodeInstanceBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(nodeInstance_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder() { + return getNodeInstanceFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder( + int index) { + return getNodeInstanceFieldBuilder().addBuilder( + index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; + */ + public java.util.List getNodeInstanceBuilderList() { + return getNodeInstanceFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getNodeInstanceFieldBuilder() { + if (nodeInstanceBuilder_ == null) { + nodeInstanceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + nodeInstance_, + ((bitField0_ & 0x00800000) != 0), + getParentForChildren(), + isClean()); + nodeInstance_ = null; + } + return nodeInstanceBuilder_; + } + + private java.util.List variable_ = java.util.Collections + .emptyList(); + + private void ensureVariableIsMutable() { + if (!((bitField0_ & 0x01000000) != 0)) { + variable_ = new java.util.ArrayList( + variable_); + bitField0_ |= 0x01000000; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 variableBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public java.util.List getVariableList() { + if (variableBuilder_ == null) { + return java.util.Collections.unmodifiableList(variable_); + } else { + return variableBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public int getVariableCount() { + if (variableBuilder_ == null) { + return variable_.size(); + } else { + return variableBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { + if (variableBuilder_ == null) { + return variable_.get(index); + } else { + return variableBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public Builder setVariable( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.set(index, value); + onChanged(); + } else { + variableBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public Builder setVariable( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.set(index, builderForValue.build()); + onChanged(); + } else { + variableBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.add(value); + onChanged(); + } else { + variableBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public Builder addVariable( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.add(index, value); + onChanged(); + } else { + variableBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public Builder addVariable( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.add(builderForValue.build()); + onChanged(); + } else { + variableBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public Builder addVariable( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.add(index, builderForValue.build()); + onChanged(); + } else { + variableBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public Builder addAllVariable( + java.lang.Iterable values) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, variable_); + onChanged(); + } else { + variableBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public Builder clearVariable() { + if (variableBuilder_ == null) { + variable_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x01000000); + onChanged(); + } else { + variableBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public Builder removeVariable(int index) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.remove(index); + onChanged(); + } else { + variableBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder getVariableBuilder( + int index) { + return getVariableFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index) { + if (variableBuilder_ == null) { + return variable_.get(index); + } else { + return variableBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public java.util.List getVariableOrBuilderList() { + if (variableBuilder_ != null) { + return variableBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(variable_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder() { + return getVariableFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder( + int index) { + return getVariableFieldBuilder().addBuilder( + index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; + */ + public java.util.List getVariableBuilderList() { + return getVariableFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getVariableFieldBuilder() { + if (variableBuilder_ == null) { + variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + variable_, + ((bitField0_ & 0x01000000) != 0), + getParentForChildren(), + isClean()); + variable_ = null; + } + return variableBuilder_; + } + + private java.util.List exclusiveGroup_ = java.util.Collections + .emptyList(); + + private void ensureExclusiveGroupIsMutable() { + if (!((bitField0_ & 0x02000000) != 0)) { + exclusiveGroup_ = new java.util.ArrayList( + exclusiveGroup_); + bitField0_ |= 0x02000000; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 exclusiveGroupBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public java.util.List getExclusiveGroupList() { + if (exclusiveGroupBuilder_ == null) { + return java.util.Collections.unmodifiableList(exclusiveGroup_); + } else { + return exclusiveGroupBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public int getExclusiveGroupCount() { + if (exclusiveGroupBuilder_ == null) { + return exclusiveGroup_.size(); + } else { + return exclusiveGroupBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup( + int index) { + if (exclusiveGroupBuilder_ == null) { + return exclusiveGroup_.get(index); + } else { + return exclusiveGroupBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public Builder setExclusiveGroup( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance value) { + if (exclusiveGroupBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.set(index, value); + onChanged(); + } else { + exclusiveGroupBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public Builder setExclusiveGroup( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { + if (exclusiveGroupBuilder_ == null) { + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.set(index, builderForValue.build()); + onChanged(); + } else { + exclusiveGroupBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public Builder addExclusiveGroup( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance value) { + if (exclusiveGroupBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.add(value); + onChanged(); + } else { + exclusiveGroupBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public Builder addExclusiveGroup( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance value) { + if (exclusiveGroupBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.add(index, value); + onChanged(); + } else { + exclusiveGroupBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public Builder addExclusiveGroup( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { + if (exclusiveGroupBuilder_ == null) { + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.add(builderForValue.build()); + onChanged(); + } else { + exclusiveGroupBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public Builder addExclusiveGroup( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { + if (exclusiveGroupBuilder_ == null) { + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.add(index, builderForValue.build()); + onChanged(); + } else { + exclusiveGroupBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public Builder addAllExclusiveGroup( + java.lang.Iterable values) { + if (exclusiveGroupBuilder_ == null) { + ensureExclusiveGroupIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, exclusiveGroup_); + onChanged(); + } else { + exclusiveGroupBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public Builder clearExclusiveGroup() { + if (exclusiveGroupBuilder_ == null) { + exclusiveGroup_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x02000000); + onChanged(); + } else { + exclusiveGroupBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public Builder removeExclusiveGroup(int index) { + if (exclusiveGroupBuilder_ == null) { + ensureExclusiveGroupIsMutable(); + exclusiveGroup_.remove(index); + onChanged(); + } else { + exclusiveGroupBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder getExclusiveGroupBuilder( + int index) { + return getExclusiveGroupFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( + int index) { + if (exclusiveGroupBuilder_ == null) { + return exclusiveGroup_.get(index); + } else { + return exclusiveGroupBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public java.util.List getExclusiveGroupOrBuilderList() { + if (exclusiveGroupBuilder_ != null) { + return exclusiveGroupBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(exclusiveGroup_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder addExclusiveGroupBuilder() { + return getExclusiveGroupFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder addExclusiveGroupBuilder( + int index) { + return getExclusiveGroupFieldBuilder().addBuilder( + index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; + */ + public java.util.List getExclusiveGroupBuilderList() { + return getExclusiveGroupFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getExclusiveGroupFieldBuilder() { + if (exclusiveGroupBuilder_ == null) { + exclusiveGroupBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + exclusiveGroup_, + ((bitField0_ & 0x02000000) != 0), + getParentForChildren(), + isClean()); + exclusiveGroup_ = null; + } + return exclusiveGroupBuilder_; + } + + private com.google.protobuf.LazyStringList completedNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureCompletedNodeIdsIsMutable() { + if (!((bitField0_ & 0x04000000) != 0)) { + completedNodeIds_ = new com.google.protobuf.LazyStringArrayList(completedNodeIds_); + bitField0_ |= 0x04000000; + } + } + + /** + * repeated string completedNodeIds = 13; + * + * @return A list containing the completedNodeIds. + */ + public com.google.protobuf.ProtocolStringList getCompletedNodeIdsList() { + return completedNodeIds_.getUnmodifiableView(); + } + + /** + * repeated string completedNodeIds = 13; + * + * @return The count of completedNodeIds. + */ + public int getCompletedNodeIdsCount() { + return completedNodeIds_.size(); + } + + /** + * repeated string completedNodeIds = 13; + * + * @param index The index of the element to return. + * @return The completedNodeIds at the given index. + */ + public java.lang.String getCompletedNodeIds(int index) { + return completedNodeIds_.get(index); + } + + /** + * repeated string completedNodeIds = 13; + * + * @param index The index of the value to return. + * @return The bytes of the completedNodeIds at the given index. + */ + public com.google.protobuf.ByteString getCompletedNodeIdsBytes(int index) { + return completedNodeIds_.getByteString(index); + } + + /** + * repeated string completedNodeIds = 13; + * + * @param index The index to set the value at. + * @param value The completedNodeIds to set. + * @return This builder for chaining. + */ + public Builder setCompletedNodeIds( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompletedNodeIdsIsMutable(); + completedNodeIds_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string completedNodeIds = 13; + * + * @param value The completedNodeIds to add. + * @return This builder for chaining. + */ + public Builder addCompletedNodeIds( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompletedNodeIdsIsMutable(); + completedNodeIds_.add(value); + onChanged(); + return this; + } + + /** + * repeated string completedNodeIds = 13; + * + * @param values The completedNodeIds to add. + * @return This builder for chaining. + */ + public Builder addAllCompletedNodeIds( + java.lang.Iterable values) { + ensureCompletedNodeIdsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, completedNodeIds_); + onChanged(); + return this; + } + + /** + * repeated string completedNodeIds = 13; + * + * @return This builder for chaining. + */ + public Builder clearCompletedNodeIds() { + completedNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x04000000); + onChanged(); + return this; + } + + /** + * repeated string completedNodeIds = 13; + * + * @param value The bytes of the completedNodeIds to add. + * @return This builder for chaining. + */ + public Builder addCompletedNodeIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompletedNodeIdsIsMutable(); + completedNodeIds_.add(value); + onChanged(); + return this; + } + + private java.util.List iterationLevels_ = java.util.Collections + .emptyList(); + + private void ensureIterationLevelsIsMutable() { + if (!((bitField0_ & 0x08000000) != 0)) { + iterationLevels_ = new java.util.ArrayList( + iterationLevels_); + bitField0_ |= 0x08000000; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 iterationLevelsBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public java.util.List getIterationLevelsList() { + if (iterationLevelsBuilder_ == null) { + return java.util.Collections.unmodifiableList(iterationLevels_); + } else { + return iterationLevelsBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public int getIterationLevelsCount() { + if (iterationLevelsBuilder_ == null) { + return iterationLevels_.size(); + } else { + return iterationLevelsBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels( + int index) { + if (iterationLevelsBuilder_ == null) { + return iterationLevels_.get(index); + } else { + return iterationLevelsBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public Builder setIterationLevels( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { + if (iterationLevelsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIterationLevelsIsMutable(); + iterationLevels_.set(index, value); + onChanged(); + } else { + iterationLevelsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public Builder setIterationLevels( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + iterationLevels_.set(index, builderForValue.build()); + onChanged(); + } else { + iterationLevelsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public Builder addIterationLevels( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { + if (iterationLevelsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIterationLevelsIsMutable(); + iterationLevels_.add(value); + onChanged(); + } else { + iterationLevelsBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public Builder addIterationLevels( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { + if (iterationLevelsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIterationLevelsIsMutable(); + iterationLevels_.add(index, value); + onChanged(); + } else { + iterationLevelsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public Builder addIterationLevels( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + iterationLevels_.add(builderForValue.build()); + onChanged(); + } else { + iterationLevelsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public Builder addIterationLevels( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + iterationLevels_.add(index, builderForValue.build()); + onChanged(); + } else { + iterationLevelsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public Builder addAllIterationLevels( + java.lang.Iterable values) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, iterationLevels_); + onChanged(); + } else { + iterationLevelsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public Builder clearIterationLevels() { + if (iterationLevelsBuilder_ == null) { + iterationLevels_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x08000000); + onChanged(); + } else { + iterationLevelsBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public Builder removeIterationLevels(int index) { + if (iterationLevelsBuilder_ == null) { + ensureIterationLevelsIsMutable(); + iterationLevels_.remove(index); + onChanged(); + } else { + iterationLevelsBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder getIterationLevelsBuilder( + int index) { + return getIterationLevelsFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( + int index) { + if (iterationLevelsBuilder_ == null) { + return iterationLevels_.get(index); + } else { + return iterationLevelsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public java.util.List getIterationLevelsOrBuilderList() { + if (iterationLevelsBuilder_ != null) { + return iterationLevelsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(iterationLevels_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder addIterationLevelsBuilder() { + return getIterationLevelsFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder addIterationLevelsBuilder( + int index) { + return getIterationLevelsFieldBuilder().addBuilder( + index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; + */ + public java.util.List getIterationLevelsBuilderList() { + return getIterationLevelsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getIterationLevelsFieldBuilder() { + if (iterationLevelsBuilder_ == null) { + iterationLevelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + iterationLevels_, + ((bitField0_ & 0x08000000) != 0), + getParentForChildren(), + isClean()); + iterationLevels_ = null; + } + return iterationLevelsBuilder_; + } + + private java.util.List children_ = java.util.Collections + .emptyList(); + + private void ensureChildrenIsMutable() { + if (!((bitField0_ & 0x10000000) != 0)) { + children_ = new java.util.ArrayList( + children_); + bitField0_ |= 0x10000000; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 childrenBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public java.util.List getChildrenList() { + if (childrenBuilder_ == null) { + return java.util.Collections.unmodifiableList(children_); + } else { + return childrenBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public int getChildrenCount() { + if (childrenBuilder_ == null) { + return children_.size(); + } else { + return childrenBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren getChildren( + int index) { + if (childrenBuilder_ == null) { + return children_.get(index); + } else { + return childrenBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public Builder setChildren( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.set(index, value); + onChanged(); + } else { + childrenBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public Builder setChildren( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.set(index, builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public Builder addChildren( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.add(value); + onChanged(); + } else { + childrenBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public Builder addChildren( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren value) { + if (childrenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureChildrenIsMutable(); + children_.add(index, value); + onChanged(); + } else { + childrenBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public Builder addChildren( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public Builder addChildren( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder builderForValue) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.add(index, builderForValue.build()); + onChanged(); + } else { + childrenBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public Builder addAllChildren( + java.lang.Iterable values) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, children_); + onChanged(); + } else { + childrenBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public Builder clearChildren() { + if (childrenBuilder_ == null) { + children_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x10000000); + onChanged(); + } else { + childrenBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public Builder removeChildren(int index) { + if (childrenBuilder_ == null) { + ensureChildrenIsMutable(); + children_.remove(index); + onChanged(); + } else { + childrenBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder getChildrenBuilder( + int index) { + return getChildrenFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildrenOrBuilder getChildrenOrBuilder( + int index) { + if (childrenBuilder_ == null) { + return children_.get(index); + } else { + return childrenBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public java.util.List getChildrenOrBuilderList() { + if (childrenBuilder_ != null) { + return childrenBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(children_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder addChildrenBuilder() { + return getChildrenFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder addChildrenBuilder( + int index) { + return getChildrenFieldBuilder().addBuilder( + index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; + */ + public java.util.List getChildrenBuilderList() { + return getChildrenFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getChildrenFieldBuilder() { + if (childrenBuilder_ == null) { + childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + children_, + ((bitField0_ & 0x10000000) != 0), + getParentForChildren(), + isClean()); + children_ = null; + } + return childrenBuilder_; + } + + private java.util.List tags_ = java.util.Collections + .emptyList(); + + private void ensureTagsIsMutable() { + if (!((bitField0_ & 0x20000000) != 0)) { + tags_ = new java.util.ArrayList( + tags_); + bitField0_ |= 0x20000000; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 tagsBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public java.util.List getTagsList() { + if (tagsBuilder_ == null) { + return java.util.Collections.unmodifiableList(tags_); + } else { + return tagsBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public int getTagsCount() { + if (tagsBuilder_ == null) { + return tags_.size(); + } else { + return tagsBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag getTags(int index) { + if (tagsBuilder_ == null) { + return tags_.get(index); + } else { + return tagsBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public Builder setTags( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag value) { + if (tagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.set(index, value); + onChanged(); + } else { + tagsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public Builder setTags( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder builderForValue) { + if (tagsBuilder_ == null) { + ensureTagsIsMutable(); + tags_.set(index, builderForValue.build()); + onChanged(); + } else { + tagsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public Builder addTags( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag value) { + if (tagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.add(value); + onChanged(); + } else { + tagsBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public Builder addTags( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag value) { + if (tagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.add(index, value); + onChanged(); + } else { + tagsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public Builder addTags( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder builderForValue) { + if (tagsBuilder_ == null) { + ensureTagsIsMutable(); + tags_.add(builderForValue.build()); + onChanged(); + } else { + tagsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public Builder addTags( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder builderForValue) { + if (tagsBuilder_ == null) { + ensureTagsIsMutable(); + tags_.add(index, builderForValue.build()); + onChanged(); + } else { + tagsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public Builder addAllTags( + java.lang.Iterable values) { + if (tagsBuilder_ == null) { + ensureTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); + onChanged(); + } else { + tagsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public Builder clearTags() { + if (tagsBuilder_ == null) { + tags_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x20000000); + onChanged(); + } else { + tagsBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public Builder removeTags(int index) { + if (tagsBuilder_ == null) { + ensureTagsIsMutable(); + tags_.remove(index); + onChanged(); + } else { + tagsBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder getTagsBuilder( + int index) { + return getTagsFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.TagOrBuilder getTagsOrBuilder( + int index) { + if (tagsBuilder_ == null) { + return tags_.get(index); + } else { + return tagsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public java.util.List getTagsOrBuilderList() { + if (tagsBuilder_ != null) { + return tagsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(tags_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder addTagsBuilder() { + return getTagsFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder addTagsBuilder( + int index) { + return getTagsFieldBuilder().addBuilder( + index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; + */ + public java.util.List getTagsBuilderList() { + return getTagsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getTagsFieldBuilder() { + if (tagsBuilder_ == null) { + tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + tags_, + ((bitField0_ & 0x20000000) != 0), + getParentForChildren(), + isClean()); + tags_ = null; + } + return tagsBuilder_; + } + + private java.util.List errors_ = java.util.Collections + .emptyList(); + + private void ensureErrorsIsMutable() { + if (!((bitField0_ & 0x40000000) != 0)) { + errors_ = new java.util.ArrayList( + errors_); + bitField0_ |= 0x40000000; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 errorsBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public java.util.List getErrorsList() { + if (errorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(errors_); + } else { + return errorsBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public int getErrorsCount() { + if (errorsBuilder_ == null) { + return errors_.size(); + } else { + return errorsBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error getErrors( + int index) { + if (errorsBuilder_ == null) { + return errors_.get(index); + } else { + return errorsBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public Builder setErrors( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.set(index, value); + onChanged(); + } else { + errorsBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public Builder setErrors( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.set(index, builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public Builder addErrors( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.add(value); + onChanged(); + } else { + errorsBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public Builder addErrors( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error value) { + if (errorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureErrorsIsMutable(); + errors_.add(index, value); + onChanged(); + } else { + errorsBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public Builder addErrors( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public Builder addErrors( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder builderForValue) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.add(index, builderForValue.build()); + onChanged(); + } else { + errorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public Builder addAllErrors( + java.lang.Iterable values) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); + onChanged(); + } else { + errorsBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public Builder clearErrors() { + if (errorsBuilder_ == null) { + errors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x40000000); + onChanged(); + } else { + errorsBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public Builder removeErrors(int index) { + if (errorsBuilder_ == null) { + ensureErrorsIsMutable(); + errors_.remove(index); + onChanged(); + } else { + errorsBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder getErrorsBuilder( + int index) { + return getErrorsFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ErrorOrBuilder getErrorsOrBuilder( + int index) { + if (errorsBuilder_ == null) { + return errors_.get(index); + } else { + return errorsBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public java.util.List getErrorsOrBuilderList() { + if (errorsBuilder_ != null) { + return errorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(errors_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; + */ + public java.util.List getErrorsBuilderList() { + return getErrorsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getErrorsFieldBuilder() { + if (errorsBuilder_ == null) { + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + errors_, + ((bitField0_ & 0x40000000) != 0), + getParentForChildren(), + isClean()); + errors_ = null; + } + return errorsBuilder_; + } + + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem recoveryItem_; + private com.google.protobuf.SingleFieldBuilderV3 recoveryItemBuilder_; + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + * + * @return Whether the recoveryItem field is set. + */ + public boolean hasRecoveryItem() { + return ((bitField0_ & 0x80000000) != 0); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + * + * @return The recoveryItem. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem getRecoveryItem() { + if (recoveryItemBuilder_ == null) { + return recoveryItem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem + .getDefaultInstance() + : recoveryItem_; + } else { + return recoveryItemBuilder_.getMessage(); + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + */ + public Builder setRecoveryItem( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem value) { + if (recoveryItemBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + recoveryItem_ = value; + onChanged(); + } else { + recoveryItemBuilder_.setMessage(value); + } + bitField0_ |= 0x80000000; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + */ + public Builder setRecoveryItem( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.Builder builderForValue) { + if (recoveryItemBuilder_ == null) { + recoveryItem_ = builderForValue.build(); + onChanged(); + } else { + recoveryItemBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x80000000; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + */ + public Builder mergeRecoveryItem( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem value) { + if (recoveryItemBuilder_ == null) { + if (((bitField0_ & 0x80000000) != 0) && + recoveryItem_ != null && + recoveryItem_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem + .getDefaultInstance()) { + recoveryItem_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem + .newBuilder(recoveryItem_).mergeFrom(value).buildPartial(); + } else { + recoveryItem_ = value; + } + onChanged(); + } else { + recoveryItemBuilder_.mergeFrom(value); + } + bitField0_ |= 0x80000000; + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + */ + public Builder clearRecoveryItem() { + if (recoveryItemBuilder_ == null) { + recoveryItem_ = null; + onChanged(); + } else { + recoveryItemBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x80000000); + return this; + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.Builder getRecoveryItemBuilder() { + bitField0_ |= 0x80000000; + onChanged(); + return getRecoveryItemFieldBuilder().getBuilder(); + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItemOrBuilder getRecoveryItemOrBuilder() { + if (recoveryItemBuilder_ != null) { + return recoveryItemBuilder_.getMessageOrBuilder(); + } else { + return recoveryItem_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem + .getDefaultInstance() + : recoveryItem_; + } + } + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; + */ + private com.google.protobuf.SingleFieldBuilderV3 getRecoveryItemFieldBuilder() { + if (recoveryItemBuilder_ == null) { + recoveryItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getRecoveryItem(), + getParentForChildren(), + isClean()); + recoveryItem_ = null; + } + return recoveryItemBuilder_; + } + + private java.util.List finishedSubprocesses_ = java.util.Collections + .emptyList(); + + private void ensureFinishedSubprocessesIsMutable() { + if (!((bitField1_ & 0x00000001) != 0)) { + finishedSubprocesses_ = new java.util.ArrayList( + finishedSubprocesses_); + bitField1_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 finishedSubprocessesBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public java.util.List getFinishedSubprocessesList() { + if (finishedSubprocessesBuilder_ == null) { + return java.util.Collections.unmodifiableList(finishedSubprocesses_); + } else { + return finishedSubprocessesBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public int getFinishedSubprocessesCount() { + if (finishedSubprocessesBuilder_ == null) { + return finishedSubprocesses_.size(); + } else { + return finishedSubprocessesBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses getFinishedSubprocesses( + int index) { + if (finishedSubprocessesBuilder_ == null) { + return finishedSubprocesses_.get(index); + } else { + return finishedSubprocessesBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public Builder setFinishedSubprocesses( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses value) { + if (finishedSubprocessesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFinishedSubprocessesIsMutable(); + finishedSubprocesses_.set(index, value); + onChanged(); + } else { + finishedSubprocessesBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public Builder setFinishedSubprocesses( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder builderForValue) { + if (finishedSubprocessesBuilder_ == null) { + ensureFinishedSubprocessesIsMutable(); + finishedSubprocesses_.set(index, builderForValue.build()); + onChanged(); + } else { + finishedSubprocessesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public Builder addFinishedSubprocesses( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses value) { + if (finishedSubprocessesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFinishedSubprocessesIsMutable(); + finishedSubprocesses_.add(value); + onChanged(); + } else { + finishedSubprocessesBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public Builder addFinishedSubprocesses( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses value) { + if (finishedSubprocessesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFinishedSubprocessesIsMutable(); + finishedSubprocesses_.add(index, value); + onChanged(); + } else { + finishedSubprocessesBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public Builder addFinishedSubprocesses( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder builderForValue) { + if (finishedSubprocessesBuilder_ == null) { + ensureFinishedSubprocessesIsMutable(); + finishedSubprocesses_.add(builderForValue.build()); + onChanged(); + } else { + finishedSubprocessesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public Builder addFinishedSubprocesses( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder builderForValue) { + if (finishedSubprocessesBuilder_ == null) { + ensureFinishedSubprocessesIsMutable(); + finishedSubprocesses_.add(index, builderForValue.build()); + onChanged(); + } else { + finishedSubprocessesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public Builder addAllFinishedSubprocesses( + java.lang.Iterable values) { + if (finishedSubprocessesBuilder_ == null) { + ensureFinishedSubprocessesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, finishedSubprocesses_); + onChanged(); + } else { + finishedSubprocessesBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public Builder clearFinishedSubprocesses() { + if (finishedSubprocessesBuilder_ == null) { + finishedSubprocesses_ = java.util.Collections.emptyList(); + bitField1_ = (bitField1_ & ~0x00000001); + onChanged(); + } else { + finishedSubprocessesBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public Builder removeFinishedSubprocesses(int index) { + if (finishedSubprocessesBuilder_ == null) { + ensureFinishedSubprocessesIsMutable(); + finishedSubprocesses_.remove(index); + onChanged(); + } else { + finishedSubprocessesBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder getFinishedSubprocessesBuilder( + int index) { + return getFinishedSubprocessesFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcessesOrBuilder getFinishedSubprocessesOrBuilder( + int index) { + if (finishedSubprocessesBuilder_ == null) { + return finishedSubprocesses_.get(index); + } else { + return finishedSubprocessesBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public java.util.List getFinishedSubprocessesOrBuilderList() { + if (finishedSubprocessesBuilder_ != null) { + return finishedSubprocessesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(finishedSubprocesses_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder addFinishedSubprocessesBuilder() { + return getFinishedSubprocessesFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder addFinishedSubprocessesBuilder( + int index) { + return getFinishedSubprocessesFieldBuilder().addBuilder( + index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses + .getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; + */ + public java.util.List getFinishedSubprocessesBuilderList() { + return getFinishedSubprocessesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getFinishedSubprocessesFieldBuilder() { + if (finishedSubprocessesBuilder_ == null) { + finishedSubprocessesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + finishedSubprocesses_, + ((bitField1_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + finishedSubprocesses_ = null; + } + return finishedSubprocessesBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessInstance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProcessInstance(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface VariableOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Variable) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string name = 1; + * + * @return Whether the name field is set. + */ + boolean hasName(); + + /** + * optional string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * optional string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + *
+         * the actual object reference
+         * 
+ * + * optional int32 strategy_index = 2; + * + * @return Whether the strategyIndex field is set. + */ + boolean hasStrategyIndex(); + + /** + *
+         * the actual object reference
+         * 
+ * + * optional int32 strategy_index = 2; + * + * @return The strategyIndex. + */ + int getStrategyIndex(); + + /** + * optional bytes value = 3; + * + * @return Whether the value field is set. + */ + boolean hasValue(); + + /** + * optional bytes value = 3; + * + * @return The value. + */ + com.google.protobuf.ByteString getValue(); + + /** + * optional string data_type = 4; + * + * @return Whether the dataType field is set. + */ + boolean hasDataType(); + + /** + * optional string data_type = 4; + * + * @return The dataType. + */ + java.lang.String getDataType(); + + /** + * optional string data_type = 4; + * + * @return The bytes for dataType. + */ + com.google.protobuf.ByteString getDataTypeBytes(); + + /** + * optional string data_types = 5; + * + * @return Whether the dataTypes field is set. + */ + boolean hasDataTypes(); + + /** + * optional string data_types = 5; + * + * @return The dataTypes. + */ + java.lang.String getDataTypes(); + + /** + * optional string data_types = 5; + * + * @return The bytes for dataTypes. + */ + com.google.protobuf.ByteString getDataTypesBytes(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Variable} + */ + public static final class Variable extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Variable) + VariableOrBuilder { + private static final long serialVersionUID = 0L; + + // Use Variable.newBuilder() to construct. + private Variable(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private Variable() { + name_ = ""; + value_ = com.google.protobuf.ByteString.EMPTY; + dataType_ = ""; + dataTypes_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Variable(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private Variable( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + name_ = bs; + break; + } + case 16: { + bitField0_ |= 0x00000002; + strategyIndex_ = input.readInt32(); + break; + } + case 26: { + bitField0_ |= 0x00000004; + value_ = input.readBytes(); + break; + } + case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000008; + dataType_ = bs; + break; + } + case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000010; + dataTypes_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Variable_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Variable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder.class); + } + + private int bitField0_; + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + + /** + * optional string name = 1; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string name = 1; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } + return s; + } + } + + /** + * optional string name = 1; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STRATEGY_INDEX_FIELD_NUMBER = 2; + private int strategyIndex_; + + /** + *
+         * the actual object reference
+         * 
+ * + * optional int32 strategy_index = 2; + * + * @return Whether the strategyIndex field is set. + */ + @java.lang.Override + public boolean hasStrategyIndex() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + *
+         * the actual object reference
+         * 
+ * + * optional int32 strategy_index = 2; + * + * @return The strategyIndex. + */ + @java.lang.Override + public int getStrategyIndex() { + return strategyIndex_; + } + + public static final int VALUE_FIELD_NUMBER = 3; + private com.google.protobuf.ByteString value_; + + /** + * optional bytes value = 3; + * + * @return Whether the value field is set. + */ + @java.lang.Override + public boolean hasValue() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional bytes value = 3; + * + * @return The value. + */ + @java.lang.Override + public com.google.protobuf.ByteString getValue() { + return value_; + } + + public static final int DATA_TYPE_FIELD_NUMBER = 4; + private volatile java.lang.Object dataType_; + + /** + * optional string data_type = 4; + * + * @return Whether the dataType field is set. + */ + @java.lang.Override + public boolean hasDataType() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional string data_type = 4; + * + * @return The dataType. + */ + @java.lang.Override + public java.lang.String getDataType() { + java.lang.Object ref = dataType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + dataType_ = s; + } + return s; + } + } + + /** + * optional string data_type = 4; + * + * @return The bytes for dataType. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDataTypeBytes() { + java.lang.Object ref = dataType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dataType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DATA_TYPES_FIELD_NUMBER = 5; + private volatile java.lang.Object dataTypes_; + + /** + * optional string data_types = 5; + * + * @return Whether the dataTypes field is set. + */ + @java.lang.Override + public boolean hasDataTypes() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * optional string data_types = 5; + * + * @return The dataTypes. + */ + @java.lang.Override + public java.lang.String getDataTypes() { + java.lang.Object ref = dataTypes_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + dataTypes_ = s; + } + return s; + } + } + + /** + * optional string data_types = 5; + * + * @return The bytes for dataTypes. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDataTypesBytes() { + java.lang.Object ref = dataTypes_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dataTypes_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt32(2, strategyIndex_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeBytes(3, value_); + } + if (((bitField0_ & 0x00000008) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dataType_); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dataTypes_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, strategyIndex_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, value_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, dataType_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataTypes_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable) obj; + + if (hasName() != other.hasName()) + return false; + if (hasName()) { + if (!getName() + .equals(other.getName())) + return false; + } + if (hasStrategyIndex() != other.hasStrategyIndex()) + return false; + if (hasStrategyIndex()) { + if (getStrategyIndex() != other.getStrategyIndex()) + return false; + } + if (hasValue() != other.hasValue()) + return false; + if (hasValue()) { + if (!getValue() + .equals(other.getValue())) + return false; + } + if (hasDataType() != other.hasDataType()) + return false; + if (hasDataType()) { + if (!getDataType() + .equals(other.getDataType())) + return false; + } + if (hasDataTypes() != other.hasDataTypes()) + return false; + if (hasDataTypes()) { + if (!getDataTypes() + .equals(other.getDataTypes())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (hasStrategyIndex()) { + hash = (37 * hash) + STRATEGY_INDEX_FIELD_NUMBER; + hash = (53 * hash) + getStrategyIndex(); + } + if (hasValue()) { + hash = (37 * hash) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + getValue().hashCode(); + } + if (hasDataType()) { + hash = (37 * hash) + DATA_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getDataType().hashCode(); + } + if (hasDataTypes()) { + hash = (37 * hash) + DATA_TYPES_FIELD_NUMBER; + hash = (53 * hash) + getDataTypes().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Variable} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Variable) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Variable_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Variable_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + strategyIndex_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + value_ = com.google.protobuf.ByteString.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + dataType_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + dataTypes_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Variable_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.name_ = name_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.strategyIndex_ = strategyIndex_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.value_ = value_; + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.dataType_ = dataType_; + if (((from_bitField0_ & 0x00000010) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.dataTypes_ = dataTypes_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable) { + return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()) + return this; + if (other.hasName()) { + bitField0_ |= 0x00000001; + name_ = other.name_; + onChanged(); + } + if (other.hasStrategyIndex()) { + setStrategyIndex(other.getStrategyIndex()); + } + if (other.hasValue()) { + setValue(other.getValue()); + } + if (other.hasDataType()) { + bitField0_ |= 0x00000008; + dataType_ = other.dataType_; + onChanged(); + } + if (other.hasDataTypes()) { + bitField0_ |= 0x00000010; + dataTypes_ = other.dataTypes_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + + /** + * optional string name = 1; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string name = 1; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string name = 1; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + name_ = value; + onChanged(); + return this; + } + + /** + * optional string name = 1; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000001); + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + + /** + * optional string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + name_ = value; + onChanged(); + return this; + } + + private int strategyIndex_; + + /** + *
+             * the actual object reference
+             * 
+ * + * optional int32 strategy_index = 2; + * + * @return Whether the strategyIndex field is set. + */ + @java.lang.Override + public boolean hasStrategyIndex() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + *
+             * the actual object reference
+             * 
+ * + * optional int32 strategy_index = 2; + * + * @return The strategyIndex. + */ + @java.lang.Override + public int getStrategyIndex() { + return strategyIndex_; + } + + /** + *
+             * the actual object reference
+             * 
+ * + * optional int32 strategy_index = 2; + * + * @param value The strategyIndex to set. + * @return This builder for chaining. + */ + public Builder setStrategyIndex(int value) { + bitField0_ |= 0x00000002; + strategyIndex_ = value; + onChanged(); + return this; + } + + /** + *
+             * the actual object reference
+             * 
+ * + * optional int32 strategy_index = 2; + * + * @return This builder for chaining. + */ + public Builder clearStrategyIndex() { + bitField0_ = (bitField0_ & ~0x00000002); + strategyIndex_ = 0; + onChanged(); + return this; + } + + private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; + + /** + * optional bytes value = 3; + * + * @return Whether the value field is set. + */ + @java.lang.Override + public boolean hasValue() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional bytes value = 3; + * + * @return The value. + */ + @java.lang.Override + public com.google.protobuf.ByteString getValue() { + return value_; + } + + /** + * optional bytes value = 3; + * + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + value_ = value; + onChanged(); + return this; + } + + /** + * optional bytes value = 3; + * + * @return This builder for chaining. + */ + public Builder clearValue() { + bitField0_ = (bitField0_ & ~0x00000004); + value_ = getDefaultInstance().getValue(); + onChanged(); + return this; + } + + private java.lang.Object dataType_ = ""; + + /** + * optional string data_type = 4; + * + * @return Whether the dataType field is set. + */ + public boolean hasDataType() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional string data_type = 4; + * + * @return The dataType. + */ + public java.lang.String getDataType() { + java.lang.Object ref = dataType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + dataType_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string data_type = 4; + * + * @return The bytes for dataType. + */ + public com.google.protobuf.ByteString getDataTypeBytes() { + java.lang.Object ref = dataType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dataType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string data_type = 4; + * + * @param value The dataType to set. + * @return This builder for chaining. + */ + public Builder setDataType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + dataType_ = value; + onChanged(); + return this; + } + + /** + * optional string data_type = 4; + * + * @return This builder for chaining. + */ + public Builder clearDataType() { + bitField0_ = (bitField0_ & ~0x00000008); + dataType_ = getDefaultInstance().getDataType(); + onChanged(); + return this; + } + + /** + * optional string data_type = 4; + * + * @param value The bytes for dataType to set. + * @return This builder for chaining. + */ + public Builder setDataTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + dataType_ = value; + onChanged(); + return this; + } + + private java.lang.Object dataTypes_ = ""; + + /** + * optional string data_types = 5; + * + * @return Whether the dataTypes field is set. + */ + public boolean hasDataTypes() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * optional string data_types = 5; + * + * @return The dataTypes. + */ + public java.lang.String getDataTypes() { + java.lang.Object ref = dataTypes_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + dataTypes_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string data_types = 5; + * + * @return The bytes for dataTypes. + */ + public com.google.protobuf.ByteString getDataTypesBytes() { + java.lang.Object ref = dataTypes_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dataTypes_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string data_types = 5; + * + * @param value The dataTypes to set. + * @return This builder for chaining. + */ + public Builder setDataTypes( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + dataTypes_ = value; + onChanged(); + return this; + } + + /** + * optional string data_types = 5; + * + * @return This builder for chaining. + */ + public Builder clearDataTypes() { + bitField0_ = (bitField0_ & ~0x00000010); + dataTypes_ = getDefaultInstance().getDataTypes(); + onChanged(); + return this; + } + + /** + * optional string data_types = 5; + * + * @param value The bytes for dataTypes to set. + * @return This builder for chaining. + */ + public Builder setDataTypesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + dataTypes_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Variable) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Variable) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Variable parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Variable(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface WorkItemOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.WorkItem) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + boolean hasId(); + + /** + * optional string id = 1; + * + * @return The id. + */ + java.lang.String getId(); + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * optional string process_instances_id = 2; + * + * @return Whether the processInstancesId field is set. + */ + boolean hasProcessInstancesId(); + + /** + * optional string process_instances_id = 2; + * + * @return The processInstancesId. + */ + java.lang.String getProcessInstancesId(); + + /** + * optional string process_instances_id = 2; + * + * @return The bytes for processInstancesId. + */ + com.google.protobuf.ByteString getProcessInstancesIdBytes(); + + /** + * optional string name = 3; + * + * @return Whether the name field is set. + */ + boolean hasName(); + + /** + * optional string name = 3; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * optional string name = 3; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * optional int32 state = 4; + * + * @return Whether the state field is set. + */ + boolean hasState(); + + /** + * optional int32 state = 4; + * + * @return The state. + */ + int getState(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + java.util.List getVariableList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + int getVariableCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + java.util.List getVariableOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index); + + /** + * optional string deployment_id = 6; + * + * @return Whether the deploymentId field is set. + */ + boolean hasDeploymentId(); + + /** + * optional string deployment_id = 6; + * + * @return The deploymentId. + */ + java.lang.String getDeploymentId(); + + /** + * optional string deployment_id = 6; + * + * @return The bytes for deploymentId. + */ + com.google.protobuf.ByteString getDeploymentIdBytes(); + + /** + * optional string node_instance_id = 7; + * + * @return Whether the nodeInstanceId field is set. + */ + boolean hasNodeInstanceId(); + + /** + * optional string node_instance_id = 7; + * + * @return The nodeInstanceId. + */ + java.lang.String getNodeInstanceId(); + + /** + * optional string node_instance_id = 7; + * + * @return The bytes for nodeInstanceId. + */ + com.google.protobuf.ByteString getNodeInstanceIdBytes(); + + /** + * optional int64 node_id = 8; + * + * @return Whether the nodeId field is set. + */ + boolean hasNodeId(); + + /** + * optional int64 node_id = 8; + * + * @return The nodeId. + */ + long getNodeId(); + + /** + * optional string phase_id = 9; + * + * @return Whether the phaseId field is set. + */ + boolean hasPhaseId(); + + /** + * optional string phase_id = 9; + * + * @return The phaseId. + */ + java.lang.String getPhaseId(); + + /** + * optional string phase_id = 9; + * + * @return The bytes for phaseId. + */ + com.google.protobuf.ByteString getPhaseIdBytes(); + + /** + * optional string phase_status = 10; + * + * @return Whether the phaseStatus field is set. + */ + boolean hasPhaseStatus(); + + /** + * optional string phase_status = 10; + * + * @return The phaseStatus. + */ + java.lang.String getPhaseStatus(); + + /** + * optional string phase_status = 10; + * + * @return The bytes for phaseStatus. + */ + com.google.protobuf.ByteString getPhaseStatusBytes(); + + /** + * optional int64 start_date = 11; + * + * @return Whether the startDate field is set. + */ + boolean hasStartDate(); + + /** + * optional int64 start_date = 11; + * + * @return The startDate. + */ + long getStartDate(); + + /** + * optional int64 complete_date = 12; + * + * @return Whether the completeDate field is set. + */ + boolean hasCompleteDate(); + + /** + * optional int64 complete_date = 12; + * + * @return The completeDate. + */ + long getCompleteDate(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.WorkItem} + */ + public static final class WorkItem extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.WorkItem) + WorkItemOrBuilder { + private static final long serialVersionUID = 0L; + + // Use WorkItem.newBuilder() to construct. + private WorkItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private WorkItem() { + id_ = ""; + processInstancesId_ = ""; + name_ = ""; + variable_ = java.util.Collections.emptyList(); + deploymentId_ = ""; + nodeInstanceId_ = ""; + phaseId_ = ""; + phaseStatus_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new WorkItem(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private WorkItem( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + id_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + processInstancesId_ = bs; + break; + } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000004; + name_ = bs; + break; + } + case 32: { + bitField0_ |= 0x00000008; + state_ = input.readInt32(); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + variable_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + variable_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.PARSER, + extensionRegistry)); + break; + } + case 50: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000010; + deploymentId_ = bs; + break; + } + case 58: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000020; + nodeInstanceId_ = bs; + break; + } + case 64: { + bitField0_ |= 0x00000040; + nodeId_ = input.readInt64(); + break; + } + case 74: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000080; + phaseId_ = bs; + break; + } + case 82: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000100; + phaseStatus_ = bs; + break; + } + case 88: { + bitField0_ |= 0x00000200; + startDate_ = input.readInt64(); + break; + } + case 96: { + bitField0_ |= 0x00000400; + completeDate_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000010) != 0)) { + variable_ = java.util.Collections.unmodifiableList(variable_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.Builder.class); + } + + private int bitField0_; + public static final int ID_FIELD_NUMBER = 1; + private volatile java.lang.Object id_; + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string id = 1; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } + } + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROCESS_INSTANCES_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object processInstancesId_; + + /** + * optional string process_instances_id = 2; + * + * @return Whether the processInstancesId field is set. + */ + @java.lang.Override + public boolean hasProcessInstancesId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string process_instances_id = 2; + * + * @return The processInstancesId. + */ + @java.lang.Override + public java.lang.String getProcessInstancesId() { + java.lang.Object ref = processInstancesId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processInstancesId_ = s; + } + return s; + } + } + + /** + * optional string process_instances_id = 2; + * + * @return The bytes for processInstancesId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProcessInstancesIdBytes() { + java.lang.Object ref = processInstancesId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processInstancesId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3; + private volatile java.lang.Object name_; + + /** + * optional string name = 3; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string name = 3; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } + return s; + } + } + + /** + * optional string name = 3; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_FIELD_NUMBER = 4; + private int state_; + + /** + * optional int32 state = 4; + * + * @return Whether the state field is set. + */ + @java.lang.Override + public boolean hasState() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional int32 state = 4; + * + * @return The state. + */ + @java.lang.Override + public int getState() { + return state_; + } + + public static final int VARIABLE_FIELD_NUMBER = 5; + private java.util.List variable_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + @java.lang.Override + public java.util.List getVariableList() { + return variable_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + @java.lang.Override + public java.util.List getVariableOrBuilderList() { + return variable_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + @java.lang.Override + public int getVariableCount() { + return variable_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { + return variable_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index) { + return variable_.get(index); + } + + public static final int DEPLOYMENT_ID_FIELD_NUMBER = 6; + private volatile java.lang.Object deploymentId_; + + /** + * optional string deployment_id = 6; + * + * @return Whether the deploymentId field is set. + */ + @java.lang.Override + public boolean hasDeploymentId() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * optional string deployment_id = 6; + * + * @return The deploymentId. + */ + @java.lang.Override + public java.lang.String getDeploymentId() { + java.lang.Object ref = deploymentId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + deploymentId_ = s; + } + return s; + } + } + + /** + * optional string deployment_id = 6; + * + * @return The bytes for deploymentId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDeploymentIdBytes() { + java.lang.Object ref = deploymentId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + deploymentId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NODE_INSTANCE_ID_FIELD_NUMBER = 7; + private volatile java.lang.Object nodeInstanceId_; + + /** + * optional string node_instance_id = 7; + * + * @return Whether the nodeInstanceId field is set. + */ + @java.lang.Override + public boolean hasNodeInstanceId() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * optional string node_instance_id = 7; + * + * @return The nodeInstanceId. + */ + @java.lang.Override + public java.lang.String getNodeInstanceId() { + java.lang.Object ref = nodeInstanceId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + nodeInstanceId_ = s; + } + return s; + } + } + + /** + * optional string node_instance_id = 7; + * + * @return The bytes for nodeInstanceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNodeInstanceIdBytes() { + java.lang.Object ref = nodeInstanceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nodeInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NODE_ID_FIELD_NUMBER = 8; + private long nodeId_; + + /** + * optional int64 node_id = 8; + * + * @return Whether the nodeId field is set. + */ + @java.lang.Override + public boolean hasNodeId() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * optional int64 node_id = 8; + * + * @return The nodeId. + */ + @java.lang.Override + public long getNodeId() { + return nodeId_; + } + + public static final int PHASE_ID_FIELD_NUMBER = 9; + private volatile java.lang.Object phaseId_; + + /** + * optional string phase_id = 9; + * + * @return Whether the phaseId field is set. + */ + @java.lang.Override + public boolean hasPhaseId() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * optional string phase_id = 9; + * + * @return The phaseId. + */ + @java.lang.Override + public java.lang.String getPhaseId() { + java.lang.Object ref = phaseId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + phaseId_ = s; + } + return s; + } + } + + /** + * optional string phase_id = 9; + * + * @return The bytes for phaseId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPhaseIdBytes() { + java.lang.Object ref = phaseId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + phaseId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PHASE_STATUS_FIELD_NUMBER = 10; + private volatile java.lang.Object phaseStatus_; + + /** + * optional string phase_status = 10; + * + * @return Whether the phaseStatus field is set. + */ + @java.lang.Override + public boolean hasPhaseStatus() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * optional string phase_status = 10; + * + * @return The phaseStatus. + */ + @java.lang.Override + public java.lang.String getPhaseStatus() { + java.lang.Object ref = phaseStatus_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + phaseStatus_ = s; + } + return s; + } + } + + /** + * optional string phase_status = 10; + * + * @return The bytes for phaseStatus. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPhaseStatusBytes() { + java.lang.Object ref = phaseStatus_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + phaseStatus_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int START_DATE_FIELD_NUMBER = 11; + private long startDate_; + + /** + * optional int64 start_date = 11; + * + * @return Whether the startDate field is set. + */ + @java.lang.Override + public boolean hasStartDate() { + return ((bitField0_ & 0x00000200) != 0); + } + + /** + * optional int64 start_date = 11; + * + * @return The startDate. + */ + @java.lang.Override + public long getStartDate() { + return startDate_; + } + + public static final int COMPLETE_DATE_FIELD_NUMBER = 12; + private long completeDate_; + + /** + * optional int64 complete_date = 12; + * + * @return Whether the completeDate field is set. + */ + @java.lang.Override + public boolean hasCompleteDate() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * optional int64 complete_date = 12; + * + * @return The completeDate. + */ + @java.lang.Override + public long getCompleteDate() { + return completeDate_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, processInstancesId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeInt32(4, state_); + } + for (int i = 0; i < variable_.size(); i++) { + output.writeMessage(5, variable_.get(i)); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, deploymentId_); + } + if (((bitField0_ & 0x00000020) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, nodeInstanceId_); + } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeInt64(8, nodeId_); + } + if (((bitField0_ & 0x00000080) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, phaseId_); + } + if (((bitField0_ & 0x00000100) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, phaseStatus_); + } + if (((bitField0_ & 0x00000200) != 0)) { + output.writeInt64(11, startDate_); + } + if (((bitField0_ & 0x00000400) != 0)) { + output.writeInt64(12, completeDate_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, processInstancesId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, state_); + } + for (int i = 0; i < variable_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, variable_.get(i)); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, deploymentId_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, nodeInstanceId_); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(8, nodeId_); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, phaseId_); + } + if (((bitField0_ & 0x00000100) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, phaseStatus_); + } + if (((bitField0_ & 0x00000200) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, startDate_); + } + if (((bitField0_ & 0x00000400) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(12, completeDate_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem) obj; + + if (hasId() != other.hasId()) + return false; + if (hasId()) { + if (!getId() + .equals(other.getId())) + return false; + } + if (hasProcessInstancesId() != other.hasProcessInstancesId()) + return false; + if (hasProcessInstancesId()) { + if (!getProcessInstancesId() + .equals(other.getProcessInstancesId())) + return false; + } + if (hasName() != other.hasName()) + return false; + if (hasName()) { + if (!getName() + .equals(other.getName())) + return false; + } + if (hasState() != other.hasState()) + return false; + if (hasState()) { + if (getState() != other.getState()) + return false; + } + if (!getVariableList() + .equals(other.getVariableList())) + return false; + if (hasDeploymentId() != other.hasDeploymentId()) + return false; + if (hasDeploymentId()) { + if (!getDeploymentId() + .equals(other.getDeploymentId())) + return false; + } + if (hasNodeInstanceId() != other.hasNodeInstanceId()) + return false; + if (hasNodeInstanceId()) { + if (!getNodeInstanceId() + .equals(other.getNodeInstanceId())) + return false; + } + if (hasNodeId() != other.hasNodeId()) + return false; + if (hasNodeId()) { + if (getNodeId() != other.getNodeId()) + return false; + } + if (hasPhaseId() != other.hasPhaseId()) + return false; + if (hasPhaseId()) { + if (!getPhaseId() + .equals(other.getPhaseId())) + return false; + } + if (hasPhaseStatus() != other.hasPhaseStatus()) + return false; + if (hasPhaseStatus()) { + if (!getPhaseStatus() + .equals(other.getPhaseStatus())) + return false; + } + if (hasStartDate() != other.hasStartDate()) + return false; + if (hasStartDate()) { + if (getStartDate() != other.getStartDate()) + return false; + } + if (hasCompleteDate() != other.hasCompleteDate()) + return false; + if (hasCompleteDate()) { + if (getCompleteDate() != other.getCompleteDate()) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + if (hasProcessInstancesId()) { + hash = (37 * hash) + PROCESS_INSTANCES_ID_FIELD_NUMBER; + hash = (53 * hash) + getProcessInstancesId().hashCode(); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (hasState()) { + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + getState(); + } + if (getVariableCount() > 0) { + hash = (37 * hash) + VARIABLE_FIELD_NUMBER; + hash = (53 * hash) + getVariableList().hashCode(); + } + if (hasDeploymentId()) { + hash = (37 * hash) + DEPLOYMENT_ID_FIELD_NUMBER; + hash = (53 * hash) + getDeploymentId().hashCode(); + } + if (hasNodeInstanceId()) { + hash = (37 * hash) + NODE_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getNodeInstanceId().hashCode(); + } + if (hasNodeId()) { + hash = (37 * hash) + NODE_ID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNodeId()); + } + if (hasPhaseId()) { + hash = (37 * hash) + PHASE_ID_FIELD_NUMBER; + hash = (53 * hash) + getPhaseId().hashCode(); + } + if (hasPhaseStatus()) { + hash = (37 * hash) + PHASE_STATUS_FIELD_NUMBER; + hash = (53 * hash) + getPhaseStatus().hashCode(); + } + if (hasStartDate()) { + hash = (37 * hash) + START_DATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartDate()); + } + if (hasCompleteDate()) { + hash = (37 * hash) + COMPLETE_DATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCompleteDate()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.WorkItem} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.WorkItem) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItemOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getVariableFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + id_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + processInstancesId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + state_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); + if (variableBuilder_ == null) { + variable_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + } else { + variableBuilder_.clear(); + } + deploymentId_ = ""; + bitField0_ = (bitField0_ & ~0x00000020); + nodeInstanceId_ = ""; + bitField0_ = (bitField0_ & ~0x00000040); + nodeId_ = 0L; + bitField0_ = (bitField0_ & ~0x00000080); + phaseId_ = ""; + bitField0_ = (bitField0_ & ~0x00000100); + phaseStatus_ = ""; + bitField0_ = (bitField0_ & ~0x00000200); + startDate_ = 0L; + bitField0_ = (bitField0_ & ~0x00000400); + completeDate_ = 0L; + bitField0_ = (bitField0_ & ~0x00000800); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.id_ = id_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.processInstancesId_ = processInstancesId_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.name_ = name_; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.state_ = state_; + to_bitField0_ |= 0x00000008; + } + if (variableBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + variable_ = java.util.Collections.unmodifiableList(variable_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.variable_ = variable_; + } else { + result.variable_ = variableBuilder_.build(); + } + if (((from_bitField0_ & 0x00000020) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.deploymentId_ = deploymentId_; + if (((from_bitField0_ & 0x00000040) != 0)) { + to_bitField0_ |= 0x00000020; + } + result.nodeInstanceId_ = nodeInstanceId_; + if (((from_bitField0_ & 0x00000080) != 0)) { + result.nodeId_ = nodeId_; + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + to_bitField0_ |= 0x00000080; + } + result.phaseId_ = phaseId_; + if (((from_bitField0_ & 0x00000200) != 0)) { + to_bitField0_ |= 0x00000100; + } + result.phaseStatus_ = phaseStatus_; + if (((from_bitField0_ & 0x00000400) != 0)) { + result.startDate_ = startDate_; + to_bitField0_ |= 0x00000200; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.completeDate_ = completeDate_; + to_bitField0_ |= 0x00000400; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem) { + return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.getDefaultInstance()) + return this; + if (other.hasId()) { + bitField0_ |= 0x00000001; + id_ = other.id_; + onChanged(); + } + if (other.hasProcessInstancesId()) { + bitField0_ |= 0x00000002; + processInstancesId_ = other.processInstancesId_; + onChanged(); + } + if (other.hasName()) { + bitField0_ |= 0x00000004; + name_ = other.name_; + onChanged(); + } + if (other.hasState()) { + setState(other.getState()); + } + if (variableBuilder_ == null) { + if (!other.variable_.isEmpty()) { + if (variable_.isEmpty()) { + variable_ = other.variable_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureVariableIsMutable(); + variable_.addAll(other.variable_); + } + onChanged(); + } + } else { + if (!other.variable_.isEmpty()) { + if (variableBuilder_.isEmpty()) { + variableBuilder_.dispose(); + variableBuilder_ = null; + variable_ = other.variable_; + bitField0_ = (bitField0_ & ~0x00000010); + variableBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVariableFieldBuilder() + : null; + } else { + variableBuilder_.addAllMessages(other.variable_); + } + } + } + if (other.hasDeploymentId()) { + bitField0_ |= 0x00000020; + deploymentId_ = other.deploymentId_; + onChanged(); + } + if (other.hasNodeInstanceId()) { + bitField0_ |= 0x00000040; + nodeInstanceId_ = other.nodeInstanceId_; + onChanged(); + } + if (other.hasNodeId()) { + setNodeId(other.getNodeId()); + } + if (other.hasPhaseId()) { + bitField0_ |= 0x00000100; + phaseId_ = other.phaseId_; + onChanged(); + } + if (other.hasPhaseStatus()) { + bitField0_ |= 0x00000200; + phaseStatus_ = other.phaseStatus_; + onChanged(); + } + if (other.hasStartDate()) { + setStartDate(other.getStartDate()); + } + if (other.hasCompleteDate()) { + setCompleteDate(other.getCompleteDate()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object id_ = ""; + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string id = 1; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string id = 1; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } + + /** + * optional string id = 1; + * + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000001); + id_ = getDefaultInstance().getId(); + onChanged(); + return this; + } + + /** + * optional string id = 1; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } + + private java.lang.Object processInstancesId_ = ""; + + /** + * optional string process_instances_id = 2; + * + * @return Whether the processInstancesId field is set. + */ + public boolean hasProcessInstancesId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string process_instances_id = 2; + * + * @return The processInstancesId. + */ + public java.lang.String getProcessInstancesId() { + java.lang.Object ref = processInstancesId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processInstancesId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string process_instances_id = 2; + * + * @return The bytes for processInstancesId. + */ + public com.google.protobuf.ByteString getProcessInstancesIdBytes() { + java.lang.Object ref = processInstancesId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processInstancesId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string process_instances_id = 2; + * + * @param value The processInstancesId to set. + * @return This builder for chaining. + */ + public Builder setProcessInstancesId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + processInstancesId_ = value; + onChanged(); + return this; + } + + /** + * optional string process_instances_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearProcessInstancesId() { + bitField0_ = (bitField0_ & ~0x00000002); + processInstancesId_ = getDefaultInstance().getProcessInstancesId(); + onChanged(); + return this; + } + + /** + * optional string process_instances_id = 2; + * + * @param value The bytes for processInstancesId to set. + * @return This builder for chaining. + */ + public Builder setProcessInstancesIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + processInstancesId_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + + /** + * optional string name = 3; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string name = 3; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string name = 3; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string name = 3; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + name_ = value; + onChanged(); + return this; + } + + /** + * optional string name = 3; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000004); + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + + /** + * optional string name = 3; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + name_ = value; + onChanged(); + return this; + } + + private int state_; + + /** + * optional int32 state = 4; + * + * @return Whether the state field is set. + */ + @java.lang.Override + public boolean hasState() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional int32 state = 4; + * + * @return The state. + */ + @java.lang.Override + public int getState() { + return state_; + } + + /** + * optional int32 state = 4; + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(int value) { + bitField0_ |= 0x00000008; + state_ = value; + onChanged(); + return this; + } + + /** + * optional int32 state = 4; + * + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000008); + state_ = 0; + onChanged(); + return this; + } + + private java.util.List variable_ = java.util.Collections + .emptyList(); + + private void ensureVariableIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + variable_ = new java.util.ArrayList( + variable_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 variableBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public java.util.List getVariableList() { + if (variableBuilder_ == null) { + return java.util.Collections.unmodifiableList(variable_); + } else { + return variableBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public int getVariableCount() { + if (variableBuilder_ == null) { + return variable_.size(); + } else { + return variableBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { + if (variableBuilder_ == null) { + return variable_.get(index); + } else { + return variableBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder setVariable( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.set(index, value); + onChanged(); + } else { + variableBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder setVariable( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.set(index, builderForValue.build()); + onChanged(); + } else { + variableBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.add(value); + onChanged(); + } else { + variableBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder addVariable( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.add(index, value); + onChanged(); + } else { + variableBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder addVariable( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.add(builderForValue.build()); + onChanged(); + } else { + variableBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder addVariable( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.add(index, builderForValue.build()); + onChanged(); + } else { + variableBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder addAllVariable( + java.lang.Iterable values) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, variable_); + onChanged(); + } else { + variableBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder clearVariable() { + if (variableBuilder_ == null) { + variable_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + variableBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder removeVariable(int index) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.remove(index); + onChanged(); + } else { + variableBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder getVariableBuilder( + int index) { + return getVariableFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index) { + if (variableBuilder_ == null) { + return variable_.get(index); + } else { + return variableBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public java.util.List getVariableOrBuilderList() { + if (variableBuilder_ != null) { + return variableBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(variable_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder() { + return getVariableFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder( + int index) { + return getVariableFieldBuilder().addBuilder( + index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public java.util.List getVariableBuilderList() { + return getVariableFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getVariableFieldBuilder() { + if (variableBuilder_ == null) { + variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + variable_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + variable_ = null; + } + return variableBuilder_; + } + + private java.lang.Object deploymentId_ = ""; + + /** + * optional string deployment_id = 6; + * + * @return Whether the deploymentId field is set. + */ + public boolean hasDeploymentId() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * optional string deployment_id = 6; + * + * @return The deploymentId. + */ + public java.lang.String getDeploymentId() { + java.lang.Object ref = deploymentId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + deploymentId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string deployment_id = 6; + * + * @return The bytes for deploymentId. + */ + public com.google.protobuf.ByteString getDeploymentIdBytes() { + java.lang.Object ref = deploymentId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + deploymentId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string deployment_id = 6; + * + * @param value The deploymentId to set. + * @return This builder for chaining. + */ + public Builder setDeploymentId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + deploymentId_ = value; + onChanged(); + return this; + } + + /** + * optional string deployment_id = 6; + * + * @return This builder for chaining. + */ + public Builder clearDeploymentId() { + bitField0_ = (bitField0_ & ~0x00000020); + deploymentId_ = getDefaultInstance().getDeploymentId(); + onChanged(); + return this; + } + + /** + * optional string deployment_id = 6; + * + * @param value The bytes for deploymentId to set. + * @return This builder for chaining. + */ + public Builder setDeploymentIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + deploymentId_ = value; + onChanged(); + return this; + } + + private java.lang.Object nodeInstanceId_ = ""; + + /** + * optional string node_instance_id = 7; + * + * @return Whether the nodeInstanceId field is set. + */ + public boolean hasNodeInstanceId() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * optional string node_instance_id = 7; + * + * @return The nodeInstanceId. + */ + public java.lang.String getNodeInstanceId() { + java.lang.Object ref = nodeInstanceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + nodeInstanceId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string node_instance_id = 7; + * + * @return The bytes for nodeInstanceId. + */ + public com.google.protobuf.ByteString getNodeInstanceIdBytes() { + java.lang.Object ref = nodeInstanceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nodeInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string node_instance_id = 7; + * + * @param value The nodeInstanceId to set. + * @return This builder for chaining. + */ + public Builder setNodeInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + nodeInstanceId_ = value; + onChanged(); + return this; + } + + /** + * optional string node_instance_id = 7; + * + * @return This builder for chaining. + */ + public Builder clearNodeInstanceId() { + bitField0_ = (bitField0_ & ~0x00000040); + nodeInstanceId_ = getDefaultInstance().getNodeInstanceId(); + onChanged(); + return this; + } + + /** + * optional string node_instance_id = 7; + * + * @param value The bytes for nodeInstanceId to set. + * @return This builder for chaining. + */ + public Builder setNodeInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + nodeInstanceId_ = value; + onChanged(); + return this; + } + + private long nodeId_; + + /** + * optional int64 node_id = 8; + * + * @return Whether the nodeId field is set. + */ + @java.lang.Override + public boolean hasNodeId() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * optional int64 node_id = 8; + * + * @return The nodeId. + */ + @java.lang.Override + public long getNodeId() { + return nodeId_; + } + + /** + * optional int64 node_id = 8; + * + * @param value The nodeId to set. + * @return This builder for chaining. + */ + public Builder setNodeId(long value) { + bitField0_ |= 0x00000080; + nodeId_ = value; + onChanged(); + return this; + } + + /** + * optional int64 node_id = 8; + * + * @return This builder for chaining. + */ + public Builder clearNodeId() { + bitField0_ = (bitField0_ & ~0x00000080); + nodeId_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object phaseId_ = ""; + + /** + * optional string phase_id = 9; + * + * @return Whether the phaseId field is set. + */ + public boolean hasPhaseId() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * optional string phase_id = 9; + * + * @return The phaseId. + */ + public java.lang.String getPhaseId() { + java.lang.Object ref = phaseId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + phaseId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string phase_id = 9; + * + * @return The bytes for phaseId. + */ + public com.google.protobuf.ByteString getPhaseIdBytes() { + java.lang.Object ref = phaseId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + phaseId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string phase_id = 9; + * + * @param value The phaseId to set. + * @return This builder for chaining. + */ + public Builder setPhaseId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; + phaseId_ = value; + onChanged(); + return this; + } + + /** + * optional string phase_id = 9; + * + * @return This builder for chaining. + */ + public Builder clearPhaseId() { + bitField0_ = (bitField0_ & ~0x00000100); + phaseId_ = getDefaultInstance().getPhaseId(); + onChanged(); + return this; + } + + /** + * optional string phase_id = 9; + * + * @param value The bytes for phaseId to set. + * @return This builder for chaining. + */ + public Builder setPhaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; + phaseId_ = value; + onChanged(); + return this; + } + + private java.lang.Object phaseStatus_ = ""; + + /** + * optional string phase_status = 10; + * + * @return Whether the phaseStatus field is set. + */ + public boolean hasPhaseStatus() { + return ((bitField0_ & 0x00000200) != 0); + } + + /** + * optional string phase_status = 10; + * + * @return The phaseStatus. + */ + public java.lang.String getPhaseStatus() { + java.lang.Object ref = phaseStatus_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + phaseStatus_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string phase_status = 10; + * + * @return The bytes for phaseStatus. + */ + public com.google.protobuf.ByteString getPhaseStatusBytes() { + java.lang.Object ref = phaseStatus_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + phaseStatus_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string phase_status = 10; + * + * @param value The phaseStatus to set. + * @return This builder for chaining. + */ + public Builder setPhaseStatus( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; + phaseStatus_ = value; + onChanged(); + return this; + } + + /** + * optional string phase_status = 10; + * + * @return This builder for chaining. + */ + public Builder clearPhaseStatus() { + bitField0_ = (bitField0_ & ~0x00000200); + phaseStatus_ = getDefaultInstance().getPhaseStatus(); + onChanged(); + return this; + } + + /** + * optional string phase_status = 10; + * + * @param value The bytes for phaseStatus to set. + * @return This builder for chaining. + */ + public Builder setPhaseStatusBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; + phaseStatus_ = value; + onChanged(); + return this; + } + + private long startDate_; + + /** + * optional int64 start_date = 11; + * + * @return Whether the startDate field is set. + */ + @java.lang.Override + public boolean hasStartDate() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * optional int64 start_date = 11; + * + * @return The startDate. + */ + @java.lang.Override + public long getStartDate() { + return startDate_; + } + + /** + * optional int64 start_date = 11; + * + * @param value The startDate to set. + * @return This builder for chaining. + */ + public Builder setStartDate(long value) { + bitField0_ |= 0x00000400; + startDate_ = value; + onChanged(); + return this; + } + + /** + * optional int64 start_date = 11; + * + * @return This builder for chaining. + */ + public Builder clearStartDate() { + bitField0_ = (bitField0_ & ~0x00000400); + startDate_ = 0L; + onChanged(); + return this; + } + + private long completeDate_; + + /** + * optional int64 complete_date = 12; + * + * @return Whether the completeDate field is set. + */ + @java.lang.Override + public boolean hasCompleteDate() { + return ((bitField0_ & 0x00000800) != 0); + } + + /** + * optional int64 complete_date = 12; + * + * @return The completeDate. + */ + @java.lang.Override + public long getCompleteDate() { + return completeDate_; + } + + /** + * optional int64 complete_date = 12; + * + * @param value The completeDate to set. + * @return This builder for chaining. + */ + public Builder setCompleteDate(long value) { + bitField0_ |= 0x00000800; + completeDate_ = value; + onChanged(); + return this; + } + + /** + * optional int64 complete_date = 12; + * + * @return This builder for chaining. + */ + public Builder clearCompleteDate() { + bitField0_ = (bitField0_ & ~0x00000800); + completeDate_ = 0L; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.WorkItem) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.WorkItem) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkItem(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface HumanTaskWorkItemOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem) + com.google.protobuf.MessageOrBuilder { + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + boolean hasId(); + + /** + * optional string id = 1; + * + * @return The id. + */ + java.lang.String getId(); + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); + + /** + * optional string process_instances_id = 2; + * + * @return Whether the processInstancesId field is set. + */ + boolean hasProcessInstancesId(); + + /** + * optional string process_instances_id = 2; + * + * @return The processInstancesId. + */ + java.lang.String getProcessInstancesId(); + + /** + * optional string process_instances_id = 2; + * + * @return The bytes for processInstancesId. + */ + com.google.protobuf.ByteString getProcessInstancesIdBytes(); + + /** + * optional string name = 3; + * + * @return Whether the name field is set. + */ + boolean hasName(); + + /** + * optional string name = 3; + * + * @return The name. + */ + java.lang.String getName(); + + /** + * optional string name = 3; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * optional int32 state = 4; + * + * @return Whether the state field is set. + */ + boolean hasState(); + + /** + * optional int32 state = 4; + * + * @return The state. + */ + int getState(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + java.util.List getVariableList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + int getVariableCount(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + java.util.List getVariableOrBuilderList(); + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index); + + /** + * optional string deployment_id = 6; + * + * @return Whether the deploymentId field is set. + */ + boolean hasDeploymentId(); + + /** + * optional string deployment_id = 6; + * + * @return The deploymentId. + */ + java.lang.String getDeploymentId(); + + /** + * optional string deployment_id = 6; + * + * @return The bytes for deploymentId. + */ + com.google.protobuf.ByteString getDeploymentIdBytes(); + + /** + * optional string node_instance_id = 7; + * + * @return Whether the nodeInstanceId field is set. + */ + boolean hasNodeInstanceId(); + + /** + * optional string node_instance_id = 7; + * + * @return The nodeInstanceId. + */ + java.lang.String getNodeInstanceId(); + + /** + * optional string node_instance_id = 7; + * + * @return The bytes for nodeInstanceId. + */ + com.google.protobuf.ByteString getNodeInstanceIdBytes(); + + /** + * optional int64 node_id = 8; + * + * @return Whether the nodeId field is set. + */ + boolean hasNodeId(); + + /** + * optional int64 node_id = 8; + * + * @return The nodeId. + */ + long getNodeId(); + + /** + * optional string phase_id = 9; + * + * @return Whether the phaseId field is set. + */ + boolean hasPhaseId(); + + /** + * optional string phase_id = 9; + * + * @return The phaseId. + */ + java.lang.String getPhaseId(); + + /** + * optional string phase_id = 9; + * + * @return The bytes for phaseId. + */ + com.google.protobuf.ByteString getPhaseIdBytes(); + + /** + * optional string phase_status = 10; + * + * @return Whether the phaseStatus field is set. + */ + boolean hasPhaseStatus(); + + /** + * optional string phase_status = 10; + * + * @return The phaseStatus. + */ + java.lang.String getPhaseStatus(); + + /** + * optional string phase_status = 10; + * + * @return The bytes for phaseStatus. + */ + com.google.protobuf.ByteString getPhaseStatusBytes(); + + /** + * optional int64 start_date = 11; + * + * @return Whether the startDate field is set. + */ + boolean hasStartDate(); + + /** + * optional int64 start_date = 11; + * + * @return The startDate. + */ + long getStartDate(); + + /** + * optional int64 complete_date = 12; + * + * @return Whether the completeDate field is set. + */ + boolean hasCompleteDate(); + + /** + * optional int64 complete_date = 12; + * + * @return The completeDate. + */ + long getCompleteDate(); + + /** + * optional string task_name = 13; + * + * @return Whether the taskName field is set. + */ + boolean hasTaskName(); + + /** + * optional string task_name = 13; + * + * @return The taskName. + */ + java.lang.String getTaskName(); + + /** + * optional string task_name = 13; + * + * @return The bytes for taskName. + */ + com.google.protobuf.ByteString getTaskNameBytes(); + + /** + * optional string task_description = 14; + * + * @return Whether the taskDescription field is set. + */ + boolean hasTaskDescription(); + + /** + * optional string task_description = 14; + * + * @return The taskDescription. + */ + java.lang.String getTaskDescription(); + + /** + * optional string task_description = 14; + * + * @return The bytes for taskDescription. + */ + com.google.protobuf.ByteString getTaskDescriptionBytes(); + + /** + * optional string task_priority = 15; + * + * @return Whether the taskPriority field is set. + */ + boolean hasTaskPriority(); + + /** + * optional string task_priority = 15; + * + * @return The taskPriority. + */ + java.lang.String getTaskPriority(); + + /** + * optional string task_priority = 15; + * + * @return The bytes for taskPriority. + */ + com.google.protobuf.ByteString getTaskPriorityBytes(); + + /** + * optional string actual_owner = 16; + * + * @return Whether the actualOwner field is set. + */ + boolean hasActualOwner(); + + /** + * optional string actual_owner = 16; + * + * @return The actualOwner. + */ + java.lang.String getActualOwner(); + + /** + * optional string actual_owner = 16; + * + * @return The bytes for actualOwner. + */ + com.google.protobuf.ByteString getActualOwnerBytes(); + + /** + * repeated string pot_users = 17; + * + * @return A list containing the potUsers. + */ + java.util.List getPotUsersList(); + + /** + * repeated string pot_users = 17; + * + * @return The count of potUsers. + */ + int getPotUsersCount(); + + /** + * repeated string pot_users = 17; + * + * @param index The index of the element to return. + * @return The potUsers at the given index. + */ + java.lang.String getPotUsers(int index); + + /** + * repeated string pot_users = 17; + * + * @param index The index of the value to return. + * @return The bytes of the potUsers at the given index. + */ + com.google.protobuf.ByteString getPotUsersBytes(int index); + + /** + * repeated string pot_groups = 18; + * + * @return A list containing the potGroups. + */ + java.util.List getPotGroupsList(); + + /** + * repeated string pot_groups = 18; + * + * @return The count of potGroups. + */ + int getPotGroupsCount(); + + /** + * repeated string pot_groups = 18; + * + * @param index The index of the element to return. + * @return The potGroups at the given index. + */ + java.lang.String getPotGroups(int index); + + /** + * repeated string pot_groups = 18; + * + * @param index The index of the value to return. + * @return The bytes of the potGroups at the given index. + */ + com.google.protobuf.ByteString getPotGroupsBytes(int index); + + /** + * repeated string excluded_users = 19; + * + * @return A list containing the excludedUsers. + */ + java.util.List getExcludedUsersList(); + + /** + * repeated string excluded_users = 19; + * + * @return The count of excludedUsers. + */ + int getExcludedUsersCount(); + + /** + * repeated string excluded_users = 19; + * + * @param index The index of the element to return. + * @return The excludedUsers at the given index. + */ + java.lang.String getExcludedUsers(int index); + + /** + * repeated string excluded_users = 19; + * + * @param index The index of the value to return. + * @return The bytes of the excludedUsers at the given index. + */ + com.google.protobuf.ByteString getExcludedUsersBytes(int index); + + /** + * repeated string admin_users = 20; + * + * @return A list containing the adminUsers. + */ + java.util.List getAdminUsersList(); + + /** + * repeated string admin_users = 20; + * + * @return The count of adminUsers. + */ + int getAdminUsersCount(); + + /** + * repeated string admin_users = 20; + * + * @param index The index of the element to return. + * @return The adminUsers at the given index. + */ + java.lang.String getAdminUsers(int index); + + /** + * repeated string admin_users = 20; + * + * @param index The index of the value to return. + * @return The bytes of the adminUsers at the given index. + */ + com.google.protobuf.ByteString getAdminUsersBytes(int index); + + /** + * repeated string admin_groups = 21; + * + * @return A list containing the adminGroups. + */ + java.util.List getAdminGroupsList(); + + /** + * repeated string admin_groups = 21; + * + * @return The count of adminGroups. + */ + int getAdminGroupsCount(); + + /** + * repeated string admin_groups = 21; + * + * @param index The index of the element to return. + * @return The adminGroups at the given index. + */ + java.lang.String getAdminGroups(int index); + + /** + * repeated string admin_groups = 21; + * + * @param index The index of the value to return. + * @return The bytes of the adminGroups at the given index. + */ + com.google.protobuf.ByteString getAdminGroupsBytes(int index); + + /** + * optional string task_reference_name = 22; + * + * @return Whether the taskReferenceName field is set. + */ + boolean hasTaskReferenceName(); + + /** + * optional string task_reference_name = 22; + * + * @return The taskReferenceName. + */ + java.lang.String getTaskReferenceName(); + + /** + * optional string task_reference_name = 22; + * + * @return The bytes for taskReferenceName. + */ + com.google.protobuf.ByteString getTaskReferenceNameBytes(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem} + */ + public static final class HumanTaskWorkItem extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem) + HumanTaskWorkItemOrBuilder { + private static final long serialVersionUID = 0L; + + // Use HumanTaskWorkItem.newBuilder() to construct. + private HumanTaskWorkItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private HumanTaskWorkItem() { + id_ = ""; + processInstancesId_ = ""; + name_ = ""; + variable_ = java.util.Collections.emptyList(); + deploymentId_ = ""; + nodeInstanceId_ = ""; + phaseId_ = ""; + phaseStatus_ = ""; + taskName_ = ""; + taskDescription_ = ""; + taskPriority_ = ""; + actualOwner_ = ""; + potUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + potGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; + excludedUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + adminUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + adminGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; + taskReferenceName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new HumanTaskWorkItem(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private HumanTaskWorkItem( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + id_ = bs; + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + processInstancesId_ = bs; + break; + } + case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000004; + name_ = bs; + break; + } + case 32: { + bitField0_ |= 0x00000008; + state_ = input.readInt32(); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + variable_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000010; + } + variable_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.PARSER, + extensionRegistry)); + break; + } + case 50: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000010; + deploymentId_ = bs; + break; + } + case 58: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000020; + nodeInstanceId_ = bs; + break; + } + case 64: { + bitField0_ |= 0x00000040; + nodeId_ = input.readInt64(); + break; + } + case 74: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000080; + phaseId_ = bs; + break; + } + case 82: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000100; + phaseStatus_ = bs; + break; + } + case 88: { + bitField0_ |= 0x00000200; + startDate_ = input.readInt64(); + break; + } + case 96: { + bitField0_ |= 0x00000400; + completeDate_ = input.readInt64(); + break; + } + case 106: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000800; + taskName_ = bs; + break; + } + case 114: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00001000; + taskDescription_ = bs; + break; + } + case 122: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00002000; + taskPriority_ = bs; + break; + } + case 130: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00004000; + actualOwner_ = bs; + break; + } + case 138: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00010000) != 0)) { + potUsers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00010000; + } + potUsers_.add(bs); + break; + } + case 146: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00020000) != 0)) { + potGroups_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00020000; + } + potGroups_.add(bs); + break; + } + case 154: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00040000) != 0)) { + excludedUsers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00040000; + } + excludedUsers_.add(bs); + break; + } + case 162: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00080000) != 0)) { + adminUsers_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00080000; + } + adminUsers_.add(bs); + break; + } + case 170: { + com.google.protobuf.ByteString bs = input.readBytes(); + if (!((mutable_bitField0_ & 0x00100000) != 0)) { + adminGroups_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00100000; + } + adminGroups_.add(bs); + break; + } + case 178: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00008000; + taskReferenceName_ = bs; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000010) != 0)) { + variable_ = java.util.Collections.unmodifiableList(variable_); + } + if (((mutable_bitField0_ & 0x00010000) != 0)) { + potUsers_ = potUsers_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00020000) != 0)) { + potGroups_ = potGroups_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00040000) != 0)) { + excludedUsers_ = excludedUsers_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00080000) != 0)) { + adminUsers_ = adminUsers_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00100000) != 0)) { + adminGroups_ = adminGroups_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.Builder.class); + } + + private int bitField0_; + public static final int ID_FIELD_NUMBER = 1; + private volatile java.lang.Object id_; + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string id = 1; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } + } + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROCESS_INSTANCES_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object processInstancesId_; + + /** + * optional string process_instances_id = 2; + * + * @return Whether the processInstancesId field is set. + */ + @java.lang.Override + public boolean hasProcessInstancesId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string process_instances_id = 2; + * + * @return The processInstancesId. + */ + @java.lang.Override + public java.lang.String getProcessInstancesId() { + java.lang.Object ref = processInstancesId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processInstancesId_ = s; + } + return s; + } + } + + /** + * optional string process_instances_id = 2; + * + * @return The bytes for processInstancesId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProcessInstancesIdBytes() { + java.lang.Object ref = processInstancesId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processInstancesId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3; + private volatile java.lang.Object name_; + + /** + * optional string name = 3; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string name = 3; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } + return s; + } + } + + /** + * optional string name = 3; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_FIELD_NUMBER = 4; + private int state_; + + /** + * optional int32 state = 4; + * + * @return Whether the state field is set. + */ + @java.lang.Override + public boolean hasState() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional int32 state = 4; + * + * @return The state. + */ + @java.lang.Override + public int getState() { + return state_; + } + + public static final int VARIABLE_FIELD_NUMBER = 5; + private java.util.List variable_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + @java.lang.Override + public java.util.List getVariableList() { + return variable_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + @java.lang.Override + public java.util.List getVariableOrBuilderList() { + return variable_; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + @java.lang.Override + public int getVariableCount() { + return variable_.size(); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { + return variable_.get(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index) { + return variable_.get(index); + } + + public static final int DEPLOYMENT_ID_FIELD_NUMBER = 6; + private volatile java.lang.Object deploymentId_; + + /** + * optional string deployment_id = 6; + * + * @return Whether the deploymentId field is set. + */ + @java.lang.Override + public boolean hasDeploymentId() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * optional string deployment_id = 6; + * + * @return The deploymentId. + */ + @java.lang.Override + public java.lang.String getDeploymentId() { + java.lang.Object ref = deploymentId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + deploymentId_ = s; + } + return s; + } + } + + /** + * optional string deployment_id = 6; + * + * @return The bytes for deploymentId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDeploymentIdBytes() { + java.lang.Object ref = deploymentId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + deploymentId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NODE_INSTANCE_ID_FIELD_NUMBER = 7; + private volatile java.lang.Object nodeInstanceId_; + + /** + * optional string node_instance_id = 7; + * + * @return Whether the nodeInstanceId field is set. + */ + @java.lang.Override + public boolean hasNodeInstanceId() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * optional string node_instance_id = 7; + * + * @return The nodeInstanceId. + */ + @java.lang.Override + public java.lang.String getNodeInstanceId() { + java.lang.Object ref = nodeInstanceId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + nodeInstanceId_ = s; + } + return s; + } + } + + /** + * optional string node_instance_id = 7; + * + * @return The bytes for nodeInstanceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNodeInstanceIdBytes() { + java.lang.Object ref = nodeInstanceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nodeInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NODE_ID_FIELD_NUMBER = 8; + private long nodeId_; + + /** + * optional int64 node_id = 8; + * + * @return Whether the nodeId field is set. + */ + @java.lang.Override + public boolean hasNodeId() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * optional int64 node_id = 8; + * + * @return The nodeId. + */ + @java.lang.Override + public long getNodeId() { + return nodeId_; + } + + public static final int PHASE_ID_FIELD_NUMBER = 9; + private volatile java.lang.Object phaseId_; + + /** + * optional string phase_id = 9; + * + * @return Whether the phaseId field is set. + */ + @java.lang.Override + public boolean hasPhaseId() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * optional string phase_id = 9; + * + * @return The phaseId. + */ + @java.lang.Override + public java.lang.String getPhaseId() { + java.lang.Object ref = phaseId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + phaseId_ = s; + } + return s; + } + } + + /** + * optional string phase_id = 9; + * + * @return The bytes for phaseId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPhaseIdBytes() { + java.lang.Object ref = phaseId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + phaseId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PHASE_STATUS_FIELD_NUMBER = 10; + private volatile java.lang.Object phaseStatus_; + + /** + * optional string phase_status = 10; + * + * @return Whether the phaseStatus field is set. + */ + @java.lang.Override + public boolean hasPhaseStatus() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * optional string phase_status = 10; + * + * @return The phaseStatus. + */ + @java.lang.Override + public java.lang.String getPhaseStatus() { + java.lang.Object ref = phaseStatus_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + phaseStatus_ = s; + } + return s; + } + } + + /** + * optional string phase_status = 10; + * + * @return The bytes for phaseStatus. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPhaseStatusBytes() { + java.lang.Object ref = phaseStatus_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + phaseStatus_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int START_DATE_FIELD_NUMBER = 11; + private long startDate_; + + /** + * optional int64 start_date = 11; + * + * @return Whether the startDate field is set. + */ + @java.lang.Override + public boolean hasStartDate() { + return ((bitField0_ & 0x00000200) != 0); + } + + /** + * optional int64 start_date = 11; + * + * @return The startDate. + */ + @java.lang.Override + public long getStartDate() { + return startDate_; + } + + public static final int COMPLETE_DATE_FIELD_NUMBER = 12; + private long completeDate_; + + /** + * optional int64 complete_date = 12; + * + * @return Whether the completeDate field is set. + */ + @java.lang.Override + public boolean hasCompleteDate() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * optional int64 complete_date = 12; + * + * @return The completeDate. + */ + @java.lang.Override + public long getCompleteDate() { + return completeDate_; + } + + public static final int TASK_NAME_FIELD_NUMBER = 13; + private volatile java.lang.Object taskName_; + + /** + * optional string task_name = 13; + * + * @return Whether the taskName field is set. + */ + @java.lang.Override + public boolean hasTaskName() { + return ((bitField0_ & 0x00000800) != 0); + } + + /** + * optional string task_name = 13; + * + * @return The taskName. + */ + @java.lang.Override + public java.lang.String getTaskName() { + java.lang.Object ref = taskName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + taskName_ = s; + } + return s; + } + } + + /** + * optional string task_name = 13; + * + * @return The bytes for taskName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTaskNameBytes() { + java.lang.Object ref = taskName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TASK_DESCRIPTION_FIELD_NUMBER = 14; + private volatile java.lang.Object taskDescription_; + + /** + * optional string task_description = 14; + * + * @return Whether the taskDescription field is set. + */ + @java.lang.Override + public boolean hasTaskDescription() { + return ((bitField0_ & 0x00001000) != 0); + } + + /** + * optional string task_description = 14; + * + * @return The taskDescription. + */ + @java.lang.Override + public java.lang.String getTaskDescription() { + java.lang.Object ref = taskDescription_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + taskDescription_ = s; + } + return s; + } + } + + /** + * optional string task_description = 14; + * + * @return The bytes for taskDescription. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTaskDescriptionBytes() { + java.lang.Object ref = taskDescription_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskDescription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TASK_PRIORITY_FIELD_NUMBER = 15; + private volatile java.lang.Object taskPriority_; + + /** + * optional string task_priority = 15; + * + * @return Whether the taskPriority field is set. + */ + @java.lang.Override + public boolean hasTaskPriority() { + return ((bitField0_ & 0x00002000) != 0); + } + + /** + * optional string task_priority = 15; + * + * @return The taskPriority. + */ + @java.lang.Override + public java.lang.String getTaskPriority() { + java.lang.Object ref = taskPriority_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + taskPriority_ = s; + } + return s; + } + } + + /** + * optional string task_priority = 15; + * + * @return The bytes for taskPriority. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTaskPriorityBytes() { + java.lang.Object ref = taskPriority_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskPriority_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ACTUAL_OWNER_FIELD_NUMBER = 16; + private volatile java.lang.Object actualOwner_; + + /** + * optional string actual_owner = 16; + * + * @return Whether the actualOwner field is set. + */ + @java.lang.Override + public boolean hasActualOwner() { + return ((bitField0_ & 0x00004000) != 0); + } + + /** + * optional string actual_owner = 16; + * + * @return The actualOwner. + */ + @java.lang.Override + public java.lang.String getActualOwner() { + java.lang.Object ref = actualOwner_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + actualOwner_ = s; + } + return s; + } + } + + /** + * optional string actual_owner = 16; + * + * @return The bytes for actualOwner. + */ + @java.lang.Override + public com.google.protobuf.ByteString getActualOwnerBytes() { + java.lang.Object ref = actualOwner_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + actualOwner_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int POT_USERS_FIELD_NUMBER = 17; + private com.google.protobuf.LazyStringList potUsers_; + + /** + * repeated string pot_users = 17; + * + * @return A list containing the potUsers. + */ + public com.google.protobuf.ProtocolStringList getPotUsersList() { + return potUsers_; + } + + /** + * repeated string pot_users = 17; + * + * @return The count of potUsers. + */ + public int getPotUsersCount() { + return potUsers_.size(); + } + + /** + * repeated string pot_users = 17; + * + * @param index The index of the element to return. + * @return The potUsers at the given index. + */ + public java.lang.String getPotUsers(int index) { + return potUsers_.get(index); + } + + /** + * repeated string pot_users = 17; + * + * @param index The index of the value to return. + * @return The bytes of the potUsers at the given index. + */ + public com.google.protobuf.ByteString getPotUsersBytes(int index) { + return potUsers_.getByteString(index); + } + + public static final int POT_GROUPS_FIELD_NUMBER = 18; + private com.google.protobuf.LazyStringList potGroups_; + + /** + * repeated string pot_groups = 18; + * + * @return A list containing the potGroups. + */ + public com.google.protobuf.ProtocolStringList getPotGroupsList() { + return potGroups_; + } + + /** + * repeated string pot_groups = 18; + * + * @return The count of potGroups. + */ + public int getPotGroupsCount() { + return potGroups_.size(); + } + + /** + * repeated string pot_groups = 18; + * + * @param index The index of the element to return. + * @return The potGroups at the given index. + */ + public java.lang.String getPotGroups(int index) { + return potGroups_.get(index); + } + + /** + * repeated string pot_groups = 18; + * + * @param index The index of the value to return. + * @return The bytes of the potGroups at the given index. + */ + public com.google.protobuf.ByteString getPotGroupsBytes(int index) { + return potGroups_.getByteString(index); + } + + public static final int EXCLUDED_USERS_FIELD_NUMBER = 19; + private com.google.protobuf.LazyStringList excludedUsers_; + + /** + * repeated string excluded_users = 19; + * + * @return A list containing the excludedUsers. + */ + public com.google.protobuf.ProtocolStringList getExcludedUsersList() { + return excludedUsers_; + } + + /** + * repeated string excluded_users = 19; + * + * @return The count of excludedUsers. + */ + public int getExcludedUsersCount() { + return excludedUsers_.size(); + } + + /** + * repeated string excluded_users = 19; + * + * @param index The index of the element to return. + * @return The excludedUsers at the given index. + */ + public java.lang.String getExcludedUsers(int index) { + return excludedUsers_.get(index); + } + + /** + * repeated string excluded_users = 19; + * + * @param index The index of the value to return. + * @return The bytes of the excludedUsers at the given index. + */ + public com.google.protobuf.ByteString getExcludedUsersBytes(int index) { + return excludedUsers_.getByteString(index); + } + + public static final int ADMIN_USERS_FIELD_NUMBER = 20; + private com.google.protobuf.LazyStringList adminUsers_; + + /** + * repeated string admin_users = 20; + * + * @return A list containing the adminUsers. + */ + public com.google.protobuf.ProtocolStringList getAdminUsersList() { + return adminUsers_; + } + + /** + * repeated string admin_users = 20; + * + * @return The count of adminUsers. + */ + public int getAdminUsersCount() { + return adminUsers_.size(); + } + + /** + * repeated string admin_users = 20; + * + * @param index The index of the element to return. + * @return The adminUsers at the given index. + */ + public java.lang.String getAdminUsers(int index) { + return adminUsers_.get(index); + } + + /** + * repeated string admin_users = 20; + * + * @param index The index of the value to return. + * @return The bytes of the adminUsers at the given index. + */ + public com.google.protobuf.ByteString getAdminUsersBytes(int index) { + return adminUsers_.getByteString(index); + } + + public static final int ADMIN_GROUPS_FIELD_NUMBER = 21; + private com.google.protobuf.LazyStringList adminGroups_; + + /** + * repeated string admin_groups = 21; + * + * @return A list containing the adminGroups. + */ + public com.google.protobuf.ProtocolStringList getAdminGroupsList() { + return adminGroups_; + } + + /** + * repeated string admin_groups = 21; + * + * @return The count of adminGroups. + */ + public int getAdminGroupsCount() { + return adminGroups_.size(); + } + + /** + * repeated string admin_groups = 21; + * + * @param index The index of the element to return. + * @return The adminGroups at the given index. + */ + public java.lang.String getAdminGroups(int index) { + return adminGroups_.get(index); + } + + /** + * repeated string admin_groups = 21; + * + * @param index The index of the value to return. + * @return The bytes of the adminGroups at the given index. + */ + public com.google.protobuf.ByteString getAdminGroupsBytes(int index) { + return adminGroups_.getByteString(index); + } + + public static final int TASK_REFERENCE_NAME_FIELD_NUMBER = 22; + private volatile java.lang.Object taskReferenceName_; + + /** + * optional string task_reference_name = 22; + * + * @return Whether the taskReferenceName field is set. + */ + @java.lang.Override + public boolean hasTaskReferenceName() { + return ((bitField0_ & 0x00008000) != 0); + } + + /** + * optional string task_reference_name = 22; + * + * @return The taskReferenceName. + */ + @java.lang.Override + public java.lang.String getTaskReferenceName() { + java.lang.Object ref = taskReferenceName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + taskReferenceName_ = s; + } + return s; + } + } + + /** + * optional string task_reference_name = 22; + * + * @return The bytes for taskReferenceName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTaskReferenceNameBytes() { + java.lang.Object ref = taskReferenceName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskReferenceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, processInstancesId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeInt32(4, state_); + } + for (int i = 0; i < variable_.size(); i++) { + output.writeMessage(5, variable_.get(i)); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, deploymentId_); + } + if (((bitField0_ & 0x00000020) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, nodeInstanceId_); + } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeInt64(8, nodeId_); + } + if (((bitField0_ & 0x00000080) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, phaseId_); + } + if (((bitField0_ & 0x00000100) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, phaseStatus_); + } + if (((bitField0_ & 0x00000200) != 0)) { + output.writeInt64(11, startDate_); + } + if (((bitField0_ & 0x00000400) != 0)) { + output.writeInt64(12, completeDate_); + } + if (((bitField0_ & 0x00000800) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, taskName_); + } + if (((bitField0_ & 0x00001000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 14, taskDescription_); + } + if (((bitField0_ & 0x00002000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 15, taskPriority_); + } + if (((bitField0_ & 0x00004000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 16, actualOwner_); + } + for (int i = 0; i < potUsers_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 17, potUsers_.getRaw(i)); + } + for (int i = 0; i < potGroups_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 18, potGroups_.getRaw(i)); + } + for (int i = 0; i < excludedUsers_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 19, excludedUsers_.getRaw(i)); + } + for (int i = 0; i < adminUsers_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 20, adminUsers_.getRaw(i)); + } + for (int i = 0; i < adminGroups_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 21, adminGroups_.getRaw(i)); + } + if (((bitField0_ & 0x00008000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 22, taskReferenceName_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, processInstancesId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, state_); + } + for (int i = 0; i < variable_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, variable_.get(i)); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, deploymentId_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, nodeInstanceId_); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(8, nodeId_); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, phaseId_); + } + if (((bitField0_ & 0x00000100) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, phaseStatus_); + } + if (((bitField0_ & 0x00000200) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, startDate_); + } + if (((bitField0_ & 0x00000400) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(12, completeDate_); + } + if (((bitField0_ & 0x00000800) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, taskName_); + } + if (((bitField0_ & 0x00001000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, taskDescription_); + } + if (((bitField0_ & 0x00002000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, taskPriority_); + } + if (((bitField0_ & 0x00004000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, actualOwner_); + } + { + int dataSize = 0; + for (int i = 0; i < potUsers_.size(); i++) { + dataSize += computeStringSizeNoTag(potUsers_.getRaw(i)); + } + size += dataSize; + size += 2 * getPotUsersList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < potGroups_.size(); i++) { + dataSize += computeStringSizeNoTag(potGroups_.getRaw(i)); + } + size += dataSize; + size += 2 * getPotGroupsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < excludedUsers_.size(); i++) { + dataSize += computeStringSizeNoTag(excludedUsers_.getRaw(i)); + } + size += dataSize; + size += 2 * getExcludedUsersList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < adminUsers_.size(); i++) { + dataSize += computeStringSizeNoTag(adminUsers_.getRaw(i)); + } + size += dataSize; + size += 2 * getAdminUsersList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < adminGroups_.size(); i++) { + dataSize += computeStringSizeNoTag(adminGroups_.getRaw(i)); + } + size += dataSize; + size += 2 * getAdminGroupsList().size(); + } + if (((bitField0_ & 0x00008000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, taskReferenceName_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem) obj; + + if (hasId() != other.hasId()) + return false; + if (hasId()) { + if (!getId() + .equals(other.getId())) + return false; + } + if (hasProcessInstancesId() != other.hasProcessInstancesId()) + return false; + if (hasProcessInstancesId()) { + if (!getProcessInstancesId() + .equals(other.getProcessInstancesId())) + return false; + } + if (hasName() != other.hasName()) + return false; + if (hasName()) { + if (!getName() + .equals(other.getName())) + return false; + } + if (hasState() != other.hasState()) + return false; + if (hasState()) { + if (getState() != other.getState()) + return false; + } + if (!getVariableList() + .equals(other.getVariableList())) + return false; + if (hasDeploymentId() != other.hasDeploymentId()) + return false; + if (hasDeploymentId()) { + if (!getDeploymentId() + .equals(other.getDeploymentId())) + return false; + } + if (hasNodeInstanceId() != other.hasNodeInstanceId()) + return false; + if (hasNodeInstanceId()) { + if (!getNodeInstanceId() + .equals(other.getNodeInstanceId())) + return false; + } + if (hasNodeId() != other.hasNodeId()) + return false; + if (hasNodeId()) { + if (getNodeId() != other.getNodeId()) + return false; + } + if (hasPhaseId() != other.hasPhaseId()) + return false; + if (hasPhaseId()) { + if (!getPhaseId() + .equals(other.getPhaseId())) + return false; + } + if (hasPhaseStatus() != other.hasPhaseStatus()) + return false; + if (hasPhaseStatus()) { + if (!getPhaseStatus() + .equals(other.getPhaseStatus())) + return false; + } + if (hasStartDate() != other.hasStartDate()) + return false; + if (hasStartDate()) { + if (getStartDate() != other.getStartDate()) + return false; + } + if (hasCompleteDate() != other.hasCompleteDate()) + return false; + if (hasCompleteDate()) { + if (getCompleteDate() != other.getCompleteDate()) + return false; + } + if (hasTaskName() != other.hasTaskName()) + return false; + if (hasTaskName()) { + if (!getTaskName() + .equals(other.getTaskName())) + return false; + } + if (hasTaskDescription() != other.hasTaskDescription()) + return false; + if (hasTaskDescription()) { + if (!getTaskDescription() + .equals(other.getTaskDescription())) + return false; + } + if (hasTaskPriority() != other.hasTaskPriority()) + return false; + if (hasTaskPriority()) { + if (!getTaskPriority() + .equals(other.getTaskPriority())) + return false; + } + if (hasActualOwner() != other.hasActualOwner()) + return false; + if (hasActualOwner()) { + if (!getActualOwner() + .equals(other.getActualOwner())) + return false; + } + if (!getPotUsersList() + .equals(other.getPotUsersList())) + return false; + if (!getPotGroupsList() + .equals(other.getPotGroupsList())) + return false; + if (!getExcludedUsersList() + .equals(other.getExcludedUsersList())) + return false; + if (!getAdminUsersList() + .equals(other.getAdminUsersList())) + return false; + if (!getAdminGroupsList() + .equals(other.getAdminGroupsList())) + return false; + if (hasTaskReferenceName() != other.hasTaskReferenceName()) + return false; + if (hasTaskReferenceName()) { + if (!getTaskReferenceName() + .equals(other.getTaskReferenceName())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + if (hasProcessInstancesId()) { + hash = (37 * hash) + PROCESS_INSTANCES_ID_FIELD_NUMBER; + hash = (53 * hash) + getProcessInstancesId().hashCode(); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (hasState()) { + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + getState(); + } + if (getVariableCount() > 0) { + hash = (37 * hash) + VARIABLE_FIELD_NUMBER; + hash = (53 * hash) + getVariableList().hashCode(); + } + if (hasDeploymentId()) { + hash = (37 * hash) + DEPLOYMENT_ID_FIELD_NUMBER; + hash = (53 * hash) + getDeploymentId().hashCode(); + } + if (hasNodeInstanceId()) { + hash = (37 * hash) + NODE_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getNodeInstanceId().hashCode(); + } + if (hasNodeId()) { + hash = (37 * hash) + NODE_ID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNodeId()); + } + if (hasPhaseId()) { + hash = (37 * hash) + PHASE_ID_FIELD_NUMBER; + hash = (53 * hash) + getPhaseId().hashCode(); + } + if (hasPhaseStatus()) { + hash = (37 * hash) + PHASE_STATUS_FIELD_NUMBER; + hash = (53 * hash) + getPhaseStatus().hashCode(); + } + if (hasStartDate()) { + hash = (37 * hash) + START_DATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartDate()); + } + if (hasCompleteDate()) { + hash = (37 * hash) + COMPLETE_DATE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCompleteDate()); + } + if (hasTaskName()) { + hash = (37 * hash) + TASK_NAME_FIELD_NUMBER; + hash = (53 * hash) + getTaskName().hashCode(); + } + if (hasTaskDescription()) { + hash = (37 * hash) + TASK_DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getTaskDescription().hashCode(); + } + if (hasTaskPriority()) { + hash = (37 * hash) + TASK_PRIORITY_FIELD_NUMBER; + hash = (53 * hash) + getTaskPriority().hashCode(); + } + if (hasActualOwner()) { + hash = (37 * hash) + ACTUAL_OWNER_FIELD_NUMBER; + hash = (53 * hash) + getActualOwner().hashCode(); + } + if (getPotUsersCount() > 0) { + hash = (37 * hash) + POT_USERS_FIELD_NUMBER; + hash = (53 * hash) + getPotUsersList().hashCode(); + } + if (getPotGroupsCount() > 0) { + hash = (37 * hash) + POT_GROUPS_FIELD_NUMBER; + hash = (53 * hash) + getPotGroupsList().hashCode(); + } + if (getExcludedUsersCount() > 0) { + hash = (37 * hash) + EXCLUDED_USERS_FIELD_NUMBER; + hash = (53 * hash) + getExcludedUsersList().hashCode(); + } + if (getAdminUsersCount() > 0) { + hash = (37 * hash) + ADMIN_USERS_FIELD_NUMBER; + hash = (53 * hash) + getAdminUsersList().hashCode(); + } + if (getAdminGroupsCount() > 0) { + hash = (37 * hash) + ADMIN_GROUPS_FIELD_NUMBER; + hash = (53 * hash) + getAdminGroupsList().hashCode(); + } + if (hasTaskReferenceName()) { + hash = (37 * hash) + TASK_REFERENCE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getTaskReferenceName().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItemOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getVariableFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + id_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + processInstancesId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + state_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); + if (variableBuilder_ == null) { + variable_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + } else { + variableBuilder_.clear(); + } + deploymentId_ = ""; + bitField0_ = (bitField0_ & ~0x00000020); + nodeInstanceId_ = ""; + bitField0_ = (bitField0_ & ~0x00000040); + nodeId_ = 0L; + bitField0_ = (bitField0_ & ~0x00000080); + phaseId_ = ""; + bitField0_ = (bitField0_ & ~0x00000100); + phaseStatus_ = ""; + bitField0_ = (bitField0_ & ~0x00000200); + startDate_ = 0L; + bitField0_ = (bitField0_ & ~0x00000400); + completeDate_ = 0L; + bitField0_ = (bitField0_ & ~0x00000800); + taskName_ = ""; + bitField0_ = (bitField0_ & ~0x00001000); + taskDescription_ = ""; + bitField0_ = (bitField0_ & ~0x00002000); + taskPriority_ = ""; + bitField0_ = (bitField0_ & ~0x00004000); + actualOwner_ = ""; + bitField0_ = (bitField0_ & ~0x00008000); + potUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00010000); + potGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00020000); + excludedUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00040000); + adminUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00080000); + adminGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00100000); + taskReferenceName_ = ""; + bitField0_ = (bitField0_ & ~0x00200000); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.id_ = id_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.processInstancesId_ = processInstancesId_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.name_ = name_; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.state_ = state_; + to_bitField0_ |= 0x00000008; + } + if (variableBuilder_ == null) { + if (((bitField0_ & 0x00000010) != 0)) { + variable_ = java.util.Collections.unmodifiableList(variable_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.variable_ = variable_; + } else { + result.variable_ = variableBuilder_.build(); + } + if (((from_bitField0_ & 0x00000020) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.deploymentId_ = deploymentId_; + if (((from_bitField0_ & 0x00000040) != 0)) { + to_bitField0_ |= 0x00000020; + } + result.nodeInstanceId_ = nodeInstanceId_; + if (((from_bitField0_ & 0x00000080) != 0)) { + result.nodeId_ = nodeId_; + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + to_bitField0_ |= 0x00000080; + } + result.phaseId_ = phaseId_; + if (((from_bitField0_ & 0x00000200) != 0)) { + to_bitField0_ |= 0x00000100; + } + result.phaseStatus_ = phaseStatus_; + if (((from_bitField0_ & 0x00000400) != 0)) { + result.startDate_ = startDate_; + to_bitField0_ |= 0x00000200; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.completeDate_ = completeDate_; + to_bitField0_ |= 0x00000400; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + to_bitField0_ |= 0x00000800; + } + result.taskName_ = taskName_; + if (((from_bitField0_ & 0x00002000) != 0)) { + to_bitField0_ |= 0x00001000; + } + result.taskDescription_ = taskDescription_; + if (((from_bitField0_ & 0x00004000) != 0)) { + to_bitField0_ |= 0x00002000; + } + result.taskPriority_ = taskPriority_; + if (((from_bitField0_ & 0x00008000) != 0)) { + to_bitField0_ |= 0x00004000; + } + result.actualOwner_ = actualOwner_; + if (((bitField0_ & 0x00010000) != 0)) { + potUsers_ = potUsers_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00010000); + } + result.potUsers_ = potUsers_; + if (((bitField0_ & 0x00020000) != 0)) { + potGroups_ = potGroups_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00020000); + } + result.potGroups_ = potGroups_; + if (((bitField0_ & 0x00040000) != 0)) { + excludedUsers_ = excludedUsers_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00040000); + } + result.excludedUsers_ = excludedUsers_; + if (((bitField0_ & 0x00080000) != 0)) { + adminUsers_ = adminUsers_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00080000); + } + result.adminUsers_ = adminUsers_; + if (((bitField0_ & 0x00100000) != 0)) { + adminGroups_ = adminGroups_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00100000); + } + result.adminGroups_ = adminGroups_; + if (((from_bitField0_ & 0x00200000) != 0)) { + to_bitField0_ |= 0x00008000; + } + result.taskReferenceName_ = taskReferenceName_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem + .getDefaultInstance()) + return this; + if (other.hasId()) { + bitField0_ |= 0x00000001; + id_ = other.id_; + onChanged(); + } + if (other.hasProcessInstancesId()) { + bitField0_ |= 0x00000002; + processInstancesId_ = other.processInstancesId_; + onChanged(); + } + if (other.hasName()) { + bitField0_ |= 0x00000004; + name_ = other.name_; + onChanged(); + } + if (other.hasState()) { + setState(other.getState()); + } + if (variableBuilder_ == null) { + if (!other.variable_.isEmpty()) { + if (variable_.isEmpty()) { + variable_ = other.variable_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureVariableIsMutable(); + variable_.addAll(other.variable_); + } + onChanged(); + } + } else { + if (!other.variable_.isEmpty()) { + if (variableBuilder_.isEmpty()) { + variableBuilder_.dispose(); + variableBuilder_ = null; + variable_ = other.variable_; + bitField0_ = (bitField0_ & ~0x00000010); + variableBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVariableFieldBuilder() + : null; + } else { + variableBuilder_.addAllMessages(other.variable_); + } + } + } + if (other.hasDeploymentId()) { + bitField0_ |= 0x00000020; + deploymentId_ = other.deploymentId_; + onChanged(); + } + if (other.hasNodeInstanceId()) { + bitField0_ |= 0x00000040; + nodeInstanceId_ = other.nodeInstanceId_; + onChanged(); + } + if (other.hasNodeId()) { + setNodeId(other.getNodeId()); + } + if (other.hasPhaseId()) { + bitField0_ |= 0x00000100; + phaseId_ = other.phaseId_; + onChanged(); + } + if (other.hasPhaseStatus()) { + bitField0_ |= 0x00000200; + phaseStatus_ = other.phaseStatus_; + onChanged(); + } + if (other.hasStartDate()) { + setStartDate(other.getStartDate()); + } + if (other.hasCompleteDate()) { + setCompleteDate(other.getCompleteDate()); + } + if (other.hasTaskName()) { + bitField0_ |= 0x00001000; + taskName_ = other.taskName_; + onChanged(); + } + if (other.hasTaskDescription()) { + bitField0_ |= 0x00002000; + taskDescription_ = other.taskDescription_; + onChanged(); + } + if (other.hasTaskPriority()) { + bitField0_ |= 0x00004000; + taskPriority_ = other.taskPriority_; + onChanged(); + } + if (other.hasActualOwner()) { + bitField0_ |= 0x00008000; + actualOwner_ = other.actualOwner_; + onChanged(); + } + if (!other.potUsers_.isEmpty()) { + if (potUsers_.isEmpty()) { + potUsers_ = other.potUsers_; + bitField0_ = (bitField0_ & ~0x00010000); + } else { + ensurePotUsersIsMutable(); + potUsers_.addAll(other.potUsers_); + } + onChanged(); + } + if (!other.potGroups_.isEmpty()) { + if (potGroups_.isEmpty()) { + potGroups_ = other.potGroups_; + bitField0_ = (bitField0_ & ~0x00020000); + } else { + ensurePotGroupsIsMutable(); + potGroups_.addAll(other.potGroups_); + } + onChanged(); + } + if (!other.excludedUsers_.isEmpty()) { + if (excludedUsers_.isEmpty()) { + excludedUsers_ = other.excludedUsers_; + bitField0_ = (bitField0_ & ~0x00040000); + } else { + ensureExcludedUsersIsMutable(); + excludedUsers_.addAll(other.excludedUsers_); + } + onChanged(); + } + if (!other.adminUsers_.isEmpty()) { + if (adminUsers_.isEmpty()) { + adminUsers_ = other.adminUsers_; + bitField0_ = (bitField0_ & ~0x00080000); + } else { + ensureAdminUsersIsMutable(); + adminUsers_.addAll(other.adminUsers_); + } + onChanged(); + } + if (!other.adminGroups_.isEmpty()) { + if (adminGroups_.isEmpty()) { + adminGroups_ = other.adminGroups_; + bitField0_ = (bitField0_ & ~0x00100000); + } else { + ensureAdminGroupsIsMutable(); + adminGroups_.addAll(other.adminGroups_); + } + onChanged(); + } + if (other.hasTaskReferenceName()) { + bitField0_ |= 0x00200000; + taskReferenceName_ = other.taskReferenceName_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object id_ = ""; + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string id = 1; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string id = 1; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } + + /** + * optional string id = 1; + * + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000001); + id_ = getDefaultInstance().getId(); + onChanged(); + return this; + } + + /** + * optional string id = 1; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } + + private java.lang.Object processInstancesId_ = ""; + + /** + * optional string process_instances_id = 2; + * + * @return Whether the processInstancesId field is set. + */ + public boolean hasProcessInstancesId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string process_instances_id = 2; + * + * @return The processInstancesId. + */ + public java.lang.String getProcessInstancesId() { + java.lang.Object ref = processInstancesId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processInstancesId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string process_instances_id = 2; + * + * @return The bytes for processInstancesId. + */ + public com.google.protobuf.ByteString getProcessInstancesIdBytes() { + java.lang.Object ref = processInstancesId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processInstancesId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string process_instances_id = 2; + * + * @param value The processInstancesId to set. + * @return This builder for chaining. + */ + public Builder setProcessInstancesId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + processInstancesId_ = value; + onChanged(); + return this; + } + + /** + * optional string process_instances_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearProcessInstancesId() { + bitField0_ = (bitField0_ & ~0x00000002); + processInstancesId_ = getDefaultInstance().getProcessInstancesId(); + onChanged(); + return this; + } + + /** + * optional string process_instances_id = 2; + * + * @param value The bytes for processInstancesId to set. + * @return This builder for chaining. + */ + public Builder setProcessInstancesIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + processInstancesId_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + + /** + * optional string name = 3; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional string name = 3; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string name = 3; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string name = 3; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + name_ = value; + onChanged(); + return this; + } + + /** + * optional string name = 3; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000004); + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + + /** + * optional string name = 3; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + name_ = value; + onChanged(); + return this; + } + + private int state_; + + /** + * optional int32 state = 4; + * + * @return Whether the state field is set. + */ + @java.lang.Override + public boolean hasState() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional int32 state = 4; + * + * @return The state. + */ + @java.lang.Override + public int getState() { + return state_; + } + + /** + * optional int32 state = 4; + * + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(int value) { + bitField0_ |= 0x00000008; + state_ = value; + onChanged(); + return this; + } + + /** + * optional int32 state = 4; + * + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000008); + state_ = 0; + onChanged(); + return this; + } + + private java.util.List variable_ = java.util.Collections + .emptyList(); + + private void ensureVariableIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + variable_ = new java.util.ArrayList( + variable_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3 variableBuilder_; + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public java.util.List getVariableList() { + if (variableBuilder_ == null) { + return java.util.Collections.unmodifiableList(variable_); + } else { + return variableBuilder_.getMessageList(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public int getVariableCount() { + if (variableBuilder_ == null) { + return variable_.size(); + } else { + return variableBuilder_.getCount(); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { + if (variableBuilder_ == null) { + return variable_.get(index); + } else { + return variableBuilder_.getMessage(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder setVariable( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.set(index, value); + onChanged(); + } else { + variableBuilder_.setMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder setVariable( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.set(index, builderForValue.build()); + onChanged(); + } else { + variableBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.add(value); + onChanged(); + } else { + variableBuilder_.addMessage(value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder addVariable( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.add(index, value); + onChanged(); + } else { + variableBuilder_.addMessage(index, value); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder addVariable( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.add(builderForValue.build()); + onChanged(); + } else { + variableBuilder_.addMessage(builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder addVariable( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.add(index, builderForValue.build()); + onChanged(); + } else { + variableBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder addAllVariable( + java.lang.Iterable values) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, variable_); + onChanged(); + } else { + variableBuilder_.addAllMessages(values); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder clearVariable() { + if (variableBuilder_ == null) { + variable_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + variableBuilder_.clear(); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public Builder removeVariable(int index) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.remove(index); + onChanged(); + } else { + variableBuilder_.remove(index); + } + return this; + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder getVariableBuilder( + int index) { + return getVariableFieldBuilder().getBuilder(index); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index) { + if (variableBuilder_ == null) { + return variable_.get(index); + } else { + return variableBuilder_.getMessageOrBuilder(index); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public java.util.List getVariableOrBuilderList() { + if (variableBuilder_ != null) { + return variableBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(variable_); + } + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder() { + return getVariableFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder( + int index) { + return getVariableFieldBuilder().addBuilder( + index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); + } + + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; + */ + public java.util.List getVariableBuilderList() { + return getVariableFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getVariableFieldBuilder() { + if (variableBuilder_ == null) { + variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + variable_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); + variable_ = null; + } + return variableBuilder_; + } + + private java.lang.Object deploymentId_ = ""; + + /** + * optional string deployment_id = 6; + * + * @return Whether the deploymentId field is set. + */ + public boolean hasDeploymentId() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * optional string deployment_id = 6; + * + * @return The deploymentId. + */ + public java.lang.String getDeploymentId() { + java.lang.Object ref = deploymentId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + deploymentId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string deployment_id = 6; + * + * @return The bytes for deploymentId. + */ + public com.google.protobuf.ByteString getDeploymentIdBytes() { + java.lang.Object ref = deploymentId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + deploymentId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string deployment_id = 6; + * + * @param value The deploymentId to set. + * @return This builder for chaining. + */ + public Builder setDeploymentId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + deploymentId_ = value; + onChanged(); + return this; + } + + /** + * optional string deployment_id = 6; + * + * @return This builder for chaining. + */ + public Builder clearDeploymentId() { + bitField0_ = (bitField0_ & ~0x00000020); + deploymentId_ = getDefaultInstance().getDeploymentId(); + onChanged(); + return this; + } + + /** + * optional string deployment_id = 6; + * + * @param value The bytes for deploymentId to set. + * @return This builder for chaining. + */ + public Builder setDeploymentIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + deploymentId_ = value; + onChanged(); + return this; + } + + private java.lang.Object nodeInstanceId_ = ""; + + /** + * optional string node_instance_id = 7; + * + * @return Whether the nodeInstanceId field is set. + */ + public boolean hasNodeInstanceId() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * optional string node_instance_id = 7; + * + * @return The nodeInstanceId. + */ + public java.lang.String getNodeInstanceId() { + java.lang.Object ref = nodeInstanceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + nodeInstanceId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string node_instance_id = 7; + * + * @return The bytes for nodeInstanceId. + */ + public com.google.protobuf.ByteString getNodeInstanceIdBytes() { + java.lang.Object ref = nodeInstanceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nodeInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string node_instance_id = 7; + * + * @param value The nodeInstanceId to set. + * @return This builder for chaining. + */ + public Builder setNodeInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + nodeInstanceId_ = value; + onChanged(); + return this; + } + + /** + * optional string node_instance_id = 7; + * + * @return This builder for chaining. + */ + public Builder clearNodeInstanceId() { + bitField0_ = (bitField0_ & ~0x00000040); + nodeInstanceId_ = getDefaultInstance().getNodeInstanceId(); + onChanged(); + return this; + } + + /** + * optional string node_instance_id = 7; + * + * @param value The bytes for nodeInstanceId to set. + * @return This builder for chaining. + */ + public Builder setNodeInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + nodeInstanceId_ = value; + onChanged(); + return this; + } + + private long nodeId_; + + /** + * optional int64 node_id = 8; + * + * @return Whether the nodeId field is set. + */ + @java.lang.Override + public boolean hasNodeId() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * optional int64 node_id = 8; + * + * @return The nodeId. + */ + @java.lang.Override + public long getNodeId() { + return nodeId_; + } + + /** + * optional int64 node_id = 8; + * + * @param value The nodeId to set. + * @return This builder for chaining. + */ + public Builder setNodeId(long value) { + bitField0_ |= 0x00000080; + nodeId_ = value; + onChanged(); + return this; + } + + /** + * optional int64 node_id = 8; + * + * @return This builder for chaining. + */ + public Builder clearNodeId() { + bitField0_ = (bitField0_ & ~0x00000080); + nodeId_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object phaseId_ = ""; + + /** + * optional string phase_id = 9; + * + * @return Whether the phaseId field is set. + */ + public boolean hasPhaseId() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * optional string phase_id = 9; + * + * @return The phaseId. + */ + public java.lang.String getPhaseId() { + java.lang.Object ref = phaseId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + phaseId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string phase_id = 9; + * + * @return The bytes for phaseId. + */ + public com.google.protobuf.ByteString getPhaseIdBytes() { + java.lang.Object ref = phaseId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + phaseId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string phase_id = 9; + * + * @param value The phaseId to set. + * @return This builder for chaining. + */ + public Builder setPhaseId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; + phaseId_ = value; + onChanged(); + return this; + } + + /** + * optional string phase_id = 9; + * + * @return This builder for chaining. + */ + public Builder clearPhaseId() { + bitField0_ = (bitField0_ & ~0x00000100); + phaseId_ = getDefaultInstance().getPhaseId(); + onChanged(); + return this; + } + + /** + * optional string phase_id = 9; + * + * @param value The bytes for phaseId to set. + * @return This builder for chaining. + */ + public Builder setPhaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; + phaseId_ = value; + onChanged(); + return this; + } + + private java.lang.Object phaseStatus_ = ""; + + /** + * optional string phase_status = 10; + * + * @return Whether the phaseStatus field is set. + */ + public boolean hasPhaseStatus() { + return ((bitField0_ & 0x00000200) != 0); + } + + /** + * optional string phase_status = 10; + * + * @return The phaseStatus. + */ + public java.lang.String getPhaseStatus() { + java.lang.Object ref = phaseStatus_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + phaseStatus_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string phase_status = 10; + * + * @return The bytes for phaseStatus. + */ + public com.google.protobuf.ByteString getPhaseStatusBytes() { + java.lang.Object ref = phaseStatus_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + phaseStatus_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string phase_status = 10; + * + * @param value The phaseStatus to set. + * @return This builder for chaining. + */ + public Builder setPhaseStatus( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; + phaseStatus_ = value; + onChanged(); + return this; + } + + /** + * optional string phase_status = 10; + * + * @return This builder for chaining. + */ + public Builder clearPhaseStatus() { + bitField0_ = (bitField0_ & ~0x00000200); + phaseStatus_ = getDefaultInstance().getPhaseStatus(); + onChanged(); + return this; + } + + /** + * optional string phase_status = 10; + * + * @param value The bytes for phaseStatus to set. + * @return This builder for chaining. + */ + public Builder setPhaseStatusBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; + phaseStatus_ = value; + onChanged(); + return this; + } + + private long startDate_; + + /** + * optional int64 start_date = 11; + * + * @return Whether the startDate field is set. + */ + @java.lang.Override + public boolean hasStartDate() { + return ((bitField0_ & 0x00000400) != 0); + } + + /** + * optional int64 start_date = 11; + * + * @return The startDate. + */ + @java.lang.Override + public long getStartDate() { + return startDate_; + } + + /** + * optional int64 start_date = 11; + * + * @param value The startDate to set. + * @return This builder for chaining. + */ + public Builder setStartDate(long value) { + bitField0_ |= 0x00000400; + startDate_ = value; + onChanged(); + return this; + } + + /** + * optional int64 start_date = 11; + * + * @return This builder for chaining. + */ + public Builder clearStartDate() { + bitField0_ = (bitField0_ & ~0x00000400); + startDate_ = 0L; + onChanged(); + return this; + } + + private long completeDate_; + + /** + * optional int64 complete_date = 12; + * + * @return Whether the completeDate field is set. + */ + @java.lang.Override + public boolean hasCompleteDate() { + return ((bitField0_ & 0x00000800) != 0); + } + + /** + * optional int64 complete_date = 12; + * + * @return The completeDate. + */ + @java.lang.Override + public long getCompleteDate() { + return completeDate_; + } + + /** + * optional int64 complete_date = 12; + * + * @param value The completeDate to set. + * @return This builder for chaining. + */ + public Builder setCompleteDate(long value) { + bitField0_ |= 0x00000800; + completeDate_ = value; + onChanged(); + return this; + } + + /** + * optional int64 complete_date = 12; + * + * @return This builder for chaining. + */ + public Builder clearCompleteDate() { + bitField0_ = (bitField0_ & ~0x00000800); + completeDate_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object taskName_ = ""; + + /** + * optional string task_name = 13; + * + * @return Whether the taskName field is set. + */ + public boolean hasTaskName() { + return ((bitField0_ & 0x00001000) != 0); + } + + /** + * optional string task_name = 13; + * + * @return The taskName. + */ + public java.lang.String getTaskName() { + java.lang.Object ref = taskName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + taskName_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string task_name = 13; + * + * @return The bytes for taskName. + */ + public com.google.protobuf.ByteString getTaskNameBytes() { + java.lang.Object ref = taskName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string task_name = 13; + * + * @param value The taskName to set. + * @return This builder for chaining. + */ + public Builder setTaskName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00001000; + taskName_ = value; + onChanged(); + return this; + } + + /** + * optional string task_name = 13; + * + * @return This builder for chaining. + */ + public Builder clearTaskName() { + bitField0_ = (bitField0_ & ~0x00001000); + taskName_ = getDefaultInstance().getTaskName(); + onChanged(); + return this; + } + + /** + * optional string task_name = 13; + * + * @param value The bytes for taskName to set. + * @return This builder for chaining. + */ + public Builder setTaskNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00001000; + taskName_ = value; + onChanged(); + return this; + } + + private java.lang.Object taskDescription_ = ""; + + /** + * optional string task_description = 14; + * + * @return Whether the taskDescription field is set. + */ + public boolean hasTaskDescription() { + return ((bitField0_ & 0x00002000) != 0); + } + + /** + * optional string task_description = 14; + * + * @return The taskDescription. + */ + public java.lang.String getTaskDescription() { + java.lang.Object ref = taskDescription_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + taskDescription_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string task_description = 14; + * + * @return The bytes for taskDescription. + */ + public com.google.protobuf.ByteString getTaskDescriptionBytes() { + java.lang.Object ref = taskDescription_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskDescription_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string task_description = 14; + * + * @param value The taskDescription to set. + * @return This builder for chaining. + */ + public Builder setTaskDescription( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00002000; + taskDescription_ = value; + onChanged(); + return this; + } + + /** + * optional string task_description = 14; + * + * @return This builder for chaining. + */ + public Builder clearTaskDescription() { + bitField0_ = (bitField0_ & ~0x00002000); + taskDescription_ = getDefaultInstance().getTaskDescription(); + onChanged(); + return this; + } + + /** + * optional string task_description = 14; + * + * @param value The bytes for taskDescription to set. + * @return This builder for chaining. + */ + public Builder setTaskDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00002000; + taskDescription_ = value; + onChanged(); + return this; + } + + private java.lang.Object taskPriority_ = ""; + + /** + * optional string task_priority = 15; + * + * @return Whether the taskPriority field is set. + */ + public boolean hasTaskPriority() { + return ((bitField0_ & 0x00004000) != 0); + } + + /** + * optional string task_priority = 15; + * + * @return The taskPriority. + */ + public java.lang.String getTaskPriority() { + java.lang.Object ref = taskPriority_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + taskPriority_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string task_priority = 15; + * + * @return The bytes for taskPriority. + */ + public com.google.protobuf.ByteString getTaskPriorityBytes() { + java.lang.Object ref = taskPriority_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskPriority_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string task_priority = 15; + * + * @param value The taskPriority to set. + * @return This builder for chaining. + */ + public Builder setTaskPriority( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00004000; + taskPriority_ = value; + onChanged(); + return this; + } + + /** + * optional string task_priority = 15; + * + * @return This builder for chaining. + */ + public Builder clearTaskPriority() { + bitField0_ = (bitField0_ & ~0x00004000); + taskPriority_ = getDefaultInstance().getTaskPriority(); + onChanged(); + return this; + } + + /** + * optional string task_priority = 15; + * + * @param value The bytes for taskPriority to set. + * @return This builder for chaining. + */ + public Builder setTaskPriorityBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00004000; + taskPriority_ = value; + onChanged(); + return this; + } + + private java.lang.Object actualOwner_ = ""; + + /** + * optional string actual_owner = 16; + * + * @return Whether the actualOwner field is set. + */ + public boolean hasActualOwner() { + return ((bitField0_ & 0x00008000) != 0); + } + + /** + * optional string actual_owner = 16; + * + * @return The actualOwner. + */ + public java.lang.String getActualOwner() { + java.lang.Object ref = actualOwner_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + actualOwner_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string actual_owner = 16; + * + * @return The bytes for actualOwner. + */ + public com.google.protobuf.ByteString getActualOwnerBytes() { + java.lang.Object ref = actualOwner_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + actualOwner_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string actual_owner = 16; + * + * @param value The actualOwner to set. + * @return This builder for chaining. + */ + public Builder setActualOwner( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00008000; + actualOwner_ = value; + onChanged(); + return this; + } + + /** + * optional string actual_owner = 16; + * + * @return This builder for chaining. + */ + public Builder clearActualOwner() { + bitField0_ = (bitField0_ & ~0x00008000); + actualOwner_ = getDefaultInstance().getActualOwner(); + onChanged(); + return this; + } + + /** + * optional string actual_owner = 16; + * + * @param value The bytes for actualOwner to set. + * @return This builder for chaining. + */ + public Builder setActualOwnerBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00008000; + actualOwner_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList potUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensurePotUsersIsMutable() { + if (!((bitField0_ & 0x00010000) != 0)) { + potUsers_ = new com.google.protobuf.LazyStringArrayList(potUsers_); + bitField0_ |= 0x00010000; + } + } + + /** + * repeated string pot_users = 17; + * + * @return A list containing the potUsers. + */ + public com.google.protobuf.ProtocolStringList getPotUsersList() { + return potUsers_.getUnmodifiableView(); + } + + /** + * repeated string pot_users = 17; + * + * @return The count of potUsers. + */ + public int getPotUsersCount() { + return potUsers_.size(); + } + + /** + * repeated string pot_users = 17; + * + * @param index The index of the element to return. + * @return The potUsers at the given index. + */ + public java.lang.String getPotUsers(int index) { + return potUsers_.get(index); + } + + /** + * repeated string pot_users = 17; + * + * @param index The index of the value to return. + * @return The bytes of the potUsers at the given index. + */ + public com.google.protobuf.ByteString getPotUsersBytes(int index) { + return potUsers_.getByteString(index); + } + + /** + * repeated string pot_users = 17; + * + * @param index The index to set the value at. + * @param value The potUsers to set. + * @return This builder for chaining. + */ + public Builder setPotUsers( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePotUsersIsMutable(); + potUsers_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string pot_users = 17; + * + * @param value The potUsers to add. + * @return This builder for chaining. + */ + public Builder addPotUsers( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePotUsersIsMutable(); + potUsers_.add(value); + onChanged(); + return this; + } + + /** + * repeated string pot_users = 17; + * + * @param values The potUsers to add. + * @return This builder for chaining. + */ + public Builder addAllPotUsers( + java.lang.Iterable values) { + ensurePotUsersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, potUsers_); + onChanged(); + return this; + } + + /** + * repeated string pot_users = 17; + * + * @return This builder for chaining. + */ + public Builder clearPotUsers() { + potUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00010000); + onChanged(); + return this; + } + + /** + * repeated string pot_users = 17; + * + * @param value The bytes of the potUsers to add. + * @return This builder for chaining. + */ + public Builder addPotUsersBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePotUsersIsMutable(); + potUsers_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList potGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensurePotGroupsIsMutable() { + if (!((bitField0_ & 0x00020000) != 0)) { + potGroups_ = new com.google.protobuf.LazyStringArrayList(potGroups_); + bitField0_ |= 0x00020000; + } + } + + /** + * repeated string pot_groups = 18; + * + * @return A list containing the potGroups. + */ + public com.google.protobuf.ProtocolStringList getPotGroupsList() { + return potGroups_.getUnmodifiableView(); + } + + /** + * repeated string pot_groups = 18; + * + * @return The count of potGroups. + */ + public int getPotGroupsCount() { + return potGroups_.size(); + } + + /** + * repeated string pot_groups = 18; + * + * @param index The index of the element to return. + * @return The potGroups at the given index. + */ + public java.lang.String getPotGroups(int index) { + return potGroups_.get(index); + } + + /** + * repeated string pot_groups = 18; + * + * @param index The index of the value to return. + * @return The bytes of the potGroups at the given index. + */ + public com.google.protobuf.ByteString getPotGroupsBytes(int index) { + return potGroups_.getByteString(index); + } + + /** + * repeated string pot_groups = 18; + * + * @param index The index to set the value at. + * @param value The potGroups to set. + * @return This builder for chaining. + */ + public Builder setPotGroups( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePotGroupsIsMutable(); + potGroups_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string pot_groups = 18; + * + * @param value The potGroups to add. + * @return This builder for chaining. + */ + public Builder addPotGroups( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePotGroupsIsMutable(); + potGroups_.add(value); + onChanged(); + return this; + } + + /** + * repeated string pot_groups = 18; + * + * @param values The potGroups to add. + * @return This builder for chaining. + */ + public Builder addAllPotGroups( + java.lang.Iterable values) { + ensurePotGroupsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, potGroups_); + onChanged(); + return this; + } + + /** + * repeated string pot_groups = 18; + * + * @return This builder for chaining. + */ + public Builder clearPotGroups() { + potGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00020000); + onChanged(); + return this; + } + + /** + * repeated string pot_groups = 18; + * + * @param value The bytes of the potGroups to add. + * @return This builder for chaining. + */ + public Builder addPotGroupsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePotGroupsIsMutable(); + potGroups_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList excludedUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureExcludedUsersIsMutable() { + if (!((bitField0_ & 0x00040000) != 0)) { + excludedUsers_ = new com.google.protobuf.LazyStringArrayList(excludedUsers_); + bitField0_ |= 0x00040000; + } + } + + /** + * repeated string excluded_users = 19; + * + * @return A list containing the excludedUsers. + */ + public com.google.protobuf.ProtocolStringList getExcludedUsersList() { + return excludedUsers_.getUnmodifiableView(); + } + + /** + * repeated string excluded_users = 19; + * + * @return The count of excludedUsers. + */ + public int getExcludedUsersCount() { + return excludedUsers_.size(); + } + + /** + * repeated string excluded_users = 19; + * + * @param index The index of the element to return. + * @return The excludedUsers at the given index. + */ + public java.lang.String getExcludedUsers(int index) { + return excludedUsers_.get(index); + } + + /** + * repeated string excluded_users = 19; + * + * @param index The index of the value to return. + * @return The bytes of the excludedUsers at the given index. + */ + public com.google.protobuf.ByteString getExcludedUsersBytes(int index) { + return excludedUsers_.getByteString(index); + } + + /** + * repeated string excluded_users = 19; + * + * @param index The index to set the value at. + * @param value The excludedUsers to set. + * @return This builder for chaining. + */ + public Builder setExcludedUsers( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExcludedUsersIsMutable(); + excludedUsers_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string excluded_users = 19; + * + * @param value The excludedUsers to add. + * @return This builder for chaining. + */ + public Builder addExcludedUsers( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExcludedUsersIsMutable(); + excludedUsers_.add(value); + onChanged(); + return this; + } + + /** + * repeated string excluded_users = 19; + * + * @param values The excludedUsers to add. + * @return This builder for chaining. + */ + public Builder addAllExcludedUsers( + java.lang.Iterable values) { + ensureExcludedUsersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, excludedUsers_); + onChanged(); + return this; + } + + /** + * repeated string excluded_users = 19; + * + * @return This builder for chaining. + */ + public Builder clearExcludedUsers() { + excludedUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00040000); + onChanged(); + return this; + } + + /** + * repeated string excluded_users = 19; + * + * @param value The bytes of the excludedUsers to add. + * @return This builder for chaining. + */ + public Builder addExcludedUsersBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExcludedUsersIsMutable(); + excludedUsers_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList adminUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureAdminUsersIsMutable() { + if (!((bitField0_ & 0x00080000) != 0)) { + adminUsers_ = new com.google.protobuf.LazyStringArrayList(adminUsers_); + bitField0_ |= 0x00080000; + } + } + + /** + * repeated string admin_users = 20; + * + * @return A list containing the adminUsers. + */ + public com.google.protobuf.ProtocolStringList getAdminUsersList() { + return adminUsers_.getUnmodifiableView(); + } + + /** + * repeated string admin_users = 20; + * + * @return The count of adminUsers. + */ + public int getAdminUsersCount() { + return adminUsers_.size(); + } + + /** + * repeated string admin_users = 20; + * + * @param index The index of the element to return. + * @return The adminUsers at the given index. + */ + public java.lang.String getAdminUsers(int index) { + return adminUsers_.get(index); + } + + /** + * repeated string admin_users = 20; + * + * @param index The index of the value to return. + * @return The bytes of the adminUsers at the given index. + */ + public com.google.protobuf.ByteString getAdminUsersBytes(int index) { + return adminUsers_.getByteString(index); + } + + /** + * repeated string admin_users = 20; + * + * @param index The index to set the value at. + * @param value The adminUsers to set. + * @return This builder for chaining. + */ + public Builder setAdminUsers( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminUsersIsMutable(); + adminUsers_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string admin_users = 20; + * + * @param value The adminUsers to add. + * @return This builder for chaining. + */ + public Builder addAdminUsers( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminUsersIsMutable(); + adminUsers_.add(value); + onChanged(); + return this; + } + + /** + * repeated string admin_users = 20; + * + * @param values The adminUsers to add. + * @return This builder for chaining. + */ + public Builder addAllAdminUsers( + java.lang.Iterable values) { + ensureAdminUsersIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, adminUsers_); + onChanged(); + return this; + } + + /** + * repeated string admin_users = 20; + * + * @return This builder for chaining. + */ + public Builder clearAdminUsers() { + adminUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00080000); + onChanged(); + return this; + } + + /** + * repeated string admin_users = 20; + * + * @param value The bytes of the adminUsers to add. + * @return This builder for chaining. + */ + public Builder addAdminUsersBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminUsersIsMutable(); + adminUsers_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList adminGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureAdminGroupsIsMutable() { + if (!((bitField0_ & 0x00100000) != 0)) { + adminGroups_ = new com.google.protobuf.LazyStringArrayList(adminGroups_); + bitField0_ |= 0x00100000; + } + } + + /** + * repeated string admin_groups = 21; + * + * @return A list containing the adminGroups. + */ + public com.google.protobuf.ProtocolStringList getAdminGroupsList() { + return adminGroups_.getUnmodifiableView(); + } + + /** + * repeated string admin_groups = 21; + * + * @return The count of adminGroups. + */ + public int getAdminGroupsCount() { + return adminGroups_.size(); + } + + /** + * repeated string admin_groups = 21; + * + * @param index The index of the element to return. + * @return The adminGroups at the given index. + */ + public java.lang.String getAdminGroups(int index) { + return adminGroups_.get(index); + } + + /** + * repeated string admin_groups = 21; + * + * @param index The index of the value to return. + * @return The bytes of the adminGroups at the given index. + */ + public com.google.protobuf.ByteString getAdminGroupsBytes(int index) { + return adminGroups_.getByteString(index); + } + + /** + * repeated string admin_groups = 21; + * + * @param index The index to set the value at. + * @param value The adminGroups to set. + * @return This builder for chaining. + */ + public Builder setAdminGroups( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminGroupsIsMutable(); + adminGroups_.set(index, value); + onChanged(); + return this; + } + + /** + * repeated string admin_groups = 21; + * + * @param value The adminGroups to add. + * @return This builder for chaining. + */ + public Builder addAdminGroups( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminGroupsIsMutable(); + adminGroups_.add(value); + onChanged(); + return this; + } + + /** + * repeated string admin_groups = 21; + * + * @param values The adminGroups to add. + * @return This builder for chaining. + */ + public Builder addAllAdminGroups( + java.lang.Iterable values) { + ensureAdminGroupsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, adminGroups_); + onChanged(); + return this; + } + + /** + * repeated string admin_groups = 21; + * + * @return This builder for chaining. + */ + public Builder clearAdminGroups() { + adminGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00100000); + onChanged(); + return this; + } + + /** + * repeated string admin_groups = 21; + * + * @param value The bytes of the adminGroups to add. + * @return This builder for chaining. + */ + public Builder addAdminGroupsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureAdminGroupsIsMutable(); + adminGroups_.add(value); + onChanged(); + return this; + } + + private java.lang.Object taskReferenceName_ = ""; + + /** + * optional string task_reference_name = 22; + * + * @return Whether the taskReferenceName field is set. + */ + public boolean hasTaskReferenceName() { + return ((bitField0_ & 0x00200000) != 0); + } + + /** + * optional string task_reference_name = 22; + * + * @return The taskReferenceName. + */ + public java.lang.String getTaskReferenceName() { + java.lang.Object ref = taskReferenceName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + taskReferenceName_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string task_reference_name = 22; + * + * @return The bytes for taskReferenceName. + */ + public com.google.protobuf.ByteString getTaskReferenceNameBytes() { + java.lang.Object ref = taskReferenceName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + taskReferenceName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string task_reference_name = 22; + * + * @param value The taskReferenceName to set. + * @return This builder for chaining. + */ + public Builder setTaskReferenceName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00200000; + taskReferenceName_ = value; + onChanged(); + return this; + } + + /** + * optional string task_reference_name = 22; + * + * @return This builder for chaining. + */ + public Builder clearTaskReferenceName() { + bitField0_ = (bitField0_ & ~0x00200000); + taskReferenceName_ = getDefaultInstance().getTaskReferenceName(); + onChanged(); + return this; + } + + /** + * optional string task_reference_name = 22; + * + * @param value The bytes for taskReferenceName to set. + * @return This builder for chaining. + */ + public Builder setTaskReferenceNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00200000; + taskReferenceName_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem) + } + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem(); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HumanTaskWorkItem parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HumanTaskWorkItem(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ProcessTimerOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessTimer) + com.google.protobuf.MessageOrBuilder { + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + * + * @return Whether the timer field is set. + */ + boolean hasTimer(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + * + * @return The timer. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance getTimer(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstanceOrBuilder getTimerOrBuilder(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + * + * @return Whether the trigger field is set. + */ + boolean hasTrigger(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + * + * @return The trigger. + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getTrigger(); + + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + */ + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder getTriggerOrBuilder(); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessTimer} + */ + public static final class ProcessTimer extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessTimer) + ProcessTimerOrBuilder { + private static final long serialVersionUID = 0L; + + // Use ProcessTimer.newBuilder() to construct. + private ProcessTimer(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ProcessTimer() { + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ProcessTimer(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ProcessTimer( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = timer_.toBuilder(); + } + timer_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(timer_); + timer_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 18: { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) != 0)) { + subBuilder = trigger_.toBuilder(); + } + trigger_ = input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PARSER, + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(trigger_); + trigger_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.Builder.class); + } + + public interface TimerInstanceOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance) + com.google.protobuf.MessageOrBuilder { + + /** + * optional int64 id = 1; + * + * @return Whether the id field is set. + */ + boolean hasId(); + + /** + * optional int64 id = 1; + * + * @return The id. + */ + long getId(); + + /** + * optional string timer_id = 2; + * + * @return Whether the timerId field is set. + */ + boolean hasTimerId(); + + /** + * optional string timer_id = 2; + * + * @return The timerId. + */ + java.lang.String getTimerId(); + + /** + * optional string timer_id = 2; + * + * @return The bytes for timerId. + */ + com.google.protobuf.ByteString getTimerIdBytes(); + + /** + * optional int64 delay = 3; + * + * @return Whether the delay field is set. + */ + boolean hasDelay(); + + /** + * optional int64 delay = 3; + * + * @return The delay. + */ + long getDelay(); + + /** + * optional int64 period = 4; + * + * @return Whether the period field is set. + */ + boolean hasPeriod(); + + /** + * optional int64 period = 4; + * + * @return The period. + */ + long getPeriod(); + + /** + * optional string process_instance_id = 5; + * + * @return Whether the processInstanceId field is set. + */ + boolean hasProcessInstanceId(); + + /** + * optional string process_instance_id = 5; + * + * @return The processInstanceId. + */ + java.lang.String getProcessInstanceId(); + + /** + * optional string process_instance_id = 5; + * + * @return The bytes for processInstanceId. + */ + com.google.protobuf.ByteString getProcessInstanceIdBytes(); + + /** + * optional int64 activated_time = 6; + * + * @return Whether the activatedTime field is set. + */ + boolean hasActivatedTime(); + + /** + * optional int64 activated_time = 6; + * + * @return The activatedTime. + */ + long getActivatedTime(); + + /** + * optional int64 last_triggered = 7; + * + * @return Whether the lastTriggered field is set. + */ + boolean hasLastTriggered(); + + /** + * optional int64 last_triggered = 7; + * + * @return The lastTriggered. + */ + long getLastTriggered(); + + /** + * optional int32 repeatLimit = 8; + * + * @return Whether the repeatLimit field is set. + */ + boolean hasRepeatLimit(); + + /** + * optional int32 repeatLimit = 8; + * + * @return The repeatLimit. + */ + int getRepeatLimit(); + + /** + * optional int64 next_trigger = 9; + * + * @return Whether the nextTrigger field is set. + */ + boolean hasNextTrigger(); + + /** + * optional int64 next_trigger = 9; + * + * @return The nextTrigger. + */ + long getNextTrigger(); } + /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance} */ - public Builder mergeSubProcess(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode value) { - if (subProcessBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - subProcess_ != null && - subProcess_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.getDefaultInstance()) { - subProcess_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.newBuilder(subProcess_).mergeFrom(value).buildPartial(); - } else { - subProcess_ = value; + public static final class TimerInstance extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance) + TimerInstanceOrBuilder { + private static final long serialVersionUID = 0L; + + // Use TimerInstance.newBuilder() to construct. + private TimerInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private TimerInstance() { + timerId_ = ""; + processInstanceId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TimerInstance(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private TimerInstance( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + bitField0_ |= 0x00000001; + id_ = input.readInt64(); + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + timerId_ = bs; + break; + } + case 24: { + bitField0_ |= 0x00000004; + delay_ = input.readInt64(); + break; + } + case 32: { + bitField0_ |= 0x00000008; + period_ = input.readInt64(); + break; + } + case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000010; + processInstanceId_ = bs; + break; + } + case 48: { + bitField0_ |= 0x00000020; + activatedTime_ = input.readInt64(); + break; + } + case 56: { + bitField0_ |= 0x00000040; + lastTriggered_ = input.readInt64(); + break; + } + case 64: { + bitField0_ |= 0x00000080; + repeatLimit_ = input.readInt32(); + break; + } + case 72: { + bitField0_ |= 0x00000100; + nextTrigger_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.Builder.class); + } + + private int bitField0_; + public static final int ID_FIELD_NUMBER = 1; + private long id_; + + /** + * optional int64 id = 1; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional int64 id = 1; + * + * @return The id. + */ + @java.lang.Override + public long getId() { + return id_; + } + + public static final int TIMER_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object timerId_; + + /** + * optional string timer_id = 2; + * + * @return Whether the timerId field is set. + */ + @java.lang.Override + public boolean hasTimerId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string timer_id = 2; + * + * @return The timerId. + */ + @java.lang.Override + public java.lang.String getTimerId() { + java.lang.Object ref = timerId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + timerId_ = s; + } + return s; + } + } + + /** + * optional string timer_id = 2; + * + * @return The bytes for timerId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTimerIdBytes() { + java.lang.Object ref = timerId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + timerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DELAY_FIELD_NUMBER = 3; + private long delay_; + + /** + * optional int64 delay = 3; + * + * @return Whether the delay field is set. + */ + @java.lang.Override + public boolean hasDelay() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional int64 delay = 3; + * + * @return The delay. + */ + @java.lang.Override + public long getDelay() { + return delay_; + } + + public static final int PERIOD_FIELD_NUMBER = 4; + private long period_; + + /** + * optional int64 period = 4; + * + * @return Whether the period field is set. + */ + @java.lang.Override + public boolean hasPeriod() { + return ((bitField0_ & 0x00000008) != 0); + } + + /** + * optional int64 period = 4; + * + * @return The period. + */ + @java.lang.Override + public long getPeriod() { + return period_; + } + + public static final int PROCESS_INSTANCE_ID_FIELD_NUMBER = 5; + private volatile java.lang.Object processInstanceId_; + + /** + * optional string process_instance_id = 5; + * + * @return Whether the processInstanceId field is set. + */ + @java.lang.Override + public boolean hasProcessInstanceId() { + return ((bitField0_ & 0x00000010) != 0); + } + + /** + * optional string process_instance_id = 5; + * + * @return The processInstanceId. + */ + @java.lang.Override + public java.lang.String getProcessInstanceId() { + java.lang.Object ref = processInstanceId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processInstanceId_ = s; + } + return s; + } + } + + /** + * optional string process_instance_id = 5; + * + * @return The bytes for processInstanceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString getProcessInstanceIdBytes() { + java.lang.Object ref = processInstanceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ACTIVATED_TIME_FIELD_NUMBER = 6; + private long activatedTime_; + + /** + * optional int64 activated_time = 6; + * + * @return Whether the activatedTime field is set. + */ + @java.lang.Override + public boolean hasActivatedTime() { + return ((bitField0_ & 0x00000020) != 0); + } + + /** + * optional int64 activated_time = 6; + * + * @return The activatedTime. + */ + @java.lang.Override + public long getActivatedTime() { + return activatedTime_; + } + + public static final int LAST_TRIGGERED_FIELD_NUMBER = 7; + private long lastTriggered_; + + /** + * optional int64 last_triggered = 7; + * + * @return Whether the lastTriggered field is set. + */ + @java.lang.Override + public boolean hasLastTriggered() { + return ((bitField0_ & 0x00000040) != 0); + } + + /** + * optional int64 last_triggered = 7; + * + * @return The lastTriggered. + */ + @java.lang.Override + public long getLastTriggered() { + return lastTriggered_; + } + + public static final int REPEATLIMIT_FIELD_NUMBER = 8; + private int repeatLimit_; + + /** + * optional int32 repeatLimit = 8; + * + * @return Whether the repeatLimit field is set. + */ + @java.lang.Override + public boolean hasRepeatLimit() { + return ((bitField0_ & 0x00000080) != 0); + } + + /** + * optional int32 repeatLimit = 8; + * + * @return The repeatLimit. + */ + @java.lang.Override + public int getRepeatLimit() { + return repeatLimit_; + } + + public static final int NEXT_TRIGGER_FIELD_NUMBER = 9; + private long nextTrigger_; + + /** + * optional int64 next_trigger = 9; + * + * @return Whether the nextTrigger field is set. + */ + @java.lang.Override + public boolean hasNextTrigger() { + return ((bitField0_ & 0x00000100) != 0); + } + + /** + * optional int64 next_trigger = 9; + * + * @return The nextTrigger. + */ + @java.lang.Override + public long getNextTrigger() { + return nextTrigger_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt64(1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + output.writeInt64(3, delay_); + } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeInt64(4, period_); + } + if (((bitField0_ & 0x00000010) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, processInstanceId_); + } + if (((bitField0_ & 0x00000020) != 0)) { + output.writeInt64(6, activatedTime_); + } + if (((bitField0_ & 0x00000040) != 0)) { + output.writeInt64(7, lastTriggered_); + } + if (((bitField0_ & 0x00000080) != 0)) { + output.writeInt32(8, repeatLimit_); + } + if (((bitField0_ & 0x00000100) != 0)) { + output.writeInt64(9, nextTrigger_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, timerId_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, delay_); + } + if (((bitField0_ & 0x00000008) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, period_); + } + if (((bitField0_ & 0x00000010) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, processInstanceId_); + } + if (((bitField0_ & 0x00000020) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(6, activatedTime_); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, lastTriggered_); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, repeatLimit_); + } + if (((bitField0_ & 0x00000100) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, nextTrigger_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance) obj; + + if (hasId() != other.hasId()) + return false; + if (hasId()) { + if (getId() != other.getId()) + return false; + } + if (hasTimerId() != other.hasTimerId()) + return false; + if (hasTimerId()) { + if (!getTimerId() + .equals(other.getTimerId())) + return false; + } + if (hasDelay() != other.hasDelay()) + return false; + if (hasDelay()) { + if (getDelay() != other.getDelay()) + return false; + } + if (hasPeriod() != other.hasPeriod()) + return false; + if (hasPeriod()) { + if (getPeriod() != other.getPeriod()) + return false; + } + if (hasProcessInstanceId() != other.hasProcessInstanceId()) + return false; + if (hasProcessInstanceId()) { + if (!getProcessInstanceId() + .equals(other.getProcessInstanceId())) + return false; + } + if (hasActivatedTime() != other.hasActivatedTime()) + return false; + if (hasActivatedTime()) { + if (getActivatedTime() != other.getActivatedTime()) + return false; + } + if (hasLastTriggered() != other.hasLastTriggered()) + return false; + if (hasLastTriggered()) { + if (getLastTriggered() != other.getLastTriggered()) + return false; + } + if (hasRepeatLimit() != other.hasRepeatLimit()) + return false; + if (hasRepeatLimit()) { + if (getRepeatLimit() != other.getRepeatLimit()) + return false; + } + if (hasNextTrigger() != other.hasNextTrigger()) + return false; + if (hasNextTrigger()) { + if (getNextTrigger() != other.getNextTrigger()) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getId()); + } + if (hasTimerId()) { + hash = (37 * hash) + TIMER_ID_FIELD_NUMBER; + hash = (53 * hash) + getTimerId().hashCode(); + } + if (hasDelay()) { + hash = (37 * hash) + DELAY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDelay()); + } + if (hasPeriod()) { + hash = (37 * hash) + PERIOD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPeriod()); + } + if (hasProcessInstanceId()) { + hash = (37 * hash) + PROCESS_INSTANCE_ID_FIELD_NUMBER; + hash = (53 * hash) + getProcessInstanceId().hashCode(); + } + if (hasActivatedTime()) { + hash = (37 * hash) + ACTIVATED_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getActivatedTime()); + } + if (hasLastTriggered()) { + hash = (37 * hash) + LAST_TRIGGERED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLastTriggered()); + } + if (hasRepeatLimit()) { + hash = (37 * hash) + REPEATLIMIT_FIELD_NUMBER; + hash = (53 * hash) + getRepeatLimit(); + } + if (hasNextTrigger()) { + hash = (37 * hash) + NEXT_TRIGGER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNextTrigger()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - onChanged(); - } else { - subProcessBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000010; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - public Builder clearSubProcess() { - if (subProcessBuilder_ == null) { - subProcess_ = null; - onChanged(); - } else { - subProcessBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder getSubProcessBuilder() { - bitField0_ |= 0x00000010; - onChanged(); - return getSubProcessFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder getSubProcessOrBuilder() { - if (subProcessBuilder_ != null) { - return subProcessBuilder_.getMessageOrBuilder(); - } else { - return subProcess_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.getDefaultInstance() : subProcess_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder> - getSubProcessFieldBuilder() { - if (subProcessBuilder_ == null) { - subProcessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder>( - getSubProcess(), - getParentForChildren(), - isClean()); - subProcess_ = null; - } - return subProcessBuilder_; - } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode milestone_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder> milestoneBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - * @return Whether the milestone field is set. - */ - public boolean hasMilestone() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - * @return The milestone. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getMilestone() { - if (milestoneBuilder_ == null) { - return milestone_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.getDefaultInstance() : milestone_; - } else { - return milestoneBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - public Builder setMilestone(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode value) { - if (milestoneBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( + byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } - milestone_ = value; - onChanged(); - } else { - milestoneBuilder_.setMessage(value); - } - bitField0_ |= 0x00000020; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - public Builder setMilestone( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder builderForValue) { - if (milestoneBuilder_ == null) { - milestone_ = builderForValue.build(); - onChanged(); - } else { - milestoneBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000020; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - public Builder mergeMilestone(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode value) { - if (milestoneBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && - milestone_ != null && - milestone_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.getDefaultInstance()) { - milestone_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.newBuilder(milestone_).mergeFrom(value).buildPartial(); - } else { - milestone_ = value; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); } - onChanged(); - } else { - milestoneBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000020; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - public Builder clearMilestone() { - if (milestoneBuilder_ == null) { - milestone_ = null; - onChanged(); - } else { - milestoneBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000020); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder getMilestoneBuilder() { - bitField0_ |= 0x00000020; - onChanged(); - return getMilestoneFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder getMilestoneOrBuilder() { - if (milestoneBuilder_ != null) { - return milestoneBuilder_.getMessageOrBuilder(); - } else { - return milestone_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.getDefaultInstance() : milestone_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder> - getMilestoneFieldBuilder() { - if (milestoneBuilder_ == null) { - milestoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder>( - getMilestone(), - getParentForChildren(), - isClean()); - milestone_ = null; - } - return milestoneBuilder_; - } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode event_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder> eventBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - * @return Whether the event field is set. - */ - public boolean hasEvent() { - return ((bitField0_ & 0x00000040) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - * @return The event. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode getEvent() { - if (eventBuilder_ == null) { - return event_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.getDefaultInstance() : event_; - } else { - return eventBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - public Builder setEvent(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode value) { - if (eventBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - event_ = value; - onChanged(); - } else { - eventBuilder_.setMessage(value); - } - bitField0_ |= 0x00000040; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - public Builder setEvent( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder builderForValue) { - if (eventBuilder_ == null) { - event_ = builderForValue.build(); - onChanged(); - } else { - eventBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000040; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - public Builder mergeEvent(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode value) { - if (eventBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - event_ != null && - event_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.getDefaultInstance()) { - event_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.newBuilder(event_).mergeFrom(value).buildPartial(); - } else { - event_ = value; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - onChanged(); - } else { - eventBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000040; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - public Builder clearEvent() { - if (eventBuilder_ == null) { - event_ = null; - onChanged(); - } else { - eventBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000040); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder getEventBuilder() { - bitField0_ |= 0x00000040; - onChanged(); - return getEventFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder getEventOrBuilder() { - if (eventBuilder_ != null) { - return eventBuilder_.getMessageOrBuilder(); - } else { - return event_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.getDefaultInstance() : event_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder> - getEventFieldBuilder() { - if (eventBuilder_ == null) { - eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder>( - getEvent(), - getParentForChildren(), - isClean()); - event_ = null; - } - return eventBuilder_; - } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode timer_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder> timerBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - * @return Whether the timer field is set. - */ - public boolean hasTimer() { - return ((bitField0_ & 0x00000080) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - * @return The timer. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode getTimer() { - if (timerBuilder_ == null) { - return timer_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.getDefaultInstance() : timer_; - } else { - return timerBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - public Builder setTimer(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode value) { - if (timerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - timer_ = value; - onChanged(); - } else { - timerBuilder_.setMessage(value); - } - bitField0_ |= 0x00000080; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - public Builder setTimer( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder builderForValue) { - if (timerBuilder_ == null) { - timer_ = builderForValue.build(); - onChanged(); - } else { - timerBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000080; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - public Builder mergeTimer(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode value) { - if (timerBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - timer_ != null && - timer_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.getDefaultInstance()) { - timer_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.newBuilder(timer_).mergeFrom(value).buildPartial(); - } else { - timer_ = value; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - onChanged(); - } else { - timerBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000080; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - public Builder clearTimer() { - if (timerBuilder_ == null) { - timer_ = null; - onChanged(); - } else { - timerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000080); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder getTimerBuilder() { - bitField0_ |= 0x00000080; - onChanged(); - return getTimerFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder getTimerOrBuilder() { - if (timerBuilder_ != null) { - return timerBuilder_.getMessageOrBuilder(); - } else { - return timer_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.getDefaultInstance() : timer_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder> - getTimerFieldBuilder() { - if (timerBuilder_ == null) { - timerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder>( - getTimer(), - getParentForChildren(), - isClean()); - timer_ = null; - } - return timerBuilder_; - } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode join_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder> joinBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - * @return Whether the join field is set. - */ - public boolean hasJoin() { - return ((bitField0_ & 0x00000100) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - * @return The join. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode getJoin() { - if (joinBuilder_ == null) { - return join_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance() : join_; - } else { - return joinBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - public Builder setJoin(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode value) { - if (joinBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - join_ = value; - onChanged(); - } else { - joinBuilder_.setMessage(value); - } - bitField0_ |= 0x00000100; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - public Builder setJoin( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder builderForValue) { - if (joinBuilder_ == null) { - join_ = builderForValue.build(); - onChanged(); - } else { - joinBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000100; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - public Builder mergeJoin(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode value) { - if (joinBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && - join_ != null && - join_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance()) { - join_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.newBuilder(join_).mergeFrom(value).buildPartial(); - } else { - join_ = value; + + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - onChanged(); - } else { - joinBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000100; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - public Builder clearJoin() { - if (joinBuilder_ == null) { - join_ = null; - onChanged(); - } else { - joinBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000100); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder getJoinBuilder() { - bitField0_ |= 0x00000100; - onChanged(); - return getJoinFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder getJoinOrBuilder() { - if (joinBuilder_ != null) { - return joinBuilder_.getMessageOrBuilder(); - } else { - return join_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance() : join_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder> - getJoinFieldBuilder() { - if (joinBuilder_ == null) { - joinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder>( - getJoin(), - getParentForChildren(), - isClean()); - join_ = null; - } - return joinBuilder_; - } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode state_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder> stateBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - * @return Whether the state field is set. - */ - public boolean hasState() { - return ((bitField0_ & 0x00000200) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - * @return The state. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode getState() { - if (stateBuilder_ == null) { - return state_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance() : state_; - } else { - return stateBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - public Builder setState(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode value) { - if (stateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - state_ = value; - onChanged(); - } else { - stateBuilder_.setMessage(value); - } - bitField0_ |= 0x00000200; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - public Builder setState( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder builderForValue) { - if (stateBuilder_ == null) { - state_ = builderForValue.build(); - onChanged(); - } else { - stateBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000200; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - public Builder mergeState(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode value) { - if (stateBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && - state_ != null && - state_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance()) { - state_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.newBuilder(state_).mergeFrom(value).buildPartial(); - } else { - state_ = value; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - onChanged(); - } else { - stateBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000200; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - public Builder clearState() { - if (stateBuilder_ == null) { - state_ = null; - onChanged(); - } else { - stateBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000200); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder getStateBuilder() { - bitField0_ |= 0x00000200; - onChanged(); - return getStateFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder getStateOrBuilder() { - if (stateBuilder_ != null) { - return stateBuilder_.getMessageOrBuilder(); - } else { - return state_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance() : state_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder> - getStateFieldBuilder() { - if (stateBuilder_ == null) { - stateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder>( - getState(), - getParentForChildren(), - isClean()); - state_ = null; - } - return stateBuilder_; - } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode composite_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder> compositeBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - * @return Whether the composite field is set. - */ - public boolean hasComposite() { - return ((bitField0_ & 0x00000400) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - * @return The composite. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getComposite() { - if (compositeBuilder_ == null) { - return composite_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.getDefaultInstance() : composite_; - } else { - return compositeBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - public Builder setComposite(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode value) { - if (compositeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - composite_ = value; - onChanged(); - } else { - compositeBuilder_.setMessage(value); - } - bitField0_ |= 0x00000400; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - public Builder setComposite( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder builderForValue) { - if (compositeBuilder_ == null) { - composite_ = builderForValue.build(); - onChanged(); - } else { - compositeBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000400; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - public Builder mergeComposite(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode value) { - if (compositeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - composite_ != null && - composite_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.getDefaultInstance()) { - composite_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.newBuilder(composite_).mergeFrom(value).buildPartial(); - } else { - composite_ = value; - } - onChanged(); - } else { - compositeBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000400; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - public Builder clearComposite() { - if (compositeBuilder_ == null) { - composite_ = null; - onChanged(); - } else { - compositeBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000400); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder getCompositeBuilder() { - bitField0_ |= 0x00000400; - onChanged(); - return getCompositeFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder getCompositeOrBuilder() { - if (compositeBuilder_ != null) { - return compositeBuilder_.getMessageOrBuilder(); - } else { - return composite_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.getDefaultInstance() : composite_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder> - getCompositeFieldBuilder() { - if (compositeBuilder_ == null) { - compositeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder>( - getComposite(), - getParentForChildren(), - isClean()); - composite_ = null; - } - return compositeBuilder_; - } + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstanceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.Builder.class); + } + + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + id_ = 0L; + bitField0_ = (bitField0_ & ~0x00000001); + timerId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + delay_ = 0L; + bitField0_ = (bitField0_ & ~0x00000004); + period_ = 0L; + bitField0_ = (bitField0_ & ~0x00000008); + processInstanceId_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + activatedTime_ = 0L; + bitField0_ = (bitField0_ & ~0x00000020); + lastTriggered_ = 0L; + bitField0_ = (bitField0_ & ~0x00000040); + repeatLimit_ = 0; + bitField0_ = (bitField0_ & ~0x00000080); + nextTrigger_ = 0L; + bitField0_ = (bitField0_ & ~0x00000100); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_descriptor; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance + .getDefaultInstance(); + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.id_ = id_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.timerId_ = timerId_; + if (((from_bitField0_ & 0x00000004) != 0)) { + result.delay_ = delay_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.period_ = period_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.processInstanceId_ = processInstanceId_; + if (((from_bitField0_ & 0x00000020) != 0)) { + result.activatedTime_ = activatedTime_; + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.lastTriggered_ = lastTriggered_; + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.repeatLimit_ = repeatLimit_; + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.nextTrigger_ = nextTrigger_; + to_bitField0_ |= 0x00000100; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance + .getDefaultInstance()) + return this; + if (other.hasId()) { + setId(other.getId()); + } + if (other.hasTimerId()) { + bitField0_ |= 0x00000002; + timerId_ = other.timerId_; + onChanged(); + } + if (other.hasDelay()) { + setDelay(other.getDelay()); + } + if (other.hasPeriod()) { + setPeriod(other.getPeriod()); + } + if (other.hasProcessInstanceId()) { + bitField0_ |= 0x00000010; + processInstanceId_ = other.processInstanceId_; + onChanged(); + } + if (other.hasActivatedTime()) { + setActivatedTime(other.getActivatedTime()); + } + if (other.hasLastTriggered()) { + setLastTriggered(other.getLastTriggered()); + } + if (other.hasRepeatLimit()) { + setRepeatLimit(other.getRepeatLimit()); + } + if (other.hasNextTrigger()) { + setNextTrigger(other.getNextTrigger()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private long id_; + + /** + * optional int64 id = 1; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional int64 id = 1; + * + * @return The id. + */ + @java.lang.Override + public long getId() { + return id_; + } + + /** + * optional int64 id = 1; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId(long value) { + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } + + /** + * optional int64 id = 1; + * + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000001); + id_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object timerId_ = ""; + + /** + * optional string timer_id = 2; + * + * @return Whether the timerId field is set. + */ + public boolean hasTimerId() { + return ((bitField0_ & 0x00000002) != 0); + } + + /** + * optional string timer_id = 2; + * + * @return The timerId. + */ + public java.lang.String getTimerId() { + java.lang.Object ref = timerId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + timerId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + + /** + * optional string timer_id = 2; + * + * @return The bytes for timerId. + */ + public com.google.protobuf.ByteString getTimerIdBytes() { + java.lang.Object ref = timerId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + timerId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + /** + * optional string timer_id = 2; + * + * @param value The timerId to set. + * @return This builder for chaining. + */ + public Builder setTimerId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + timerId_ = value; + onChanged(); + return this; + } + + /** + * optional string timer_id = 2; + * + * @return This builder for chaining. + */ + public Builder clearTimerId() { + bitField0_ = (bitField0_ & ~0x00000002); + timerId_ = getDefaultInstance().getTimerId(); + onChanged(); + return this; + } + + /** + * optional string timer_id = 2; + * + * @param value The bytes for timerId to set. + * @return This builder for chaining. + */ + public Builder setTimerIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + timerId_ = value; + onChanged(); + return this; + } + + private long delay_; + + /** + * optional int64 delay = 3; + * + * @return Whether the delay field is set. + */ + @java.lang.Override + public boolean hasDelay() { + return ((bitField0_ & 0x00000004) != 0); + } + + /** + * optional int64 delay = 3; + * + * @return The delay. + */ + @java.lang.Override + public long getDelay() { + return delay_; + } + + /** + * optional int64 delay = 3; + * + * @param value The delay to set. + * @return This builder for chaining. + */ + public Builder setDelay(long value) { + bitField0_ |= 0x00000004; + delay_ = value; + onChanged(); + return this; + } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode forEach_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder> forEachBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - * @return Whether the forEach field is set. - */ - public boolean hasForEach() { - return ((bitField0_ & 0x00000800) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - * @return The forEach. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode getForEach() { - if (forEachBuilder_ == null) { - return forEach_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.getDefaultInstance() : forEach_; - } else { - return forEachBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - public Builder setForEach(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode value) { - if (forEachBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - forEach_ = value; - onChanged(); - } else { - forEachBuilder_.setMessage(value); - } - bitField0_ |= 0x00000800; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - public Builder setForEach( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder builderForValue) { - if (forEachBuilder_ == null) { - forEach_ = builderForValue.build(); - onChanged(); - } else { - forEachBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000800; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - public Builder mergeForEach(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode value) { - if (forEachBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && - forEach_ != null && - forEach_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.getDefaultInstance()) { - forEach_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.newBuilder(forEach_).mergeFrom(value).buildPartial(); - } else { - forEach_ = value; - } - onChanged(); - } else { - forEachBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000800; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - public Builder clearForEach() { - if (forEachBuilder_ == null) { - forEach_ = null; - onChanged(); - } else { - forEachBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000800); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder getForEachBuilder() { - bitField0_ |= 0x00000800; - onChanged(); - return getForEachFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder getForEachOrBuilder() { - if (forEachBuilder_ != null) { - return forEachBuilder_.getMessageOrBuilder(); - } else { - return forEach_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.getDefaultInstance() : forEach_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder> - getForEachFieldBuilder() { - if (forEachBuilder_ == null) { - forEachBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder>( - getForEach(), - getParentForChildren(), - isClean()); - forEach_ = null; - } - return forEachBuilder_; - } + /** + * optional int64 delay = 3; + * + * @return This builder for chaining. + */ + public Builder clearDelay() { + bitField0_ = (bitField0_ & ~0x00000004); + delay_ = 0L; + onChanged(); + return this; + } - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode asyncEvent_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder> asyncEventBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - * @return Whether the asyncEvent field is set. - */ - public boolean hasAsyncEvent() { - return ((bitField0_ & 0x00001000) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - * @return The asyncEvent. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getAsyncEvent() { - if (asyncEventBuilder_ == null) { - return asyncEvent_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.getDefaultInstance() : asyncEvent_; - } else { - return asyncEventBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - public Builder setAsyncEvent(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode value) { - if (asyncEventBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - asyncEvent_ = value; - onChanged(); - } else { - asyncEventBuilder_.setMessage(value); - } - bitField0_ |= 0x00001000; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - public Builder setAsyncEvent( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder builderForValue) { - if (asyncEventBuilder_ == null) { - asyncEvent_ = builderForValue.build(); - onChanged(); - } else { - asyncEventBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00001000; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - public Builder mergeAsyncEvent(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode value) { - if (asyncEventBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) && - asyncEvent_ != null && - asyncEvent_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.getDefaultInstance()) { - asyncEvent_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.newBuilder(asyncEvent_).mergeFrom(value).buildPartial(); - } else { - asyncEvent_ = value; - } - onChanged(); - } else { - asyncEventBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00001000; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - public Builder clearAsyncEvent() { - if (asyncEventBuilder_ == null) { - asyncEvent_ = null; - onChanged(); - } else { - asyncEventBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00001000); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder getAsyncEventBuilder() { - bitField0_ |= 0x00001000; - onChanged(); - return getAsyncEventFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder getAsyncEventOrBuilder() { - if (asyncEventBuilder_ != null) { - return asyncEventBuilder_.getMessageOrBuilder(); - } else { - return asyncEvent_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.getDefaultInstance() : asyncEvent_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder> - getAsyncEventFieldBuilder() { - if (asyncEventBuilder_ == null) { - asyncEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder>( - getAsyncEvent(), - getParentForChildren(), - isClean()); - asyncEvent_ = null; - } - return asyncEventBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } + private long period_; - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } + /** + * optional int64 period = 4; + * + * @return Whether the period field is set. + */ + @java.lang.Override + public boolean hasPeriod() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * optional int64 period = 4; + * + * @return The period. + */ + @java.lang.Override + public long getPeriod() { + return period_; + } - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent) - } + /** + * optional int64 period = 4; + * + * @param value The period to set. + * @return This builder for chaining. + */ + public Builder setPeriod(long value) { + bitField0_ |= 0x00000008; + period_ = value; + onChanged(); + return this; + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstanceContent) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent(); - } + /** + * optional int64 period = 4; + * + * @return This builder for chaining. + */ + public Builder clearPeriod() { + bitField0_ = (bitField0_ & ~0x00000008); + period_ = 0L; + onChanged(); + return this; + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent getDefaultInstance() { - return DEFAULT_INSTANCE; - } + private java.lang.Object processInstanceId_ = ""; - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeInstanceContent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeInstanceContent(input, extensionRegistry); - } - }; + /** + * optional string process_instance_id = 5; + * + * @return Whether the processInstanceId field is set. + */ + public boolean hasProcessInstanceId() { + return ((bitField0_ & 0x00000010) != 0); + } - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * optional string process_instance_id = 5; + * + * @return The processInstanceId. + */ + public java.lang.String getProcessInstanceId() { + java.lang.Object ref = processInstanceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + processInstanceId_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + * optional string process_instance_id = 5; + * + * @return The bytes for processInstanceId. + */ + public com.google.protobuf.ByteString getProcessInstanceIdBytes() { + java.lang.Object ref = processInstanceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + processInstanceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * optional string process_instance_id = 5; + * + * @param value The processInstanceId to set. + * @return This builder for chaining. + */ + public Builder setProcessInstanceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + processInstanceId_ = value; + onChanged(); + return this; + } - } + /** + * optional string process_instance_id = 5; + * + * @return This builder for chaining. + */ + public Builder clearProcessInstanceId() { + bitField0_ = (bitField0_ & ~0x00000010); + processInstanceId_ = getDefaultInstance().getProcessInstanceId(); + onChanged(); + return this; + } - private int bitField0_; - public static final int PROCESS_TYPE_FIELD_NUMBER = 1; - private volatile java.lang.Object processType_; - /** - * optional string process_type = 1; - * @return Whether the processType field is set. - */ - @java.lang.Override - public boolean hasProcessType() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string process_type = 1; - * @return The processType. - */ - @java.lang.Override - public java.lang.String getProcessType() { - java.lang.Object ref = processType_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processType_ = s; - } - return s; - } - } - /** - * optional string process_type = 1; - * @return The bytes for processType. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getProcessTypeBytes() { - java.lang.Object ref = processType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional string process_instance_id = 5; + * + * @param value The bytes for processInstanceId to set. + * @return This builder for chaining. + */ + public Builder setProcessInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + processInstanceId_ = value; + onChanged(); + return this; + } - public static final int ID_FIELD_NUMBER = 2; - private volatile java.lang.Object id_; - /** - * optional string id = 2; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string id = 2; - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } - } - /** - * optional string id = 2; - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private long activatedTime_; - public static final int PROCESS_ID_FIELD_NUMBER = 3; - private volatile java.lang.Object processId_; - /** - * optional string process_id = 3; - * @return Whether the processId field is set. - */ - @java.lang.Override - public boolean hasProcessId() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string process_id = 3; - * @return The processId. - */ - @java.lang.Override - public java.lang.String getProcessId() { - java.lang.Object ref = processId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processId_ = s; - } - return s; - } - } - /** - * optional string process_id = 3; - * @return The bytes for processId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getProcessIdBytes() { - java.lang.Object ref = processId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional int64 activated_time = 6; + * + * @return Whether the activatedTime field is set. + */ + @java.lang.Override + public boolean hasActivatedTime() { + return ((bitField0_ & 0x00000020) != 0); + } - public static final int PROCESS_VERSION_FIELD_NUMBER = 31; - private volatile java.lang.Object processVersion_; - /** - * optional string process_version = 31; - * @return Whether the processVersion field is set. - */ - @java.lang.Override - public boolean hasProcessVersion() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional string process_version = 31; - * @return The processVersion. - */ - @java.lang.Override - public java.lang.String getProcessVersion() { - java.lang.Object ref = processVersion_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processVersion_ = s; - } - return s; - } - } - /** - * optional string process_version = 31; - * @return The bytes for processVersion. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getProcessVersionBytes() { - java.lang.Object ref = processVersion_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processVersion_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional int64 activated_time = 6; + * + * @return The activatedTime. + */ + @java.lang.Override + public long getActivatedTime() { + return activatedTime_; + } - public static final int STATE_FIELD_NUMBER = 4; - private int state_; - /** - * optional int32 state = 4; - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional int32 state = 4; - * @return The state. - */ - @java.lang.Override - public int getState() { - return state_; - } + /** + * optional int64 activated_time = 6; + * + * @param value The activatedTime to set. + * @return This builder for chaining. + */ + public Builder setActivatedTime(long value) { + bitField0_ |= 0x00000020; + activatedTime_ = value; + onChanged(); + return this; + } - public static final int NODE_INSTANCE_COUNTER_FIELD_NUMBER = 5; - private long nodeInstanceCounter_; - /** - * optional int64 node_instance_counter = 5; - * @return Whether the nodeInstanceCounter field is set. - */ - @java.lang.Override - public boolean hasNodeInstanceCounter() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional int64 node_instance_counter = 5; - * @return The nodeInstanceCounter. - */ - @java.lang.Override - public long getNodeInstanceCounter() { - return nodeInstanceCounter_; - } + /** + * optional int64 activated_time = 6; + * + * @return This builder for chaining. + */ + public Builder clearActivatedTime() { + bitField0_ = (bitField0_ & ~0x00000020); + activatedTime_ = 0L; + onChanged(); + return this; + } - public static final int PROCESS_XML_FIELD_NUMBER = 11; - private volatile java.lang.Object processXml_; - /** - * optional string process_xml = 11; - * @return Whether the processXml field is set. - */ - @java.lang.Override - public boolean hasProcessXml() { - return ((bitField0_ & 0x00000040) != 0); - } - /** - * optional string process_xml = 11; - * @return The processXml. - */ - @java.lang.Override - public java.lang.String getProcessXml() { - java.lang.Object ref = processXml_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processXml_ = s; - } - return s; - } - } - /** - * optional string process_xml = 11; - * @return The bytes for processXml. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getProcessXmlBytes() { - java.lang.Object ref = processXml_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processXml_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private long lastTriggered_; - public static final int PARENT_PROCESS_INSTANCE_ID_FIELD_NUMBER = 12; - private volatile java.lang.Object parentProcessInstanceId_; - /** - * optional string parent_process_instance_id = 12; - * @return Whether the parentProcessInstanceId field is set. - */ - @java.lang.Override - public boolean hasParentProcessInstanceId() { - return ((bitField0_ & 0x00000080) != 0); - } - /** - * optional string parent_process_instance_id = 12; - * @return The parentProcessInstanceId. - */ - @java.lang.Override - public java.lang.String getParentProcessInstanceId() { - java.lang.Object ref = parentProcessInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - parentProcessInstanceId_ = s; - } - return s; - } - } - /** - * optional string parent_process_instance_id = 12; - * @return The bytes for parentProcessInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getParentProcessInstanceIdBytes() { - java.lang.Object ref = parentProcessInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - parentProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional int64 last_triggered = 7; + * + * @return Whether the lastTriggered field is set. + */ + @java.lang.Override + public boolean hasLastTriggered() { + return ((bitField0_ & 0x00000040) != 0); + } - public static final int DESCRIPTION_FIELD_NUMBER = 15; - private volatile java.lang.Object description_; - /** - * optional string description = 15; - * @return Whether the description field is set. - */ - @java.lang.Override - public boolean hasDescription() { - return ((bitField0_ & 0x00000100) != 0); - } - /** - * optional string description = 15; - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - description_ = s; - } - return s; - } - } - /** - * optional string description = 15; - * @return The bytes for description. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional int64 last_triggered = 7; + * + * @return The lastTriggered. + */ + @java.lang.Override + public long getLastTriggered() { + return lastTriggered_; + } - public static final int SIGNAL_COMPLETION_FIELD_NUMBER = 16; - private boolean signalCompletion_; - /** - * optional bool signal_completion = 16 [default = true]; - * @return Whether the signalCompletion field is set. - */ - @java.lang.Override - public boolean hasSignalCompletion() { - return ((bitField0_ & 0x00000200) != 0); - } - /** - * optional bool signal_completion = 16 [default = true]; - * @return The signalCompletion. - */ - @java.lang.Override - public boolean getSignalCompletion() { - return signalCompletion_; - } + /** + * optional int64 last_triggered = 7; + * + * @param value The lastTriggered to set. + * @return This builder for chaining. + */ + public Builder setLastTriggered(long value) { + bitField0_ |= 0x00000040; + lastTriggered_ = value; + onChanged(); + return this; + } - public static final int DEPLOYMENTID_FIELD_NUMBER = 17; - private volatile java.lang.Object deploymentId_; - /** - * optional string deploymentId = 17; - * @return Whether the deploymentId field is set. - */ - @java.lang.Override - public boolean hasDeploymentId() { - return ((bitField0_ & 0x00000400) != 0); - } - /** - * optional string deploymentId = 17; - * @return The deploymentId. - */ - @java.lang.Override - public java.lang.String getDeploymentId() { - java.lang.Object ref = deploymentId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - deploymentId_ = s; - } - return s; - } - } - /** - * optional string deploymentId = 17; - * @return The bytes for deploymentId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getDeploymentIdBytes() { - java.lang.Object ref = deploymentId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deploymentId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional int64 last_triggered = 7; + * + * @return This builder for chaining. + */ + public Builder clearLastTriggered() { + bitField0_ = (bitField0_ & ~0x00000040); + lastTriggered_ = 0L; + onChanged(); + return this; + } - public static final int CORRELATION_KEY_FIELD_NUMBER = 18; - private volatile java.lang.Object correlationKey_; - /** - * optional string correlation_key = 18; - * @return Whether the correlationKey field is set. - */ - @java.lang.Override - public boolean hasCorrelationKey() { - return ((bitField0_ & 0x00000800) != 0); - } - /** - * optional string correlation_key = 18; - * @return The correlationKey. - */ - @java.lang.Override - public java.lang.String getCorrelationKey() { - java.lang.Object ref = correlationKey_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - correlationKey_ = s; - } - return s; - } - } - /** - * optional string correlation_key = 18; - * @return The bytes for correlationKey. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getCorrelationKeyBytes() { - java.lang.Object ref = correlationKey_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - correlationKey_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private int repeatLimit_; - public static final int SLA_TIMER_ID_FIELD_NUMBER = 19; - private volatile java.lang.Object slaTimerId_; - /** - * optional string sla_timer_id = 19; - * @return Whether the slaTimerId field is set. - */ - @java.lang.Override - public boolean hasSlaTimerId() { - return ((bitField0_ & 0x00001000) != 0); - } - /** - * optional string sla_timer_id = 19; - * @return The slaTimerId. - */ - @java.lang.Override - public java.lang.String getSlaTimerId() { - java.lang.Object ref = slaTimerId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - slaTimerId_ = s; - } - return s; - } - } - /** - * optional string sla_timer_id = 19; - * @return The bytes for slaTimerId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getSlaTimerIdBytes() { - java.lang.Object ref = slaTimerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - slaTimerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional int32 repeatLimit = 8; + * + * @return Whether the repeatLimit field is set. + */ + @java.lang.Override + public boolean hasRepeatLimit() { + return ((bitField0_ & 0x00000080) != 0); + } - public static final int SLA_DUE_DATE_FIELD_NUMBER = 20; - private long slaDueDate_; - /** - * optional int64 sla_due_date = 20; - * @return Whether the slaDueDate field is set. - */ - @java.lang.Override - public boolean hasSlaDueDate() { - return ((bitField0_ & 0x00002000) != 0); - } - /** - * optional int64 sla_due_date = 20; - * @return The slaDueDate. - */ - @java.lang.Override - public long getSlaDueDate() { - return slaDueDate_; - } + /** + * optional int32 repeatLimit = 8; + * + * @return The repeatLimit. + */ + @java.lang.Override + public int getRepeatLimit() { + return repeatLimit_; + } - public static final int SLA_COMPLIANCE_FIELD_NUMBER = 21; - private int slaCompliance_; - /** - * optional int32 sla_compliance = 21; - * @return Whether the slaCompliance field is set. - */ - @java.lang.Override - public boolean hasSlaCompliance() { - return ((bitField0_ & 0x00004000) != 0); - } - /** - * optional int32 sla_compliance = 21; - * @return The slaCompliance. - */ - @java.lang.Override - public int getSlaCompliance() { - return slaCompliance_; - } + /** + * optional int32 repeatLimit = 8; + * + * @param value The repeatLimit to set. + * @return This builder for chaining. + */ + public Builder setRepeatLimit(int value) { + bitField0_ |= 0x00000080; + repeatLimit_ = value; + onChanged(); + return this; + } - public static final int ROOT_PROCESS_INSTANCE_ID_FIELD_NUMBER = 22; - private volatile java.lang.Object rootProcessInstanceId_; - /** - * optional string root_process_instance_id = 22; - * @return Whether the rootProcessInstanceId field is set. - */ - @java.lang.Override - public boolean hasRootProcessInstanceId() { - return ((bitField0_ & 0x00008000) != 0); - } - /** - * optional string root_process_instance_id = 22; - * @return The rootProcessInstanceId. - */ - @java.lang.Override - public java.lang.String getRootProcessInstanceId() { - java.lang.Object ref = rootProcessInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - rootProcessInstanceId_ = s; - } - return s; - } - } - /** - * optional string root_process_instance_id = 22; - * @return The bytes for rootProcessInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getRootProcessInstanceIdBytes() { - java.lang.Object ref = rootProcessInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - rootProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional int32 repeatLimit = 8; + * + * @return This builder for chaining. + */ + public Builder clearRepeatLimit() { + bitField0_ = (bitField0_ & ~0x00000080); + repeatLimit_ = 0; + onChanged(); + return this; + } + + private long nextTrigger_; - public static final int START_DATE_FIELD_NUMBER = 23; - private long startDate_; - /** - * optional int64 start_date = 23; - * @return Whether the startDate field is set. - */ - @java.lang.Override - public boolean hasStartDate() { - return ((bitField0_ & 0x00010000) != 0); - } - /** - * optional int64 start_date = 23; - * @return The startDate. - */ - @java.lang.Override - public long getStartDate() { - return startDate_; - } + /** + * optional int64 next_trigger = 9; + * + * @return Whether the nextTrigger field is set. + */ + @java.lang.Override + public boolean hasNextTrigger() { + return ((bitField0_ & 0x00000100) != 0); + } - public static final int ROOT_PROCESS_ID_FIELD_NUMBER = 24; - private volatile java.lang.Object rootProcessId_; - /** - * optional string root_process_id = 24; - * @return Whether the rootProcessId field is set. - */ - @java.lang.Override - public boolean hasRootProcessId() { - return ((bitField0_ & 0x00020000) != 0); - } - /** - * optional string root_process_id = 24; - * @return The rootProcessId. - */ - @java.lang.Override - public java.lang.String getRootProcessId() { - java.lang.Object ref = rootProcessId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - rootProcessId_ = s; - } - return s; - } - } - /** - * optional string root_process_id = 24; - * @return The bytes for rootProcessId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getRootProcessIdBytes() { - java.lang.Object ref = rootProcessId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - rootProcessId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional int64 next_trigger = 9; + * + * @return The nextTrigger. + */ + @java.lang.Override + public long getNextTrigger() { + return nextTrigger_; + } - public static final int REFERENCE_ID_FIELD_NUMBER = 25; - private volatile java.lang.Object referenceId_; - /** - * optional string reference_id = 25; - * @return Whether the referenceId field is set. - */ - @java.lang.Override - public boolean hasReferenceId() { - return ((bitField0_ & 0x00040000) != 0); - } - /** - * optional string reference_id = 25; - * @return The referenceId. - */ - @java.lang.Override - public java.lang.String getReferenceId() { - java.lang.Object ref = referenceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - referenceId_ = s; - } - return s; - } - } - /** - * optional string reference_id = 25; - * @return The bytes for referenceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getReferenceIdBytes() { - java.lang.Object ref = referenceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - referenceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional int64 next_trigger = 9; + * + * @param value The nextTrigger to set. + * @return This builder for chaining. + */ + public Builder setNextTrigger(long value) { + bitField0_ |= 0x00000100; + nextTrigger_ = value; + onChanged(); + return this; + } - public static final int INITIATOR_FIELD_NUMBER = 26; - private volatile java.lang.Object initiator_; - /** - * optional string initiator = 26; - * @return Whether the initiator field is set. - */ - @java.lang.Override - public boolean hasInitiator() { - return ((bitField0_ & 0x00080000) != 0); - } - /** - * optional string initiator = 26; - * @return The initiator. - */ - @java.lang.Override - public java.lang.String getInitiator() { - java.lang.Object ref = initiator_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - initiator_ = s; - } - return s; - } - } - /** - * optional string initiator = 26; - * @return The bytes for initiator. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getInitiatorBytes() { - java.lang.Object ref = initiator_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - initiator_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional int64 next_trigger = 9; + * + * @return This builder for chaining. + */ + public Builder clearNextTrigger() { + bitField0_ = (bitField0_ & ~0x00000100); + nextTrigger_ = 0L; + onChanged(); + return this; + } - public static final int REFERENCE_FROM_ROOT_FIELD_NUMBER = 30; - private volatile java.lang.Object referenceFromRoot_; - /** - * optional string reference_from_root = 30; - * @return Whether the referenceFromRoot field is set. - */ - @java.lang.Override - public boolean hasReferenceFromRoot() { - return ((bitField0_ & 0x00100000) != 0); - } - /** - * optional string reference_from_root = 30; - * @return The referenceFromRoot. - */ - @java.lang.Override - public java.lang.String getReferenceFromRoot() { - java.lang.Object ref = referenceFromRoot_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - referenceFromRoot_ = s; - } - return s; - } - } - /** - * optional string reference_from_root = 30; - * @return The bytes for referenceFromRoot. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getReferenceFromRootBytes() { - java.lang.Object ref = referenceFromRoot_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - referenceFromRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } - public static final int END_DATE_FIELD_NUMBER = 33; - private long endDate_; - /** - * optional int64 end_date = 33; - * @return Whether the endDate field is set. - */ - @java.lang.Override - public boolean hasEndDate() { - return ((bitField0_ & 0x00200000) != 0); - } - /** - * optional int64 end_date = 33; - * @return The endDate. - */ - @java.lang.Override - public long getEndDate() { - return endDate_; - } + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } - public static final int SWIMLANE_CONTEXT_FIELD_NUMBER = 6; - private java.util.List swimlaneContext_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - @java.lang.Override - public java.util.List getSwimlaneContextList() { - return swimlaneContext_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - @java.lang.Override - public java.util.List - getSwimlaneContextOrBuilderList() { - return swimlaneContext_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - @java.lang.Override - public int getSwimlaneContextCount() { - return swimlaneContext_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance getSwimlaneContext(int index) { - return swimlaneContext_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder getSwimlaneContextOrBuilder( - int index) { - return swimlaneContext_.get(index); - } + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance) + } - public static final int NODE_INSTANCE_FIELD_NUMBER = 7; - private java.util.List nodeInstance_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - @java.lang.Override - public java.util.List getNodeInstanceList() { - return nodeInstance_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - @java.lang.Override - public java.util.List - getNodeInstanceOrBuilderList() { - return nodeInstance_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - @java.lang.Override - public int getNodeInstanceCount() { - return nodeInstance_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance(int index) { - return nodeInstance_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index) { - return nodeInstance_.get(index); - } + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance(); + } - public static final int VARIABLE_FIELD_NUMBER = 8; - private java.util.List variable_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - @java.lang.Override - public java.util.List getVariableList() { - return variable_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - @java.lang.Override - public java.util.List - getVariableOrBuilderList() { - return variable_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - @java.lang.Override - public int getVariableCount() { - return variable_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { - return variable_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - return variable_.get(index); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance getDefaultInstance() { + return DEFAULT_INSTANCE; + } - public static final int EXCLUSIVE_GROUP_FIELD_NUMBER = 10; - private java.util.List exclusiveGroup_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - @java.lang.Override - public java.util.List getExclusiveGroupList() { - return exclusiveGroup_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - @java.lang.Override - public java.util.List - getExclusiveGroupOrBuilderList() { - return exclusiveGroup_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - @java.lang.Override - public int getExclusiveGroupCount() { - return exclusiveGroup_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup(int index) { - return exclusiveGroup_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( - int index) { - return exclusiveGroup_.get(index); - } + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimerInstance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TimerInstance(input, extensionRegistry); + } + }; - public static final int COMPLETEDNODEIDS_FIELD_NUMBER = 13; - private com.google.protobuf.LazyStringList completedNodeIds_; - /** - * repeated string completedNodeIds = 13; - * @return A list containing the completedNodeIds. - */ - public com.google.protobuf.ProtocolStringList - getCompletedNodeIdsList() { - return completedNodeIds_; - } - /** - * repeated string completedNodeIds = 13; - * @return The count of completedNodeIds. - */ - public int getCompletedNodeIdsCount() { - return completedNodeIds_.size(); - } - /** - * repeated string completedNodeIds = 13; - * @param index The index of the element to return. - * @return The completedNodeIds at the given index. - */ - public java.lang.String getCompletedNodeIds(int index) { - return completedNodeIds_.get(index); - } - /** - * repeated string completedNodeIds = 13; - * @param index The index of the value to return. - * @return The bytes of the completedNodeIds at the given index. - */ - public com.google.protobuf.ByteString - getCompletedNodeIdsBytes(int index) { - return completedNodeIds_.getByteString(index); - } + public static com.google.protobuf.Parser parser() { + return PARSER; + } - public static final int ITERATIONLEVELS_FIELD_NUMBER = 14; - private java.util.List iterationLevels_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - @java.lang.Override - public java.util.List getIterationLevelsList() { - return iterationLevels_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - @java.lang.Override - public java.util.List - getIterationLevelsOrBuilderList() { - return iterationLevels_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - @java.lang.Override - public int getIterationLevelsCount() { - return iterationLevels_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels(int index) { - return iterationLevels_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index) { - return iterationLevels_.get(index); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - public static final int CHILDREN_FIELD_NUMBER = 27; - private java.util.List children_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - @java.lang.Override - public java.util.List getChildrenList() { - return children_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - @java.lang.Override - public java.util.List - getChildrenOrBuilderList() { - return children_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - @java.lang.Override - public int getChildrenCount() { - return children_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren getChildren(int index) { - return children_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildrenOrBuilder getChildrenOrBuilder( - int index) { - return children_.get(index); - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - public static final int TAGS_FIELD_NUMBER = 28; - private java.util.List tags_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - @java.lang.Override - public java.util.List getTagsList() { - return tags_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - @java.lang.Override - public java.util.List - getTagsOrBuilderList() { - return tags_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - @java.lang.Override - public int getTagsCount() { - return tags_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag getTags(int index) { - return tags_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.TagOrBuilder getTagsOrBuilder( - int index) { - return tags_.get(index); - } + } - public static final int ERRORS_FIELD_NUMBER = 29; - private java.util.List errors_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - @java.lang.Override - public java.util.List getErrorsList() { - return errors_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - @java.lang.Override - public java.util.List - getErrorsOrBuilderList() { - return errors_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - @java.lang.Override - public int getErrorsCount() { - return errors_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error getErrors(int index) { - return errors_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ErrorOrBuilder getErrorsOrBuilder( - int index) { - return errors_.get(index); - } + private int bitField0_; + public static final int TIMER_FIELD_NUMBER = 1; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance timer_; - public static final int RECOVERY_ITEM_FIELD_NUMBER = 32; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem recoveryItem_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - * @return Whether the recoveryItem field is set. - */ - @java.lang.Override - public boolean hasRecoveryItem() { - return ((bitField0_ & 0x00400000) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - * @return The recoveryItem. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem getRecoveryItem() { - return recoveryItem_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.getDefaultInstance() : recoveryItem_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItemOrBuilder getRecoveryItemOrBuilder() { - return recoveryItem_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.getDefaultInstance() : recoveryItem_; - } + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + * + * @return Whether the timer field is set. + */ + @java.lang.Override + public boolean hasTimer() { + return ((bitField0_ & 0x00000001) != 0); + } - public static final int FINISHED_SUBPROCESSES_FIELD_NUMBER = 34; - private java.util.List finishedSubprocesses_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - @java.lang.Override - public java.util.List getFinishedSubprocessesList() { - return finishedSubprocesses_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - @java.lang.Override - public java.util.List - getFinishedSubprocessesOrBuilderList() { - return finishedSubprocesses_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - @java.lang.Override - public int getFinishedSubprocessesCount() { - return finishedSubprocesses_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses getFinishedSubprocesses(int index) { - return finishedSubprocesses_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcessesOrBuilder getFinishedSubprocessesOrBuilder( - int index) { - return finishedSubprocesses_.get(index); - } + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + * + * @return The timer. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance getTimer() { + return timer_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance + .getDefaultInstance() + : timer_; + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstanceOrBuilder getTimerOrBuilder() { + return timer_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance + .getDefaultInstance() + : timer_; + } - memoizedIsInitialized = 1; - return true; - } + public static final int TRIGGER_FIELD_NUMBER = 2; + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger trigger_; - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, processType_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_); - } - if (((bitField0_ & 0x00000004) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, processId_); - } - if (((bitField0_ & 0x00000010) != 0)) { - output.writeInt32(4, state_); - } - if (((bitField0_ & 0x00000020) != 0)) { - output.writeInt64(5, nodeInstanceCounter_); - } - for (int i = 0; i < swimlaneContext_.size(); i++) { - output.writeMessage(6, swimlaneContext_.get(i)); - } - for (int i = 0; i < nodeInstance_.size(); i++) { - output.writeMessage(7, nodeInstance_.get(i)); - } - for (int i = 0; i < variable_.size(); i++) { - output.writeMessage(8, variable_.get(i)); - } - for (int i = 0; i < exclusiveGroup_.size(); i++) { - output.writeMessage(10, exclusiveGroup_.get(i)); - } - if (((bitField0_ & 0x00000040) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, processXml_); - } - if (((bitField0_ & 0x00000080) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, parentProcessInstanceId_); - } - for (int i = 0; i < completedNodeIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, completedNodeIds_.getRaw(i)); - } - for (int i = 0; i < iterationLevels_.size(); i++) { - output.writeMessage(14, iterationLevels_.get(i)); - } - if (((bitField0_ & 0x00000100) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 15, description_); - } - if (((bitField0_ & 0x00000200) != 0)) { - output.writeBool(16, signalCompletion_); - } - if (((bitField0_ & 0x00000400) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 17, deploymentId_); - } - if (((bitField0_ & 0x00000800) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 18, correlationKey_); - } - if (((bitField0_ & 0x00001000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 19, slaTimerId_); - } - if (((bitField0_ & 0x00002000) != 0)) { - output.writeInt64(20, slaDueDate_); - } - if (((bitField0_ & 0x00004000) != 0)) { - output.writeInt32(21, slaCompliance_); - } - if (((bitField0_ & 0x00008000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 22, rootProcessInstanceId_); - } - if (((bitField0_ & 0x00010000) != 0)) { - output.writeInt64(23, startDate_); - } - if (((bitField0_ & 0x00020000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 24, rootProcessId_); - } - if (((bitField0_ & 0x00040000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 25, referenceId_); - } - if (((bitField0_ & 0x00080000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 26, initiator_); - } - for (int i = 0; i < children_.size(); i++) { - output.writeMessage(27, children_.get(i)); - } - for (int i = 0; i < tags_.size(); i++) { - output.writeMessage(28, tags_.get(i)); - } - for (int i = 0; i < errors_.size(); i++) { - output.writeMessage(29, errors_.get(i)); - } - if (((bitField0_ & 0x00100000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 30, referenceFromRoot_); - } - if (((bitField0_ & 0x00000008) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 31, processVersion_); - } - if (((bitField0_ & 0x00400000) != 0)) { - output.writeMessage(32, getRecoveryItem()); - } - if (((bitField0_ & 0x00200000) != 0)) { - output.writeInt64(33, endDate_); - } - for (int i = 0; i < finishedSubprocesses_.size(); i++) { - output.writeMessage(34, finishedSubprocesses_.get(i)); - } - unknownFields.writeTo(output); - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + * + * @return Whether the trigger field is set. + */ + @java.lang.Override + public boolean hasTrigger() { + return ((bitField0_ & 0x00000002) != 0); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, processType_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, processId_); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, state_); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, nodeInstanceCounter_); - } - for (int i = 0; i < swimlaneContext_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, swimlaneContext_.get(i)); - } - for (int i = 0; i < nodeInstance_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, nodeInstance_.get(i)); - } - for (int i = 0; i < variable_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, variable_.get(i)); - } - for (int i = 0; i < exclusiveGroup_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, exclusiveGroup_.get(i)); - } - if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, processXml_); - } - if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, parentProcessInstanceId_); - } - { - int dataSize = 0; - for (int i = 0; i < completedNodeIds_.size(); i++) { - dataSize += computeStringSizeNoTag(completedNodeIds_.getRaw(i)); - } - size += dataSize; - size += 1 * getCompletedNodeIdsList().size(); - } - for (int i = 0; i < iterationLevels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(14, iterationLevels_.get(i)); - } - if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, description_); - } - if (((bitField0_ & 0x00000200) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(16, signalCompletion_); - } - if (((bitField0_ & 0x00000400) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, deploymentId_); - } - if (((bitField0_ & 0x00000800) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, correlationKey_); - } - if (((bitField0_ & 0x00001000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, slaTimerId_); - } - if (((bitField0_ & 0x00002000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(20, slaDueDate_); - } - if (((bitField0_ & 0x00004000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(21, slaCompliance_); - } - if (((bitField0_ & 0x00008000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, rootProcessInstanceId_); - } - if (((bitField0_ & 0x00010000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(23, startDate_); - } - if (((bitField0_ & 0x00020000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, rootProcessId_); - } - if (((bitField0_ & 0x00040000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, referenceId_); - } - if (((bitField0_ & 0x00080000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, initiator_); - } - for (int i = 0; i < children_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, children_.get(i)); - } - for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, tags_.get(i)); - } - for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, errors_.get(i)); - } - if (((bitField0_ & 0x00100000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, referenceFromRoot_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, processVersion_); - } - if (((bitField0_ & 0x00400000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(32, getRecoveryItem()); - } - if (((bitField0_ & 0x00200000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(33, endDate_); - } - for (int i = 0; i < finishedSubprocesses_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(34, finishedSubprocesses_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + * + * @return The trigger. + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getTrigger() { + return trigger_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() + : trigger_; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance) obj; - - if (hasProcessType() != other.hasProcessType()) return false; - if (hasProcessType()) { - if (!getProcessType() - .equals(other.getProcessType())) return false; - } - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasProcessId() != other.hasProcessId()) return false; - if (hasProcessId()) { - if (!getProcessId() - .equals(other.getProcessId())) return false; - } - if (hasProcessVersion() != other.hasProcessVersion()) return false; - if (hasProcessVersion()) { - if (!getProcessVersion() - .equals(other.getProcessVersion())) return false; - } - if (hasState() != other.hasState()) return false; - if (hasState()) { - if (getState() - != other.getState()) return false; - } - if (hasNodeInstanceCounter() != other.hasNodeInstanceCounter()) return false; - if (hasNodeInstanceCounter()) { - if (getNodeInstanceCounter() - != other.getNodeInstanceCounter()) return false; - } - if (hasProcessXml() != other.hasProcessXml()) return false; - if (hasProcessXml()) { - if (!getProcessXml() - .equals(other.getProcessXml())) return false; - } - if (hasParentProcessInstanceId() != other.hasParentProcessInstanceId()) return false; - if (hasParentProcessInstanceId()) { - if (!getParentProcessInstanceId() - .equals(other.getParentProcessInstanceId())) return false; - } - if (hasDescription() != other.hasDescription()) return false; - if (hasDescription()) { - if (!getDescription() - .equals(other.getDescription())) return false; - } - if (hasSignalCompletion() != other.hasSignalCompletion()) return false; - if (hasSignalCompletion()) { - if (getSignalCompletion() - != other.getSignalCompletion()) return false; - } - if (hasDeploymentId() != other.hasDeploymentId()) return false; - if (hasDeploymentId()) { - if (!getDeploymentId() - .equals(other.getDeploymentId())) return false; - } - if (hasCorrelationKey() != other.hasCorrelationKey()) return false; - if (hasCorrelationKey()) { - if (!getCorrelationKey() - .equals(other.getCorrelationKey())) return false; - } - if (hasSlaTimerId() != other.hasSlaTimerId()) return false; - if (hasSlaTimerId()) { - if (!getSlaTimerId() - .equals(other.getSlaTimerId())) return false; - } - if (hasSlaDueDate() != other.hasSlaDueDate()) return false; - if (hasSlaDueDate()) { - if (getSlaDueDate() - != other.getSlaDueDate()) return false; - } - if (hasSlaCompliance() != other.hasSlaCompliance()) return false; - if (hasSlaCompliance()) { - if (getSlaCompliance() - != other.getSlaCompliance()) return false; - } - if (hasRootProcessInstanceId() != other.hasRootProcessInstanceId()) return false; - if (hasRootProcessInstanceId()) { - if (!getRootProcessInstanceId() - .equals(other.getRootProcessInstanceId())) return false; - } - if (hasStartDate() != other.hasStartDate()) return false; - if (hasStartDate()) { - if (getStartDate() - != other.getStartDate()) return false; - } - if (hasRootProcessId() != other.hasRootProcessId()) return false; - if (hasRootProcessId()) { - if (!getRootProcessId() - .equals(other.getRootProcessId())) return false; - } - if (hasReferenceId() != other.hasReferenceId()) return false; - if (hasReferenceId()) { - if (!getReferenceId() - .equals(other.getReferenceId())) return false; - } - if (hasInitiator() != other.hasInitiator()) return false; - if (hasInitiator()) { - if (!getInitiator() - .equals(other.getInitiator())) return false; - } - if (hasReferenceFromRoot() != other.hasReferenceFromRoot()) return false; - if (hasReferenceFromRoot()) { - if (!getReferenceFromRoot() - .equals(other.getReferenceFromRoot())) return false; - } - if (hasEndDate() != other.hasEndDate()) return false; - if (hasEndDate()) { - if (getEndDate() - != other.getEndDate()) return false; - } - if (!getSwimlaneContextList() - .equals(other.getSwimlaneContextList())) return false; - if (!getNodeInstanceList() - .equals(other.getNodeInstanceList())) return false; - if (!getVariableList() - .equals(other.getVariableList())) return false; - if (!getExclusiveGroupList() - .equals(other.getExclusiveGroupList())) return false; - if (!getCompletedNodeIdsList() - .equals(other.getCompletedNodeIdsList())) return false; - if (!getIterationLevelsList() - .equals(other.getIterationLevelsList())) return false; - if (!getChildrenList() - .equals(other.getChildrenList())) return false; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; - if (hasRecoveryItem() != other.hasRecoveryItem()) return false; - if (hasRecoveryItem()) { - if (!getRecoveryItem() - .equals(other.getRecoveryItem())) return false; - } - if (!getFinishedSubprocessesList() - .equals(other.getFinishedSubprocessesList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + */ + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder getTriggerOrBuilder() { + return trigger_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() + : trigger_; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasProcessType()) { - hash = (37 * hash) + PROCESS_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getProcessType().hashCode(); - } - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasProcessId()) { - hash = (37 * hash) + PROCESS_ID_FIELD_NUMBER; - hash = (53 * hash) + getProcessId().hashCode(); - } - if (hasProcessVersion()) { - hash = (37 * hash) + PROCESS_VERSION_FIELD_NUMBER; - hash = (53 * hash) + getProcessVersion().hashCode(); - } - if (hasState()) { - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + getState(); - } - if (hasNodeInstanceCounter()) { - hash = (37 * hash) + NODE_INSTANCE_COUNTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNodeInstanceCounter()); - } - if (hasProcessXml()) { - hash = (37 * hash) + PROCESS_XML_FIELD_NUMBER; - hash = (53 * hash) + getProcessXml().hashCode(); - } - if (hasParentProcessInstanceId()) { - hash = (37 * hash) + PARENT_PROCESS_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getParentProcessInstanceId().hashCode(); - } - if (hasDescription()) { - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - } - if (hasSignalCompletion()) { - hash = (37 * hash) + SIGNAL_COMPLETION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSignalCompletion()); - } - if (hasDeploymentId()) { - hash = (37 * hash) + DEPLOYMENTID_FIELD_NUMBER; - hash = (53 * hash) + getDeploymentId().hashCode(); - } - if (hasCorrelationKey()) { - hash = (37 * hash) + CORRELATION_KEY_FIELD_NUMBER; - hash = (53 * hash) + getCorrelationKey().hashCode(); - } - if (hasSlaTimerId()) { - hash = (37 * hash) + SLA_TIMER_ID_FIELD_NUMBER; - hash = (53 * hash) + getSlaTimerId().hashCode(); - } - if (hasSlaDueDate()) { - hash = (37 * hash) + SLA_DUE_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSlaDueDate()); - } - if (hasSlaCompliance()) { - hash = (37 * hash) + SLA_COMPLIANCE_FIELD_NUMBER; - hash = (53 * hash) + getSlaCompliance(); - } - if (hasRootProcessInstanceId()) { - hash = (37 * hash) + ROOT_PROCESS_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getRootProcessInstanceId().hashCode(); - } - if (hasStartDate()) { - hash = (37 * hash) + START_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getStartDate()); - } - if (hasRootProcessId()) { - hash = (37 * hash) + ROOT_PROCESS_ID_FIELD_NUMBER; - hash = (53 * hash) + getRootProcessId().hashCode(); - } - if (hasReferenceId()) { - hash = (37 * hash) + REFERENCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getReferenceId().hashCode(); - } - if (hasInitiator()) { - hash = (37 * hash) + INITIATOR_FIELD_NUMBER; - hash = (53 * hash) + getInitiator().hashCode(); - } - if (hasReferenceFromRoot()) { - hash = (37 * hash) + REFERENCE_FROM_ROOT_FIELD_NUMBER; - hash = (53 * hash) + getReferenceFromRoot().hashCode(); - } - if (hasEndDate()) { - hash = (37 * hash) + END_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getEndDate()); - } - if (getSwimlaneContextCount() > 0) { - hash = (37 * hash) + SWIMLANE_CONTEXT_FIELD_NUMBER; - hash = (53 * hash) + getSwimlaneContextList().hashCode(); - } - if (getNodeInstanceCount() > 0) { - hash = (37 * hash) + NODE_INSTANCE_FIELD_NUMBER; - hash = (53 * hash) + getNodeInstanceList().hashCode(); - } - if (getVariableCount() > 0) { - hash = (37 * hash) + VARIABLE_FIELD_NUMBER; - hash = (53 * hash) + getVariableList().hashCode(); - } - if (getExclusiveGroupCount() > 0) { - hash = (37 * hash) + EXCLUSIVE_GROUP_FIELD_NUMBER; - hash = (53 * hash) + getExclusiveGroupList().hashCode(); - } - if (getCompletedNodeIdsCount() > 0) { - hash = (37 * hash) + COMPLETEDNODEIDS_FIELD_NUMBER; - hash = (53 * hash) + getCompletedNodeIdsList().hashCode(); - } - if (getIterationLevelsCount() > 0) { - hash = (37 * hash) + ITERATIONLEVELS_FIELD_NUMBER; - hash = (53 * hash) + getIterationLevelsList().hashCode(); - } - if (getChildrenCount() > 0) { - hash = (37 * hash) + CHILDREN_FIELD_NUMBER; - hash = (53 * hash) + getChildrenList().hashCode(); - } - if (getTagsCount() > 0) { - hash = (37 * hash) + TAGS_FIELD_NUMBER; - hash = (53 * hash) + getTagsList().hashCode(); - } - if (getErrorsCount() > 0) { - hash = (37 * hash) + ERRORS_FIELD_NUMBER; - hash = (53 * hash) + getErrorsList().hashCode(); - } - if (hasRecoveryItem()) { - hash = (37 * hash) + RECOVERY_ITEM_FIELD_NUMBER; - hash = (53 * hash) + getRecoveryItem().hashCode(); - } - if (getFinishedSubprocessesCount() > 0) { - hash = (37 * hash) + FINISHED_SUBPROCESSES_FIELD_NUMBER; - hash = (53 * hash) + getFinishedSubprocessesList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + private byte memoizedIsInitialized = -1; - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessInstance} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessInstance) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getSwimlaneContextFieldBuilder(); - getNodeInstanceFieldBuilder(); - getVariableFieldBuilder(); - getExclusiveGroupFieldBuilder(); - getIterationLevelsFieldBuilder(); - getChildrenFieldBuilder(); - getTagsFieldBuilder(); - getErrorsFieldBuilder(); - getRecoveryItemFieldBuilder(); - getFinishedSubprocessesFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - processType_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - id_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - processId_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - processVersion_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); - state_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); - nodeInstanceCounter_ = 0L; - bitField0_ = (bitField0_ & ~0x00000020); - processXml_ = ""; - bitField0_ = (bitField0_ & ~0x00000040); - parentProcessInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000080); - description_ = ""; - bitField0_ = (bitField0_ & ~0x00000100); - signalCompletion_ = true; - bitField0_ = (bitField0_ & ~0x00000200); - deploymentId_ = ""; - bitField0_ = (bitField0_ & ~0x00000400); - correlationKey_ = ""; - bitField0_ = (bitField0_ & ~0x00000800); - slaTimerId_ = ""; - bitField0_ = (bitField0_ & ~0x00001000); - slaDueDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00002000); - slaCompliance_ = 0; - bitField0_ = (bitField0_ & ~0x00004000); - rootProcessInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00008000); - startDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00010000); - rootProcessId_ = ""; - bitField0_ = (bitField0_ & ~0x00020000); - referenceId_ = ""; - bitField0_ = (bitField0_ & ~0x00040000); - initiator_ = ""; - bitField0_ = (bitField0_ & ~0x00080000); - referenceFromRoot_ = ""; - bitField0_ = (bitField0_ & ~0x00100000); - endDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00200000); - if (swimlaneContextBuilder_ == null) { - swimlaneContext_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00400000); - } else { - swimlaneContextBuilder_.clear(); - } - if (nodeInstanceBuilder_ == null) { - nodeInstance_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00800000); - } else { - nodeInstanceBuilder_.clear(); - } - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x01000000); - } else { - variableBuilder_.clear(); - } - if (exclusiveGroupBuilder_ == null) { - exclusiveGroup_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x02000000); - } else { - exclusiveGroupBuilder_.clear(); - } - completedNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x04000000); - if (iterationLevelsBuilder_ == null) { - iterationLevels_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x08000000); - } else { - iterationLevelsBuilder_.clear(); - } - if (childrenBuilder_ == null) { - children_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x10000000); - } else { - childrenBuilder_.clear(); - } - if (tagsBuilder_ == null) { - tags_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x20000000); - } else { - tagsBuilder_.clear(); - } - if (errorsBuilder_ == null) { - errors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x40000000); - } else { - errorsBuilder_.clear(); - } - if (recoveryItemBuilder_ == null) { - recoveryItem_ = null; - } else { - recoveryItemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x80000000); - if (finishedSubprocessesBuilder_ == null) { - finishedSubprocesses_ = java.util.Collections.emptyList(); - bitField1_ = (bitField1_ & ~0x00000001); - } else { - finishedSubprocessesBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance(this); - int from_bitField0_ = bitField0_; - int from_bitField1_ = bitField1_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.processType_ = processType_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.id_ = id_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.processId_ = processId_; - if (((from_bitField0_ & 0x00000008) != 0)) { - to_bitField0_ |= 0x00000008; - } - result.processVersion_ = processVersion_; - if (((from_bitField0_ & 0x00000010) != 0)) { - result.state_ = state_; - to_bitField0_ |= 0x00000010; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.nodeInstanceCounter_ = nodeInstanceCounter_; - to_bitField0_ |= 0x00000020; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - to_bitField0_ |= 0x00000040; - } - result.processXml_ = processXml_; - if (((from_bitField0_ & 0x00000080) != 0)) { - to_bitField0_ |= 0x00000080; - } - result.parentProcessInstanceId_ = parentProcessInstanceId_; - if (((from_bitField0_ & 0x00000100) != 0)) { - to_bitField0_ |= 0x00000100; - } - result.description_ = description_; - if (((from_bitField0_ & 0x00000200) != 0)) { - to_bitField0_ |= 0x00000200; - } - result.signalCompletion_ = signalCompletion_; - if (((from_bitField0_ & 0x00000400) != 0)) { - to_bitField0_ |= 0x00000400; - } - result.deploymentId_ = deploymentId_; - if (((from_bitField0_ & 0x00000800) != 0)) { - to_bitField0_ |= 0x00000800; - } - result.correlationKey_ = correlationKey_; - if (((from_bitField0_ & 0x00001000) != 0)) { - to_bitField0_ |= 0x00001000; - } - result.slaTimerId_ = slaTimerId_; - if (((from_bitField0_ & 0x00002000) != 0)) { - result.slaDueDate_ = slaDueDate_; - to_bitField0_ |= 0x00002000; - } - if (((from_bitField0_ & 0x00004000) != 0)) { - result.slaCompliance_ = slaCompliance_; - to_bitField0_ |= 0x00004000; - } - if (((from_bitField0_ & 0x00008000) != 0)) { - to_bitField0_ |= 0x00008000; - } - result.rootProcessInstanceId_ = rootProcessInstanceId_; - if (((from_bitField0_ & 0x00010000) != 0)) { - result.startDate_ = startDate_; - to_bitField0_ |= 0x00010000; - } - if (((from_bitField0_ & 0x00020000) != 0)) { - to_bitField0_ |= 0x00020000; - } - result.rootProcessId_ = rootProcessId_; - if (((from_bitField0_ & 0x00040000) != 0)) { - to_bitField0_ |= 0x00040000; - } - result.referenceId_ = referenceId_; - if (((from_bitField0_ & 0x00080000) != 0)) { - to_bitField0_ |= 0x00080000; - } - result.initiator_ = initiator_; - if (((from_bitField0_ & 0x00100000) != 0)) { - to_bitField0_ |= 0x00100000; - } - result.referenceFromRoot_ = referenceFromRoot_; - if (((from_bitField0_ & 0x00200000) != 0)) { - result.endDate_ = endDate_; - to_bitField0_ |= 0x00200000; - } - if (swimlaneContextBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0)) { - swimlaneContext_ = java.util.Collections.unmodifiableList(swimlaneContext_); - bitField0_ = (bitField0_ & ~0x00400000); - } - result.swimlaneContext_ = swimlaneContext_; - } else { - result.swimlaneContext_ = swimlaneContextBuilder_.build(); - } - if (nodeInstanceBuilder_ == null) { - if (((bitField0_ & 0x00800000) != 0)) { - nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); - bitField0_ = (bitField0_ & ~0x00800000); - } - result.nodeInstance_ = nodeInstance_; - } else { - result.nodeInstance_ = nodeInstanceBuilder_.build(); - } - if (variableBuilder_ == null) { - if (((bitField0_ & 0x01000000) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - bitField0_ = (bitField0_ & ~0x01000000); - } - result.variable_ = variable_; - } else { - result.variable_ = variableBuilder_.build(); - } - if (exclusiveGroupBuilder_ == null) { - if (((bitField0_ & 0x02000000) != 0)) { - exclusiveGroup_ = java.util.Collections.unmodifiableList(exclusiveGroup_); - bitField0_ = (bitField0_ & ~0x02000000); - } - result.exclusiveGroup_ = exclusiveGroup_; - } else { - result.exclusiveGroup_ = exclusiveGroupBuilder_.build(); - } - if (((bitField0_ & 0x04000000) != 0)) { - completedNodeIds_ = completedNodeIds_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x04000000); - } - result.completedNodeIds_ = completedNodeIds_; - if (iterationLevelsBuilder_ == null) { - if (((bitField0_ & 0x08000000) != 0)) { - iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); - bitField0_ = (bitField0_ & ~0x08000000); - } - result.iterationLevels_ = iterationLevels_; - } else { - result.iterationLevels_ = iterationLevelsBuilder_.build(); - } - if (childrenBuilder_ == null) { - if (((bitField0_ & 0x10000000) != 0)) { - children_ = java.util.Collections.unmodifiableList(children_); - bitField0_ = (bitField0_ & ~0x10000000); - } - result.children_ = children_; - } else { - result.children_ = childrenBuilder_.build(); - } - if (tagsBuilder_ == null) { - if (((bitField0_ & 0x20000000) != 0)) { - tags_ = java.util.Collections.unmodifiableList(tags_); - bitField0_ = (bitField0_ & ~0x20000000); - } - result.tags_ = tags_; - } else { - result.tags_ = tagsBuilder_.build(); - } - if (errorsBuilder_ == null) { - if (((bitField0_ & 0x40000000) != 0)) { - errors_ = java.util.Collections.unmodifiableList(errors_); - bitField0_ = (bitField0_ & ~0x40000000); - } - result.errors_ = errors_; - } else { - result.errors_ = errorsBuilder_.build(); - } - if (((from_bitField0_ & 0x80000000) != 0)) { - if (recoveryItemBuilder_ == null) { - result.recoveryItem_ = recoveryItem_; - } else { - result.recoveryItem_ = recoveryItemBuilder_.build(); - } - to_bitField0_ |= 0x00400000; - } - if (finishedSubprocessesBuilder_ == null) { - if (((bitField1_ & 0x00000001) != 0)) { - finishedSubprocesses_ = java.util.Collections.unmodifiableList(finishedSubprocesses_); - bitField1_ = (bitField1_ & ~0x00000001); - } - result.finishedSubprocesses_ = finishedSubprocesses_; - } else { - result.finishedSubprocesses_ = finishedSubprocessesBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.getDefaultInstance()) return this; - if (other.hasProcessType()) { - bitField0_ |= 0x00000001; - processType_ = other.processType_; - onChanged(); - } - if (other.hasId()) { - bitField0_ |= 0x00000002; - id_ = other.id_; - onChanged(); - } - if (other.hasProcessId()) { - bitField0_ |= 0x00000004; - processId_ = other.processId_; - onChanged(); - } - if (other.hasProcessVersion()) { - bitField0_ |= 0x00000008; - processVersion_ = other.processVersion_; - onChanged(); - } - if (other.hasState()) { - setState(other.getState()); - } - if (other.hasNodeInstanceCounter()) { - setNodeInstanceCounter(other.getNodeInstanceCounter()); - } - if (other.hasProcessXml()) { - bitField0_ |= 0x00000040; - processXml_ = other.processXml_; - onChanged(); - } - if (other.hasParentProcessInstanceId()) { - bitField0_ |= 0x00000080; - parentProcessInstanceId_ = other.parentProcessInstanceId_; - onChanged(); - } - if (other.hasDescription()) { - bitField0_ |= 0x00000100; - description_ = other.description_; - onChanged(); - } - if (other.hasSignalCompletion()) { - setSignalCompletion(other.getSignalCompletion()); - } - if (other.hasDeploymentId()) { - bitField0_ |= 0x00000400; - deploymentId_ = other.deploymentId_; - onChanged(); - } - if (other.hasCorrelationKey()) { - bitField0_ |= 0x00000800; - correlationKey_ = other.correlationKey_; - onChanged(); - } - if (other.hasSlaTimerId()) { - bitField0_ |= 0x00001000; - slaTimerId_ = other.slaTimerId_; - onChanged(); - } - if (other.hasSlaDueDate()) { - setSlaDueDate(other.getSlaDueDate()); - } - if (other.hasSlaCompliance()) { - setSlaCompliance(other.getSlaCompliance()); - } - if (other.hasRootProcessInstanceId()) { - bitField0_ |= 0x00008000; - rootProcessInstanceId_ = other.rootProcessInstanceId_; - onChanged(); - } - if (other.hasStartDate()) { - setStartDate(other.getStartDate()); - } - if (other.hasRootProcessId()) { - bitField0_ |= 0x00020000; - rootProcessId_ = other.rootProcessId_; - onChanged(); - } - if (other.hasReferenceId()) { - bitField0_ |= 0x00040000; - referenceId_ = other.referenceId_; - onChanged(); - } - if (other.hasInitiator()) { - bitField0_ |= 0x00080000; - initiator_ = other.initiator_; - onChanged(); - } - if (other.hasReferenceFromRoot()) { - bitField0_ |= 0x00100000; - referenceFromRoot_ = other.referenceFromRoot_; - onChanged(); - } - if (other.hasEndDate()) { - setEndDate(other.getEndDate()); - } - if (swimlaneContextBuilder_ == null) { - if (!other.swimlaneContext_.isEmpty()) { - if (swimlaneContext_.isEmpty()) { - swimlaneContext_ = other.swimlaneContext_; - bitField0_ = (bitField0_ & ~0x00400000); - } else { - ensureSwimlaneContextIsMutable(); - swimlaneContext_.addAll(other.swimlaneContext_); - } - onChanged(); - } - } else { - if (!other.swimlaneContext_.isEmpty()) { - if (swimlaneContextBuilder_.isEmpty()) { - swimlaneContextBuilder_.dispose(); - swimlaneContextBuilder_ = null; - swimlaneContext_ = other.swimlaneContext_; - bitField0_ = (bitField0_ & ~0x00400000); - swimlaneContextBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSwimlaneContextFieldBuilder() : null; - } else { - swimlaneContextBuilder_.addAllMessages(other.swimlaneContext_); + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getTimer()); } - } - } - if (nodeInstanceBuilder_ == null) { - if (!other.nodeInstance_.isEmpty()) { - if (nodeInstance_.isEmpty()) { - nodeInstance_ = other.nodeInstance_; - bitField0_ = (bitField0_ & ~0x00800000); - } else { - ensureNodeInstanceIsMutable(); - nodeInstance_.addAll(other.nodeInstance_); - } - onChanged(); - } - } else { - if (!other.nodeInstance_.isEmpty()) { - if (nodeInstanceBuilder_.isEmpty()) { - nodeInstanceBuilder_.dispose(); - nodeInstanceBuilder_ = null; - nodeInstance_ = other.nodeInstance_; - bitField0_ = (bitField0_ & ~0x00800000); - nodeInstanceBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getNodeInstanceFieldBuilder() : null; - } else { - nodeInstanceBuilder_.addAllMessages(other.nodeInstance_); + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(2, getTrigger()); } - } + unknownFields.writeTo(output); } - if (variableBuilder_ == null) { - if (!other.variable_.isEmpty()) { - if (variable_.isEmpty()) { - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x01000000); - } else { - ensureVariableIsMutable(); - variable_.addAll(other.variable_); - } - onChanged(); - } - } else { - if (!other.variable_.isEmpty()) { - if (variableBuilder_.isEmpty()) { - variableBuilder_.dispose(); - variableBuilder_ = null; - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x01000000); - variableBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVariableFieldBuilder() : null; - } else { - variableBuilder_.addAllMessages(other.variable_); + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTimer()); } - } - } - if (exclusiveGroupBuilder_ == null) { - if (!other.exclusiveGroup_.isEmpty()) { - if (exclusiveGroup_.isEmpty()) { - exclusiveGroup_ = other.exclusiveGroup_; - bitField0_ = (bitField0_ & ~0x02000000); - } else { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.addAll(other.exclusiveGroup_); - } - onChanged(); - } - } else { - if (!other.exclusiveGroup_.isEmpty()) { - if (exclusiveGroupBuilder_.isEmpty()) { - exclusiveGroupBuilder_.dispose(); - exclusiveGroupBuilder_ = null; - exclusiveGroup_ = other.exclusiveGroup_; - bitField0_ = (bitField0_ & ~0x02000000); - exclusiveGroupBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getExclusiveGroupFieldBuilder() : null; - } else { - exclusiveGroupBuilder_.addAllMessages(other.exclusiveGroup_); - } - } - } - if (!other.completedNodeIds_.isEmpty()) { - if (completedNodeIds_.isEmpty()) { - completedNodeIds_ = other.completedNodeIds_; - bitField0_ = (bitField0_ & ~0x04000000); - } else { - ensureCompletedNodeIdsIsMutable(); - completedNodeIds_.addAll(other.completedNodeIds_); - } - onChanged(); - } - if (iterationLevelsBuilder_ == null) { - if (!other.iterationLevels_.isEmpty()) { - if (iterationLevels_.isEmpty()) { - iterationLevels_ = other.iterationLevels_; - bitField0_ = (bitField0_ & ~0x08000000); - } else { - ensureIterationLevelsIsMutable(); - iterationLevels_.addAll(other.iterationLevels_); - } - onChanged(); - } - } else { - if (!other.iterationLevels_.isEmpty()) { - if (iterationLevelsBuilder_.isEmpty()) { - iterationLevelsBuilder_.dispose(); - iterationLevelsBuilder_ = null; - iterationLevels_ = other.iterationLevels_; - bitField0_ = (bitField0_ & ~0x08000000); - iterationLevelsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIterationLevelsFieldBuilder() : null; - } else { - iterationLevelsBuilder_.addAllMessages(other.iterationLevels_); + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getTrigger()); } - } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; } - if (childrenBuilder_ == null) { - if (!other.children_.isEmpty()) { - if (children_.isEmpty()) { - children_ = other.children_; - bitField0_ = (bitField0_ & ~0x10000000); - } else { - ensureChildrenIsMutable(); - children_.addAll(other.children_); - } - onChanged(); - } - } else { - if (!other.children_.isEmpty()) { - if (childrenBuilder_.isEmpty()) { - childrenBuilder_.dispose(); - childrenBuilder_ = null; - children_ = other.children_; - bitField0_ = (bitField0_ & ~0x10000000); - childrenBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getChildrenFieldBuilder() : null; - } else { - childrenBuilder_.addAllMessages(other.children_); + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; } - } - } - if (tagsBuilder_ == null) { - if (!other.tags_.isEmpty()) { - if (tags_.isEmpty()) { - tags_ = other.tags_; - bitField0_ = (bitField0_ & ~0x20000000); - } else { - ensureTagsIsMutable(); - tags_.addAll(other.tags_); - } - onChanged(); - } - } else { - if (!other.tags_.isEmpty()) { - if (tagsBuilder_.isEmpty()) { - tagsBuilder_.dispose(); - tagsBuilder_ = null; - tags_ = other.tags_; - bitField0_ = (bitField0_ & ~0x20000000); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTagsFieldBuilder() : null; - } else { - tagsBuilder_.addAllMessages(other.tags_); + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer)) { + return super.equals(obj); } - } - } - if (errorsBuilder_ == null) { - if (!other.errors_.isEmpty()) { - if (errors_.isEmpty()) { - errors_ = other.errors_; - bitField0_ = (bitField0_ & ~0x40000000); - } else { - ensureErrorsIsMutable(); - errors_.addAll(other.errors_); - } - onChanged(); - } - } else { - if (!other.errors_.isEmpty()) { - if (errorsBuilder_.isEmpty()) { - errorsBuilder_.dispose(); - errorsBuilder_ = null; - errors_ = other.errors_; - bitField0_ = (bitField0_ & ~0x40000000); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; - } else { - errorsBuilder_.addAllMessages(other.errors_); + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer) obj; + + if (hasTimer() != other.hasTimer()) + return false; + if (hasTimer()) { + if (!getTimer() + .equals(other.getTimer())) + return false; } - } - } - if (other.hasRecoveryItem()) { - mergeRecoveryItem(other.getRecoveryItem()); + if (hasTrigger() != other.hasTrigger()) + return false; + if (hasTrigger()) { + if (!getTrigger() + .equals(other.getTrigger())) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; } - if (finishedSubprocessesBuilder_ == null) { - if (!other.finishedSubprocesses_.isEmpty()) { - if (finishedSubprocesses_.isEmpty()) { - finishedSubprocesses_ = other.finishedSubprocesses_; - bitField1_ = (bitField1_ & ~0x00000001); - } else { - ensureFinishedSubprocessesIsMutable(); - finishedSubprocesses_.addAll(other.finishedSubprocesses_); - } - onChanged(); - } - } else { - if (!other.finishedSubprocesses_.isEmpty()) { - if (finishedSubprocessesBuilder_.isEmpty()) { - finishedSubprocessesBuilder_.dispose(); - finishedSubprocessesBuilder_ = null; - finishedSubprocesses_ = other.finishedSubprocesses_; - bitField1_ = (bitField1_ & ~0x00000001); - finishedSubprocessesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFinishedSubprocessesFieldBuilder() : null; - } else { - finishedSubprocessesBuilder_.addAllMessages(other.finishedSubprocesses_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - private int bitField1_; - - private java.lang.Object processType_ = ""; - /** - * optional string process_type = 1; - * @return Whether the processType field is set. - */ - public boolean hasProcessType() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string process_type = 1; - * @return The processType. - */ - public java.lang.String getProcessType() { - java.lang.Object ref = processType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processType_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string process_type = 1; - * @return The bytes for processType. - */ - public com.google.protobuf.ByteString - getProcessTypeBytes() { - java.lang.Object ref = processType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string process_type = 1; - * @param value The processType to set. - * @return This builder for chaining. - */ - public Builder setProcessType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - processType_ = value; - onChanged(); - return this; - } - /** - * optional string process_type = 1; - * @return This builder for chaining. - */ - public Builder clearProcessType() { - bitField0_ = (bitField0_ & ~0x00000001); - processType_ = getDefaultInstance().getProcessType(); - onChanged(); - return this; - } - /** - * optional string process_type = 1; - * @param value The bytes for processType to set. - * @return This builder for chaining. - */ - public Builder setProcessTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - processType_ = value; - onChanged(); - return this; - } - - private java.lang.Object id_ = ""; - /** - * optional string id = 2; - * @return Whether the id field is set. - */ - public boolean hasId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string id = 2; - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string id = 2; - * @return The bytes for id. - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string id = 2; - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - id_ = value; - onChanged(); - return this; - } - /** - * optional string id = 2; - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000002); - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - /** - * optional string id = 2; - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - id_ = value; - onChanged(); - return this; - } - - private java.lang.Object processId_ = ""; - /** - * optional string process_id = 3; - * @return Whether the processId field is set. - */ - public boolean hasProcessId() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string process_id = 3; - * @return The processId. - */ - public java.lang.String getProcessId() { - java.lang.Object ref = processId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string process_id = 3; - * @return The bytes for processId. - */ - public com.google.protobuf.ByteString - getProcessIdBytes() { - java.lang.Object ref = processId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string process_id = 3; - * @param value The processId to set. - * @return This builder for chaining. - */ - public Builder setProcessId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - processId_ = value; - onChanged(); - return this; - } - /** - * optional string process_id = 3; - * @return This builder for chaining. - */ - public Builder clearProcessId() { - bitField0_ = (bitField0_ & ~0x00000004); - processId_ = getDefaultInstance().getProcessId(); - onChanged(); - return this; - } - /** - * optional string process_id = 3; - * @param value The bytes for processId to set. - * @return This builder for chaining. - */ - public Builder setProcessIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - processId_ = value; - onChanged(); - return this; - } - - private java.lang.Object processVersion_ = ""; - /** - * optional string process_version = 31; - * @return Whether the processVersion field is set. - */ - public boolean hasProcessVersion() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional string process_version = 31; - * @return The processVersion. - */ - public java.lang.String getProcessVersion() { - java.lang.Object ref = processVersion_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processVersion_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string process_version = 31; - * @return The bytes for processVersion. - */ - public com.google.protobuf.ByteString - getProcessVersionBytes() { - java.lang.Object ref = processVersion_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processVersion_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string process_version = 31; - * @param value The processVersion to set. - * @return This builder for chaining. - */ - public Builder setProcessVersion( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - processVersion_ = value; - onChanged(); - return this; - } - /** - * optional string process_version = 31; - * @return This builder for chaining. - */ - public Builder clearProcessVersion() { - bitField0_ = (bitField0_ & ~0x00000008); - processVersion_ = getDefaultInstance().getProcessVersion(); - onChanged(); - return this; - } - /** - * optional string process_version = 31; - * @param value The bytes for processVersion to set. - * @return This builder for chaining. - */ - public Builder setProcessVersionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - processVersion_ = value; - onChanged(); - return this; - } - - private int state_ ; - /** - * optional int32 state = 4; - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional int32 state = 4; - * @return The state. - */ - @java.lang.Override - public int getState() { - return state_; - } - /** - * optional int32 state = 4; - * @param value The state to set. - * @return This builder for chaining. - */ - public Builder setState(int value) { - bitField0_ |= 0x00000010; - state_ = value; - onChanged(); - return this; - } - /** - * optional int32 state = 4; - * @return This builder for chaining. - */ - public Builder clearState() { - bitField0_ = (bitField0_ & ~0x00000010); - state_ = 0; - onChanged(); - return this; - } - - private long nodeInstanceCounter_ ; - /** - * optional int64 node_instance_counter = 5; - * @return Whether the nodeInstanceCounter field is set. - */ - @java.lang.Override - public boolean hasNodeInstanceCounter() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional int64 node_instance_counter = 5; - * @return The nodeInstanceCounter. - */ - @java.lang.Override - public long getNodeInstanceCounter() { - return nodeInstanceCounter_; - } - /** - * optional int64 node_instance_counter = 5; - * @param value The nodeInstanceCounter to set. - * @return This builder for chaining. - */ - public Builder setNodeInstanceCounter(long value) { - bitField0_ |= 0x00000020; - nodeInstanceCounter_ = value; - onChanged(); - return this; - } - /** - * optional int64 node_instance_counter = 5; - * @return This builder for chaining. - */ - public Builder clearNodeInstanceCounter() { - bitField0_ = (bitField0_ & ~0x00000020); - nodeInstanceCounter_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object processXml_ = ""; - /** - * optional string process_xml = 11; - * @return Whether the processXml field is set. - */ - public boolean hasProcessXml() { - return ((bitField0_ & 0x00000040) != 0); - } - /** - * optional string process_xml = 11; - * @return The processXml. - */ - public java.lang.String getProcessXml() { - java.lang.Object ref = processXml_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processXml_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string process_xml = 11; - * @return The bytes for processXml. - */ - public com.google.protobuf.ByteString - getProcessXmlBytes() { - java.lang.Object ref = processXml_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processXml_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string process_xml = 11; - * @param value The processXml to set. - * @return This builder for chaining. - */ - public Builder setProcessXml( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; - processXml_ = value; - onChanged(); - return this; - } - /** - * optional string process_xml = 11; - * @return This builder for chaining. - */ - public Builder clearProcessXml() { - bitField0_ = (bitField0_ & ~0x00000040); - processXml_ = getDefaultInstance().getProcessXml(); - onChanged(); - return this; - } - /** - * optional string process_xml = 11; - * @param value The bytes for processXml to set. - * @return This builder for chaining. - */ - public Builder setProcessXmlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; - processXml_ = value; - onChanged(); - return this; - } - - private java.lang.Object parentProcessInstanceId_ = ""; - /** - * optional string parent_process_instance_id = 12; - * @return Whether the parentProcessInstanceId field is set. - */ - public boolean hasParentProcessInstanceId() { - return ((bitField0_ & 0x00000080) != 0); - } - /** - * optional string parent_process_instance_id = 12; - * @return The parentProcessInstanceId. - */ - public java.lang.String getParentProcessInstanceId() { - java.lang.Object ref = parentProcessInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - parentProcessInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string parent_process_instance_id = 12; - * @return The bytes for parentProcessInstanceId. - */ - public com.google.protobuf.ByteString - getParentProcessInstanceIdBytes() { - java.lang.Object ref = parentProcessInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - parentProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string parent_process_instance_id = 12; - * @param value The parentProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setParentProcessInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; - parentProcessInstanceId_ = value; - onChanged(); - return this; - } - /** - * optional string parent_process_instance_id = 12; - * @return This builder for chaining. - */ - public Builder clearParentProcessInstanceId() { - bitField0_ = (bitField0_ & ~0x00000080); - parentProcessInstanceId_ = getDefaultInstance().getParentProcessInstanceId(); - onChanged(); - return this; - } - /** - * optional string parent_process_instance_id = 12; - * @param value The bytes for parentProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setParentProcessInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; - parentProcessInstanceId_ = value; - onChanged(); - return this; - } - - private java.lang.Object description_ = ""; - /** - * optional string description = 15; - * @return Whether the description field is set. - */ - public boolean hasDescription() { - return ((bitField0_ & 0x00000100) != 0); - } - /** - * optional string description = 15; - * @return The description. - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - description_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string description = 15; - * @return The bytes for description. - */ - public com.google.protobuf.ByteString - getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string description = 15; - * @param value The description to set. - * @return This builder for chaining. - */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; - description_ = value; - onChanged(); - return this; - } - /** - * optional string description = 15; - * @return This builder for chaining. - */ - public Builder clearDescription() { - bitField0_ = (bitField0_ & ~0x00000100); - description_ = getDefaultInstance().getDescription(); - onChanged(); - return this; - } - /** - * optional string description = 15; - * @param value The bytes for description to set. - * @return This builder for chaining. - */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; - description_ = value; - onChanged(); - return this; - } - - private boolean signalCompletion_ = true; - /** - * optional bool signal_completion = 16 [default = true]; - * @return Whether the signalCompletion field is set. - */ - @java.lang.Override - public boolean hasSignalCompletion() { - return ((bitField0_ & 0x00000200) != 0); - } - /** - * optional bool signal_completion = 16 [default = true]; - * @return The signalCompletion. - */ - @java.lang.Override - public boolean getSignalCompletion() { - return signalCompletion_; - } - /** - * optional bool signal_completion = 16 [default = true]; - * @param value The signalCompletion to set. - * @return This builder for chaining. - */ - public Builder setSignalCompletion(boolean value) { - bitField0_ |= 0x00000200; - signalCompletion_ = value; - onChanged(); - return this; - } - /** - * optional bool signal_completion = 16 [default = true]; - * @return This builder for chaining. - */ - public Builder clearSignalCompletion() { - bitField0_ = (bitField0_ & ~0x00000200); - signalCompletion_ = true; - onChanged(); - return this; - } - - private java.lang.Object deploymentId_ = ""; - /** - * optional string deploymentId = 17; - * @return Whether the deploymentId field is set. - */ - public boolean hasDeploymentId() { - return ((bitField0_ & 0x00000400) != 0); - } - /** - * optional string deploymentId = 17; - * @return The deploymentId. - */ - public java.lang.String getDeploymentId() { - java.lang.Object ref = deploymentId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - deploymentId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string deploymentId = 17; - * @return The bytes for deploymentId. - */ - public com.google.protobuf.ByteString - getDeploymentIdBytes() { - java.lang.Object ref = deploymentId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deploymentId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string deploymentId = 17; - * @param value The deploymentId to set. - * @return This builder for chaining. - */ - public Builder setDeploymentId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; - deploymentId_ = value; - onChanged(); - return this; - } - /** - * optional string deploymentId = 17; - * @return This builder for chaining. - */ - public Builder clearDeploymentId() { - bitField0_ = (bitField0_ & ~0x00000400); - deploymentId_ = getDefaultInstance().getDeploymentId(); - onChanged(); - return this; - } - /** - * optional string deploymentId = 17; - * @param value The bytes for deploymentId to set. - * @return This builder for chaining. - */ - public Builder setDeploymentIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; - deploymentId_ = value; - onChanged(); - return this; - } - - private java.lang.Object correlationKey_ = ""; - /** - * optional string correlation_key = 18; - * @return Whether the correlationKey field is set. - */ - public boolean hasCorrelationKey() { - return ((bitField0_ & 0x00000800) != 0); - } - /** - * optional string correlation_key = 18; - * @return The correlationKey. - */ - public java.lang.String getCorrelationKey() { - java.lang.Object ref = correlationKey_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - correlationKey_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string correlation_key = 18; - * @return The bytes for correlationKey. - */ - public com.google.protobuf.ByteString - getCorrelationKeyBytes() { - java.lang.Object ref = correlationKey_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - correlationKey_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string correlation_key = 18; - * @param value The correlationKey to set. - * @return This builder for chaining. - */ - public Builder setCorrelationKey( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000800; - correlationKey_ = value; - onChanged(); - return this; - } - /** - * optional string correlation_key = 18; - * @return This builder for chaining. - */ - public Builder clearCorrelationKey() { - bitField0_ = (bitField0_ & ~0x00000800); - correlationKey_ = getDefaultInstance().getCorrelationKey(); - onChanged(); - return this; - } - /** - * optional string correlation_key = 18; - * @param value The bytes for correlationKey to set. - * @return This builder for chaining. - */ - public Builder setCorrelationKeyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000800; - correlationKey_ = value; - onChanged(); - return this; - } - - private java.lang.Object slaTimerId_ = ""; - /** - * optional string sla_timer_id = 19; - * @return Whether the slaTimerId field is set. - */ - public boolean hasSlaTimerId() { - return ((bitField0_ & 0x00001000) != 0); - } - /** - * optional string sla_timer_id = 19; - * @return The slaTimerId. - */ - public java.lang.String getSlaTimerId() { - java.lang.Object ref = slaTimerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - slaTimerId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string sla_timer_id = 19; - * @return The bytes for slaTimerId. - */ - public com.google.protobuf.ByteString - getSlaTimerIdBytes() { - java.lang.Object ref = slaTimerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - slaTimerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string sla_timer_id = 19; - * @param value The slaTimerId to set. - * @return This builder for chaining. - */ - public Builder setSlaTimerId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00001000; - slaTimerId_ = value; - onChanged(); - return this; - } - /** - * optional string sla_timer_id = 19; - * @return This builder for chaining. - */ - public Builder clearSlaTimerId() { - bitField0_ = (bitField0_ & ~0x00001000); - slaTimerId_ = getDefaultInstance().getSlaTimerId(); - onChanged(); - return this; - } - /** - * optional string sla_timer_id = 19; - * @param value The bytes for slaTimerId to set. - * @return This builder for chaining. - */ - public Builder setSlaTimerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00001000; - slaTimerId_ = value; - onChanged(); - return this; - } - - private long slaDueDate_ ; - /** - * optional int64 sla_due_date = 20; - * @return Whether the slaDueDate field is set. - */ - @java.lang.Override - public boolean hasSlaDueDate() { - return ((bitField0_ & 0x00002000) != 0); - } - /** - * optional int64 sla_due_date = 20; - * @return The slaDueDate. - */ - @java.lang.Override - public long getSlaDueDate() { - return slaDueDate_; - } - /** - * optional int64 sla_due_date = 20; - * @param value The slaDueDate to set. - * @return This builder for chaining. - */ - public Builder setSlaDueDate(long value) { - bitField0_ |= 0x00002000; - slaDueDate_ = value; - onChanged(); - return this; - } - /** - * optional int64 sla_due_date = 20; - * @return This builder for chaining. - */ - public Builder clearSlaDueDate() { - bitField0_ = (bitField0_ & ~0x00002000); - slaDueDate_ = 0L; - onChanged(); - return this; - } - - private int slaCompliance_ ; - /** - * optional int32 sla_compliance = 21; - * @return Whether the slaCompliance field is set. - */ - @java.lang.Override - public boolean hasSlaCompliance() { - return ((bitField0_ & 0x00004000) != 0); - } - /** - * optional int32 sla_compliance = 21; - * @return The slaCompliance. - */ - @java.lang.Override - public int getSlaCompliance() { - return slaCompliance_; - } - /** - * optional int32 sla_compliance = 21; - * @param value The slaCompliance to set. - * @return This builder for chaining. - */ - public Builder setSlaCompliance(int value) { - bitField0_ |= 0x00004000; - slaCompliance_ = value; - onChanged(); - return this; - } - /** - * optional int32 sla_compliance = 21; - * @return This builder for chaining. - */ - public Builder clearSlaCompliance() { - bitField0_ = (bitField0_ & ~0x00004000); - slaCompliance_ = 0; - onChanged(); - return this; - } - - private java.lang.Object rootProcessInstanceId_ = ""; - /** - * optional string root_process_instance_id = 22; - * @return Whether the rootProcessInstanceId field is set. - */ - public boolean hasRootProcessInstanceId() { - return ((bitField0_ & 0x00008000) != 0); - } - /** - * optional string root_process_instance_id = 22; - * @return The rootProcessInstanceId. - */ - public java.lang.String getRootProcessInstanceId() { - java.lang.Object ref = rootProcessInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - rootProcessInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string root_process_instance_id = 22; - * @return The bytes for rootProcessInstanceId. - */ - public com.google.protobuf.ByteString - getRootProcessInstanceIdBytes() { - java.lang.Object ref = rootProcessInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - rootProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string root_process_instance_id = 22; - * @param value The rootProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setRootProcessInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00008000; - rootProcessInstanceId_ = value; - onChanged(); - return this; - } - /** - * optional string root_process_instance_id = 22; - * @return This builder for chaining. - */ - public Builder clearRootProcessInstanceId() { - bitField0_ = (bitField0_ & ~0x00008000); - rootProcessInstanceId_ = getDefaultInstance().getRootProcessInstanceId(); - onChanged(); - return this; - } - /** - * optional string root_process_instance_id = 22; - * @param value The bytes for rootProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setRootProcessInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00008000; - rootProcessInstanceId_ = value; - onChanged(); - return this; - } - - private long startDate_ ; - /** - * optional int64 start_date = 23; - * @return Whether the startDate field is set. - */ - @java.lang.Override - public boolean hasStartDate() { - return ((bitField0_ & 0x00010000) != 0); - } - /** - * optional int64 start_date = 23; - * @return The startDate. - */ - @java.lang.Override - public long getStartDate() { - return startDate_; - } - /** - * optional int64 start_date = 23; - * @param value The startDate to set. - * @return This builder for chaining. - */ - public Builder setStartDate(long value) { - bitField0_ |= 0x00010000; - startDate_ = value; - onChanged(); - return this; - } - /** - * optional int64 start_date = 23; - * @return This builder for chaining. - */ - public Builder clearStartDate() { - bitField0_ = (bitField0_ & ~0x00010000); - startDate_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object rootProcessId_ = ""; - /** - * optional string root_process_id = 24; - * @return Whether the rootProcessId field is set. - */ - public boolean hasRootProcessId() { - return ((bitField0_ & 0x00020000) != 0); - } - /** - * optional string root_process_id = 24; - * @return The rootProcessId. - */ - public java.lang.String getRootProcessId() { - java.lang.Object ref = rootProcessId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - rootProcessId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string root_process_id = 24; - * @return The bytes for rootProcessId. - */ - public com.google.protobuf.ByteString - getRootProcessIdBytes() { - java.lang.Object ref = rootProcessId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - rootProcessId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string root_process_id = 24; - * @param value The rootProcessId to set. - * @return This builder for chaining. - */ - public Builder setRootProcessId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00020000; - rootProcessId_ = value; - onChanged(); - return this; - } - /** - * optional string root_process_id = 24; - * @return This builder for chaining. - */ - public Builder clearRootProcessId() { - bitField0_ = (bitField0_ & ~0x00020000); - rootProcessId_ = getDefaultInstance().getRootProcessId(); - onChanged(); - return this; - } - /** - * optional string root_process_id = 24; - * @param value The bytes for rootProcessId to set. - * @return This builder for chaining. - */ - public Builder setRootProcessIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00020000; - rootProcessId_ = value; - onChanged(); - return this; - } - - private java.lang.Object referenceId_ = ""; - /** - * optional string reference_id = 25; - * @return Whether the referenceId field is set. - */ - public boolean hasReferenceId() { - return ((bitField0_ & 0x00040000) != 0); - } - /** - * optional string reference_id = 25; - * @return The referenceId. - */ - public java.lang.String getReferenceId() { - java.lang.Object ref = referenceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - referenceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string reference_id = 25; - * @return The bytes for referenceId. - */ - public com.google.protobuf.ByteString - getReferenceIdBytes() { - java.lang.Object ref = referenceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - referenceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string reference_id = 25; - * @param value The referenceId to set. - * @return This builder for chaining. - */ - public Builder setReferenceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00040000; - referenceId_ = value; - onChanged(); - return this; - } - /** - * optional string reference_id = 25; - * @return This builder for chaining. - */ - public Builder clearReferenceId() { - bitField0_ = (bitField0_ & ~0x00040000); - referenceId_ = getDefaultInstance().getReferenceId(); - onChanged(); - return this; - } - /** - * optional string reference_id = 25; - * @param value The bytes for referenceId to set. - * @return This builder for chaining. - */ - public Builder setReferenceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00040000; - referenceId_ = value; - onChanged(); - return this; - } - - private java.lang.Object initiator_ = ""; - /** - * optional string initiator = 26; - * @return Whether the initiator field is set. - */ - public boolean hasInitiator() { - return ((bitField0_ & 0x00080000) != 0); - } - /** - * optional string initiator = 26; - * @return The initiator. - */ - public java.lang.String getInitiator() { - java.lang.Object ref = initiator_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - initiator_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string initiator = 26; - * @return The bytes for initiator. - */ - public com.google.protobuf.ByteString - getInitiatorBytes() { - java.lang.Object ref = initiator_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - initiator_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string initiator = 26; - * @param value The initiator to set. - * @return This builder for chaining. - */ - public Builder setInitiator( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00080000; - initiator_ = value; - onChanged(); - return this; - } - /** - * optional string initiator = 26; - * @return This builder for chaining. - */ - public Builder clearInitiator() { - bitField0_ = (bitField0_ & ~0x00080000); - initiator_ = getDefaultInstance().getInitiator(); - onChanged(); - return this; - } - /** - * optional string initiator = 26; - * @param value The bytes for initiator to set. - * @return This builder for chaining. - */ - public Builder setInitiatorBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00080000; - initiator_ = value; - onChanged(); - return this; - } - - private java.lang.Object referenceFromRoot_ = ""; - /** - * optional string reference_from_root = 30; - * @return Whether the referenceFromRoot field is set. - */ - public boolean hasReferenceFromRoot() { - return ((bitField0_ & 0x00100000) != 0); - } - /** - * optional string reference_from_root = 30; - * @return The referenceFromRoot. - */ - public java.lang.String getReferenceFromRoot() { - java.lang.Object ref = referenceFromRoot_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - referenceFromRoot_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string reference_from_root = 30; - * @return The bytes for referenceFromRoot. - */ - public com.google.protobuf.ByteString - getReferenceFromRootBytes() { - java.lang.Object ref = referenceFromRoot_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - referenceFromRoot_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string reference_from_root = 30; - * @param value The referenceFromRoot to set. - * @return This builder for chaining. - */ - public Builder setReferenceFromRoot( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00100000; - referenceFromRoot_ = value; - onChanged(); - return this; - } - /** - * optional string reference_from_root = 30; - * @return This builder for chaining. - */ - public Builder clearReferenceFromRoot() { - bitField0_ = (bitField0_ & ~0x00100000); - referenceFromRoot_ = getDefaultInstance().getReferenceFromRoot(); - onChanged(); - return this; - } - /** - * optional string reference_from_root = 30; - * @param value The bytes for referenceFromRoot to set. - * @return This builder for chaining. - */ - public Builder setReferenceFromRootBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00100000; - referenceFromRoot_ = value; - onChanged(); - return this; - } - - private long endDate_ ; - /** - * optional int64 end_date = 33; - * @return Whether the endDate field is set. - */ - @java.lang.Override - public boolean hasEndDate() { - return ((bitField0_ & 0x00200000) != 0); - } - /** - * optional int64 end_date = 33; - * @return The endDate. - */ - @java.lang.Override - public long getEndDate() { - return endDate_; - } - /** - * optional int64 end_date = 33; - * @param value The endDate to set. - * @return This builder for chaining. - */ - public Builder setEndDate(long value) { - bitField0_ |= 0x00200000; - endDate_ = value; - onChanged(); - return this; - } - /** - * optional int64 end_date = 33; - * @return This builder for chaining. - */ - public Builder clearEndDate() { - bitField0_ = (bitField0_ & ~0x00200000); - endDate_ = 0L; - onChanged(); - return this; - } - - private java.util.List swimlaneContext_ = - java.util.Collections.emptyList(); - private void ensureSwimlaneContextIsMutable() { - if (!((bitField0_ & 0x00400000) != 0)) { - swimlaneContext_ = new java.util.ArrayList(swimlaneContext_); - bitField0_ |= 0x00400000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder> swimlaneContextBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public java.util.List getSwimlaneContextList() { - if (swimlaneContextBuilder_ == null) { - return java.util.Collections.unmodifiableList(swimlaneContext_); - } else { - return swimlaneContextBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public int getSwimlaneContextCount() { - if (swimlaneContextBuilder_ == null) { - return swimlaneContext_.size(); - } else { - return swimlaneContextBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance getSwimlaneContext(int index) { - if (swimlaneContextBuilder_ == null) { - return swimlaneContext_.get(index); - } else { - return swimlaneContextBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder setSwimlaneContext( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance value) { - if (swimlaneContextBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSwimlaneContextIsMutable(); - swimlaneContext_.set(index, value); - onChanged(); - } else { - swimlaneContextBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder setSwimlaneContext( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder builderForValue) { - if (swimlaneContextBuilder_ == null) { - ensureSwimlaneContextIsMutable(); - swimlaneContext_.set(index, builderForValue.build()); - onChanged(); - } else { - swimlaneContextBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder addSwimlaneContext(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance value) { - if (swimlaneContextBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSwimlaneContextIsMutable(); - swimlaneContext_.add(value); - onChanged(); - } else { - swimlaneContextBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder addSwimlaneContext( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance value) { - if (swimlaneContextBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSwimlaneContextIsMutable(); - swimlaneContext_.add(index, value); - onChanged(); - } else { - swimlaneContextBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder addSwimlaneContext( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder builderForValue) { - if (swimlaneContextBuilder_ == null) { - ensureSwimlaneContextIsMutable(); - swimlaneContext_.add(builderForValue.build()); - onChanged(); - } else { - swimlaneContextBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder addSwimlaneContext( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder builderForValue) { - if (swimlaneContextBuilder_ == null) { - ensureSwimlaneContextIsMutable(); - swimlaneContext_.add(index, builderForValue.build()); - onChanged(); - } else { - swimlaneContextBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder addAllSwimlaneContext( - java.lang.Iterable values) { - if (swimlaneContextBuilder_ == null) { - ensureSwimlaneContextIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, swimlaneContext_); - onChanged(); - } else { - swimlaneContextBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder clearSwimlaneContext() { - if (swimlaneContextBuilder_ == null) { - swimlaneContext_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00400000); - onChanged(); - } else { - swimlaneContextBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder removeSwimlaneContext(int index) { - if (swimlaneContextBuilder_ == null) { - ensureSwimlaneContextIsMutable(); - swimlaneContext_.remove(index); - onChanged(); - } else { - swimlaneContextBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder getSwimlaneContextBuilder( - int index) { - return getSwimlaneContextFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder getSwimlaneContextOrBuilder( - int index) { - if (swimlaneContextBuilder_ == null) { - return swimlaneContext_.get(index); } else { - return swimlaneContextBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public java.util.List - getSwimlaneContextOrBuilderList() { - if (swimlaneContextBuilder_ != null) { - return swimlaneContextBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(swimlaneContext_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder addSwimlaneContextBuilder() { - return getSwimlaneContextFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder addSwimlaneContextBuilder( - int index) { - return getSwimlaneContextFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public java.util.List - getSwimlaneContextBuilderList() { - return getSwimlaneContextFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder> - getSwimlaneContextFieldBuilder() { - if (swimlaneContextBuilder_ == null) { - swimlaneContextBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder>( - swimlaneContext_, - ((bitField0_ & 0x00400000) != 0), - getParentForChildren(), - isClean()); - swimlaneContext_ = null; - } - return swimlaneContextBuilder_; - } - - private java.util.List nodeInstance_ = - java.util.Collections.emptyList(); - private void ensureNodeInstanceIsMutable() { - if (!((bitField0_ & 0x00800000) != 0)) { - nodeInstance_ = new java.util.ArrayList(nodeInstance_); - bitField0_ |= 0x00800000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder> nodeInstanceBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public java.util.List getNodeInstanceList() { - if (nodeInstanceBuilder_ == null) { - return java.util.Collections.unmodifiableList(nodeInstance_); - } else { - return nodeInstanceBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public int getNodeInstanceCount() { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.size(); - } else { - return nodeInstanceBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance getNodeInstance(int index) { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.get(index); - } else { - return nodeInstanceBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder setNodeInstance( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.set(index, value); - onChanged(); - } else { - nodeInstanceBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder setNodeInstance( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.set(index, builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder addNodeInstance(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.add(value); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder addNodeInstance( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.add(index, value); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder addNodeInstance( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.add(builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder addNodeInstance( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.add(index, builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder addAllNodeInstance( - java.lang.Iterable values) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, nodeInstance_); - onChanged(); - } else { - nodeInstanceBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder clearNodeInstance() { - if (nodeInstanceBuilder_ == null) { - nodeInstance_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00800000); - onChanged(); - } else { - nodeInstanceBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder removeNodeInstance(int index) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.remove(index); - onChanged(); - } else { - nodeInstanceBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder getNodeInstanceBuilder( - int index) { - return getNodeInstanceFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index) { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.get(index); } else { - return nodeInstanceBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public java.util.List - getNodeInstanceOrBuilderList() { - if (nodeInstanceBuilder_ != null) { - return nodeInstanceBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(nodeInstance_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder() { - return getNodeInstanceFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder( - int index) { - return getNodeInstanceFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public java.util.List - getNodeInstanceBuilderList() { - return getNodeInstanceFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder> - getNodeInstanceFieldBuilder() { - if (nodeInstanceBuilder_ == null) { - nodeInstanceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder>( - nodeInstance_, - ((bitField0_ & 0x00800000) != 0), - getParentForChildren(), - isClean()); - nodeInstance_ = null; - } - return nodeInstanceBuilder_; - } - - private java.util.List variable_ = - java.util.Collections.emptyList(); - private void ensureVariableIsMutable() { - if (!((bitField0_ & 0x01000000) != 0)) { - variable_ = new java.util.ArrayList(variable_); - bitField0_ |= 0x01000000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder> variableBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public java.util.List getVariableList() { - if (variableBuilder_ == null) { - return java.util.Collections.unmodifiableList(variable_); - } else { - return variableBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public int getVariableCount() { - if (variableBuilder_ == null) { - return variable_.size(); - } else { - return variableBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public Builder setVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.set(index, value); - onChanged(); - } else { - variableBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public Builder setVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.set(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(value); - onChanged(); - } else { - variableBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public Builder addVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(index, value); - onChanged(); - } else { - variableBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public Builder addVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public Builder addAllVariable( - java.lang.Iterable values) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, variable_); - onChanged(); - } else { - variableBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public Builder clearVariable() { - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x01000000); - onChanged(); - } else { - variableBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public Builder removeVariable(int index) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.remove(index); - onChanged(); - } else { - variableBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder getVariableBuilder( - int index) { - return getVariableFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - if (variableBuilder_ == null) { - return variable_.get(index); } else { - return variableBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public java.util.List - getVariableOrBuilderList() { - if (variableBuilder_ != null) { - return variableBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variable_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder() { - return getVariableFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder( - int index) { - return getVariableFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 8; - */ - public java.util.List - getVariableBuilderList() { - return getVariableFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder> - getVariableFieldBuilder() { - if (variableBuilder_ == null) { - variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder>( - variable_, - ((bitField0_ & 0x01000000) != 0), - getParentForChildren(), - isClean()); - variable_ = null; - } - return variableBuilder_; - } - - private java.util.List exclusiveGroup_ = - java.util.Collections.emptyList(); - private void ensureExclusiveGroupIsMutable() { - if (!((bitField0_ & 0x02000000) != 0)) { - exclusiveGroup_ = new java.util.ArrayList(exclusiveGroup_); - bitField0_ |= 0x02000000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder> exclusiveGroupBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public java.util.List getExclusiveGroupList() { - if (exclusiveGroupBuilder_ == null) { - return java.util.Collections.unmodifiableList(exclusiveGroup_); - } else { - return exclusiveGroupBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public int getExclusiveGroupCount() { - if (exclusiveGroupBuilder_ == null) { - return exclusiveGroup_.size(); - } else { - return exclusiveGroupBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup(int index) { - if (exclusiveGroupBuilder_ == null) { - return exclusiveGroup_.get(index); - } else { - return exclusiveGroupBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder setExclusiveGroup( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance value) { - if (exclusiveGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.set(index, value); - onChanged(); - } else { - exclusiveGroupBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder setExclusiveGroup( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.set(index, builderForValue.build()); - onChanged(); - } else { - exclusiveGroupBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder addExclusiveGroup(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance value) { - if (exclusiveGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(value); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder addExclusiveGroup( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance value) { - if (exclusiveGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(index, value); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder addExclusiveGroup( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(builderForValue.build()); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder addExclusiveGroup( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(index, builderForValue.build()); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder addAllExclusiveGroup( - java.lang.Iterable values) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, exclusiveGroup_); - onChanged(); - } else { - exclusiveGroupBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder clearExclusiveGroup() { - if (exclusiveGroupBuilder_ == null) { - exclusiveGroup_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x02000000); - onChanged(); - } else { - exclusiveGroupBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder removeExclusiveGroup(int index) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.remove(index); - onChanged(); - } else { - exclusiveGroupBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder getExclusiveGroupBuilder( - int index) { - return getExclusiveGroupFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( - int index) { - if (exclusiveGroupBuilder_ == null) { - return exclusiveGroup_.get(index); } else { - return exclusiveGroupBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public java.util.List - getExclusiveGroupOrBuilderList() { - if (exclusiveGroupBuilder_ != null) { - return exclusiveGroupBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(exclusiveGroup_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder addExclusiveGroupBuilder() { - return getExclusiveGroupFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder addExclusiveGroupBuilder( - int index) { - return getExclusiveGroupFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public java.util.List - getExclusiveGroupBuilderList() { - return getExclusiveGroupFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder> - getExclusiveGroupFieldBuilder() { - if (exclusiveGroupBuilder_ == null) { - exclusiveGroupBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder>( - exclusiveGroup_, - ((bitField0_ & 0x02000000) != 0), - getParentForChildren(), - isClean()); - exclusiveGroup_ = null; - } - return exclusiveGroupBuilder_; - } - - private com.google.protobuf.LazyStringList completedNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureCompletedNodeIdsIsMutable() { - if (!((bitField0_ & 0x04000000) != 0)) { - completedNodeIds_ = new com.google.protobuf.LazyStringArrayList(completedNodeIds_); - bitField0_ |= 0x04000000; - } - } - /** - * repeated string completedNodeIds = 13; - * @return A list containing the completedNodeIds. - */ - public com.google.protobuf.ProtocolStringList - getCompletedNodeIdsList() { - return completedNodeIds_.getUnmodifiableView(); - } - /** - * repeated string completedNodeIds = 13; - * @return The count of completedNodeIds. - */ - public int getCompletedNodeIdsCount() { - return completedNodeIds_.size(); - } - /** - * repeated string completedNodeIds = 13; - * @param index The index of the element to return. - * @return The completedNodeIds at the given index. - */ - public java.lang.String getCompletedNodeIds(int index) { - return completedNodeIds_.get(index); - } - /** - * repeated string completedNodeIds = 13; - * @param index The index of the value to return. - * @return The bytes of the completedNodeIds at the given index. - */ - public com.google.protobuf.ByteString - getCompletedNodeIdsBytes(int index) { - return completedNodeIds_.getByteString(index); - } - /** - * repeated string completedNodeIds = 13; - * @param index The index to set the value at. - * @param value The completedNodeIds to set. - * @return This builder for chaining. - */ - public Builder setCompletedNodeIds( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCompletedNodeIdsIsMutable(); - completedNodeIds_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string completedNodeIds = 13; - * @param value The completedNodeIds to add. - * @return This builder for chaining. - */ - public Builder addCompletedNodeIds( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCompletedNodeIdsIsMutable(); - completedNodeIds_.add(value); - onChanged(); - return this; - } - /** - * repeated string completedNodeIds = 13; - * @param values The completedNodeIds to add. - * @return This builder for chaining. - */ - public Builder addAllCompletedNodeIds( - java.lang.Iterable values) { - ensureCompletedNodeIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, completedNodeIds_); - onChanged(); - return this; - } - /** - * repeated string completedNodeIds = 13; - * @return This builder for chaining. - */ - public Builder clearCompletedNodeIds() { - completedNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x04000000); - onChanged(); - return this; - } - /** - * repeated string completedNodeIds = 13; - * @param value The bytes of the completedNodeIds to add. - * @return This builder for chaining. - */ - public Builder addCompletedNodeIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCompletedNodeIdsIsMutable(); - completedNodeIds_.add(value); - onChanged(); - return this; - } - - private java.util.List iterationLevels_ = - java.util.Collections.emptyList(); - private void ensureIterationLevelsIsMutable() { - if (!((bitField0_ & 0x08000000) != 0)) { - iterationLevels_ = new java.util.ArrayList(iterationLevels_); - bitField0_ |= 0x08000000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder> iterationLevelsBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public java.util.List getIterationLevelsList() { - if (iterationLevelsBuilder_ == null) { - return java.util.Collections.unmodifiableList(iterationLevels_); - } else { - return iterationLevelsBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public int getIterationLevelsCount() { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.size(); - } else { - return iterationLevelsBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getIterationLevels(int index) { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.get(index); - } else { - return iterationLevelsBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder setIterationLevels( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.set(index, value); - onChanged(); - } else { - iterationLevelsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder setIterationLevels( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.set(index, builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder addIterationLevels(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.add(value); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder addIterationLevels( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.add(index, value); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder addIterationLevels( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.add(builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder addIterationLevels( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.add(index, builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder addAllIterationLevels( - java.lang.Iterable values) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, iterationLevels_); - onChanged(); - } else { - iterationLevelsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder clearIterationLevels() { - if (iterationLevelsBuilder_ == null) { - iterationLevels_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x08000000); - onChanged(); - } else { - iterationLevelsBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder removeIterationLevels(int index) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.remove(index); - onChanged(); - } else { - iterationLevelsBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder getIterationLevelsBuilder( - int index) { - return getIterationLevelsFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index) { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.get(index); } else { - return iterationLevelsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public java.util.List - getIterationLevelsOrBuilderList() { - if (iterationLevelsBuilder_ != null) { - return iterationLevelsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(iterationLevels_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder addIterationLevelsBuilder() { - return getIterationLevelsFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder addIterationLevelsBuilder( - int index) { - return getIterationLevelsFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.IterationLevel iterationLevels = 14; - */ - public java.util.List - getIterationLevelsBuilderList() { - return getIterationLevelsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder> - getIterationLevelsFieldBuilder() { - if (iterationLevelsBuilder_ == null) { - iterationLevelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder>( - iterationLevels_, - ((bitField0_ & 0x08000000) != 0), - getParentForChildren(), - isClean()); - iterationLevels_ = null; - } - return iterationLevelsBuilder_; - } - - private java.util.List children_ = - java.util.Collections.emptyList(); - private void ensureChildrenIsMutable() { - if (!((bitField0_ & 0x10000000) != 0)) { - children_ = new java.util.ArrayList(children_); - bitField0_ |= 0x10000000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildrenOrBuilder> childrenBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public java.util.List getChildrenList() { - if (childrenBuilder_ == null) { - return java.util.Collections.unmodifiableList(children_); - } else { - return childrenBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public int getChildrenCount() { - if (childrenBuilder_ == null) { - return children_.size(); - } else { - return childrenBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren getChildren(int index) { - if (childrenBuilder_ == null) { - return children_.get(index); - } else { - return childrenBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public Builder setChildren( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren value) { - if (childrenBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildrenIsMutable(); - children_.set(index, value); - onChanged(); - } else { - childrenBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public Builder setChildren( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder builderForValue) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.set(index, builderForValue.build()); - onChanged(); - } else { - childrenBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public Builder addChildren(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren value) { - if (childrenBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildrenIsMutable(); - children_.add(value); - onChanged(); - } else { - childrenBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public Builder addChildren( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren value) { - if (childrenBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureChildrenIsMutable(); - children_.add(index, value); - onChanged(); - } else { - childrenBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public Builder addChildren( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder builderForValue) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.add(builderForValue.build()); - onChanged(); - } else { - childrenBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public Builder addChildren( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder builderForValue) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.add(index, builderForValue.build()); - onChanged(); - } else { - childrenBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public Builder addAllChildren( - java.lang.Iterable values) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, children_); - onChanged(); - } else { - childrenBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public Builder clearChildren() { - if (childrenBuilder_ == null) { - children_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x10000000); - onChanged(); - } else { - childrenBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public Builder removeChildren(int index) { - if (childrenBuilder_ == null) { - ensureChildrenIsMutable(); - children_.remove(index); - onChanged(); - } else { - childrenBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder getChildrenBuilder( - int index) { - return getChildrenFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildrenOrBuilder getChildrenOrBuilder( - int index) { - if (childrenBuilder_ == null) { - return children_.get(index); } else { - return childrenBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public java.util.List - getChildrenOrBuilderList() { - if (childrenBuilder_ != null) { - return childrenBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(children_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder addChildrenBuilder() { - return getChildrenFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder addChildrenBuilder( - int index) { - return getChildrenFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.ProcessInstanchChildren children = 27; - */ - public java.util.List - getChildrenBuilderList() { - return getChildrenFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildrenOrBuilder> - getChildrenFieldBuilder() { - if (childrenBuilder_ == null) { - childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildren.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildrenOrBuilder>( - children_, - ((bitField0_ & 0x10000000) != 0), - getParentForChildren(), - isClean()); - children_ = null; - } - return childrenBuilder_; - } - - private java.util.List tags_ = - java.util.Collections.emptyList(); - private void ensureTagsIsMutable() { - if (!((bitField0_ & 0x20000000) != 0)) { - tags_ = new java.util.ArrayList(tags_); - bitField0_ |= 0x20000000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.TagOrBuilder> tagsBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public java.util.List getTagsList() { - if (tagsBuilder_ == null) { - return java.util.Collections.unmodifiableList(tags_); - } else { - return tagsBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public int getTagsCount() { - if (tagsBuilder_ == null) { - return tags_.size(); - } else { - return tagsBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag getTags(int index) { - if (tagsBuilder_ == null) { - return tags_.get(index); - } else { - return tagsBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public Builder setTags( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag value) { - if (tagsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.set(index, value); - onChanged(); - } else { - tagsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public Builder setTags( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder builderForValue) { - if (tagsBuilder_ == null) { - ensureTagsIsMutable(); - tags_.set(index, builderForValue.build()); - onChanged(); - } else { - tagsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public Builder addTags(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag value) { - if (tagsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.add(value); - onChanged(); - } else { - tagsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public Builder addTags( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag value) { - if (tagsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); - tags_.add(index, value); - onChanged(); - } else { - tagsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public Builder addTags( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder builderForValue) { - if (tagsBuilder_ == null) { - ensureTagsIsMutable(); - tags_.add(builderForValue.build()); - onChanged(); - } else { - tagsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public Builder addTags( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder builderForValue) { - if (tagsBuilder_ == null) { - ensureTagsIsMutable(); - tags_.add(index, builderForValue.build()); - onChanged(); - } else { - tagsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public Builder addAllTags( - java.lang.Iterable values) { - if (tagsBuilder_ == null) { - ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); - onChanged(); - } else { - tagsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public Builder clearTags() { - if (tagsBuilder_ == null) { - tags_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x20000000); - onChanged(); - } else { - tagsBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public Builder removeTags(int index) { - if (tagsBuilder_ == null) { - ensureTagsIsMutable(); - tags_.remove(index); - onChanged(); - } else { - tagsBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder getTagsBuilder( - int index) { - return getTagsFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.TagOrBuilder getTagsOrBuilder( - int index) { - if (tagsBuilder_ == null) { - return tags_.get(index); } else { - return tagsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public java.util.List - getTagsOrBuilderList() { - if (tagsBuilder_ != null) { - return tagsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(tags_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder addTagsBuilder( - int index) { - return getTagsFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Tag tags = 28; - */ - public java.util.List - getTagsBuilderList() { - return getTagsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.TagOrBuilder> - getTagsFieldBuilder() { - if (tagsBuilder_ == null) { - tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Tag.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.TagOrBuilder>( - tags_, - ((bitField0_ & 0x20000000) != 0), - getParentForChildren(), - isClean()); - tags_ = null; - } - return tagsBuilder_; - } - - private java.util.List errors_ = - java.util.Collections.emptyList(); - private void ensureErrorsIsMutable() { - if (!((bitField0_ & 0x40000000) != 0)) { - errors_ = new java.util.ArrayList(errors_); - bitField0_ |= 0x40000000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ErrorOrBuilder> errorsBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public java.util.List getErrorsList() { - if (errorsBuilder_ == null) { - return java.util.Collections.unmodifiableList(errors_); - } else { - return errorsBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public int getErrorsCount() { - if (errorsBuilder_ == null) { - return errors_.size(); - } else { - return errorsBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error getErrors(int index) { - if (errorsBuilder_ == null) { - return errors_.get(index); - } else { - return errorsBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public Builder setErrors( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.set(index, value); - onChanged(); - } else { - errorsBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public Builder setErrors( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.set(index, builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public Builder addErrors(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.add(value); - onChanged(); - } else { - errorsBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public Builder addErrors( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error value) { - if (errorsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureErrorsIsMutable(); - errors_.add(index, value); - onChanged(); - } else { - errorsBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public Builder addErrors( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public Builder addErrors( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder builderForValue) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.add(index, builderForValue.build()); - onChanged(); - } else { - errorsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public Builder addAllErrors( - java.lang.Iterable values) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); - onChanged(); - } else { - errorsBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public Builder clearErrors() { - if (errorsBuilder_ == null) { - errors_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x40000000); - onChanged(); - } else { - errorsBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public Builder removeErrors(int index) { - if (errorsBuilder_ == null) { - ensureErrorsIsMutable(); - errors_.remove(index); - onChanged(); - } else { - errorsBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder getErrorsBuilder( - int index) { - return getErrorsFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ErrorOrBuilder getErrorsOrBuilder( - int index) { - if (errorsBuilder_ == null) { - return errors_.get(index); } else { - return errorsBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public java.util.List - getErrorsOrBuilderList() { - if (errorsBuilder_ != null) { - return errorsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(errors_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.Error errors = 29; - */ - public java.util.List - getErrorsBuilderList() { - return getErrorsFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ErrorOrBuilder> - getErrorsFieldBuilder() { - if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.Error.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ErrorOrBuilder>( - errors_, - ((bitField0_ & 0x40000000) != 0), - getParentForChildren(), - isClean()); - errors_ = null; - } - return errorsBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem recoveryItem_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItemOrBuilder> recoveryItemBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - * @return Whether the recoveryItem field is set. - */ - public boolean hasRecoveryItem() { - return ((bitField0_ & 0x80000000) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - * @return The recoveryItem. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem getRecoveryItem() { - if (recoveryItemBuilder_ == null) { - return recoveryItem_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.getDefaultInstance() : recoveryItem_; - } else { - return recoveryItemBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - */ - public Builder setRecoveryItem(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem value) { - if (recoveryItemBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - recoveryItem_ = value; - onChanged(); - } else { - recoveryItemBuilder_.setMessage(value); - } - bitField0_ |= 0x80000000; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - */ - public Builder setRecoveryItem( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.Builder builderForValue) { - if (recoveryItemBuilder_ == null) { - recoveryItem_ = builderForValue.build(); - onChanged(); - } else { - recoveryItemBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x80000000; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - */ - public Builder mergeRecoveryItem(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem value) { - if (recoveryItemBuilder_ == null) { - if (((bitField0_ & 0x80000000) != 0) && - recoveryItem_ != null && - recoveryItem_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.getDefaultInstance()) { - recoveryItem_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.newBuilder(recoveryItem_).mergeFrom(value).buildPartial(); - } else { - recoveryItem_ = value; - } - onChanged(); - } else { - recoveryItemBuilder_.mergeFrom(value); - } - bitField0_ |= 0x80000000; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - */ - public Builder clearRecoveryItem() { - if (recoveryItemBuilder_ == null) { - recoveryItem_ = null; - onChanged(); - } else { - recoveryItemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x80000000); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.Builder getRecoveryItemBuilder() { - bitField0_ |= 0x80000000; - onChanged(); - return getRecoveryItemFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItemOrBuilder getRecoveryItemOrBuilder() { - if (recoveryItemBuilder_ != null) { - return recoveryItemBuilder_.getMessageOrBuilder(); - } else { - return recoveryItem_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.getDefaultInstance() : recoveryItem_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessInstance.RecoveryItem recovery_item = 32; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItemOrBuilder> - getRecoveryItemFieldBuilder() { - if (recoveryItemBuilder_ == null) { - recoveryItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItem.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.RecoveryItemOrBuilder>( - getRecoveryItem(), - getParentForChildren(), - isClean()); - recoveryItem_ = null; - } - return recoveryItemBuilder_; - } - - private java.util.List finishedSubprocesses_ = - java.util.Collections.emptyList(); - private void ensureFinishedSubprocessesIsMutable() { - if (!((bitField1_ & 0x00000001) != 0)) { - finishedSubprocesses_ = new java.util.ArrayList(finishedSubprocesses_); - bitField1_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcessesOrBuilder> finishedSubprocessesBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public java.util.List getFinishedSubprocessesList() { - if (finishedSubprocessesBuilder_ == null) { - return java.util.Collections.unmodifiableList(finishedSubprocesses_); - } else { - return finishedSubprocessesBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public int getFinishedSubprocessesCount() { - if (finishedSubprocessesBuilder_ == null) { - return finishedSubprocesses_.size(); - } else { - return finishedSubprocessesBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses getFinishedSubprocesses(int index) { - if (finishedSubprocessesBuilder_ == null) { - return finishedSubprocesses_.get(index); - } else { - return finishedSubprocessesBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public Builder setFinishedSubprocesses( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses value) { - if (finishedSubprocessesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureFinishedSubprocessesIsMutable(); - finishedSubprocesses_.set(index, value); - onChanged(); - } else { - finishedSubprocessesBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public Builder setFinishedSubprocesses( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder builderForValue) { - if (finishedSubprocessesBuilder_ == null) { - ensureFinishedSubprocessesIsMutable(); - finishedSubprocesses_.set(index, builderForValue.build()); - onChanged(); - } else { - finishedSubprocessesBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public Builder addFinishedSubprocesses(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses value) { - if (finishedSubprocessesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureFinishedSubprocessesIsMutable(); - finishedSubprocesses_.add(value); - onChanged(); - } else { - finishedSubprocessesBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public Builder addFinishedSubprocesses( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses value) { - if (finishedSubprocessesBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureFinishedSubprocessesIsMutable(); - finishedSubprocesses_.add(index, value); - onChanged(); - } else { - finishedSubprocessesBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public Builder addFinishedSubprocesses( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder builderForValue) { - if (finishedSubprocessesBuilder_ == null) { - ensureFinishedSubprocessesIsMutable(); - finishedSubprocesses_.add(builderForValue.build()); - onChanged(); - } else { - finishedSubprocessesBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public Builder addFinishedSubprocesses( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder builderForValue) { - if (finishedSubprocessesBuilder_ == null) { - ensureFinishedSubprocessesIsMutable(); - finishedSubprocesses_.add(index, builderForValue.build()); - onChanged(); - } else { - finishedSubprocessesBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public Builder addAllFinishedSubprocesses( - java.lang.Iterable values) { - if (finishedSubprocessesBuilder_ == null) { - ensureFinishedSubprocessesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, finishedSubprocesses_); - onChanged(); - } else { - finishedSubprocessesBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public Builder clearFinishedSubprocesses() { - if (finishedSubprocessesBuilder_ == null) { - finishedSubprocesses_ = java.util.Collections.emptyList(); - bitField1_ = (bitField1_ & ~0x00000001); - onChanged(); - } else { - finishedSubprocessesBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public Builder removeFinishedSubprocesses(int index) { - if (finishedSubprocessesBuilder_ == null) { - ensureFinishedSubprocessesIsMutable(); - finishedSubprocesses_.remove(index); - onChanged(); - } else { - finishedSubprocessesBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder getFinishedSubprocessesBuilder( - int index) { - return getFinishedSubprocessesFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcessesOrBuilder getFinishedSubprocessesOrBuilder( - int index) { - if (finishedSubprocessesBuilder_ == null) { - return finishedSubprocesses_.get(index); } else { - return finishedSubprocessesBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public java.util.List - getFinishedSubprocessesOrBuilderList() { - if (finishedSubprocessesBuilder_ != null) { - return finishedSubprocessesBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(finishedSubprocesses_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder addFinishedSubprocessesBuilder() { - return getFinishedSubprocessesFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder addFinishedSubprocessesBuilder( - int index) { - return getFinishedSubprocessesFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.ProcessInstance.FinishedSubProcesses finished_subprocesses = 34; - */ - public java.util.List - getFinishedSubprocessesBuilderList() { - return getFinishedSubprocessesFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcessesOrBuilder> - getFinishedSubprocessesFieldBuilder() { - if (finishedSubprocessesBuilder_ == null) { - finishedSubprocessesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcesses.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcessesOrBuilder>( - finishedSubprocesses_, - ((bitField1_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - finishedSubprocesses_ = null; - } - return finishedSubprocessesBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance) - } - - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessInstance) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance getDefaultInstance() { - return DEFAULT_INSTANCE; - } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessInstance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProcessInstance(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTimer()) { + hash = (37 * hash) + TIMER_FIELD_NUMBER; + hash = (53 * hash) + getTimer().hashCode(); + } + if (hasTrigger()) { + hash = (37 * hash) + TRIGGER_FIELD_NUMBER; + hash = (53 * hash) + getTrigger().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - public interface VariableOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.Variable) - com.google.protobuf.MessageOrBuilder { + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - /** - * optional string name = 1; - * @return Whether the name field is set. - */ - boolean hasName(); - /** - * optional string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - * optional string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - /** - *
-     * the actual object reference
-     * 
- * - * optional int32 strategy_index = 2; - * @return Whether the strategyIndex field is set. - */ - boolean hasStrategyIndex(); - /** - *
-     * the actual object reference
-     * 
- * - * optional int32 strategy_index = 2; - * @return The strategyIndex. - */ - int getStrategyIndex(); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - /** - * optional bytes value = 3; - * @return Whether the value field is set. - */ - boolean hasValue(); - /** - * optional bytes value = 3; - * @return The value. - */ - com.google.protobuf.ByteString getValue(); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - /** - * optional string data_type = 4; - * @return Whether the dataType field is set. - */ - boolean hasDataType(); - /** - * optional string data_type = 4; - * @return The dataType. - */ - java.lang.String getDataType(); - /** - * optional string data_type = 4; - * @return The bytes for dataType. - */ - com.google.protobuf.ByteString - getDataTypeBytes(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Variable} - */ - public static final class Variable extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.Variable) - VariableOrBuilder { - private static final long serialVersionUID = 0L; - // Use Variable.newBuilder() to construct. - private Variable(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private Variable() { - name_ = ""; - value_ = com.google.protobuf.ByteString.EMPTY; - dataType_ = ""; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new Variable(); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private Variable( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - name_ = bs; - break; - } - case 16: { - bitField0_ |= 0x00000002; - strategyIndex_ = input.readInt32(); - break; - } - case 26: { - bitField0_ |= 0x00000004; - value_ = input.readBytes(); - break; - } - case 34: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000008; - dataType_ = bs; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Variable_descriptor; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Variable_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder.class); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - private int bitField0_; - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - /** - * optional string name = 1; - * @return Whether the name field is set. - */ - @java.lang.Override - public boolean hasName() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string name = 1; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } - } - /** - * optional string name = 1; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static final int STRATEGY_INDEX_FIELD_NUMBER = 2; - private int strategyIndex_; - /** - *
-     * the actual object reference
-     * 
- * - * optional int32 strategy_index = 2; - * @return Whether the strategyIndex field is set. - */ - @java.lang.Override - public boolean hasStrategyIndex() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - *
-     * the actual object reference
-     * 
- * - * optional int32 strategy_index = 2; - * @return The strategyIndex. - */ - @java.lang.Override - public int getStrategyIndex() { - return strategyIndex_; - } + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } - public static final int VALUE_FIELD_NUMBER = 3; - private com.google.protobuf.ByteString value_; - /** - * optional bytes value = 3; - * @return Whether the value field is set. - */ - @java.lang.Override - public boolean hasValue() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional bytes value = 3; - * @return The value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValue() { - return value_; - } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } - public static final int DATA_TYPE_FIELD_NUMBER = 4; - private volatile java.lang.Object dataType_; - /** - * optional string data_type = 4; - * @return Whether the dataType field is set. - */ - @java.lang.Override - public boolean hasDataType() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional string data_type = 4; - * @return The dataType. - */ - @java.lang.Override - public java.lang.String getDataType() { - java.lang.Object ref = dataType_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - dataType_ = s; - } - return s; - } - } - /** - * optional string data_type = 4; - * @return The bytes for dataType. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getDataTypeBytes() { - java.lang.Object ref = dataType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - dataType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt32(2, strategyIndex_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeBytes(3, value_); - } - if (((bitField0_ & 0x00000008) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dataType_); - } - unknownFields.writeTo(output); - } + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessTimer} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessTimer) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, strategyIndex_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, value_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, dataType_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.Builder.class); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable) obj; - - if (hasName() != other.hasName()) return false; - if (hasName()) { - if (!getName() - .equals(other.getName())) return false; - } - if (hasStrategyIndex() != other.hasStrategyIndex()) return false; - if (hasStrategyIndex()) { - if (getStrategyIndex() - != other.getStrategyIndex()) return false; - } - if (hasValue() != other.hasValue()) return false; - if (hasValue()) { - if (!getValue() - .equals(other.getValue())) return false; - } - if (hasDataType() != other.hasDataType()) return false; - if (hasDataType()) { - if (!getDataType() - .equals(other.getDataType())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasName()) { - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - } - if (hasStrategyIndex()) { - hash = (37 * hash) + STRATEGY_INDEX_FIELD_NUMBER; - hash = (53 * hash) + getStrategyIndex(); - } - if (hasValue()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - } - if (hasDataType()) { - hash = (37 * hash) + DATA_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getDataType().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getTimerFieldBuilder(); + getTriggerFieldBuilder(); + } + } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public Builder clear() { + super.clear(); + if (timerBuilder_ == null) { + timer_ = null; + } else { + timerBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (triggerBuilder_ == null) { + trigger_ = null; + } else { + triggerBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.Variable} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.Variable) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Variable_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Variable_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - strategyIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - value_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - dataType_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_Variable_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.name_ = name_; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.strategyIndex_ = strategyIndex_; - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.value_ = value_; - if (((from_bitField0_ & 0x00000008) != 0)) { - to_bitField0_ |= 0x00000008; - } - result.dataType_ = dataType_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()) return this; - if (other.hasName()) { - bitField0_ |= 0x00000001; - name_ = other.name_; - onChanged(); - } - if (other.hasStrategyIndex()) { - setStrategyIndex(other.getStrategyIndex()); - } - if (other.hasValue()) { - setValue(other.getValue()); - } - if (other.hasDataType()) { - bitField0_ |= 0x00000008; - dataType_ = other.dataType_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object name_ = ""; - /** - * optional string name = 1; - * @return Whether the name field is set. - */ - public boolean hasName() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string name = 1; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string name = 1; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string name = 1; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - name_ = value; - onChanged(); - return this; - } - /** - * optional string name = 1; - * @return This builder for chaining. - */ - public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000001); - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * optional string name = 1; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - name_ = value; - onChanged(); - return this; - } - - private int strategyIndex_ ; - /** - *
-       * the actual object reference
-       * 
- * - * optional int32 strategy_index = 2; - * @return Whether the strategyIndex field is set. - */ - @java.lang.Override - public boolean hasStrategyIndex() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - *
-       * the actual object reference
-       * 
- * - * optional int32 strategy_index = 2; - * @return The strategyIndex. - */ - @java.lang.Override - public int getStrategyIndex() { - return strategyIndex_; - } - /** - *
-       * the actual object reference
-       * 
- * - * optional int32 strategy_index = 2; - * @param value The strategyIndex to set. - * @return This builder for chaining. - */ - public Builder setStrategyIndex(int value) { - bitField0_ |= 0x00000002; - strategyIndex_ = value; - onChanged(); - return this; - } - /** - *
-       * the actual object reference
-       * 
- * - * optional int32 strategy_index = 2; - * @return This builder for chaining. - */ - public Builder clearStrategyIndex() { - bitField0_ = (bitField0_ & ~0x00000002); - strategyIndex_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; - /** - * optional bytes value = 3; - * @return Whether the value field is set. - */ - @java.lang.Override - public boolean hasValue() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional bytes value = 3; - * @return The value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValue() { - return value_; - } - /** - * optional bytes value = 3; - * @param value The value to set. - * @return This builder for chaining. - */ - public Builder setValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - value_ = value; - onChanged(); - return this; - } - /** - * optional bytes value = 3; - * @return This builder for chaining. - */ - public Builder clearValue() { - bitField0_ = (bitField0_ & ~0x00000004); - value_ = getDefaultInstance().getValue(); - onChanged(); - return this; - } - - private java.lang.Object dataType_ = ""; - /** - * optional string data_type = 4; - * @return Whether the dataType field is set. - */ - public boolean hasDataType() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional string data_type = 4; - * @return The dataType. - */ - public java.lang.String getDataType() { - java.lang.Object ref = dataType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - dataType_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string data_type = 4; - * @return The bytes for dataType. - */ - public com.google.protobuf.ByteString - getDataTypeBytes() { - java.lang.Object ref = dataType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - dataType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string data_type = 4; - * @param value The dataType to set. - * @return This builder for chaining. - */ - public Builder setDataType( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - dataType_ = value; - onChanged(); - return this; - } - /** - * optional string data_type = 4; - * @return This builder for chaining. - */ - public Builder clearDataType() { - bitField0_ = (bitField0_ & ~0x00000008); - dataType_ = getDefaultInstance().getDataType(); - onChanged(); - return this; - } - /** - * optional string data_type = 4; - * @param value The bytes for dataType to set. - * @return This builder for chaining. - */ - public Builder setDataTypeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - dataType_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.Variable) - } + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor; + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.Variable) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable(); - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.getDefaultInstance(); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Variable parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Variable(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (timerBuilder_ == null) { + result.timer_ = timer_; + } else { + result.timer_ = timerBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + if (triggerBuilder_ == null) { + result.trigger_ = trigger_; + } else { + result.trigger_ = triggerBuilder_.build(); + } + to_bitField0_ |= 0x00000002; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } - } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } - public interface WorkItemOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.WorkItem) - com.google.protobuf.MessageOrBuilder { + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * optional string id = 1; - * @return The id. - */ - java.lang.String getId(); - /** - * optional string id = 1; - * @return The bytes for id. - */ - com.google.protobuf.ByteString - getIdBytes(); + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } - /** - * optional string process_instances_id = 2; - * @return Whether the processInstancesId field is set. - */ - boolean hasProcessInstancesId(); - /** - * optional string process_instances_id = 2; - * @return The processInstancesId. - */ - java.lang.String getProcessInstancesId(); - /** - * optional string process_instances_id = 2; - * @return The bytes for processInstancesId. - */ - com.google.protobuf.ByteString - getProcessInstancesIdBytes(); + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } - /** - * optional string name = 3; - * @return Whether the name field is set. - */ - boolean hasName(); - /** - * optional string name = 3; - * @return The name. - */ - java.lang.String getName(); - /** - * optional string name = 3; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer) { + return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer) other); + } else { + super.mergeFrom(other); + return this; + } + } - /** - * optional int32 state = 4; - * @return Whether the state field is set. - */ - boolean hasState(); - /** - * optional int32 state = 4; - * @return The state. - */ - int getState(); + public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer + .getDefaultInstance()) + return this; + if (other.hasTimer()) { + mergeTimer(other.getTimer()); + } + if (other.hasTrigger()) { + mergeTrigger(other.getTrigger()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - java.util.List - getVariableList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - int getVariableCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - java.util.List - getVariableOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index); + @java.lang.Override + public final boolean isInitialized() { + return true; + } - /** - * optional string deployment_id = 6; - * @return Whether the deploymentId field is set. - */ - boolean hasDeploymentId(); - /** - * optional string deployment_id = 6; - * @return The deploymentId. - */ - java.lang.String getDeploymentId(); - /** - * optional string deployment_id = 6; - * @return The bytes for deploymentId. - */ - com.google.protobuf.ByteString - getDeploymentIdBytes(); + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } - /** - * optional string node_instance_id = 7; - * @return Whether the nodeInstanceId field is set. - */ - boolean hasNodeInstanceId(); - /** - * optional string node_instance_id = 7; - * @return The nodeInstanceId. - */ - java.lang.String getNodeInstanceId(); - /** - * optional string node_instance_id = 7; - * @return The bytes for nodeInstanceId. - */ - com.google.protobuf.ByteString - getNodeInstanceIdBytes(); + private int bitField0_; - /** - * optional int64 node_id = 8; - * @return Whether the nodeId field is set. - */ - boolean hasNodeId(); - /** - * optional int64 node_id = 8; - * @return The nodeId. - */ - long getNodeId(); + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance timer_; + private com.google.protobuf.SingleFieldBuilderV3 timerBuilder_; - /** - * optional string phase_id = 9; - * @return Whether the phaseId field is set. - */ - boolean hasPhaseId(); - /** - * optional string phase_id = 9; - * @return The phaseId. - */ - java.lang.String getPhaseId(); - /** - * optional string phase_id = 9; - * @return The bytes for phaseId. - */ - com.google.protobuf.ByteString - getPhaseIdBytes(); + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + * + * @return Whether the timer field is set. + */ + public boolean hasTimer() { + return ((bitField0_ & 0x00000001) != 0); + } - /** - * optional string phase_status = 10; - * @return Whether the phaseStatus field is set. - */ - boolean hasPhaseStatus(); - /** - * optional string phase_status = 10; - * @return The phaseStatus. - */ - java.lang.String getPhaseStatus(); - /** - * optional string phase_status = 10; - * @return The bytes for phaseStatus. - */ - com.google.protobuf.ByteString - getPhaseStatusBytes(); + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + * + * @return The timer. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance getTimer() { + if (timerBuilder_ == null) { + return timer_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance + .getDefaultInstance() + : timer_; + } else { + return timerBuilder_.getMessage(); + } + } - /** - * optional int64 start_date = 11; - * @return Whether the startDate field is set. - */ - boolean hasStartDate(); - /** - * optional int64 start_date = 11; - * @return The startDate. - */ - long getStartDate(); + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + */ + public Builder setTimer( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance value) { + if (timerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + timer_ = value; + onChanged(); + } else { + timerBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } - /** - * optional int64 complete_date = 12; - * @return Whether the completeDate field is set. - */ - boolean hasCompleteDate(); - /** - * optional int64 complete_date = 12; - * @return The completeDate. - */ - long getCompleteDate(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.WorkItem} - */ - public static final class WorkItem extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.WorkItem) - WorkItemOrBuilder { - private static final long serialVersionUID = 0L; - // Use WorkItem.newBuilder() to construct. - private WorkItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private WorkItem() { - id_ = ""; - processInstancesId_ = ""; - name_ = ""; - variable_ = java.util.Collections.emptyList(); - deploymentId_ = ""; - nodeInstanceId_ = ""; - phaseId_ = ""; - phaseStatus_ = ""; - } + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + */ + public Builder setTimer( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.Builder builderForValue) { + if (timerBuilder_ == null) { + timer_ = builderForValue.build(); + onChanged(); + } else { + timerBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new WorkItem(); - } + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + */ + public Builder mergeTimer( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance value) { + if (timerBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + timer_ != null && + timer_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance + .getDefaultInstance()) { + timer_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance + .newBuilder(timer_).mergeFrom(value).buildPartial(); + } else { + timer_ = value; + } + onChanged(); + } else { + timerBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private WorkItem( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - id_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - processInstancesId_ = bs; - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000004; - name_ = bs; - break; - } - case 32: { - bitField0_ |= 0x00000008; - state_ = input.readInt32(); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - variable_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - variable_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.PARSER, extensionRegistry)); - break; - } - case 50: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000010; - deploymentId_ = bs; - break; - } - case 58: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000020; - nodeInstanceId_ = bs; - break; - } - case 64: { - bitField0_ |= 0x00000040; - nodeId_ = input.readInt64(); - break; - } - case 74: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000080; - phaseId_ = bs; - break; - } - case 82: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000100; - phaseStatus_ = bs; - break; - } - case 88: { - bitField0_ |= 0x00000200; - startDate_ = input.readInt64(); - break; - } - case 96: { - bitField0_ |= 0x00000400; - completeDate_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000010) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_descriptor; - } + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + */ + public Builder clearTimer() { + if (timerBuilder_ == null) { + timer_ = null; + onChanged(); + } else { + timerBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.Builder.class); - } + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.Builder getTimerBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getTimerFieldBuilder().getBuilder(); + } - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string id = 1; - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } - } - /** - * optional string id = 1; - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstanceOrBuilder getTimerOrBuilder() { + if (timerBuilder_ != null) { + return timerBuilder_.getMessageOrBuilder(); + } else { + return timer_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance + .getDefaultInstance() + : timer_; + } + } - public static final int PROCESS_INSTANCES_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object processInstancesId_; - /** - * optional string process_instances_id = 2; - * @return Whether the processInstancesId field is set. - */ - @java.lang.Override - public boolean hasProcessInstancesId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string process_instances_id = 2; - * @return The processInstancesId. - */ - @java.lang.Override - public java.lang.String getProcessInstancesId() { - java.lang.Object ref = processInstancesId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstancesId_ = s; - } - return s; - } - } - /** - * optional string process_instances_id = 2; - * @return The bytes for processInstancesId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getProcessInstancesIdBytes() { - java.lang.Object ref = processInstancesId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processInstancesId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3 getTimerFieldBuilder() { + if (timerBuilder_ == null) { + timerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getTimer(), + getParentForChildren(), + isClean()); + timer_ = null; + } + return timerBuilder_; + } - public static final int NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object name_; - /** - * optional string name = 3; - * @return Whether the name field is set. - */ - @java.lang.Override - public boolean hasName() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string name = 3; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } - } - /** - * optional string name = 3; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger trigger_; + private com.google.protobuf.SingleFieldBuilderV3 triggerBuilder_; - public static final int STATE_FIELD_NUMBER = 4; - private int state_; - /** - * optional int32 state = 4; - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional int32 state = 4; - * @return The state. - */ - @java.lang.Override - public int getState() { - return state_; - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + * + * @return Whether the trigger field is set. + */ + public boolean hasTrigger() { + return ((bitField0_ & 0x00000002) != 0); + } - public static final int VARIABLE_FIELD_NUMBER = 5; - private java.util.List variable_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - @java.lang.Override - public java.util.List getVariableList() { - return variable_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - @java.lang.Override - public java.util.List - getVariableOrBuilderList() { - return variable_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - @java.lang.Override - public int getVariableCount() { - return variable_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { - return variable_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - return variable_.get(index); - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + * + * @return The trigger. + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getTrigger() { + if (triggerBuilder_ == null) { + return trigger_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() + : trigger_; + } else { + return triggerBuilder_.getMessage(); + } + } - public static final int DEPLOYMENT_ID_FIELD_NUMBER = 6; - private volatile java.lang.Object deploymentId_; - /** - * optional string deployment_id = 6; - * @return Whether the deploymentId field is set. - */ - @java.lang.Override - public boolean hasDeploymentId() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional string deployment_id = 6; - * @return The deploymentId. - */ - @java.lang.Override - public java.lang.String getDeploymentId() { - java.lang.Object ref = deploymentId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - deploymentId_ = s; - } - return s; - } - } - /** - * optional string deployment_id = 6; - * @return The bytes for deploymentId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getDeploymentIdBytes() { - java.lang.Object ref = deploymentId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deploymentId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + */ + public Builder setTrigger(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger value) { + if (triggerBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + trigger_ = value; + onChanged(); + } else { + triggerBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } - public static final int NODE_INSTANCE_ID_FIELD_NUMBER = 7; - private volatile java.lang.Object nodeInstanceId_; - /** - * optional string node_instance_id = 7; - * @return Whether the nodeInstanceId field is set. - */ - @java.lang.Override - public boolean hasNodeInstanceId() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional string node_instance_id = 7; - * @return The nodeInstanceId. - */ - @java.lang.Override - public java.lang.String getNodeInstanceId() { - java.lang.Object ref = nodeInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - nodeInstanceId_ = s; - } - return s; - } - } - /** - * optional string node_instance_id = 7; - * @return The bytes for nodeInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNodeInstanceIdBytes() { - java.lang.Object ref = nodeInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + */ + public Builder setTrigger( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder builderForValue) { + if (triggerBuilder_ == null) { + trigger_ = builderForValue.build(); + onChanged(); + } else { + triggerBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } - public static final int NODE_ID_FIELD_NUMBER = 8; - private long nodeId_; - /** - * optional int64 node_id = 8; - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000040) != 0); - } - /** - * optional int64 node_id = 8; - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + */ + public Builder mergeTrigger(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger value) { + if (triggerBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + trigger_ != null && + trigger_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger + .getDefaultInstance()) { + trigger_ = io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger + .newBuilder(trigger_).mergeFrom(value).buildPartial(); + } else { + trigger_ = value; + } + onChanged(); + } else { + triggerBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } - public static final int PHASE_ID_FIELD_NUMBER = 9; - private volatile java.lang.Object phaseId_; - /** - * optional string phase_id = 9; - * @return Whether the phaseId field is set. - */ - @java.lang.Override - public boolean hasPhaseId() { - return ((bitField0_ & 0x00000080) != 0); - } - /** - * optional string phase_id = 9; - * @return The phaseId. - */ - @java.lang.Override - public java.lang.String getPhaseId() { - java.lang.Object ref = phaseId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseId_ = s; - } - return s; - } - } - /** - * optional string phase_id = 9; - * @return The bytes for phaseId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getPhaseIdBytes() { - java.lang.Object ref = phaseId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - phaseId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + */ + public Builder clearTrigger() { + if (triggerBuilder_ == null) { + trigger_ = null; + onChanged(); + } else { + triggerBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } - public static final int PHASE_STATUS_FIELD_NUMBER = 10; - private volatile java.lang.Object phaseStatus_; - /** - * optional string phase_status = 10; - * @return Whether the phaseStatus field is set. - */ - @java.lang.Override - public boolean hasPhaseStatus() { - return ((bitField0_ & 0x00000100) != 0); - } - /** - * optional string phase_status = 10; - * @return The phaseStatus. - */ - @java.lang.Override - public java.lang.String getPhaseStatus() { - java.lang.Object ref = phaseStatus_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseStatus_ = s; - } - return s; - } - } - /** - * optional string phase_status = 10; - * @return The bytes for phaseStatus. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getPhaseStatusBytes() { - java.lang.Object ref = phaseStatus_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - phaseStatus_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder getTriggerBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getTriggerFieldBuilder().getBuilder(); + } - public static final int START_DATE_FIELD_NUMBER = 11; - private long startDate_; - /** - * optional int64 start_date = 11; - * @return Whether the startDate field is set. - */ - @java.lang.Override - public boolean hasStartDate() { - return ((bitField0_ & 0x00000200) != 0); - } - /** - * optional int64 start_date = 11; - * @return The startDate. - */ - @java.lang.Override - public long getStartDate() { - return startDate_; - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder getTriggerOrBuilder() { + if (triggerBuilder_ != null) { + return triggerBuilder_.getMessageOrBuilder(); + } else { + return trigger_ == null + ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() + : trigger_; + } + } - public static final int COMPLETE_DATE_FIELD_NUMBER = 12; - private long completeDate_; - /** - * optional int64 complete_date = 12; - * @return Whether the completeDate field is set. - */ - @java.lang.Override - public boolean hasCompleteDate() { - return ((bitField0_ & 0x00000400) != 0); - } - /** - * optional int64 complete_date = 12; - * @return The completeDate. - */ - @java.lang.Override - public long getCompleteDate() { - return completeDate_; - } + /** + * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3 getTriggerFieldBuilder() { + if (triggerBuilder_ == null) { + triggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( + getTrigger(), + getParentForChildren(), + isClean()); + trigger_ = null; + } + return triggerBuilder_; + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, processInstancesId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeInt32(4, state_); - } - for (int i = 0; i < variable_.size(); i++) { - output.writeMessage(5, variable_.get(i)); - } - if (((bitField0_ & 0x00000010) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, deploymentId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, nodeInstanceId_); - } - if (((bitField0_ & 0x00000040) != 0)) { - output.writeInt64(8, nodeId_); - } - if (((bitField0_ & 0x00000080) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, phaseId_); - } - if (((bitField0_ & 0x00000100) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, phaseStatus_); - } - if (((bitField0_ & 0x00000200) != 0)) { - output.writeInt64(11, startDate_); - } - if (((bitField0_ & 0x00000400) != 0)) { - output.writeInt64(12, completeDate_); - } - unknownFields.writeTo(output); - } + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessTimer) + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, processInstancesId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, state_); - } - for (int i = 0; i < variable_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, variable_.get(i)); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, deploymentId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, nodeInstanceId_); - } - if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(8, nodeId_); - } - if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, phaseId_); - } - if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, phaseStatus_); - } - if (((bitField0_ & 0x00000200) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(11, startDate_); - } - if (((bitField0_ & 0x00000400) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(12, completeDate_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessTimer) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer(); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasProcessInstancesId() != other.hasProcessInstancesId()) return false; - if (hasProcessInstancesId()) { - if (!getProcessInstancesId() - .equals(other.getProcessInstancesId())) return false; - } - if (hasName() != other.hasName()) return false; - if (hasName()) { - if (!getName() - .equals(other.getName())) return false; - } - if (hasState() != other.hasState()) return false; - if (hasState()) { - if (getState() - != other.getState()) return false; - } - if (!getVariableList() - .equals(other.getVariableList())) return false; - if (hasDeploymentId() != other.hasDeploymentId()) return false; - if (hasDeploymentId()) { - if (!getDeploymentId() - .equals(other.getDeploymentId())) return false; - } - if (hasNodeInstanceId() != other.hasNodeInstanceId()) return false; - if (hasNodeInstanceId()) { - if (!getNodeInstanceId() - .equals(other.getNodeInstanceId())) return false; - } - if (hasNodeId() != other.hasNodeId()) return false; - if (hasNodeId()) { - if (getNodeId() - != other.getNodeId()) return false; - } - if (hasPhaseId() != other.hasPhaseId()) return false; - if (hasPhaseId()) { - if (!getPhaseId() - .equals(other.getPhaseId())) return false; - } - if (hasPhaseStatus() != other.hasPhaseStatus()) return false; - if (hasPhaseStatus()) { - if (!getPhaseStatus() - .equals(other.getPhaseStatus())) return false; - } - if (hasStartDate() != other.hasStartDate()) return false; - if (hasStartDate()) { - if (getStartDate() - != other.getStartDate()) return false; - } - if (hasCompleteDate() != other.hasCompleteDate()) return false; - if (hasCompleteDate()) { - if (getCompleteDate() - != other.getCompleteDate()) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasProcessInstancesId()) { - hash = (37 * hash) + PROCESS_INSTANCES_ID_FIELD_NUMBER; - hash = (53 * hash) + getProcessInstancesId().hashCode(); - } - if (hasName()) { - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - } - if (hasState()) { - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + getState(); - } - if (getVariableCount() > 0) { - hash = (37 * hash) + VARIABLE_FIELD_NUMBER; - hash = (53 * hash) + getVariableList().hashCode(); - } - if (hasDeploymentId()) { - hash = (37 * hash) + DEPLOYMENT_ID_FIELD_NUMBER; - hash = (53 * hash) + getDeploymentId().hashCode(); - } - if (hasNodeInstanceId()) { - hash = (37 * hash) + NODE_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getNodeInstanceId().hashCode(); - } - if (hasNodeId()) { - hash = (37 * hash) + NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNodeId()); - } - if (hasPhaseId()) { - hash = (37 * hash) + PHASE_ID_FIELD_NUMBER; - hash = (53 * hash) + getPhaseId().hashCode(); - } - if (hasPhaseStatus()) { - hash = (37 * hash) + PHASE_STATUS_FIELD_NUMBER; - hash = (53 * hash) + getPhaseStatus().hashCode(); - } - if (hasStartDate()) { - hash = (37 * hash) + START_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getStartDate()); - } - if (hasCompleteDate()) { - hash = (37 * hash) + COMPLETE_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCompleteDate()); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProcessTimer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProcessTimer(input, extensionRegistry); + } + }; - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + public static com.google.protobuf.Parser parser() { + return PARSER; + } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.WorkItem} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.WorkItem) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getVariableFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - processInstancesId_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - name_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - state_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - variableBuilder_.clear(); - } - deploymentId_ = ""; - bitField0_ = (bitField0_ & ~0x00000020); - nodeInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000040); - nodeId_ = 0L; - bitField0_ = (bitField0_ & ~0x00000080); - phaseId_ = ""; - bitField0_ = (bitField0_ & ~0x00000100); - phaseStatus_ = ""; - bitField0_ = (bitField0_ & ~0x00000200); - startDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000400); - completeDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000800); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.id_ = id_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.processInstancesId_ = processInstancesId_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.name_ = name_; - if (((from_bitField0_ & 0x00000008) != 0)) { - result.state_ = state_; - to_bitField0_ |= 0x00000008; - } - if (variableBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.variable_ = variable_; - } else { - result.variable_ = variableBuilder_.build(); - } - if (((from_bitField0_ & 0x00000020) != 0)) { - to_bitField0_ |= 0x00000010; - } - result.deploymentId_ = deploymentId_; - if (((from_bitField0_ & 0x00000040) != 0)) { - to_bitField0_ |= 0x00000020; - } - result.nodeInstanceId_ = nodeInstanceId_; - if (((from_bitField0_ & 0x00000080) != 0)) { - result.nodeId_ = nodeId_; - to_bitField0_ |= 0x00000040; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - to_bitField0_ |= 0x00000080; - } - result.phaseId_ = phaseId_; - if (((from_bitField0_ & 0x00000200) != 0)) { - to_bitField0_ |= 0x00000100; - } - result.phaseStatus_ = phaseStatus_; - if (((from_bitField0_ & 0x00000400) != 0)) { - result.startDate_ = startDate_; - to_bitField0_ |= 0x00000200; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.completeDate_ = completeDate_; - to_bitField0_ |= 0x00000400; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.getDefaultInstance()) return this; - if (other.hasId()) { - bitField0_ |= 0x00000001; - id_ = other.id_; - onChanged(); - } - if (other.hasProcessInstancesId()) { - bitField0_ |= 0x00000002; - processInstancesId_ = other.processInstancesId_; - onChanged(); - } - if (other.hasName()) { - bitField0_ |= 0x00000004; - name_ = other.name_; - onChanged(); - } - if (other.hasState()) { - setState(other.getState()); - } - if (variableBuilder_ == null) { - if (!other.variable_.isEmpty()) { - if (variable_.isEmpty()) { - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureVariableIsMutable(); - variable_.addAll(other.variable_); - } - onChanged(); - } - } else { - if (!other.variable_.isEmpty()) { - if (variableBuilder_.isEmpty()) { - variableBuilder_.dispose(); - variableBuilder_ = null; - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000010); - variableBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVariableFieldBuilder() : null; - } else { - variableBuilder_.addAllMessages(other.variable_); - } - } - } - if (other.hasDeploymentId()) { - bitField0_ |= 0x00000020; - deploymentId_ = other.deploymentId_; - onChanged(); - } - if (other.hasNodeInstanceId()) { - bitField0_ |= 0x00000040; - nodeInstanceId_ = other.nodeInstanceId_; - onChanged(); - } - if (other.hasNodeId()) { - setNodeId(other.getNodeId()); - } - if (other.hasPhaseId()) { - bitField0_ |= 0x00000100; - phaseId_ = other.phaseId_; - onChanged(); - } - if (other.hasPhaseStatus()) { - bitField0_ |= 0x00000200; - phaseStatus_ = other.phaseStatus_; - onChanged(); - } - if (other.hasStartDate()) { - setStartDate(other.getStartDate()); - } - if (other.hasCompleteDate()) { - setCompleteDate(other.getCompleteDate()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object id_ = ""; - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string id = 1; - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string id = 1; - * @return The bytes for id. - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string id = 1; - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - /** - * optional string id = 1; - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - /** - * optional string id = 1; - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - - private java.lang.Object processInstancesId_ = ""; - /** - * optional string process_instances_id = 2; - * @return Whether the processInstancesId field is set. - */ - public boolean hasProcessInstancesId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string process_instances_id = 2; - * @return The processInstancesId. - */ - public java.lang.String getProcessInstancesId() { - java.lang.Object ref = processInstancesId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstancesId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string process_instances_id = 2; - * @return The bytes for processInstancesId. - */ - public com.google.protobuf.ByteString - getProcessInstancesIdBytes() { - java.lang.Object ref = processInstancesId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processInstancesId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string process_instances_id = 2; - * @param value The processInstancesId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstancesId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - processInstancesId_ = value; - onChanged(); - return this; - } - /** - * optional string process_instances_id = 2; - * @return This builder for chaining. - */ - public Builder clearProcessInstancesId() { - bitField0_ = (bitField0_ & ~0x00000002); - processInstancesId_ = getDefaultInstance().getProcessInstancesId(); - onChanged(); - return this; - } - /** - * optional string process_instances_id = 2; - * @param value The bytes for processInstancesId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstancesIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - processInstancesId_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - * optional string name = 3; - * @return Whether the name field is set. - */ - public boolean hasName() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string name = 3; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string name = 3; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string name = 3; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - name_ = value; - onChanged(); - return this; - } - /** - * optional string name = 3; - * @return This builder for chaining. - */ - public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000004); - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * optional string name = 3; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - name_ = value; - onChanged(); - return this; - } - - private int state_ ; - /** - * optional int32 state = 4; - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional int32 state = 4; - * @return The state. - */ - @java.lang.Override - public int getState() { - return state_; - } - /** - * optional int32 state = 4; - * @param value The state to set. - * @return This builder for chaining. - */ - public Builder setState(int value) { - bitField0_ |= 0x00000008; - state_ = value; - onChanged(); - return this; - } - /** - * optional int32 state = 4; - * @return This builder for chaining. - */ - public Builder clearState() { - bitField0_ = (bitField0_ & ~0x00000008); - state_ = 0; - onChanged(); - return this; - } - - private java.util.List variable_ = - java.util.Collections.emptyList(); - private void ensureVariableIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - variable_ = new java.util.ArrayList(variable_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder> variableBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public java.util.List getVariableList() { - if (variableBuilder_ == null) { - return java.util.Collections.unmodifiableList(variable_); - } else { - return variableBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public int getVariableCount() { - if (variableBuilder_ == null) { - return variable_.size(); - } else { - return variableBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder setVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.set(index, value); - onChanged(); - } else { - variableBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder setVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.set(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(value); - onChanged(); - } else { - variableBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder addVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(index, value); - onChanged(); - } else { - variableBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder addVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder addAllVariable( - java.lang.Iterable values) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, variable_); - onChanged(); - } else { - variableBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder clearVariable() { - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - variableBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder removeVariable(int index) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.remove(index); - onChanged(); - } else { - variableBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder getVariableBuilder( - int index) { - return getVariableFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - if (variableBuilder_ == null) { - return variable_.get(index); } else { - return variableBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public java.util.List - getVariableOrBuilderList() { - if (variableBuilder_ != null) { - return variableBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variable_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder() { - return getVariableFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder( - int index) { - return getVariableFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public java.util.List - getVariableBuilderList() { - return getVariableFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder> - getVariableFieldBuilder() { - if (variableBuilder_ == null) { - variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder>( - variable_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); - variable_ = null; - } - return variableBuilder_; - } - - private java.lang.Object deploymentId_ = ""; - /** - * optional string deployment_id = 6; - * @return Whether the deploymentId field is set. - */ - public boolean hasDeploymentId() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional string deployment_id = 6; - * @return The deploymentId. - */ - public java.lang.String getDeploymentId() { - java.lang.Object ref = deploymentId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - deploymentId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string deployment_id = 6; - * @return The bytes for deploymentId. - */ - public com.google.protobuf.ByteString - getDeploymentIdBytes() { - java.lang.Object ref = deploymentId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deploymentId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string deployment_id = 6; - * @param value The deploymentId to set. - * @return This builder for chaining. - */ - public Builder setDeploymentId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; - deploymentId_ = value; - onChanged(); - return this; - } - /** - * optional string deployment_id = 6; - * @return This builder for chaining. - */ - public Builder clearDeploymentId() { - bitField0_ = (bitField0_ & ~0x00000020); - deploymentId_ = getDefaultInstance().getDeploymentId(); - onChanged(); - return this; - } - /** - * optional string deployment_id = 6; - * @param value The bytes for deploymentId to set. - * @return This builder for chaining. - */ - public Builder setDeploymentIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; - deploymentId_ = value; - onChanged(); - return this; - } - - private java.lang.Object nodeInstanceId_ = ""; - /** - * optional string node_instance_id = 7; - * @return Whether the nodeInstanceId field is set. - */ - public boolean hasNodeInstanceId() { - return ((bitField0_ & 0x00000040) != 0); - } - /** - * optional string node_instance_id = 7; - * @return The nodeInstanceId. - */ - public java.lang.String getNodeInstanceId() { - java.lang.Object ref = nodeInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - nodeInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string node_instance_id = 7; - * @return The bytes for nodeInstanceId. - */ - public com.google.protobuf.ByteString - getNodeInstanceIdBytes() { - java.lang.Object ref = nodeInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string node_instance_id = 7; - * @param value The nodeInstanceId to set. - * @return This builder for chaining. - */ - public Builder setNodeInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; - nodeInstanceId_ = value; - onChanged(); - return this; - } - /** - * optional string node_instance_id = 7; - * @return This builder for chaining. - */ - public Builder clearNodeInstanceId() { - bitField0_ = (bitField0_ & ~0x00000040); - nodeInstanceId_ = getDefaultInstance().getNodeInstanceId(); - onChanged(); - return this; - } - /** - * optional string node_instance_id = 7; - * @param value The bytes for nodeInstanceId to set. - * @return This builder for chaining. - */ - public Builder setNodeInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; - nodeInstanceId_ = value; - onChanged(); - return this; - } - - private long nodeId_ ; - /** - * optional int64 node_id = 8; - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000080) != 0); - } - /** - * optional int64 node_id = 8; - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } - /** - * optional int64 node_id = 8; - * @param value The nodeId to set. - * @return This builder for chaining. - */ - public Builder setNodeId(long value) { - bitField0_ |= 0x00000080; - nodeId_ = value; - onChanged(); - return this; - } - /** - * optional int64 node_id = 8; - * @return This builder for chaining. - */ - public Builder clearNodeId() { - bitField0_ = (bitField0_ & ~0x00000080); - nodeId_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object phaseId_ = ""; - /** - * optional string phase_id = 9; - * @return Whether the phaseId field is set. - */ - public boolean hasPhaseId() { - return ((bitField0_ & 0x00000100) != 0); - } - /** - * optional string phase_id = 9; - * @return The phaseId. - */ - public java.lang.String getPhaseId() { - java.lang.Object ref = phaseId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string phase_id = 9; - * @return The bytes for phaseId. - */ - public com.google.protobuf.ByteString - getPhaseIdBytes() { - java.lang.Object ref = phaseId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - phaseId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string phase_id = 9; - * @param value The phaseId to set. - * @return This builder for chaining. - */ - public Builder setPhaseId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; - phaseId_ = value; - onChanged(); - return this; - } - /** - * optional string phase_id = 9; - * @return This builder for chaining. - */ - public Builder clearPhaseId() { - bitField0_ = (bitField0_ & ~0x00000100); - phaseId_ = getDefaultInstance().getPhaseId(); - onChanged(); - return this; - } - /** - * optional string phase_id = 9; - * @param value The bytes for phaseId to set. - * @return This builder for chaining. - */ - public Builder setPhaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; - phaseId_ = value; - onChanged(); - return this; - } - - private java.lang.Object phaseStatus_ = ""; - /** - * optional string phase_status = 10; - * @return Whether the phaseStatus field is set. - */ - public boolean hasPhaseStatus() { - return ((bitField0_ & 0x00000200) != 0); - } - /** - * optional string phase_status = 10; - * @return The phaseStatus. - */ - public java.lang.String getPhaseStatus() { - java.lang.Object ref = phaseStatus_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseStatus_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string phase_status = 10; - * @return The bytes for phaseStatus. - */ - public com.google.protobuf.ByteString - getPhaseStatusBytes() { - java.lang.Object ref = phaseStatus_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - phaseStatus_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string phase_status = 10; - * @param value The phaseStatus to set. - * @return This builder for chaining. - */ - public Builder setPhaseStatus( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; - phaseStatus_ = value; - onChanged(); - return this; - } - /** - * optional string phase_status = 10; - * @return This builder for chaining. - */ - public Builder clearPhaseStatus() { - bitField0_ = (bitField0_ & ~0x00000200); - phaseStatus_ = getDefaultInstance().getPhaseStatus(); - onChanged(); - return this; - } - /** - * optional string phase_status = 10; - * @param value The bytes for phaseStatus to set. - * @return This builder for chaining. - */ - public Builder setPhaseStatusBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; - phaseStatus_ = value; - onChanged(); - return this; - } - - private long startDate_ ; - /** - * optional int64 start_date = 11; - * @return Whether the startDate field is set. - */ - @java.lang.Override - public boolean hasStartDate() { - return ((bitField0_ & 0x00000400) != 0); - } - /** - * optional int64 start_date = 11; - * @return The startDate. - */ - @java.lang.Override - public long getStartDate() { - return startDate_; - } - /** - * optional int64 start_date = 11; - * @param value The startDate to set. - * @return This builder for chaining. - */ - public Builder setStartDate(long value) { - bitField0_ |= 0x00000400; - startDate_ = value; - onChanged(); - return this; - } - /** - * optional int64 start_date = 11; - * @return This builder for chaining. - */ - public Builder clearStartDate() { - bitField0_ = (bitField0_ & ~0x00000400); - startDate_ = 0L; - onChanged(); - return this; - } - - private long completeDate_ ; - /** - * optional int64 complete_date = 12; - * @return Whether the completeDate field is set. - */ - @java.lang.Override - public boolean hasCompleteDate() { - return ((bitField0_ & 0x00000800) != 0); - } - /** - * optional int64 complete_date = 12; - * @return The completeDate. - */ - @java.lang.Override - public long getCompleteDate() { - return completeDate_; - } - /** - * optional int64 complete_date = 12; - * @param value The completeDate to set. - * @return This builder for chaining. - */ - public Builder setCompleteDate(long value) { - bitField0_ |= 0x00000800; - completeDate_ = value; - onChanged(); - return this; - } - /** - * optional int64 complete_date = 12; - * @return This builder for chaining. - */ - public Builder clearCompleteDate() { - bitField0_ = (bitField0_ & ~0x00000800); - completeDate_ = 0L; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.WorkItem) - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.WorkItem) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem(); } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public interface IterationLevelOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.IterationLevel) + com.google.protobuf.MessageOrBuilder { - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkItem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkItem(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + boolean hasId(); - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + * optional string id = 1; + * + * @return The id. + */ + java.lang.String getId(); - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + com.google.protobuf.ByteString getIdBytes(); - } + /** + * optional int32 level = 2; + * + * @return Whether the level field is set. + */ + boolean hasLevel(); - public interface HumanTaskWorkItemOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem) - com.google.protobuf.MessageOrBuilder { + /** + * optional int32 level = 2; + * + * @return The level. + */ + int getLevel(); + } /** - * optional string id = 1; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * optional string id = 1; - * @return The id. - */ - java.lang.String getId(); - /** - * optional string id = 1; - * @return The bytes for id. + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.IterationLevel} */ - com.google.protobuf.ByteString - getIdBytes(); + public static final class IterationLevel extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.IterationLevel) + IterationLevelOrBuilder { + private static final long serialVersionUID = 0L; - /** - * optional string process_instances_id = 2; - * @return Whether the processInstancesId field is set. - */ - boolean hasProcessInstancesId(); - /** - * optional string process_instances_id = 2; - * @return The processInstancesId. - */ - java.lang.String getProcessInstancesId(); - /** - * optional string process_instances_id = 2; - * @return The bytes for processInstancesId. - */ - com.google.protobuf.ByteString - getProcessInstancesIdBytes(); + // Use IterationLevel.newBuilder() to construct. + private IterationLevel(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } - /** - * optional string name = 3; - * @return Whether the name field is set. - */ - boolean hasName(); - /** - * optional string name = 3; - * @return The name. - */ - java.lang.String getName(); - /** - * optional string name = 3; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); + private IterationLevel() { + id_ = ""; + } - /** - * optional int32 state = 4; - * @return Whether the state field is set. - */ - boolean hasState(); - /** - * optional int32 state = 4; - * @return The state. - */ - int getState(); + @java.lang.Override + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IterationLevel(); + } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - java.util.List - getVariableList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - int getVariableCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - java.util.List - getVariableOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index); + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } - /** - * optional string deployment_id = 6; - * @return Whether the deploymentId field is set. - */ - boolean hasDeploymentId(); - /** - * optional string deployment_id = 6; - * @return The deploymentId. - */ - java.lang.String getDeploymentId(); - /** - * optional string deployment_id = 6; - * @return The bytes for deploymentId. - */ - com.google.protobuf.ByteString - getDeploymentIdBytes(); + private IterationLevel( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000001; + id_ = bs; + break; + } + case 16: { + bitField0_ |= 0x00000002; + level_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } - /** - * optional string node_instance_id = 7; - * @return Whether the nodeInstanceId field is set. - */ - boolean hasNodeInstanceId(); - /** - * optional string node_instance_id = 7; - * @return The nodeInstanceId. - */ - java.lang.String getNodeInstanceId(); - /** - * optional string node_instance_id = 7; - * @return The bytes for nodeInstanceId. - */ - com.google.protobuf.ByteString - getNodeInstanceIdBytes(); + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_descriptor; + } - /** - * optional int64 node_id = 8; - * @return Whether the nodeId field is set. - */ - boolean hasNodeId(); - /** - * optional int64 node_id = 8; - * @return The nodeId. - */ - long getNodeId(); + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder.class); + } + + private int bitField0_; + public static final int ID_FIELD_NUMBER = 1; + private volatile java.lang.Object id_; + + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + @java.lang.Override + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } + + /** + * optional string id = 1; + * + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } + } - /** - * optional string phase_id = 9; - * @return Whether the phaseId field is set. - */ - boolean hasPhaseId(); - /** - * optional string phase_id = 9; - * @return The phaseId. - */ - java.lang.String getPhaseId(); - /** - * optional string phase_id = 9; - * @return The bytes for phaseId. - */ - com.google.protobuf.ByteString - getPhaseIdBytes(); + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * optional string phase_status = 10; - * @return Whether the phaseStatus field is set. - */ - boolean hasPhaseStatus(); - /** - * optional string phase_status = 10; - * @return The phaseStatus. - */ - java.lang.String getPhaseStatus(); - /** - * optional string phase_status = 10; - * @return The bytes for phaseStatus. - */ - com.google.protobuf.ByteString - getPhaseStatusBytes(); + public static final int LEVEL_FIELD_NUMBER = 2; + private int level_; - /** - * optional int64 start_date = 11; - * @return Whether the startDate field is set. - */ - boolean hasStartDate(); - /** - * optional int64 start_date = 11; - * @return The startDate. - */ - long getStartDate(); + /** + * optional int32 level = 2; + * + * @return Whether the level field is set. + */ + @java.lang.Override + public boolean hasLevel() { + return ((bitField0_ & 0x00000002) != 0); + } - /** - * optional int64 complete_date = 12; - * @return Whether the completeDate field is set. - */ - boolean hasCompleteDate(); - /** - * optional int64 complete_date = 12; - * @return The completeDate. - */ - long getCompleteDate(); + /** + * optional int32 level = 2; + * + * @return The level. + */ + @java.lang.Override + public int getLevel() { + return level_; + } - /** - * optional string task_name = 13; - * @return Whether the taskName field is set. - */ - boolean hasTaskName(); - /** - * optional string task_name = 13; - * @return The taskName. - */ - java.lang.String getTaskName(); - /** - * optional string task_name = 13; - * @return The bytes for taskName. - */ - com.google.protobuf.ByteString - getTaskNameBytes(); + private byte memoizedIsInitialized = -1; - /** - * optional string task_description = 14; - * @return Whether the taskDescription field is set. - */ - boolean hasTaskDescription(); - /** - * optional string task_description = 14; - * @return The taskDescription. - */ - java.lang.String getTaskDescription(); - /** - * optional string task_description = 14; - * @return The bytes for taskDescription. - */ - com.google.protobuf.ByteString - getTaskDescriptionBytes(); + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; - /** - * optional string task_priority = 15; - * @return Whether the taskPriority field is set. - */ - boolean hasTaskPriority(); - /** - * optional string task_priority = 15; - * @return The taskPriority. - */ - java.lang.String getTaskPriority(); - /** - * optional string task_priority = 15; - * @return The bytes for taskPriority. - */ - com.google.protobuf.ByteString - getTaskPriorityBytes(); + memoizedIsInitialized = 1; + return true; + } - /** - * optional string actual_owner = 16; - * @return Whether the actualOwner field is set. - */ - boolean hasActualOwner(); - /** - * optional string actual_owner = 16; - * @return The actualOwner. - */ - java.lang.String getActualOwner(); - /** - * optional string actual_owner = 16; - * @return The bytes for actualOwner. - */ - com.google.protobuf.ByteString - getActualOwnerBytes(); + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt32(2, level_); + } + unknownFields.writeTo(output); + } - /** - * repeated string pot_users = 17; - * @return A list containing the potUsers. - */ - java.util.List - getPotUsersList(); - /** - * repeated string pot_users = 17; - * @return The count of potUsers. - */ - int getPotUsersCount(); - /** - * repeated string pot_users = 17; - * @param index The index of the element to return. - * @return The potUsers at the given index. - */ - java.lang.String getPotUsers(int index); - /** - * repeated string pot_users = 17; - * @param index The index of the value to return. - * @return The bytes of the potUsers at the given index. - */ - com.google.protobuf.ByteString - getPotUsersBytes(int index); + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; - /** - * repeated string pot_groups = 18; - * @return A list containing the potGroups. - */ - java.util.List - getPotGroupsList(); - /** - * repeated string pot_groups = 18; - * @return The count of potGroups. - */ - int getPotGroupsCount(); - /** - * repeated string pot_groups = 18; - * @param index The index of the element to return. - * @return The potGroups at the given index. - */ - java.lang.String getPotGroups(int index); - /** - * repeated string pot_groups = 18; - * @param index The index of the value to return. - * @return The bytes of the potGroups at the given index. - */ - com.google.protobuf.ByteString - getPotGroupsBytes(int index); + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, level_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } - /** - * repeated string excluded_users = 19; - * @return A list containing the excludedUsers. - */ - java.util.List - getExcludedUsersList(); - /** - * repeated string excluded_users = 19; - * @return The count of excludedUsers. - */ - int getExcludedUsersCount(); - /** - * repeated string excluded_users = 19; - * @param index The index of the element to return. - * @return The excludedUsers at the given index. - */ - java.lang.String getExcludedUsers(int index); - /** - * repeated string excluded_users = 19; - * @param index The index of the value to return. - * @return The bytes of the excludedUsers at the given index. - */ - com.google.protobuf.ByteString - getExcludedUsersBytes(int index); + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel) obj; - /** - * repeated string admin_users = 20; - * @return A list containing the adminUsers. - */ - java.util.List - getAdminUsersList(); - /** - * repeated string admin_users = 20; - * @return The count of adminUsers. - */ - int getAdminUsersCount(); - /** - * repeated string admin_users = 20; - * @param index The index of the element to return. - * @return The adminUsers at the given index. - */ - java.lang.String getAdminUsers(int index); - /** - * repeated string admin_users = 20; - * @param index The index of the value to return. - * @return The bytes of the adminUsers at the given index. - */ - com.google.protobuf.ByteString - getAdminUsersBytes(int index); + if (hasId() != other.hasId()) + return false; + if (hasId()) { + if (!getId() + .equals(other.getId())) + return false; + } + if (hasLevel() != other.hasLevel()) + return false; + if (hasLevel()) { + if (getLevel() != other.getLevel()) + return false; + } + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } - /** - * repeated string admin_groups = 21; - * @return A list containing the adminGroups. - */ - java.util.List - getAdminGroupsList(); - /** - * repeated string admin_groups = 21; - * @return The count of adminGroups. - */ - int getAdminGroupsCount(); - /** - * repeated string admin_groups = 21; - * @param index The index of the element to return. - * @return The adminGroups at the given index. - */ - java.lang.String getAdminGroups(int index); - /** - * repeated string admin_groups = 21; - * @param index The index of the value to return. - * @return The bytes of the adminGroups at the given index. - */ - com.google.protobuf.ByteString - getAdminGroupsBytes(int index); + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasId()) { + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + } + if (hasLevel()) { + hash = (37 * hash) + LEVEL_FIELD_NUMBER; + hash = (53 * hash) + getLevel(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } - /** - * optional string task_reference_name = 22; - * @return Whether the taskReferenceName field is set. - */ - boolean hasTaskReferenceName(); - /** - * optional string task_reference_name = 22; - * @return The taskReferenceName. - */ - java.lang.String getTaskReferenceName(); - /** - * optional string task_reference_name = 22; - * @return The bytes for taskReferenceName. - */ - com.google.protobuf.ByteString - getTaskReferenceNameBytes(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem} - */ - public static final class HumanTaskWorkItem extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem) - HumanTaskWorkItemOrBuilder { - private static final long serialVersionUID = 0L; - // Use HumanTaskWorkItem.newBuilder() to construct. - private HumanTaskWorkItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private HumanTaskWorkItem() { - id_ = ""; - processInstancesId_ = ""; - name_ = ""; - variable_ = java.util.Collections.emptyList(); - deploymentId_ = ""; - nodeInstanceId_ = ""; - phaseId_ = ""; - phaseStatus_ = ""; - taskName_ = ""; - taskDescription_ = ""; - taskPriority_ = ""; - actualOwner_ = ""; - potUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - potGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - excludedUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - adminUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - adminGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - taskReferenceName_ = ""; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new HumanTaskWorkItem(); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private HumanTaskWorkItem( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - id_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - processInstancesId_ = bs; - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000004; - name_ = bs; - break; - } - case 32: { - bitField0_ |= 0x00000008; - state_ = input.readInt32(); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - variable_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - variable_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.PARSER, extensionRegistry)); - break; - } - case 50: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000010; - deploymentId_ = bs; - break; - } - case 58: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000020; - nodeInstanceId_ = bs; - break; - } - case 64: { - bitField0_ |= 0x00000040; - nodeId_ = input.readInt64(); - break; - } - case 74: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000080; - phaseId_ = bs; - break; - } - case 82: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000100; - phaseStatus_ = bs; - break; - } - case 88: { - bitField0_ |= 0x00000200; - startDate_ = input.readInt64(); - break; - } - case 96: { - bitField0_ |= 0x00000400; - completeDate_ = input.readInt64(); - break; - } - case 106: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000800; - taskName_ = bs; - break; - } - case 114: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00001000; - taskDescription_ = bs; - break; - } - case 122: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00002000; - taskPriority_ = bs; - break; - } - case 130: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00004000; - actualOwner_ = bs; - break; - } - case 138: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00010000) != 0)) { - potUsers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00010000; - } - potUsers_.add(bs); - break; - } - case 146: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00020000) != 0)) { - potGroups_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00020000; - } - potGroups_.add(bs); - break; - } - case 154: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00040000) != 0)) { - excludedUsers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00040000; - } - excludedUsers_.add(bs); - break; - } - case 162: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00080000) != 0)) { - adminUsers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00080000; - } - adminUsers_.add(bs); - break; - } - case 170: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00100000) != 0)) { - adminGroups_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00100000; - } - adminGroups_.add(bs); - break; - } - case 178: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00008000; - taskReferenceName_ = bs; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000010) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - } - if (((mutable_bitField0_ & 0x00010000) != 0)) { - potUsers_ = potUsers_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00020000) != 0)) { - potGroups_ = potGroups_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00040000) != 0)) { - excludedUsers_ = excludedUsers_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00080000) != 0)) { - adminUsers_ = adminUsers_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00100000) != 0)) { - adminGroups_ = adminGroups_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_descriptor; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.Builder.class); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string id = 1; - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } - } - /** - * optional string id = 1; - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - public static final int PROCESS_INSTANCES_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object processInstancesId_; - /** - * optional string process_instances_id = 2; - * @return Whether the processInstancesId field is set. - */ - @java.lang.Override - public boolean hasProcessInstancesId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string process_instances_id = 2; - * @return The processInstancesId. - */ - @java.lang.Override - public java.lang.String getProcessInstancesId() { - java.lang.Object ref = processInstancesId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstancesId_ = s; - } - return s; - } - } - /** - * optional string process_instances_id = 2; - * @return The bytes for processInstancesId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getProcessInstancesIdBytes() { - java.lang.Object ref = processInstancesId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processInstancesId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - public static final int NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object name_; - /** - * optional string name = 3; - * @return Whether the name field is set. - */ - @java.lang.Override - public boolean hasName() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string name = 3; - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } - } - /** - * optional string name = 3; - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - public static final int STATE_FIELD_NUMBER = 4; - private int state_; - /** - * optional int32 state = 4; - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional int32 state = 4; - * @return The state. - */ - @java.lang.Override - public int getState() { - return state_; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static final int VARIABLE_FIELD_NUMBER = 5; - private java.util.List variable_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - @java.lang.Override - public java.util.List getVariableList() { - return variable_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - @java.lang.Override - public java.util.List - getVariableOrBuilderList() { - return variable_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - @java.lang.Override - public int getVariableCount() { - return variable_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { - return variable_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - return variable_.get(index); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - public static final int DEPLOYMENT_ID_FIELD_NUMBER = 6; - private volatile java.lang.Object deploymentId_; - /** - * optional string deployment_id = 6; - * @return Whether the deploymentId field is set. - */ - @java.lang.Override - public boolean hasDeploymentId() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional string deployment_id = 6; - * @return The deploymentId. - */ - @java.lang.Override - public java.lang.String getDeploymentId() { - java.lang.Object ref = deploymentId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - deploymentId_ = s; - } - return s; - } - } - /** - * optional string deployment_id = 6; - * @return The bytes for deploymentId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getDeploymentIdBytes() { - java.lang.Object ref = deploymentId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deploymentId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } - public static final int NODE_INSTANCE_ID_FIELD_NUMBER = 7; - private volatile java.lang.Object nodeInstanceId_; - /** - * optional string node_instance_id = 7; - * @return Whether the nodeInstanceId field is set. - */ - @java.lang.Override - public boolean hasNodeInstanceId() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional string node_instance_id = 7; - * @return The nodeInstanceId. - */ - @java.lang.Override - public java.lang.String getNodeInstanceId() { - java.lang.Object ref = nodeInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - nodeInstanceId_ = s; - } - return s; - } - } - /** - * optional string node_instance_id = 7; - * @return The bytes for nodeInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getNodeInstanceIdBytes() { - java.lang.Object ref = nodeInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - public static final int NODE_ID_FIELD_NUMBER = 8; - private long nodeId_; - /** - * optional int64 node_id = 8; - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000040) != 0); - } - /** - * optional int64 node_id = 8; - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static final int PHASE_ID_FIELD_NUMBER = 9; - private volatile java.lang.Object phaseId_; - /** - * optional string phase_id = 9; - * @return Whether the phaseId field is set. - */ - @java.lang.Override - public boolean hasPhaseId() { - return ((bitField0_ & 0x00000080) != 0); - } - /** - * optional string phase_id = 9; - * @return The phaseId. - */ - @java.lang.Override - public java.lang.String getPhaseId() { - java.lang.Object ref = phaseId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseId_ = s; - } - return s; - } - } - /** - * optional string phase_id = 9; - * @return The bytes for phaseId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getPhaseIdBytes() { - java.lang.Object ref = phaseId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - phaseId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } - public static final int PHASE_STATUS_FIELD_NUMBER = 10; - private volatile java.lang.Object phaseStatus_; - /** - * optional string phase_status = 10; - * @return Whether the phaseStatus field is set. - */ - @java.lang.Override - public boolean hasPhaseStatus() { - return ((bitField0_ & 0x00000100) != 0); - } - /** - * optional string phase_status = 10; - * @return The phaseStatus. - */ - @java.lang.Override - public java.lang.String getPhaseStatus() { - java.lang.Object ref = phaseStatus_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseStatus_ = s; - } - return s; - } - } - /** - * optional string phase_status = 10; - * @return The bytes for phaseStatus. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getPhaseStatusBytes() { - java.lang.Object ref = phaseStatus_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - phaseStatus_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } - public static final int START_DATE_FIELD_NUMBER = 11; - private long startDate_; - /** - * optional int64 start_date = 11; - * @return Whether the startDate field is set. - */ - @java.lang.Override - public boolean hasStartDate() { - return ((bitField0_ & 0x00000200) != 0); - } - /** - * optional int64 start_date = 11; - * @return The startDate. - */ - @java.lang.Override - public long getStartDate() { - return startDate_; - } + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } - public static final int COMPLETE_DATE_FIELD_NUMBER = 12; - private long completeDate_; - /** - * optional int64 complete_date = 12; - * @return Whether the completeDate field is set. - */ - @java.lang.Override - public boolean hasCompleteDate() { - return ((bitField0_ & 0x00000400) != 0); - } - /** - * optional int64 complete_date = 12; - * @return The completeDate. - */ - @java.lang.Override - public long getCompleteDate() { - return completeDate_; - } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } - public static final int TASK_NAME_FIELD_NUMBER = 13; - private volatile java.lang.Object taskName_; - /** - * optional string task_name = 13; - * @return Whether the taskName field is set. - */ - @java.lang.Override - public boolean hasTaskName() { - return ((bitField0_ & 0x00000800) != 0); - } - /** - * optional string task_name = 13; - * @return The taskName. - */ - @java.lang.Override - public java.lang.String getTaskName() { - java.lang.Object ref = taskName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskName_ = s; - } - return s; - } - } - /** - * optional string task_name = 13; - * @return The bytes for taskName. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getTaskNameBytes() { - java.lang.Object ref = taskName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } - public static final int TASK_DESCRIPTION_FIELD_NUMBER = 14; - private volatile java.lang.Object taskDescription_; - /** - * optional string task_description = 14; - * @return Whether the taskDescription field is set. - */ - @java.lang.Override - public boolean hasTaskDescription() { - return ((bitField0_ & 0x00001000) != 0); - } - /** - * optional string task_description = 14; - * @return The taskDescription. - */ - @java.lang.Override - public java.lang.String getTaskDescription() { - java.lang.Object ref = taskDescription_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskDescription_ = s; - } - return s; - } - } - /** - * optional string task_description = 14; - * @return The bytes for taskDescription. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getTaskDescriptionBytes() { - java.lang.Object ref = taskDescription_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskDescription_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.IterationLevel} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.IterationLevel) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_descriptor; + } - public static final int TASK_PRIORITY_FIELD_NUMBER = 15; - private volatile java.lang.Object taskPriority_; - /** - * optional string task_priority = 15; - * @return Whether the taskPriority field is set. - */ - @java.lang.Override - public boolean hasTaskPriority() { - return ((bitField0_ & 0x00002000) != 0); - } - /** - * optional string task_priority = 15; - * @return The taskPriority. - */ - @java.lang.Override - public java.lang.String getTaskPriority() { - java.lang.Object ref = taskPriority_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskPriority_ = s; - } - return s; - } - } - /** - * optional string task_priority = 15; - * @return The bytes for taskPriority. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getTaskPriorityBytes() { - java.lang.Object ref = taskPriority_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskPriority_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder.class); + } - public static final int ACTUAL_OWNER_FIELD_NUMBER = 16; - private volatile java.lang.Object actualOwner_; - /** - * optional string actual_owner = 16; - * @return Whether the actualOwner field is set. - */ - @java.lang.Override - public boolean hasActualOwner() { - return ((bitField0_ & 0x00004000) != 0); - } - /** - * optional string actual_owner = 16; - * @return The actualOwner. - */ - @java.lang.Override - public java.lang.String getActualOwner() { - java.lang.Object ref = actualOwner_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - actualOwner_ = s; - } - return s; - } - } - /** - * optional string actual_owner = 16; - * @return The bytes for actualOwner. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getActualOwnerBytes() { - java.lang.Object ref = actualOwner_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - actualOwner_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - public static final int POT_USERS_FIELD_NUMBER = 17; - private com.google.protobuf.LazyStringList potUsers_; - /** - * repeated string pot_users = 17; - * @return A list containing the potUsers. - */ - public com.google.protobuf.ProtocolStringList - getPotUsersList() { - return potUsers_; - } - /** - * repeated string pot_users = 17; - * @return The count of potUsers. - */ - public int getPotUsersCount() { - return potUsers_.size(); - } - /** - * repeated string pot_users = 17; - * @param index The index of the element to return. - * @return The potUsers at the given index. - */ - public java.lang.String getPotUsers(int index) { - return potUsers_.get(index); - } - /** - * repeated string pot_users = 17; - * @param index The index of the value to return. - * @return The bytes of the potUsers at the given index. - */ - public com.google.protobuf.ByteString - getPotUsersBytes(int index) { - return potUsers_.getByteString(index); - } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - public static final int POT_GROUPS_FIELD_NUMBER = 18; - private com.google.protobuf.LazyStringList potGroups_; - /** - * repeated string pot_groups = 18; - * @return A list containing the potGroups. - */ - public com.google.protobuf.ProtocolStringList - getPotGroupsList() { - return potGroups_; - } - /** - * repeated string pot_groups = 18; - * @return The count of potGroups. - */ - public int getPotGroupsCount() { - return potGroups_.size(); - } - /** - * repeated string pot_groups = 18; - * @param index The index of the element to return. - * @return The potGroups at the given index. - */ - public java.lang.String getPotGroups(int index) { - return potGroups_.get(index); - } - /** - * repeated string pot_groups = 18; - * @param index The index of the value to return. - * @return The bytes of the potGroups at the given index. - */ - public com.google.protobuf.ByteString - getPotGroupsBytes(int index) { - return potGroups_.getByteString(index); - } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + } + } - public static final int EXCLUDED_USERS_FIELD_NUMBER = 19; - private com.google.protobuf.LazyStringList excludedUsers_; - /** - * repeated string excluded_users = 19; - * @return A list containing the excludedUsers. - */ - public com.google.protobuf.ProtocolStringList - getExcludedUsersList() { - return excludedUsers_; - } - /** - * repeated string excluded_users = 19; - * @return The count of excludedUsers. - */ - public int getExcludedUsersCount() { - return excludedUsers_.size(); - } - /** - * repeated string excluded_users = 19; - * @param index The index of the element to return. - * @return The excludedUsers at the given index. - */ - public java.lang.String getExcludedUsers(int index) { - return excludedUsers_.get(index); - } - /** - * repeated string excluded_users = 19; - * @param index The index of the value to return. - * @return The bytes of the excludedUsers at the given index. - */ - public com.google.protobuf.ByteString - getExcludedUsersBytes(int index) { - return excludedUsers_.getByteString(index); - } + @java.lang.Override + public Builder clear() { + super.clear(); + id_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + level_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } - public static final int ADMIN_USERS_FIELD_NUMBER = 20; - private com.google.protobuf.LazyStringList adminUsers_; - /** - * repeated string admin_users = 20; - * @return A list containing the adminUsers. - */ - public com.google.protobuf.ProtocolStringList - getAdminUsersList() { - return adminUsers_; - } - /** - * repeated string admin_users = 20; - * @return The count of adminUsers. - */ - public int getAdminUsersCount() { - return adminUsers_.size(); - } - /** - * repeated string admin_users = 20; - * @param index The index of the element to return. - * @return The adminUsers at the given index. - */ - public java.lang.String getAdminUsers(int index) { - return adminUsers_.get(index); - } - /** - * repeated string admin_users = 20; - * @param index The index of the value to return. - * @return The bytes of the adminUsers at the given index. - */ - public com.google.protobuf.ByteString - getAdminUsersBytes(int index) { - return adminUsers_.getByteString(index); - } + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_descriptor; + } - public static final int ADMIN_GROUPS_FIELD_NUMBER = 21; - private com.google.protobuf.LazyStringList adminGroups_; - /** - * repeated string admin_groups = 21; - * @return A list containing the adminGroups. - */ - public com.google.protobuf.ProtocolStringList - getAdminGroupsList() { - return adminGroups_; - } - /** - * repeated string admin_groups = 21; - * @return The count of adminGroups. - */ - public int getAdminGroupsCount() { - return adminGroups_.size(); - } - /** - * repeated string admin_groups = 21; - * @param index The index of the element to return. - * @return The adminGroups at the given index. - */ - public java.lang.String getAdminGroups(int index) { - return adminGroups_.get(index); - } - /** - * repeated string admin_groups = 21; - * @param index The index of the value to return. - * @return The bytes of the adminGroups at the given index. - */ - public com.google.protobuf.ByteString - getAdminGroupsBytes(int index) { - return adminGroups_.getByteString(index); - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.getDefaultInstance(); + } - public static final int TASK_REFERENCE_NAME_FIELD_NUMBER = 22; - private volatile java.lang.Object taskReferenceName_; - /** - * optional string task_reference_name = 22; - * @return Whether the taskReferenceName field is set. - */ - @java.lang.Override - public boolean hasTaskReferenceName() { - return ((bitField0_ & 0x00008000) != 0); - } - /** - * optional string task_reference_name = 22; - * @return The taskReferenceName. - */ - @java.lang.Override - public java.lang.String getTaskReferenceName() { - java.lang.Object ref = taskReferenceName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskReferenceName_ = s; - } - return s; - } - } - /** - * optional string task_reference_name = 22; - * @return The bytes for taskReferenceName. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getTaskReferenceNameBytes() { - java.lang.Object ref = taskReferenceName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskReferenceName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.id_ = id_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.level_ = level_; + to_bitField0_ |= 0x00000002; + } + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, processInstancesId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeInt32(4, state_); - } - for (int i = 0; i < variable_.size(); i++) { - output.writeMessage(5, variable_.get(i)); - } - if (((bitField0_ & 0x00000010) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, deploymentId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, nodeInstanceId_); - } - if (((bitField0_ & 0x00000040) != 0)) { - output.writeInt64(8, nodeId_); - } - if (((bitField0_ & 0x00000080) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, phaseId_); - } - if (((bitField0_ & 0x00000100) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, phaseStatus_); - } - if (((bitField0_ & 0x00000200) != 0)) { - output.writeInt64(11, startDate_); - } - if (((bitField0_ & 0x00000400) != 0)) { - output.writeInt64(12, completeDate_); - } - if (((bitField0_ & 0x00000800) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, taskName_); - } - if (((bitField0_ & 0x00001000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 14, taskDescription_); - } - if (((bitField0_ & 0x00002000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 15, taskPriority_); - } - if (((bitField0_ & 0x00004000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 16, actualOwner_); - } - for (int i = 0; i < potUsers_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 17, potUsers_.getRaw(i)); - } - for (int i = 0; i < potGroups_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 18, potGroups_.getRaw(i)); - } - for (int i = 0; i < excludedUsers_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 19, excludedUsers_.getRaw(i)); - } - for (int i = 0; i < adminUsers_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 20, adminUsers_.getRaw(i)); - } - for (int i = 0; i < adminGroups_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 21, adminGroups_.getRaw(i)); - } - if (((bitField0_ & 0x00008000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 22, taskReferenceName_); - } - unknownFields.writeTo(output); - } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, processInstancesId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, state_); - } - for (int i = 0; i < variable_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, variable_.get(i)); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, deploymentId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, nodeInstanceId_); - } - if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(8, nodeId_); - } - if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, phaseId_); - } - if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, phaseStatus_); - } - if (((bitField0_ & 0x00000200) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(11, startDate_); - } - if (((bitField0_ & 0x00000400) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(12, completeDate_); - } - if (((bitField0_ & 0x00000800) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, taskName_); - } - if (((bitField0_ & 0x00001000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, taskDescription_); - } - if (((bitField0_ & 0x00002000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, taskPriority_); - } - if (((bitField0_ & 0x00004000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, actualOwner_); - } - { - int dataSize = 0; - for (int i = 0; i < potUsers_.size(); i++) { - dataSize += computeStringSizeNoTag(potUsers_.getRaw(i)); - } - size += dataSize; - size += 2 * getPotUsersList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < potGroups_.size(); i++) { - dataSize += computeStringSizeNoTag(potGroups_.getRaw(i)); - } - size += dataSize; - size += 2 * getPotGroupsList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < excludedUsers_.size(); i++) { - dataSize += computeStringSizeNoTag(excludedUsers_.getRaw(i)); - } - size += dataSize; - size += 2 * getExcludedUsersList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < adminUsers_.size(); i++) { - dataSize += computeStringSizeNoTag(adminUsers_.getRaw(i)); - } - size += dataSize; - size += 2 * getAdminUsersList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < adminGroups_.size(); i++) { - dataSize += computeStringSizeNoTag(adminGroups_.getRaw(i)); - } - size += dataSize; - size += 2 * getAdminGroupsList().size(); - } - if (((bitField0_ & 0x00008000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, taskReferenceName_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasProcessInstancesId() != other.hasProcessInstancesId()) return false; - if (hasProcessInstancesId()) { - if (!getProcessInstancesId() - .equals(other.getProcessInstancesId())) return false; - } - if (hasName() != other.hasName()) return false; - if (hasName()) { - if (!getName() - .equals(other.getName())) return false; - } - if (hasState() != other.hasState()) return false; - if (hasState()) { - if (getState() - != other.getState()) return false; - } - if (!getVariableList() - .equals(other.getVariableList())) return false; - if (hasDeploymentId() != other.hasDeploymentId()) return false; - if (hasDeploymentId()) { - if (!getDeploymentId() - .equals(other.getDeploymentId())) return false; - } - if (hasNodeInstanceId() != other.hasNodeInstanceId()) return false; - if (hasNodeInstanceId()) { - if (!getNodeInstanceId() - .equals(other.getNodeInstanceId())) return false; - } - if (hasNodeId() != other.hasNodeId()) return false; - if (hasNodeId()) { - if (getNodeId() - != other.getNodeId()) return false; - } - if (hasPhaseId() != other.hasPhaseId()) return false; - if (hasPhaseId()) { - if (!getPhaseId() - .equals(other.getPhaseId())) return false; - } - if (hasPhaseStatus() != other.hasPhaseStatus()) return false; - if (hasPhaseStatus()) { - if (!getPhaseStatus() - .equals(other.getPhaseStatus())) return false; - } - if (hasStartDate() != other.hasStartDate()) return false; - if (hasStartDate()) { - if (getStartDate() - != other.getStartDate()) return false; - } - if (hasCompleteDate() != other.hasCompleteDate()) return false; - if (hasCompleteDate()) { - if (getCompleteDate() - != other.getCompleteDate()) return false; - } - if (hasTaskName() != other.hasTaskName()) return false; - if (hasTaskName()) { - if (!getTaskName() - .equals(other.getTaskName())) return false; - } - if (hasTaskDescription() != other.hasTaskDescription()) return false; - if (hasTaskDescription()) { - if (!getTaskDescription() - .equals(other.getTaskDescription())) return false; - } - if (hasTaskPriority() != other.hasTaskPriority()) return false; - if (hasTaskPriority()) { - if (!getTaskPriority() - .equals(other.getTaskPriority())) return false; - } - if (hasActualOwner() != other.hasActualOwner()) return false; - if (hasActualOwner()) { - if (!getActualOwner() - .equals(other.getActualOwner())) return false; - } - if (!getPotUsersList() - .equals(other.getPotUsersList())) return false; - if (!getPotGroupsList() - .equals(other.getPotGroupsList())) return false; - if (!getExcludedUsersList() - .equals(other.getExcludedUsersList())) return false; - if (!getAdminUsersList() - .equals(other.getAdminUsersList())) return false; - if (!getAdminGroupsList() - .equals(other.getAdminGroupsList())) return false; - if (hasTaskReferenceName() != other.hasTaskReferenceName()) return false; - if (hasTaskReferenceName()) { - if (!getTaskReferenceName() - .equals(other.getTaskReferenceName())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasProcessInstancesId()) { - hash = (37 * hash) + PROCESS_INSTANCES_ID_FIELD_NUMBER; - hash = (53 * hash) + getProcessInstancesId().hashCode(); - } - if (hasName()) { - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - } - if (hasState()) { - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + getState(); - } - if (getVariableCount() > 0) { - hash = (37 * hash) + VARIABLE_FIELD_NUMBER; - hash = (53 * hash) + getVariableList().hashCode(); - } - if (hasDeploymentId()) { - hash = (37 * hash) + DEPLOYMENT_ID_FIELD_NUMBER; - hash = (53 * hash) + getDeploymentId().hashCode(); - } - if (hasNodeInstanceId()) { - hash = (37 * hash) + NODE_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getNodeInstanceId().hashCode(); - } - if (hasNodeId()) { - hash = (37 * hash) + NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNodeId()); - } - if (hasPhaseId()) { - hash = (37 * hash) + PHASE_ID_FIELD_NUMBER; - hash = (53 * hash) + getPhaseId().hashCode(); - } - if (hasPhaseStatus()) { - hash = (37 * hash) + PHASE_STATUS_FIELD_NUMBER; - hash = (53 * hash) + getPhaseStatus().hashCode(); - } - if (hasStartDate()) { - hash = (37 * hash) + START_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getStartDate()); - } - if (hasCompleteDate()) { - hash = (37 * hash) + COMPLETE_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getCompleteDate()); - } - if (hasTaskName()) { - hash = (37 * hash) + TASK_NAME_FIELD_NUMBER; - hash = (53 * hash) + getTaskName().hashCode(); - } - if (hasTaskDescription()) { - hash = (37 * hash) + TASK_DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getTaskDescription().hashCode(); - } - if (hasTaskPriority()) { - hash = (37 * hash) + TASK_PRIORITY_FIELD_NUMBER; - hash = (53 * hash) + getTaskPriority().hashCode(); - } - if (hasActualOwner()) { - hash = (37 * hash) + ACTUAL_OWNER_FIELD_NUMBER; - hash = (53 * hash) + getActualOwner().hashCode(); - } - if (getPotUsersCount() > 0) { - hash = (37 * hash) + POT_USERS_FIELD_NUMBER; - hash = (53 * hash) + getPotUsersList().hashCode(); - } - if (getPotGroupsCount() > 0) { - hash = (37 * hash) + POT_GROUPS_FIELD_NUMBER; - hash = (53 * hash) + getPotGroupsList().hashCode(); - } - if (getExcludedUsersCount() > 0) { - hash = (37 * hash) + EXCLUDED_USERS_FIELD_NUMBER; - hash = (53 * hash) + getExcludedUsersList().hashCode(); - } - if (getAdminUsersCount() > 0) { - hash = (37 * hash) + ADMIN_USERS_FIELD_NUMBER; - hash = (53 * hash) + getAdminUsersList().hashCode(); - } - if (getAdminGroupsCount() > 0) { - hash = (37 * hash) + ADMIN_GROUPS_FIELD_NUMBER; - hash = (53 * hash) + getAdminGroupsList().hashCode(); - } - if (hasTaskReferenceName()) { - hash = (37 * hash) + TASK_REFERENCE_NAME_FIELD_NUMBER; - hash = (53 * hash) + getTaskReferenceName().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel) { + return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel) other); + } else { + super.mergeFrom(other); + return this; + } + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getVariableFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - processInstancesId_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - name_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - state_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - variableBuilder_.clear(); - } - deploymentId_ = ""; - bitField0_ = (bitField0_ & ~0x00000020); - nodeInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000040); - nodeId_ = 0L; - bitField0_ = (bitField0_ & ~0x00000080); - phaseId_ = ""; - bitField0_ = (bitField0_ & ~0x00000100); - phaseStatus_ = ""; - bitField0_ = (bitField0_ & ~0x00000200); - startDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000400); - completeDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000800); - taskName_ = ""; - bitField0_ = (bitField0_ & ~0x00001000); - taskDescription_ = ""; - bitField0_ = (bitField0_ & ~0x00002000); - taskPriority_ = ""; - bitField0_ = (bitField0_ & ~0x00004000); - actualOwner_ = ""; - bitField0_ = (bitField0_ & ~0x00008000); - potUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00010000); - potGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00020000); - excludedUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00040000); - adminUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00080000); - adminGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00100000); - taskReferenceName_ = ""; - bitField0_ = (bitField0_ & ~0x00200000); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.id_ = id_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.processInstancesId_ = processInstancesId_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.name_ = name_; - if (((from_bitField0_ & 0x00000008) != 0)) { - result.state_ = state_; - to_bitField0_ |= 0x00000008; - } - if (variableBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.variable_ = variable_; - } else { - result.variable_ = variableBuilder_.build(); - } - if (((from_bitField0_ & 0x00000020) != 0)) { - to_bitField0_ |= 0x00000010; - } - result.deploymentId_ = deploymentId_; - if (((from_bitField0_ & 0x00000040) != 0)) { - to_bitField0_ |= 0x00000020; - } - result.nodeInstanceId_ = nodeInstanceId_; - if (((from_bitField0_ & 0x00000080) != 0)) { - result.nodeId_ = nodeId_; - to_bitField0_ |= 0x00000040; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - to_bitField0_ |= 0x00000080; - } - result.phaseId_ = phaseId_; - if (((from_bitField0_ & 0x00000200) != 0)) { - to_bitField0_ |= 0x00000100; - } - result.phaseStatus_ = phaseStatus_; - if (((from_bitField0_ & 0x00000400) != 0)) { - result.startDate_ = startDate_; - to_bitField0_ |= 0x00000200; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.completeDate_ = completeDate_; - to_bitField0_ |= 0x00000400; - } - if (((from_bitField0_ & 0x00001000) != 0)) { - to_bitField0_ |= 0x00000800; - } - result.taskName_ = taskName_; - if (((from_bitField0_ & 0x00002000) != 0)) { - to_bitField0_ |= 0x00001000; - } - result.taskDescription_ = taskDescription_; - if (((from_bitField0_ & 0x00004000) != 0)) { - to_bitField0_ |= 0x00002000; - } - result.taskPriority_ = taskPriority_; - if (((from_bitField0_ & 0x00008000) != 0)) { - to_bitField0_ |= 0x00004000; - } - result.actualOwner_ = actualOwner_; - if (((bitField0_ & 0x00010000) != 0)) { - potUsers_ = potUsers_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00010000); - } - result.potUsers_ = potUsers_; - if (((bitField0_ & 0x00020000) != 0)) { - potGroups_ = potGroups_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00020000); - } - result.potGroups_ = potGroups_; - if (((bitField0_ & 0x00040000) != 0)) { - excludedUsers_ = excludedUsers_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00040000); - } - result.excludedUsers_ = excludedUsers_; - if (((bitField0_ & 0x00080000) != 0)) { - adminUsers_ = adminUsers_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00080000); - } - result.adminUsers_ = adminUsers_; - if (((bitField0_ & 0x00100000) != 0)) { - adminGroups_ = adminGroups_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00100000); - } - result.adminGroups_ = adminGroups_; - if (((from_bitField0_ & 0x00200000) != 0)) { - to_bitField0_ |= 0x00008000; - } - result.taskReferenceName_ = taskReferenceName_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem.getDefaultInstance()) return this; - if (other.hasId()) { - bitField0_ |= 0x00000001; - id_ = other.id_; - onChanged(); - } - if (other.hasProcessInstancesId()) { - bitField0_ |= 0x00000002; - processInstancesId_ = other.processInstancesId_; - onChanged(); - } - if (other.hasName()) { - bitField0_ |= 0x00000004; - name_ = other.name_; - onChanged(); - } - if (other.hasState()) { - setState(other.getState()); - } - if (variableBuilder_ == null) { - if (!other.variable_.isEmpty()) { - if (variable_.isEmpty()) { - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureVariableIsMutable(); - variable_.addAll(other.variable_); - } - onChanged(); - } - } else { - if (!other.variable_.isEmpty()) { - if (variableBuilder_.isEmpty()) { - variableBuilder_.dispose(); - variableBuilder_ = null; - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000010); - variableBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVariableFieldBuilder() : null; - } else { - variableBuilder_.addAllMessages(other.variable_); - } - } - } - if (other.hasDeploymentId()) { - bitField0_ |= 0x00000020; - deploymentId_ = other.deploymentId_; - onChanged(); - } - if (other.hasNodeInstanceId()) { - bitField0_ |= 0x00000040; - nodeInstanceId_ = other.nodeInstanceId_; - onChanged(); - } - if (other.hasNodeId()) { - setNodeId(other.getNodeId()); - } - if (other.hasPhaseId()) { - bitField0_ |= 0x00000100; - phaseId_ = other.phaseId_; - onChanged(); - } - if (other.hasPhaseStatus()) { - bitField0_ |= 0x00000200; - phaseStatus_ = other.phaseStatus_; - onChanged(); - } - if (other.hasStartDate()) { - setStartDate(other.getStartDate()); - } - if (other.hasCompleteDate()) { - setCompleteDate(other.getCompleteDate()); - } - if (other.hasTaskName()) { - bitField0_ |= 0x00001000; - taskName_ = other.taskName_; - onChanged(); - } - if (other.hasTaskDescription()) { - bitField0_ |= 0x00002000; - taskDescription_ = other.taskDescription_; - onChanged(); - } - if (other.hasTaskPriority()) { - bitField0_ |= 0x00004000; - taskPriority_ = other.taskPriority_; - onChanged(); - } - if (other.hasActualOwner()) { - bitField0_ |= 0x00008000; - actualOwner_ = other.actualOwner_; - onChanged(); - } - if (!other.potUsers_.isEmpty()) { - if (potUsers_.isEmpty()) { - potUsers_ = other.potUsers_; - bitField0_ = (bitField0_ & ~0x00010000); - } else { - ensurePotUsersIsMutable(); - potUsers_.addAll(other.potUsers_); - } - onChanged(); - } - if (!other.potGroups_.isEmpty()) { - if (potGroups_.isEmpty()) { - potGroups_ = other.potGroups_; - bitField0_ = (bitField0_ & ~0x00020000); - } else { - ensurePotGroupsIsMutable(); - potGroups_.addAll(other.potGroups_); - } - onChanged(); - } - if (!other.excludedUsers_.isEmpty()) { - if (excludedUsers_.isEmpty()) { - excludedUsers_ = other.excludedUsers_; - bitField0_ = (bitField0_ & ~0x00040000); - } else { - ensureExcludedUsersIsMutable(); - excludedUsers_.addAll(other.excludedUsers_); - } - onChanged(); - } - if (!other.adminUsers_.isEmpty()) { - if (adminUsers_.isEmpty()) { - adminUsers_ = other.adminUsers_; - bitField0_ = (bitField0_ & ~0x00080000); - } else { - ensureAdminUsersIsMutable(); - adminUsers_.addAll(other.adminUsers_); - } - onChanged(); - } - if (!other.adminGroups_.isEmpty()) { - if (adminGroups_.isEmpty()) { - adminGroups_ = other.adminGroups_; - bitField0_ = (bitField0_ & ~0x00100000); - } else { - ensureAdminGroupsIsMutable(); - adminGroups_.addAll(other.adminGroups_); - } - onChanged(); - } - if (other.hasTaskReferenceName()) { - bitField0_ |= 0x00200000; - taskReferenceName_ = other.taskReferenceName_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object id_ = ""; - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string id = 1; - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string id = 1; - * @return The bytes for id. - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string id = 1; - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - /** - * optional string id = 1; - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - /** - * optional string id = 1; - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - - private java.lang.Object processInstancesId_ = ""; - /** - * optional string process_instances_id = 2; - * @return Whether the processInstancesId field is set. - */ - public boolean hasProcessInstancesId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string process_instances_id = 2; - * @return The processInstancesId. - */ - public java.lang.String getProcessInstancesId() { - java.lang.Object ref = processInstancesId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstancesId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string process_instances_id = 2; - * @return The bytes for processInstancesId. - */ - public com.google.protobuf.ByteString - getProcessInstancesIdBytes() { - java.lang.Object ref = processInstancesId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processInstancesId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string process_instances_id = 2; - * @param value The processInstancesId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstancesId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - processInstancesId_ = value; - onChanged(); - return this; - } - /** - * optional string process_instances_id = 2; - * @return This builder for chaining. - */ - public Builder clearProcessInstancesId() { - bitField0_ = (bitField0_ & ~0x00000002); - processInstancesId_ = getDefaultInstance().getProcessInstancesId(); - onChanged(); - return this; - } - /** - * optional string process_instances_id = 2; - * @param value The bytes for processInstancesId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstancesIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - processInstancesId_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - /** - * optional string name = 3; - * @return Whether the name field is set. - */ - public boolean hasName() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional string name = 3; - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string name = 3; - * @return The bytes for name. - */ - public com.google.protobuf.ByteString - getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string name = 3; - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - name_ = value; - onChanged(); - return this; - } - /** - * optional string name = 3; - * @return This builder for chaining. - */ - public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000004); - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - /** - * optional string name = 3; - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - name_ = value; - onChanged(); - return this; - } - - private int state_ ; - /** - * optional int32 state = 4; - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional int32 state = 4; - * @return The state. - */ - @java.lang.Override - public int getState() { - return state_; - } - /** - * optional int32 state = 4; - * @param value The state to set. - * @return This builder for chaining. - */ - public Builder setState(int value) { - bitField0_ |= 0x00000008; - state_ = value; - onChanged(); - return this; - } - /** - * optional int32 state = 4; - * @return This builder for chaining. - */ - public Builder clearState() { - bitField0_ = (bitField0_ & ~0x00000008); - state_ = 0; - onChanged(); - return this; - } - - private java.util.List variable_ = - java.util.Collections.emptyList(); - private void ensureVariableIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - variable_ = new java.util.ArrayList(variable_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder> variableBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public java.util.List getVariableList() { - if (variableBuilder_ == null) { - return java.util.Collections.unmodifiableList(variable_); - } else { - return variableBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public int getVariableCount() { - if (variableBuilder_ == null) { - return variable_.size(); - } else { - return variableBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder setVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.set(index, value); - onChanged(); - } else { - variableBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder setVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.set(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(value); - onChanged(); - } else { - variableBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder addVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(index, value); - onChanged(); - } else { - variableBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder addVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder addAllVariable( - java.lang.Iterable values) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, variable_); - onChanged(); - } else { - variableBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder clearVariable() { - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - variableBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public Builder removeVariable(int index) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.remove(index); - onChanged(); - } else { - variableBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder getVariableBuilder( - int index) { - return getVariableFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - if (variableBuilder_ == null) { - return variable_.get(index); } else { - return variableBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public java.util.List - getVariableOrBuilderList() { - if (variableBuilder_ != null) { - return variableBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variable_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder() { - return getVariableFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder( - int index) { - return getVariableFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 5; - */ - public java.util.List - getVariableBuilderList() { - return getVariableFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder> - getVariableFieldBuilder() { - if (variableBuilder_ == null) { - variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder>( - variable_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); - variable_ = null; - } - return variableBuilder_; - } - - private java.lang.Object deploymentId_ = ""; - /** - * optional string deployment_id = 6; - * @return Whether the deploymentId field is set. - */ - public boolean hasDeploymentId() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional string deployment_id = 6; - * @return The deploymentId. - */ - public java.lang.String getDeploymentId() { - java.lang.Object ref = deploymentId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - deploymentId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string deployment_id = 6; - * @return The bytes for deploymentId. - */ - public com.google.protobuf.ByteString - getDeploymentIdBytes() { - java.lang.Object ref = deploymentId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - deploymentId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string deployment_id = 6; - * @param value The deploymentId to set. - * @return This builder for chaining. - */ - public Builder setDeploymentId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; - deploymentId_ = value; - onChanged(); - return this; - } - /** - * optional string deployment_id = 6; - * @return This builder for chaining. - */ - public Builder clearDeploymentId() { - bitField0_ = (bitField0_ & ~0x00000020); - deploymentId_ = getDefaultInstance().getDeploymentId(); - onChanged(); - return this; - } - /** - * optional string deployment_id = 6; - * @param value The bytes for deploymentId to set. - * @return This builder for chaining. - */ - public Builder setDeploymentIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; - deploymentId_ = value; - onChanged(); - return this; - } - - private java.lang.Object nodeInstanceId_ = ""; - /** - * optional string node_instance_id = 7; - * @return Whether the nodeInstanceId field is set. - */ - public boolean hasNodeInstanceId() { - return ((bitField0_ & 0x00000040) != 0); - } - /** - * optional string node_instance_id = 7; - * @return The nodeInstanceId. - */ - public java.lang.String getNodeInstanceId() { - java.lang.Object ref = nodeInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - nodeInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string node_instance_id = 7; - * @return The bytes for nodeInstanceId. - */ - public com.google.protobuf.ByteString - getNodeInstanceIdBytes() { - java.lang.Object ref = nodeInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - nodeInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string node_instance_id = 7; - * @param value The nodeInstanceId to set. - * @return This builder for chaining. - */ - public Builder setNodeInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; - nodeInstanceId_ = value; - onChanged(); - return this; - } - /** - * optional string node_instance_id = 7; - * @return This builder for chaining. - */ - public Builder clearNodeInstanceId() { - bitField0_ = (bitField0_ & ~0x00000040); - nodeInstanceId_ = getDefaultInstance().getNodeInstanceId(); - onChanged(); - return this; - } - /** - * optional string node_instance_id = 7; - * @param value The bytes for nodeInstanceId to set. - * @return This builder for chaining. - */ - public Builder setNodeInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; - nodeInstanceId_ = value; - onChanged(); - return this; - } - - private long nodeId_ ; - /** - * optional int64 node_id = 8; - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000080) != 0); - } - /** - * optional int64 node_id = 8; - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } - /** - * optional int64 node_id = 8; - * @param value The nodeId to set. - * @return This builder for chaining. - */ - public Builder setNodeId(long value) { - bitField0_ |= 0x00000080; - nodeId_ = value; - onChanged(); - return this; - } - /** - * optional int64 node_id = 8; - * @return This builder for chaining. - */ - public Builder clearNodeId() { - bitField0_ = (bitField0_ & ~0x00000080); - nodeId_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object phaseId_ = ""; - /** - * optional string phase_id = 9; - * @return Whether the phaseId field is set. - */ - public boolean hasPhaseId() { - return ((bitField0_ & 0x00000100) != 0); - } - /** - * optional string phase_id = 9; - * @return The phaseId. - */ - public java.lang.String getPhaseId() { - java.lang.Object ref = phaseId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string phase_id = 9; - * @return The bytes for phaseId. - */ - public com.google.protobuf.ByteString - getPhaseIdBytes() { - java.lang.Object ref = phaseId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - phaseId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string phase_id = 9; - * @param value The phaseId to set. - * @return This builder for chaining. - */ - public Builder setPhaseId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; - phaseId_ = value; - onChanged(); - return this; - } - /** - * optional string phase_id = 9; - * @return This builder for chaining. - */ - public Builder clearPhaseId() { - bitField0_ = (bitField0_ & ~0x00000100); - phaseId_ = getDefaultInstance().getPhaseId(); - onChanged(); - return this; - } - /** - * optional string phase_id = 9; - * @param value The bytes for phaseId to set. - * @return This builder for chaining. - */ - public Builder setPhaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; - phaseId_ = value; - onChanged(); - return this; - } - - private java.lang.Object phaseStatus_ = ""; - /** - * optional string phase_status = 10; - * @return Whether the phaseStatus field is set. - */ - public boolean hasPhaseStatus() { - return ((bitField0_ & 0x00000200) != 0); - } - /** - * optional string phase_status = 10; - * @return The phaseStatus. - */ - public java.lang.String getPhaseStatus() { - java.lang.Object ref = phaseStatus_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseStatus_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string phase_status = 10; - * @return The bytes for phaseStatus. - */ - public com.google.protobuf.ByteString - getPhaseStatusBytes() { - java.lang.Object ref = phaseStatus_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - phaseStatus_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string phase_status = 10; - * @param value The phaseStatus to set. - * @return This builder for chaining. - */ - public Builder setPhaseStatus( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; - phaseStatus_ = value; - onChanged(); - return this; - } - /** - * optional string phase_status = 10; - * @return This builder for chaining. - */ - public Builder clearPhaseStatus() { - bitField0_ = (bitField0_ & ~0x00000200); - phaseStatus_ = getDefaultInstance().getPhaseStatus(); - onChanged(); - return this; - } - /** - * optional string phase_status = 10; - * @param value The bytes for phaseStatus to set. - * @return This builder for chaining. - */ - public Builder setPhaseStatusBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; - phaseStatus_ = value; - onChanged(); - return this; - } - - private long startDate_ ; - /** - * optional int64 start_date = 11; - * @return Whether the startDate field is set. - */ - @java.lang.Override - public boolean hasStartDate() { - return ((bitField0_ & 0x00000400) != 0); - } - /** - * optional int64 start_date = 11; - * @return The startDate. - */ - @java.lang.Override - public long getStartDate() { - return startDate_; - } - /** - * optional int64 start_date = 11; - * @param value The startDate to set. - * @return This builder for chaining. - */ - public Builder setStartDate(long value) { - bitField0_ |= 0x00000400; - startDate_ = value; - onChanged(); - return this; - } - /** - * optional int64 start_date = 11; - * @return This builder for chaining. - */ - public Builder clearStartDate() { - bitField0_ = (bitField0_ & ~0x00000400); - startDate_ = 0L; - onChanged(); - return this; - } - - private long completeDate_ ; - /** - * optional int64 complete_date = 12; - * @return Whether the completeDate field is set. - */ - @java.lang.Override - public boolean hasCompleteDate() { - return ((bitField0_ & 0x00000800) != 0); - } - /** - * optional int64 complete_date = 12; - * @return The completeDate. - */ - @java.lang.Override - public long getCompleteDate() { - return completeDate_; - } - /** - * optional int64 complete_date = 12; - * @param value The completeDate to set. - * @return This builder for chaining. - */ - public Builder setCompleteDate(long value) { - bitField0_ |= 0x00000800; - completeDate_ = value; - onChanged(); - return this; - } - /** - * optional int64 complete_date = 12; - * @return This builder for chaining. - */ - public Builder clearCompleteDate() { - bitField0_ = (bitField0_ & ~0x00000800); - completeDate_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object taskName_ = ""; - /** - * optional string task_name = 13; - * @return Whether the taskName field is set. - */ - public boolean hasTaskName() { - return ((bitField0_ & 0x00001000) != 0); - } - /** - * optional string task_name = 13; - * @return The taskName. - */ - public java.lang.String getTaskName() { - java.lang.Object ref = taskName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskName_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string task_name = 13; - * @return The bytes for taskName. - */ - public com.google.protobuf.ByteString - getTaskNameBytes() { - java.lang.Object ref = taskName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string task_name = 13; - * @param value The taskName to set. - * @return This builder for chaining. - */ - public Builder setTaskName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00001000; - taskName_ = value; - onChanged(); - return this; - } - /** - * optional string task_name = 13; - * @return This builder for chaining. - */ - public Builder clearTaskName() { - bitField0_ = (bitField0_ & ~0x00001000); - taskName_ = getDefaultInstance().getTaskName(); - onChanged(); - return this; - } - /** - * optional string task_name = 13; - * @param value The bytes for taskName to set. - * @return This builder for chaining. - */ - public Builder setTaskNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00001000; - taskName_ = value; - onChanged(); - return this; - } - - private java.lang.Object taskDescription_ = ""; - /** - * optional string task_description = 14; - * @return Whether the taskDescription field is set. - */ - public boolean hasTaskDescription() { - return ((bitField0_ & 0x00002000) != 0); - } - /** - * optional string task_description = 14; - * @return The taskDescription. - */ - public java.lang.String getTaskDescription() { - java.lang.Object ref = taskDescription_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskDescription_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string task_description = 14; - * @return The bytes for taskDescription. - */ - public com.google.protobuf.ByteString - getTaskDescriptionBytes() { - java.lang.Object ref = taskDescription_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskDescription_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string task_description = 14; - * @param value The taskDescription to set. - * @return This builder for chaining. - */ - public Builder setTaskDescription( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00002000; - taskDescription_ = value; - onChanged(); - return this; - } - /** - * optional string task_description = 14; - * @return This builder for chaining. - */ - public Builder clearTaskDescription() { - bitField0_ = (bitField0_ & ~0x00002000); - taskDescription_ = getDefaultInstance().getTaskDescription(); - onChanged(); - return this; - } - /** - * optional string task_description = 14; - * @param value The bytes for taskDescription to set. - * @return This builder for chaining. - */ - public Builder setTaskDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00002000; - taskDescription_ = value; - onChanged(); - return this; - } - - private java.lang.Object taskPriority_ = ""; - /** - * optional string task_priority = 15; - * @return Whether the taskPriority field is set. - */ - public boolean hasTaskPriority() { - return ((bitField0_ & 0x00004000) != 0); - } - /** - * optional string task_priority = 15; - * @return The taskPriority. - */ - public java.lang.String getTaskPriority() { - java.lang.Object ref = taskPriority_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskPriority_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string task_priority = 15; - * @return The bytes for taskPriority. - */ - public com.google.protobuf.ByteString - getTaskPriorityBytes() { - java.lang.Object ref = taskPriority_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskPriority_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string task_priority = 15; - * @param value The taskPriority to set. - * @return This builder for chaining. - */ - public Builder setTaskPriority( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00004000; - taskPriority_ = value; - onChanged(); - return this; - } - /** - * optional string task_priority = 15; - * @return This builder for chaining. - */ - public Builder clearTaskPriority() { - bitField0_ = (bitField0_ & ~0x00004000); - taskPriority_ = getDefaultInstance().getTaskPriority(); - onChanged(); - return this; - } - /** - * optional string task_priority = 15; - * @param value The bytes for taskPriority to set. - * @return This builder for chaining. - */ - public Builder setTaskPriorityBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00004000; - taskPriority_ = value; - onChanged(); - return this; - } - - private java.lang.Object actualOwner_ = ""; - /** - * optional string actual_owner = 16; - * @return Whether the actualOwner field is set. - */ - public boolean hasActualOwner() { - return ((bitField0_ & 0x00008000) != 0); - } - /** - * optional string actual_owner = 16; - * @return The actualOwner. - */ - public java.lang.String getActualOwner() { - java.lang.Object ref = actualOwner_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - actualOwner_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string actual_owner = 16; - * @return The bytes for actualOwner. - */ - public com.google.protobuf.ByteString - getActualOwnerBytes() { - java.lang.Object ref = actualOwner_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - actualOwner_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string actual_owner = 16; - * @param value The actualOwner to set. - * @return This builder for chaining. - */ - public Builder setActualOwner( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00008000; - actualOwner_ = value; - onChanged(); - return this; - } - /** - * optional string actual_owner = 16; - * @return This builder for chaining. - */ - public Builder clearActualOwner() { - bitField0_ = (bitField0_ & ~0x00008000); - actualOwner_ = getDefaultInstance().getActualOwner(); - onChanged(); - return this; - } - /** - * optional string actual_owner = 16; - * @param value The bytes for actualOwner to set. - * @return This builder for chaining. - */ - public Builder setActualOwnerBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00008000; - actualOwner_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList potUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensurePotUsersIsMutable() { - if (!((bitField0_ & 0x00010000) != 0)) { - potUsers_ = new com.google.protobuf.LazyStringArrayList(potUsers_); - bitField0_ |= 0x00010000; - } - } - /** - * repeated string pot_users = 17; - * @return A list containing the potUsers. - */ - public com.google.protobuf.ProtocolStringList - getPotUsersList() { - return potUsers_.getUnmodifiableView(); - } - /** - * repeated string pot_users = 17; - * @return The count of potUsers. - */ - public int getPotUsersCount() { - return potUsers_.size(); - } - /** - * repeated string pot_users = 17; - * @param index The index of the element to return. - * @return The potUsers at the given index. - */ - public java.lang.String getPotUsers(int index) { - return potUsers_.get(index); - } - /** - * repeated string pot_users = 17; - * @param index The index of the value to return. - * @return The bytes of the potUsers at the given index. - */ - public com.google.protobuf.ByteString - getPotUsersBytes(int index) { - return potUsers_.getByteString(index); - } - /** - * repeated string pot_users = 17; - * @param index The index to set the value at. - * @param value The potUsers to set. - * @return This builder for chaining. - */ - public Builder setPotUsers( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePotUsersIsMutable(); - potUsers_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string pot_users = 17; - * @param value The potUsers to add. - * @return This builder for chaining. - */ - public Builder addPotUsers( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePotUsersIsMutable(); - potUsers_.add(value); - onChanged(); - return this; - } - /** - * repeated string pot_users = 17; - * @param values The potUsers to add. - * @return This builder for chaining. - */ - public Builder addAllPotUsers( - java.lang.Iterable values) { - ensurePotUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, potUsers_); - onChanged(); - return this; - } - /** - * repeated string pot_users = 17; - * @return This builder for chaining. - */ - public Builder clearPotUsers() { - potUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00010000); - onChanged(); - return this; - } - /** - * repeated string pot_users = 17; - * @param value The bytes of the potUsers to add. - * @return This builder for chaining. - */ - public Builder addPotUsersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePotUsersIsMutable(); - potUsers_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList potGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensurePotGroupsIsMutable() { - if (!((bitField0_ & 0x00020000) != 0)) { - potGroups_ = new com.google.protobuf.LazyStringArrayList(potGroups_); - bitField0_ |= 0x00020000; - } - } - /** - * repeated string pot_groups = 18; - * @return A list containing the potGroups. - */ - public com.google.protobuf.ProtocolStringList - getPotGroupsList() { - return potGroups_.getUnmodifiableView(); - } - /** - * repeated string pot_groups = 18; - * @return The count of potGroups. - */ - public int getPotGroupsCount() { - return potGroups_.size(); - } - /** - * repeated string pot_groups = 18; - * @param index The index of the element to return. - * @return The potGroups at the given index. - */ - public java.lang.String getPotGroups(int index) { - return potGroups_.get(index); - } - /** - * repeated string pot_groups = 18; - * @param index The index of the value to return. - * @return The bytes of the potGroups at the given index. - */ - public com.google.protobuf.ByteString - getPotGroupsBytes(int index) { - return potGroups_.getByteString(index); - } - /** - * repeated string pot_groups = 18; - * @param index The index to set the value at. - * @param value The potGroups to set. - * @return This builder for chaining. - */ - public Builder setPotGroups( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePotGroupsIsMutable(); - potGroups_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string pot_groups = 18; - * @param value The potGroups to add. - * @return This builder for chaining. - */ - public Builder addPotGroups( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePotGroupsIsMutable(); - potGroups_.add(value); - onChanged(); - return this; - } - /** - * repeated string pot_groups = 18; - * @param values The potGroups to add. - * @return This builder for chaining. - */ - public Builder addAllPotGroups( - java.lang.Iterable values) { - ensurePotGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, potGroups_); - onChanged(); - return this; - } - /** - * repeated string pot_groups = 18; - * @return This builder for chaining. - */ - public Builder clearPotGroups() { - potGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00020000); - onChanged(); - return this; - } - /** - * repeated string pot_groups = 18; - * @param value The bytes of the potGroups to add. - * @return This builder for chaining. - */ - public Builder addPotGroupsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePotGroupsIsMutable(); - potGroups_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList excludedUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureExcludedUsersIsMutable() { - if (!((bitField0_ & 0x00040000) != 0)) { - excludedUsers_ = new com.google.protobuf.LazyStringArrayList(excludedUsers_); - bitField0_ |= 0x00040000; - } - } - /** - * repeated string excluded_users = 19; - * @return A list containing the excludedUsers. - */ - public com.google.protobuf.ProtocolStringList - getExcludedUsersList() { - return excludedUsers_.getUnmodifiableView(); - } - /** - * repeated string excluded_users = 19; - * @return The count of excludedUsers. - */ - public int getExcludedUsersCount() { - return excludedUsers_.size(); - } - /** - * repeated string excluded_users = 19; - * @param index The index of the element to return. - * @return The excludedUsers at the given index. - */ - public java.lang.String getExcludedUsers(int index) { - return excludedUsers_.get(index); - } - /** - * repeated string excluded_users = 19; - * @param index The index of the value to return. - * @return The bytes of the excludedUsers at the given index. - */ - public com.google.protobuf.ByteString - getExcludedUsersBytes(int index) { - return excludedUsers_.getByteString(index); - } - /** - * repeated string excluded_users = 19; - * @param index The index to set the value at. - * @param value The excludedUsers to set. - * @return This builder for chaining. - */ - public Builder setExcludedUsers( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExcludedUsersIsMutable(); - excludedUsers_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string excluded_users = 19; - * @param value The excludedUsers to add. - * @return This builder for chaining. - */ - public Builder addExcludedUsers( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExcludedUsersIsMutable(); - excludedUsers_.add(value); - onChanged(); - return this; - } - /** - * repeated string excluded_users = 19; - * @param values The excludedUsers to add. - * @return This builder for chaining. - */ - public Builder addAllExcludedUsers( - java.lang.Iterable values) { - ensureExcludedUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, excludedUsers_); - onChanged(); - return this; - } - /** - * repeated string excluded_users = 19; - * @return This builder for chaining. - */ - public Builder clearExcludedUsers() { - excludedUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00040000); - onChanged(); - return this; - } - /** - * repeated string excluded_users = 19; - * @param value The bytes of the excludedUsers to add. - * @return This builder for chaining. - */ - public Builder addExcludedUsersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExcludedUsersIsMutable(); - excludedUsers_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList adminUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureAdminUsersIsMutable() { - if (!((bitField0_ & 0x00080000) != 0)) { - adminUsers_ = new com.google.protobuf.LazyStringArrayList(adminUsers_); - bitField0_ |= 0x00080000; - } - } - /** - * repeated string admin_users = 20; - * @return A list containing the adminUsers. - */ - public com.google.protobuf.ProtocolStringList - getAdminUsersList() { - return adminUsers_.getUnmodifiableView(); - } - /** - * repeated string admin_users = 20; - * @return The count of adminUsers. - */ - public int getAdminUsersCount() { - return adminUsers_.size(); - } - /** - * repeated string admin_users = 20; - * @param index The index of the element to return. - * @return The adminUsers at the given index. - */ - public java.lang.String getAdminUsers(int index) { - return adminUsers_.get(index); - } - /** - * repeated string admin_users = 20; - * @param index The index of the value to return. - * @return The bytes of the adminUsers at the given index. - */ - public com.google.protobuf.ByteString - getAdminUsersBytes(int index) { - return adminUsers_.getByteString(index); - } - /** - * repeated string admin_users = 20; - * @param index The index to set the value at. - * @param value The adminUsers to set. - * @return This builder for chaining. - */ - public Builder setAdminUsers( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string admin_users = 20; - * @param value The adminUsers to add. - * @return This builder for chaining. - */ - public Builder addAdminUsers( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.add(value); - onChanged(); - return this; - } - /** - * repeated string admin_users = 20; - * @param values The adminUsers to add. - * @return This builder for chaining. - */ - public Builder addAllAdminUsers( - java.lang.Iterable values) { - ensureAdminUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, adminUsers_); - onChanged(); - return this; - } - /** - * repeated string admin_users = 20; - * @return This builder for chaining. - */ - public Builder clearAdminUsers() { - adminUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00080000); - onChanged(); - return this; - } - /** - * repeated string admin_users = 20; - * @param value The bytes of the adminUsers to add. - * @return This builder for chaining. - */ - public Builder addAdminUsersBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList adminGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - private void ensureAdminGroupsIsMutable() { - if (!((bitField0_ & 0x00100000) != 0)) { - adminGroups_ = new com.google.protobuf.LazyStringArrayList(adminGroups_); - bitField0_ |= 0x00100000; - } - } - /** - * repeated string admin_groups = 21; - * @return A list containing the adminGroups. - */ - public com.google.protobuf.ProtocolStringList - getAdminGroupsList() { - return adminGroups_.getUnmodifiableView(); - } - /** - * repeated string admin_groups = 21; - * @return The count of adminGroups. - */ - public int getAdminGroupsCount() { - return adminGroups_.size(); - } - /** - * repeated string admin_groups = 21; - * @param index The index of the element to return. - * @return The adminGroups at the given index. - */ - public java.lang.String getAdminGroups(int index) { - return adminGroups_.get(index); - } - /** - * repeated string admin_groups = 21; - * @param index The index of the value to return. - * @return The bytes of the adminGroups at the given index. - */ - public com.google.protobuf.ByteString - getAdminGroupsBytes(int index) { - return adminGroups_.getByteString(index); - } - /** - * repeated string admin_groups = 21; - * @param index The index to set the value at. - * @param value The adminGroups to set. - * @return This builder for chaining. - */ - public Builder setAdminGroups( - int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminGroupsIsMutable(); - adminGroups_.set(index, value); - onChanged(); - return this; - } - /** - * repeated string admin_groups = 21; - * @param value The adminGroups to add. - * @return This builder for chaining. - */ - public Builder addAdminGroups( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminGroupsIsMutable(); - adminGroups_.add(value); - onChanged(); - return this; - } - /** - * repeated string admin_groups = 21; - * @param values The adminGroups to add. - * @return This builder for chaining. - */ - public Builder addAllAdminGroups( - java.lang.Iterable values) { - ensureAdminGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, adminGroups_); - onChanged(); - return this; - } - /** - * repeated string admin_groups = 21; - * @return This builder for chaining. - */ - public Builder clearAdminGroups() { - adminGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00100000); - onChanged(); - return this; - } - /** - * repeated string admin_groups = 21; - * @param value The bytes of the adminGroups to add. - * @return This builder for chaining. - */ - public Builder addAdminGroupsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminGroupsIsMutable(); - adminGroups_.add(value); - onChanged(); - return this; - } - - private java.lang.Object taskReferenceName_ = ""; - /** - * optional string task_reference_name = 22; - * @return Whether the taskReferenceName field is set. - */ - public boolean hasTaskReferenceName() { - return ((bitField0_ & 0x00200000) != 0); - } - /** - * optional string task_reference_name = 22; - * @return The taskReferenceName. - */ - public java.lang.String getTaskReferenceName() { - java.lang.Object ref = taskReferenceName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskReferenceName_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string task_reference_name = 22; - * @return The bytes for taskReferenceName. - */ - public com.google.protobuf.ByteString - getTaskReferenceNameBytes() { - java.lang.Object ref = taskReferenceName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - taskReferenceName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string task_reference_name = 22; - * @param value The taskReferenceName to set. - * @return This builder for chaining. - */ - public Builder setTaskReferenceName( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00200000; - taskReferenceName_ = value; - onChanged(); - return this; - } - /** - * optional string task_reference_name = 22; - * @return This builder for chaining. - */ - public Builder clearTaskReferenceName() { - bitField0_ = (bitField0_ & ~0x00200000); - taskReferenceName_ = getDefaultInstance().getTaskReferenceName(); - onChanged(); - return this; - } - /** - * optional string task_reference_name = 22; - * @param value The bytes for taskReferenceName to set. - * @return This builder for chaining. - */ - public Builder setTaskReferenceNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00200000; - taskReferenceName_ = value; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem) - } + public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel + .getDefaultInstance()) + return this; + if (other.hasId()) { + bitField0_ |= 0x00000001; + id_ = other.id_; + onChanged(); + } + if (other.hasLevel()) { + setLevel(other.getLevel()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.HumanTaskWorkItem) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem(); - } + @java.lang.Override + public final boolean isInitialized() { + return true; + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HumanTaskWorkItem parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HumanTaskWorkItem(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } + private int bitField0_; - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + private java.lang.Object id_ = ""; - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.HumanTaskWorkItem getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * optional string id = 1; + * + * @return Whether the id field is set. + */ + public boolean hasId() { + return ((bitField0_ & 0x00000001) != 0); + } - } + /** + * optional string id = 1; + * + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + id_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } - public interface ProcessTimerOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessTimer) - com.google.protobuf.MessageOrBuilder { + /** + * optional string id = 1; + * + * @return The bytes for id. + */ + public com.google.protobuf.ByteString getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - * @return Whether the timer field is set. - */ - boolean hasTimer(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - * @return The timer. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance getTimer(); - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstanceOrBuilder getTimerOrBuilder(); + /** + * optional string id = 1; + * + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - * @return Whether the trigger field is set. - */ - boolean hasTrigger(); - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - * @return The trigger. - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getTrigger(); - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder getTriggerOrBuilder(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessTimer} - */ - public static final class ProcessTimer extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessTimer) - ProcessTimerOrBuilder { - private static final long serialVersionUID = 0L; - // Use ProcessTimer.newBuilder() to construct. - private ProcessTimer(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private ProcessTimer() { - } + /** + * optional string id = 1; + * + * @return This builder for chaining. + */ + public Builder clearId() { + bitField0_ = (bitField0_ & ~0x00000001); + id_ = getDefaultInstance().getId(); + onChanged(); + return this; + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new ProcessTimer(); - } + /** + * optional string id = 1; + * + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + id_ = value; + onChanged(); + return this; + } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private ProcessTimer( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.Builder subBuilder = null; - if (((bitField0_ & 0x00000001) != 0)) { - subBuilder = timer_.toBuilder(); - } - timer_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timer_); - timer_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000001; - break; - } - case 18: { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) != 0)) { - subBuilder = trigger_.toBuilder(); - } - trigger_ = input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.PARSER, extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(trigger_); - trigger_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor; - } + private int level_; - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.Builder.class); - } + /** + * optional int32 level = 2; + * + * @return Whether the level field is set. + */ + @java.lang.Override + public boolean hasLevel() { + return ((bitField0_ & 0x00000002) != 0); + } - public interface TimerInstanceOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int64 id = 1; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * optional int64 id = 1; - * @return The id. - */ - long getId(); - - /** - * optional string timer_id = 2; - * @return Whether the timerId field is set. - */ - boolean hasTimerId(); - /** - * optional string timer_id = 2; - * @return The timerId. - */ - java.lang.String getTimerId(); - /** - * optional string timer_id = 2; - * @return The bytes for timerId. - */ - com.google.protobuf.ByteString - getTimerIdBytes(); - - /** - * optional int64 delay = 3; - * @return Whether the delay field is set. - */ - boolean hasDelay(); - /** - * optional int64 delay = 3; - * @return The delay. - */ - long getDelay(); - - /** - * optional int64 period = 4; - * @return Whether the period field is set. - */ - boolean hasPeriod(); - /** - * optional int64 period = 4; - * @return The period. - */ - long getPeriod(); - - /** - * optional string process_instance_id = 5; - * @return Whether the processInstanceId field is set. - */ - boolean hasProcessInstanceId(); - /** - * optional string process_instance_id = 5; - * @return The processInstanceId. - */ - java.lang.String getProcessInstanceId(); - /** - * optional string process_instance_id = 5; - * @return The bytes for processInstanceId. - */ - com.google.protobuf.ByteString - getProcessInstanceIdBytes(); - - /** - * optional int64 activated_time = 6; - * @return Whether the activatedTime field is set. - */ - boolean hasActivatedTime(); - /** - * optional int64 activated_time = 6; - * @return The activatedTime. - */ - long getActivatedTime(); - - /** - * optional int64 last_triggered = 7; - * @return Whether the lastTriggered field is set. - */ - boolean hasLastTriggered(); - /** - * optional int64 last_triggered = 7; - * @return The lastTriggered. - */ - long getLastTriggered(); - - /** - * optional int32 repeatLimit = 8; - * @return Whether the repeatLimit field is set. - */ - boolean hasRepeatLimit(); - /** - * optional int32 repeatLimit = 8; - * @return The repeatLimit. - */ - int getRepeatLimit(); - - /** - * optional int64 next_trigger = 9; - * @return Whether the nextTrigger field is set. - */ - boolean hasNextTrigger(); - /** - * optional int64 next_trigger = 9; - * @return The nextTrigger. - */ - long getNextTrigger(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance} - */ - public static final class TimerInstance extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance) - TimerInstanceOrBuilder { - private static final long serialVersionUID = 0L; - // Use TimerInstance.newBuilder() to construct. - private TimerInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private TimerInstance() { - timerId_ = ""; - processInstanceId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new TimerInstance(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private TimerInstance( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - id_ = input.readInt64(); - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); + /** + * optional int32 level = 2; + * + * @return The level. + */ + @java.lang.Override + public int getLevel() { + return level_; + } + + /** + * optional int32 level = 2; + * + * @param value The level to set. + * @return This builder for chaining. + */ + public Builder setLevel(int value) { bitField0_ |= 0x00000002; - timerId_ = bs; - break; - } - case 24: { - bitField0_ |= 0x00000004; - delay_ = input.readInt64(); - break; - } - case 32: { - bitField0_ |= 0x00000008; - period_ = input.readInt64(); - break; - } - case 42: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000010; - processInstanceId_ = bs; - break; - } - case 48: { - bitField0_ |= 0x00000020; - activatedTime_ = input.readInt64(); - break; - } - case 56: { - bitField0_ |= 0x00000040; - lastTriggered_ = input.readInt64(); - break; - } - case 64: { - bitField0_ |= 0x00000080; - repeatLimit_ = input.readInt32(); - break; - } - case 72: { - bitField0_ |= 0x00000100; - nextTrigger_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private long id_; - /** - * optional int64 id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional int64 id = 1; - * @return The id. - */ - @java.lang.Override - public long getId() { - return id_; - } - - public static final int TIMER_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object timerId_; - /** - * optional string timer_id = 2; - * @return Whether the timerId field is set. - */ - @java.lang.Override - public boolean hasTimerId() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional string timer_id = 2; - * @return The timerId. - */ - @java.lang.Override - public java.lang.String getTimerId() { - java.lang.Object ref = timerId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - timerId_ = s; - } - return s; - } - } - /** - * optional string timer_id = 2; - * @return The bytes for timerId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getTimerIdBytes() { - java.lang.Object ref = timerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - timerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DELAY_FIELD_NUMBER = 3; - private long delay_; - /** - * optional int64 delay = 3; - * @return Whether the delay field is set. - */ - @java.lang.Override - public boolean hasDelay() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional int64 delay = 3; - * @return The delay. - */ - @java.lang.Override - public long getDelay() { - return delay_; - } - - public static final int PERIOD_FIELD_NUMBER = 4; - private long period_; - /** - * optional int64 period = 4; - * @return Whether the period field is set. - */ - @java.lang.Override - public boolean hasPeriod() { - return ((bitField0_ & 0x00000008) != 0); - } - /** - * optional int64 period = 4; - * @return The period. - */ - @java.lang.Override - public long getPeriod() { - return period_; - } - - public static final int PROCESS_INSTANCE_ID_FIELD_NUMBER = 5; - private volatile java.lang.Object processInstanceId_; - /** - * optional string process_instance_id = 5; - * @return Whether the processInstanceId field is set. - */ - @java.lang.Override - public boolean hasProcessInstanceId() { - return ((bitField0_ & 0x00000010) != 0); - } - /** - * optional string process_instance_id = 5; - * @return The processInstanceId. - */ - @java.lang.Override - public java.lang.String getProcessInstanceId() { - java.lang.Object ref = processInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstanceId_ = s; - } - return s; - } - } - /** - * optional string process_instance_id = 5; - * @return The bytes for processInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getProcessInstanceIdBytes() { - java.lang.Object ref = processInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ACTIVATED_TIME_FIELD_NUMBER = 6; - private long activatedTime_; - /** - * optional int64 activated_time = 6; - * @return Whether the activatedTime field is set. - */ - @java.lang.Override - public boolean hasActivatedTime() { - return ((bitField0_ & 0x00000020) != 0); - } - /** - * optional int64 activated_time = 6; - * @return The activatedTime. - */ - @java.lang.Override - public long getActivatedTime() { - return activatedTime_; - } - - public static final int LAST_TRIGGERED_FIELD_NUMBER = 7; - private long lastTriggered_; - /** - * optional int64 last_triggered = 7; - * @return Whether the lastTriggered field is set. - */ - @java.lang.Override - public boolean hasLastTriggered() { - return ((bitField0_ & 0x00000040) != 0); - } - /** - * optional int64 last_triggered = 7; - * @return The lastTriggered. - */ - @java.lang.Override - public long getLastTriggered() { - return lastTriggered_; - } - - public static final int REPEATLIMIT_FIELD_NUMBER = 8; - private int repeatLimit_; - /** - * optional int32 repeatLimit = 8; - * @return Whether the repeatLimit field is set. - */ - @java.lang.Override - public boolean hasRepeatLimit() { - return ((bitField0_ & 0x00000080) != 0); - } - /** - * optional int32 repeatLimit = 8; - * @return The repeatLimit. - */ - @java.lang.Override - public int getRepeatLimit() { - return repeatLimit_; - } - - public static final int NEXT_TRIGGER_FIELD_NUMBER = 9; - private long nextTrigger_; - /** - * optional int64 next_trigger = 9; - * @return Whether the nextTrigger field is set. - */ - @java.lang.Override - public boolean hasNextTrigger() { - return ((bitField0_ & 0x00000100) != 0); - } - /** - * optional int64 next_trigger = 9; - * @return The nextTrigger. - */ - @java.lang.Override - public long getNextTrigger() { - return nextTrigger_; - } - - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt64(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeInt64(3, delay_); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeInt64(4, period_); - } - if (((bitField0_ & 0x00000010) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, processInstanceId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - output.writeInt64(6, activatedTime_); - } - if (((bitField0_ & 0x00000040) != 0)) { - output.writeInt64(7, lastTriggered_); - } - if (((bitField0_ & 0x00000080) != 0)) { - output.writeInt32(8, repeatLimit_); - } - if (((bitField0_ & 0x00000100) != 0)) { - output.writeInt64(9, nextTrigger_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, timerId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, delay_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, period_); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, processInstanceId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(6, activatedTime_); - } - if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, lastTriggered_); - } - if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, repeatLimit_); - } - if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(9, nextTrigger_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (getId() - != other.getId()) return false; - } - if (hasTimerId() != other.hasTimerId()) return false; - if (hasTimerId()) { - if (!getTimerId() - .equals(other.getTimerId())) return false; - } - if (hasDelay() != other.hasDelay()) return false; - if (hasDelay()) { - if (getDelay() - != other.getDelay()) return false; - } - if (hasPeriod() != other.hasPeriod()) return false; - if (hasPeriod()) { - if (getPeriod() - != other.getPeriod()) return false; - } - if (hasProcessInstanceId() != other.hasProcessInstanceId()) return false; - if (hasProcessInstanceId()) { - if (!getProcessInstanceId() - .equals(other.getProcessInstanceId())) return false; - } - if (hasActivatedTime() != other.hasActivatedTime()) return false; - if (hasActivatedTime()) { - if (getActivatedTime() - != other.getActivatedTime()) return false; - } - if (hasLastTriggered() != other.hasLastTriggered()) return false; - if (hasLastTriggered()) { - if (getLastTriggered() - != other.getLastTriggered()) return false; - } - if (hasRepeatLimit() != other.hasRepeatLimit()) return false; - if (hasRepeatLimit()) { - if (getRepeatLimit() - != other.getRepeatLimit()) return false; - } - if (hasNextTrigger() != other.hasNextTrigger()) return false; - if (hasNextTrigger()) { - if (getNextTrigger() - != other.getNextTrigger()) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getId()); - } - if (hasTimerId()) { - hash = (37 * hash) + TIMER_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerId().hashCode(); - } - if (hasDelay()) { - hash = (37 * hash) + DELAY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getDelay()); - } - if (hasPeriod()) { - hash = (37 * hash) + PERIOD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPeriod()); - } - if (hasProcessInstanceId()) { - hash = (37 * hash) + PROCESS_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getProcessInstanceId().hashCode(); - } - if (hasActivatedTime()) { - hash = (37 * hash) + ACTIVATED_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getActivatedTime()); - } - if (hasLastTriggered()) { - hash = (37 * hash) + LAST_TRIGGERED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLastTriggered()); - } - if (hasRepeatLimit()) { - hash = (37 * hash) + REPEATLIMIT_FIELD_NUMBER; - hash = (53 * hash) + getRepeatLimit(); - } - if (hasNextTrigger()) { - hash = (37 * hash) + NEXT_TRIGGER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getNextTrigger()); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = 0L; - bitField0_ = (bitField0_ & ~0x00000001); - timerId_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - delay_ = 0L; - bitField0_ = (bitField0_ & ~0x00000004); - period_ = 0L; - bitField0_ = (bitField0_ & ~0x00000008); - processInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); - activatedTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000020); - lastTriggered_ = 0L; - bitField0_ = (bitField0_ & ~0x00000040); - repeatLimit_ = 0; - bitField0_ = (bitField0_ & ~0x00000080); - nextTrigger_ = 0L; - bitField0_ = (bitField0_ & ~0x00000100); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.id_ = id_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.timerId_ = timerId_; - if (((from_bitField0_ & 0x00000004) != 0)) { - result.delay_ = delay_; - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.period_ = period_; - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - to_bitField0_ |= 0x00000010; - } - result.processInstanceId_ = processInstanceId_; - if (((from_bitField0_ & 0x00000020) != 0)) { - result.activatedTime_ = activatedTime_; - to_bitField0_ |= 0x00000020; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.lastTriggered_ = lastTriggered_; - to_bitField0_ |= 0x00000040; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.repeatLimit_ = repeatLimit_; - to_bitField0_ |= 0x00000080; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.nextTrigger_ = nextTrigger_; - to_bitField0_ |= 0x00000100; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.getDefaultInstance()) return this; - if (other.hasId()) { - setId(other.getId()); - } - if (other.hasTimerId()) { - bitField0_ |= 0x00000002; - timerId_ = other.timerId_; - onChanged(); - } - if (other.hasDelay()) { - setDelay(other.getDelay()); - } - if (other.hasPeriod()) { - setPeriod(other.getPeriod()); - } - if (other.hasProcessInstanceId()) { - bitField0_ |= 0x00000010; - processInstanceId_ = other.processInstanceId_; - onChanged(); - } - if (other.hasActivatedTime()) { - setActivatedTime(other.getActivatedTime()); - } - if (other.hasLastTriggered()) { - setLastTriggered(other.getLastTriggered()); - } - if (other.hasRepeatLimit()) { - setRepeatLimit(other.getRepeatLimit()); - } - if (other.hasNextTrigger()) { - setNextTrigger(other.getNextTrigger()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } + level_ = value; + onChanged(); + return this; + } - @java.lang.Override - public final boolean isInitialized() { - return true; - } + /** + * optional int32 level = 2; + * + * @return This builder for chaining. + */ + public Builder clearLevel() { + bitField0_ = (bitField0_ & ~0x00000002); + level_ = 0; + onChanged(); + return this; + } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); } - } - return this; - } - private int bitField0_; - private long id_ ; - /** - * optional int64 id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional int64 id = 1; - * @return The id. - */ - @java.lang.Override - public long getId() { - return id_; - } - /** - * optional int64 id = 1; - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId(long value) { - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.IterationLevel) } - /** - * optional int64 id = 1; - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = 0L; - onChanged(); - return this; + + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.IterationLevel) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel(); } - private java.lang.Object timerId_ = ""; - /** - * optional string timer_id = 2; - * @return Whether the timerId field is set. - */ - public boolean hasTimerId() { - return ((bitField0_ & 0x00000002) != 0); + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getDefaultInstance() { + return DEFAULT_INSTANCE; } - /** - * optional string timer_id = 2; - * @return The timerId. - */ - public java.lang.String getTimerId() { - java.lang.Object ref = timerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - timerId_ = s; + + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IterationLevel parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IterationLevel(input, extensionRegistry); } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string timer_id = 2; - * @return The bytes for timerId. - */ - public com.google.protobuf.ByteString - getTimerIdBytes() { - java.lang.Object ref = timerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - timerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string timer_id = 2; - * @param value The timerId to set. - * @return This builder for chaining. - */ - public Builder setTimerId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - timerId_ = value; - onChanged(); - return this; - } - /** - * optional string timer_id = 2; - * @return This builder for chaining. - */ - public Builder clearTimerId() { - bitField0_ = (bitField0_ & ~0x00000002); - timerId_ = getDefaultInstance().getTimerId(); - onChanged(); - return this; - } - /** - * optional string timer_id = 2; - * @param value The bytes for timerId to set. - * @return This builder for chaining. - */ - public Builder setTimerIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - timerId_ = value; - onChanged(); - return this; - } + }; - private long delay_ ; - /** - * optional int64 delay = 3; - * @return Whether the delay field is set. - */ - @java.lang.Override - public boolean hasDelay() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * optional int64 delay = 3; - * @return The delay. - */ - @java.lang.Override - public long getDelay() { - return delay_; - } - /** - * optional int64 delay = 3; - * @param value The delay to set. - * @return This builder for chaining. - */ - public Builder setDelay(long value) { - bitField0_ |= 0x00000004; - delay_ = value; - onChanged(); - return this; - } - /** - * optional int64 delay = 3; - * @return This builder for chaining. - */ - public Builder clearDelay() { - bitField0_ = (bitField0_ & ~0x00000004); - delay_ = 0L; - onChanged(); - return this; + public static com.google.protobuf.Parser parser() { + return PARSER; } - private long period_ ; - /** - * optional int64 period = 4; - * @return Whether the period field is set. - */ @java.lang.Override - public boolean hasPeriod() { - return ((bitField0_ & 0x00000008) != 0); + public com.google.protobuf.Parser getParserForType() { + return PARSER; } - /** - * optional int64 period = 4; - * @return The period. - */ + @java.lang.Override - public long getPeriod() { - return period_; - } - /** - * optional int64 period = 4; - * @param value The period to set. - * @return This builder for chaining. - */ - public Builder setPeriod(long value) { - bitField0_ |= 0x00000008; - period_ = value; - onChanged(); - return this; - } - /** - * optional int64 period = 4; - * @return This builder for chaining. - */ - public Builder clearPeriod() { - bitField0_ = (bitField0_ & ~0x00000008); - period_ = 0L; - onChanged(); - return this; + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - private java.lang.Object processInstanceId_ = ""; + } + + public interface VariableContainerOrBuilder extends + // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.VariableContainer) + com.google.protobuf.MessageOrBuilder { + /** - * optional string process_instance_id = 5; - * @return Whether the processInstanceId field is set. + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; */ - public boolean hasProcessInstanceId() { - return ((bitField0_ & 0x00000010) != 0); - } + java.util.List getVariableList(); + /** - * optional string process_instance_id = 5; - * @return The processInstanceId. + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; */ - public java.lang.String getProcessInstanceId() { - java.lang.Object ref = processInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index); + /** - * optional string process_instance_id = 5; - * @return The bytes for processInstanceId. + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; */ - public com.google.protobuf.ByteString - getProcessInstanceIdBytes() { - java.lang.Object ref = processInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - processInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + int getVariableCount(); + /** - * optional string process_instance_id = 5; - * @param value The processInstanceId to set. - * @return This builder for chaining. + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; */ - public Builder setProcessInstanceId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - processInstanceId_ = value; - onChanged(); - return this; - } + java.util.List getVariableOrBuilderList(); + /** - * optional string process_instance_id = 5; - * @return This builder for chaining. + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; */ - public Builder clearProcessInstanceId() { - bitField0_ = (bitField0_ & ~0x00000010); - processInstanceId_ = getDefaultInstance().getProcessInstanceId(); - onChanged(); - return this; + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index); + } + + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.VariableContainer} + */ + public static final class VariableContainer extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.VariableContainer) + VariableContainerOrBuilder { + private static final long serialVersionUID = 0L; + + // Use VariableContainer.newBuilder() to construct. + private VariableContainer(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); } - /** - * optional string process_instance_id = 5; - * @param value The bytes for processInstanceId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstanceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - processInstanceId_ = value; - onChanged(); - return this; + + private VariableContainer() { + variable_ = java.util.Collections.emptyList(); } - private long activatedTime_ ; - /** - * optional int64 activated_time = 6; - * @return Whether the activatedTime field is set. - */ @java.lang.Override - public boolean hasActivatedTime() { - return ((bitField0_ & 0x00000020) != 0); + @SuppressWarnings({ "unused" }) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new VariableContainer(); } - /** - * optional int64 activated_time = 6; - * @return The activatedTime. - */ + @java.lang.Override - public long getActivatedTime() { - return activatedTime_; + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; } - /** - * optional int64 activated_time = 6; - * @param value The activatedTime to set. - * @return This builder for chaining. - */ - public Builder setActivatedTime(long value) { - bitField0_ |= 0x00000020; - activatedTime_ = value; - onChanged(); - return this; + + private VariableContainer( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + variable_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + variable_.add( + input.readMessage( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.PARSER, + extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + variable_ = java.util.Collections.unmodifiableList(variable_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } } - /** - * optional int64 activated_time = 6; - * @return This builder for chaining. - */ - public Builder clearActivatedTime() { - bitField0_ = (bitField0_ & ~0x00000020); - activatedTime_ = 0L; - onChanged(); - return this; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_descriptor; } - private long lastTriggered_ ; - /** - * optional int64 last_triggered = 7; - * @return Whether the lastTriggered field is set. - */ @java.lang.Override - public boolean hasLastTriggered() { - return ((bitField0_ & 0x00000040) != 0); + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer.Builder.class); } + + public static final int VARIABLE_FIELD_NUMBER = 1; + private java.util.List variable_; + /** - * optional int64 last_triggered = 7; - * @return The lastTriggered. + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; */ @java.lang.Override - public long getLastTriggered() { - return lastTriggered_; - } - /** - * optional int64 last_triggered = 7; - * @param value The lastTriggered to set. - * @return This builder for chaining. - */ - public Builder setLastTriggered(long value) { - bitField0_ |= 0x00000040; - lastTriggered_ = value; - onChanged(); - return this; - } - /** - * optional int64 last_triggered = 7; - * @return This builder for chaining. - */ - public Builder clearLastTriggered() { - bitField0_ = (bitField0_ & ~0x00000040); - lastTriggered_ = 0L; - onChanged(); - return this; + public java.util.List getVariableList() { + return variable_; } - private int repeatLimit_ ; /** - * optional int32 repeatLimit = 8; - * @return Whether the repeatLimit field is set. + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; */ @java.lang.Override - public boolean hasRepeatLimit() { - return ((bitField0_ & 0x00000080) != 0); + public java.util.List getVariableOrBuilderList() { + return variable_; } + /** - * optional int32 repeatLimit = 8; - * @return The repeatLimit. + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; */ @java.lang.Override - public int getRepeatLimit() { - return repeatLimit_; - } - /** - * optional int32 repeatLimit = 8; - * @param value The repeatLimit to set. - * @return This builder for chaining. - */ - public Builder setRepeatLimit(int value) { - bitField0_ |= 0x00000080; - repeatLimit_ = value; - onChanged(); - return this; - } - /** - * optional int32 repeatLimit = 8; - * @return This builder for chaining. - */ - public Builder clearRepeatLimit() { - bitField0_ = (bitField0_ & ~0x00000080); - repeatLimit_ = 0; - onChanged(); - return this; + public int getVariableCount() { + return variable_.size(); } - private long nextTrigger_ ; /** - * optional int64 next_trigger = 9; - * @return Whether the nextTrigger field is set. + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; */ @java.lang.Override - public boolean hasNextTrigger() { - return ((bitField0_ & 0x00000100) != 0); + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { + return variable_.get(index); } + /** - * optional int64 next_trigger = 9; - * @return The nextTrigger. + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; */ @java.lang.Override - public long getNextTrigger() { - return nextTrigger_; - } - /** - * optional int64 next_trigger = 9; - * @param value The nextTrigger to set. - * @return This builder for chaining. - */ - public Builder setNextTrigger(long value) { - bitField0_ |= 0x00000100; - nextTrigger_ = value; - onChanged(); - return this; - } - /** - * optional int64 next_trigger = 9; - * @return This builder for chaining. - */ - public Builder clearNextTrigger() { - bitField0_ = (bitField0_ & ~0x00000100); - nextTrigger_ = 0L; - onChanged(); - return this; + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index) { + return variable_.get(index); } + + private byte memoizedIsInitialized = -1; + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) + return true; + if (isInitialized == 0) + return false; + + memoizedIsInitialized = 1; + return true; } @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < variable_.size(); i++) { + output.writeMessage(1, variable_.get(i)); + } + unknownFields.writeTo(output); } + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) + return size; - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance) - } + size = 0; + for (int i = 0; i < variable_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, variable_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance(); - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer)) { + return super.equals(obj); + } + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer) obj; - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance getDefaultInstance() { - return DEFAULT_INSTANCE; - } + if (!getVariableList() + .equals(other.getVariableList())) + return false; + if (!unknownFields.equals(other.unknownFields)) + return false; + return true; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public TimerInstance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimerInstance(input, extensionRegistry); + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getVariableCount() > 0) { + hash = (37 * hash) + VARIABLE_FIELD_NUMBER; + hash = (53 * hash) + getVariableList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; } - }; - public static com.google.protobuf.Parser parser() { - return PARSER; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - private int bitField0_; - public static final int TIMER_FIELD_NUMBER = 1; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance timer_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - * @return Whether the timer field is set. - */ - @java.lang.Override - public boolean hasTimer() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - * @return The timer. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance getTimer() { - return timer_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.getDefaultInstance() : timer_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstanceOrBuilder getTimerOrBuilder() { - return timer_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.getDefaultInstance() : timer_; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } - public static final int TRIGGER_FIELD_NUMBER = 2; - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger trigger_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - * @return Whether the trigger field is set. - */ - @java.lang.Override - public boolean hasTrigger() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - * @return The trigger. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getTrigger() { - return trigger_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() : trigger_; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder getTriggerOrBuilder() { - return trigger_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() : trigger_; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - memoizedIsInitialized = 1; - return true; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getTimer()); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(2, getTrigger()); - } - unknownFields.writeTo(output); - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseDelimitedFrom( + java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTimer()); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getTrigger()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer) obj; - - if (hasTimer() != other.hasTimer()) return false; - if (hasTimer()) { - if (!getTimer() - .equals(other.getTimer())) return false; - } - if (hasTrigger() != other.hasTrigger()) return false; - if (hasTrigger()) { - if (!getTrigger() - .equals(other.getTrigger())) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasTimer()) { - hash = (37 * hash) + TIMER_FIELD_NUMBER; - hash = (53 * hash) + getTimer().hashCode(); - } - if (hasTrigger()) { - hash = (37 * hash) + TRIGGER_FIELD_NUMBER; - hash = (53 * hash) + getTrigger().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.ProcessTimer} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.ProcessTimer) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getTimerFieldBuilder(); - getTriggerFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (timerBuilder_ == null) { - timer_ = null; - } else { - timerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - if (triggerBuilder_ == null) { - trigger_ = null; - } else { - triggerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - if (timerBuilder_ == null) { - result.timer_ = timer_; - } else { - result.timer_ = timerBuilder_.build(); - } - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - if (triggerBuilder_ == null) { - result.trigger_ = trigger_; - } else { - result.trigger_ = triggerBuilder_.build(); - } - to_bitField0_ |= 0x00000002; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.getDefaultInstance()) return this; - if (other.hasTimer()) { - mergeTimer(other.getTimer()); - } - if (other.hasTrigger()) { - mergeTrigger(other.getTrigger()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance timer_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstanceOrBuilder> timerBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - * @return Whether the timer field is set. - */ - public boolean hasTimer() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - * @return The timer. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance getTimer() { - if (timerBuilder_ == null) { - return timer_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.getDefaultInstance() : timer_; - } else { - return timerBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - public Builder setTimer(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance value) { - if (timerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - timer_ = value; - onChanged(); - } else { - timerBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - public Builder setTimer( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.Builder builderForValue) { - if (timerBuilder_ == null) { - timer_ = builderForValue.build(); - onChanged(); - } else { - timerBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - public Builder mergeTimer(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance value) { - if (timerBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - timer_ != null && - timer_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.getDefaultInstance()) { - timer_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.newBuilder(timer_).mergeFrom(value).buildPartial(); - } else { - timer_ = value; - } - onChanged(); - } else { - timerBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000001; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - public Builder clearTimer() { - if (timerBuilder_ == null) { - timer_ = null; - onChanged(); - } else { - timerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.Builder getTimerBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getTimerFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstanceOrBuilder getTimerOrBuilder() { - if (timerBuilder_ != null) { - return timerBuilder_.getMessageOrBuilder(); - } else { - return timer_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.getDefaultInstance() : timer_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstanceOrBuilder> - getTimerFieldBuilder() { - if (timerBuilder_ == null) { - timerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstance.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.TimerInstanceOrBuilder>( - getTimer(), - getParentForChildren(), - isClean()); - timer_ = null; - } - return timerBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger trigger_; - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder> triggerBuilder_; - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - * @return Whether the trigger field is set. - */ - public boolean hasTrigger() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - * @return The trigger. - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger getTrigger() { - if (triggerBuilder_ == null) { - return trigger_ == null ? io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() : trigger_; - } else { - return triggerBuilder_.getMessage(); - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - */ - public Builder setTrigger(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger value) { - if (triggerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - trigger_ = value; - onChanged(); - } else { - triggerBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - */ - public Builder setTrigger( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder builderForValue) { - if (triggerBuilder_ == null) { - trigger_ = builderForValue.build(); - onChanged(); - } else { - triggerBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - */ - public Builder mergeTrigger(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger value) { - if (triggerBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - trigger_ != null && - trigger_ != io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance()) { - trigger_ = - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.newBuilder(trigger_).mergeFrom(value).buildPartial(); - } else { - trigger_ = value; - } - onChanged(); - } else { - triggerBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - */ - public Builder clearTrigger() { - if (triggerBuilder_ == null) { - trigger_ = null; - onChanged(); - } else { - triggerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder getTriggerBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getTriggerFieldBuilder().getBuilder(); - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder getTriggerOrBuilder() { - if (triggerBuilder_ != null) { - return triggerBuilder_.getMessageOrBuilder(); - } else { - return trigger_ == null ? - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.getDefaultInstance() : trigger_; - } - } - /** - * optional .io.automatiko.engine.workflow.marshalling.Trigger trigger = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder> - getTriggerFieldBuilder() { - if (triggerBuilder_ == null) { - triggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Trigger.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.TriggerOrBuilder>( - getTrigger(), - getParentForChildren(), - isClean()); - trigger_ = null; - } - return triggerBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.ProcessTimer) - } + public static Builder newBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.ProcessTimer) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer(); - } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() + : new Builder().mergeFrom(this); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer getDefaultInstance() { - return DEFAULT_INSTANCE; - } + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessTimer parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProcessTimer(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * Protobuf type {@code io.automatiko.engine.workflow.marshalling.VariableContainer} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.VariableContainer) + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_descriptor; + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer.Builder.class); + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } - } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } - public interface IterationLevelOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.IterationLevel) - com.google.protobuf.MessageOrBuilder { + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getVariableFieldBuilder(); + } + } - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - boolean hasId(); - /** - * optional string id = 1; - * @return The id. - */ - java.lang.String getId(); - /** - * optional string id = 1; - * @return The bytes for id. - */ - com.google.protobuf.ByteString - getIdBytes(); + @java.lang.Override + public Builder clear() { + super.clear(); + if (variableBuilder_ == null) { + variable_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + variableBuilder_.clear(); + } + return this; + } - /** - * optional int32 level = 2; - * @return Whether the level field is set. - */ - boolean hasLevel(); - /** - * optional int32 level = 2; - * @return The level. - */ - int getLevel(); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.IterationLevel} - */ - public static final class IterationLevel extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.IterationLevel) - IterationLevelOrBuilder { - private static final long serialVersionUID = 0L; - // Use IterationLevel.newBuilder() to construct. - private IterationLevel(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private IterationLevel() { - id_ = ""; - } + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_descriptor; + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new IterationLevel(); - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer getDefaultInstanceForType() { + return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer.getDefaultInstance(); + } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private IterationLevel( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - id_ = bs; - break; - } - case 16: { - bitField0_ |= 0x00000002; - level_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_descriptor; - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer build() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder.class); - } + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer buildPartial() { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer( + this); + int from_bitField0_ = bitField0_; + if (variableBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + variable_ = java.util.Collections.unmodifiableList(variable_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.variable_ = variable_; + } else { + result.variable_ = variableBuilder_.build(); + } + onBuilt(); + return result; + } - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string id = 1; - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } - } - /** - * optional string id = 1; - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } - public static final int LEVEL_FIELD_NUMBER = 2; - private int level_; - /** - * optional int32 level = 2; - * @return Whether the level field is set. - */ - @java.lang.Override - public boolean hasLevel() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional int32 level = 2; - * @return The level. - */ - @java.lang.Override - public int getLevel() { - return level_; - } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } - memoizedIsInitialized = 1; - return true; - } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer) { + return mergeFrom( + (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer) other); + } else { + super.mergeFrom(other); + return this; + } + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt32(2, level_); - } - unknownFields.writeTo(output); - } + public Builder mergeFrom( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer other) { + if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer + .getDefaultInstance()) + return this; + if (variableBuilder_ == null) { + if (!other.variable_.isEmpty()) { + if (variable_.isEmpty()) { + variable_ = other.variable_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureVariableIsMutable(); + variable_.addAll(other.variable_); + } + onChanged(); + } + } else { + if (!other.variable_.isEmpty()) { + if (variableBuilder_.isEmpty()) { + variableBuilder_.dispose(); + variableBuilder_ = null; + variable_ = other.variable_; + bitField0_ = (bitField0_ & ~0x00000001); + variableBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVariableFieldBuilder() + : null; + } else { + variableBuilder_.addAllMessages(other.variable_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, level_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + @java.lang.Override + public final boolean isInitialized() { + return true; + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel) obj; - - if (hasId() != other.hasId()) return false; - if (hasId()) { - if (!getId() - .equals(other.getId())) return false; - } - if (hasLevel() != other.hasLevel()) return false; - if (hasLevel()) { - if (getLevel() - != other.getLevel()) return false; - } - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer) e + .getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasLevel()) { - hash = (37 * hash) + LEVEL_FIELD_NUMBER; - hash = (53 * hash) + getLevel(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + private int bitField0_; - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + private java.util.List variable_ = java.util.Collections + .emptyList(); - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + private void ensureVariableIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + variable_ = new java.util.ArrayList( + variable_); + bitField0_ |= 0x00000001; + } + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.IterationLevel} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.IterationLevel) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - level_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.id_ = id_; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.level_ = level_; - to_bitField0_ |= 0x00000002; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel.getDefaultInstance()) return this; - if (other.hasId()) { - bitField0_ |= 0x00000001; - id_ = other.id_; - onChanged(); - } - if (other.hasLevel()) { - setLevel(other.getLevel()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.lang.Object id_ = ""; - /** - * optional string id = 1; - * @return Whether the id field is set. - */ - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - /** - * optional string id = 1; - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * optional string id = 1; - * @return The bytes for id. - */ - public com.google.protobuf.ByteString - getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * optional string id = 1; - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId( - java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - /** - * optional string id = 1; - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - /** - * optional string id = 1; - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - - private int level_ ; - /** - * optional int32 level = 2; - * @return Whether the level field is set. - */ - @java.lang.Override - public boolean hasLevel() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * optional int32 level = 2; - * @return The level. - */ - @java.lang.Override - public int getLevel() { - return level_; - } - /** - * optional int32 level = 2; - * @param value The level to set. - * @return This builder for chaining. - */ - public Builder setLevel(int value) { - bitField0_ |= 0x00000002; - level_ = value; - onChanged(); - return this; - } - /** - * optional int32 level = 2; - * @return This builder for chaining. - */ - public Builder clearLevel() { - bitField0_ = (bitField0_ & ~0x00000002); - level_ = 0; - onChanged(); - return this; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.IterationLevel) - } + private com.google.protobuf.RepeatedFieldBuilderV3 variableBuilder_; - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.IterationLevel) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel(); - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public java.util.List getVariableList() { + if (variableBuilder_ == null) { + return java.util.Collections.unmodifiableList(variable_); + } else { + return variableBuilder_.getMessageList(); + } + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getDefaultInstance() { - return DEFAULT_INSTANCE; - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public int getVariableCount() { + if (variableBuilder_ == null) { + return variable_.size(); + } else { + return variableBuilder_.getCount(); + } + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IterationLevel parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IterationLevel(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { + if (variableBuilder_ == null) { + return variable_.get(index); + } else { + return variableBuilder_.getMessage(index); + } + } - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public Builder setVariable( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.set(index, value); + onChanged(); + } else { + variableBuilder_.setMessage(index, value); + } + return this; + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevel getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public Builder setVariable( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.set(index, builderForValue.build()); + onChanged(); + } else { + variableBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.add(value); + onChanged(); + } else { + variableBuilder_.addMessage(value); + } + return this; + } - public interface VariableContainerOrBuilder extends - // @@protoc_insertion_point(interface_extends:io.automatiko.engine.workflow.marshalling.VariableContainer) - com.google.protobuf.MessageOrBuilder { + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public Builder addVariable( + int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { + if (variableBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureVariableIsMutable(); + variable_.add(index, value); + onChanged(); + } else { + variableBuilder_.addMessage(index, value); + } + return this; + } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - java.util.List - getVariableList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - int getVariableCount(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - java.util.List - getVariableOrBuilderList(); - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index); - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.VariableContainer} - */ - public static final class VariableContainer extends - com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:io.automatiko.engine.workflow.marshalling.VariableContainer) - VariableContainerOrBuilder { - private static final long serialVersionUID = 0L; - // Use VariableContainer.newBuilder() to construct. - private VariableContainer(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - private VariableContainer() { - variable_ = java.util.Collections.emptyList(); - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public Builder addVariable( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.add(builderForValue.build()); + onChanged(); + } else { + variableBuilder_.addMessage(builderForValue.build()); + } + return this; + } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { - return new VariableContainer(); - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public Builder addVariable( + int index, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.add(index, builderForValue.build()); + onChanged(); + } else { + variableBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private VariableContainer( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - variable_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - variable_.add( - input.readMessage(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.PARSER, extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_descriptor; - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public Builder addAllVariable( + java.lang.Iterable values) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, variable_); + onChanged(); + } else { + variableBuilder_.addAllMessages(values); + } + return this; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer.Builder.class); - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public Builder clearVariable() { + if (variableBuilder_ == null) { + variable_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + variableBuilder_.clear(); + } + return this; + } - public static final int VARIABLE_FIELD_NUMBER = 1; - private java.util.List variable_; - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - @java.lang.Override - public java.util.List getVariableList() { - return variable_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - @java.lang.Override - public java.util.List - getVariableOrBuilderList() { - return variable_; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - @java.lang.Override - public int getVariableCount() { - return variable_.size(); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { - return variable_.get(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - return variable_.get(index); - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public Builder removeVariable(int index) { + if (variableBuilder_ == null) { + ensureVariableIsMutable(); + variable_.remove(index); + onChanged(); + } else { + variableBuilder_.remove(index); + } + return this; + } - private byte memoizedIsInitialized = -1; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder getVariableBuilder( + int index) { + return getVariableFieldBuilder().getBuilder(index); + } - memoizedIsInitialized = 1; - return true; - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( + int index) { + if (variableBuilder_ == null) { + return variable_.get(index); + } else { + return variableBuilder_.getMessageOrBuilder(index); + } + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - for (int i = 0; i < variable_.size(); i++) { - output.writeMessage(1, variable_.get(i)); - } - unknownFields.writeTo(output); - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public java.util.List getVariableOrBuilderList() { + if (variableBuilder_ != null) { + return variableBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(variable_); + } + } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < variable_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, variable_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder() { + return getVariableFieldBuilder().addBuilder( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); + } - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer other = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer) obj; - - if (!getVariableList() - .equals(other.getVariableList())) return false; - if (!unknownFields.equals(other.unknownFields)) return false; - return true; - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder( + int index) { + return getVariableFieldBuilder().addBuilder( + index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); + } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getVariableCount() > 0) { - hash = (37 * hash) + VARIABLE_FIELD_NUMBER; - hash = (53 * hash) + getVariableList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } + /** + * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; + */ + public java.util.List getVariableBuilderList() { + return getVariableFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3 getVariableFieldBuilder() { + if (variableBuilder_ == null) { + variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( + variable_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + variable_ = null; + } + return variableBuilder_; + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } - @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); - } + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code io.automatiko.engine.workflow.marshalling.VariableContainer} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:io.automatiko.engine.workflow.marshalling.VariableContainer) - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer.class, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer.Builder.class); - } - - // Construct using io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - getVariableFieldBuilder(); - } - } - @java.lang.Override - public Builder clear() { - super.clear(); - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - variableBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer build() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer result = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer(this); - int from_bitField0_ = bitField0_; - if (variableBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.variable_ = variable_; - } else { - result.variable_ = variableBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer)other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer.getDefaultInstance()) return this; - if (variableBuilder_ == null) { - if (!other.variable_.isEmpty()) { - if (variable_.isEmpty()) { - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureVariableIsMutable(); - variable_.addAll(other.variable_); - } - onChanged(); - } - } else { - if (!other.variable_.isEmpty()) { - if (variableBuilder_.isEmpty()) { - variableBuilder_.dispose(); - variableBuilder_ = null; - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000001); - variableBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVariableFieldBuilder() : null; - } else { - variableBuilder_.addAllMessages(other.variable_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - private int bitField0_; - - private java.util.List variable_ = - java.util.Collections.emptyList(); - private void ensureVariableIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - variable_ = new java.util.ArrayList(variable_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder> variableBuilder_; - - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public java.util.List getVariableList() { - if (variableBuilder_ == null) { - return java.util.Collections.unmodifiableList(variable_); - } else { - return variableBuilder_.getMessageList(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public int getVariableCount() { - if (variableBuilder_ == null) { - return variable_.size(); - } else { - return variableBuilder_.getCount(); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable getVariable(int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessage(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public Builder setVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.set(index, value); - onChanged(); - } else { - variableBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public Builder setVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.set(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(value); - onChanged(); - } else { - variableBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public Builder addVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(index, value); - onChanged(); - } else { - variableBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public Builder addVariable( - int index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public Builder addAllVariable( - java.lang.Iterable values) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, variable_); - onChanged(); - } else { - variableBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public Builder clearVariable() { - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - variableBuilder_.clear(); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public Builder removeVariable(int index) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.remove(index); - onChanged(); - } else { - variableBuilder_.remove(index); - } - return this; - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder getVariableBuilder( - int index) { - return getVariableFieldBuilder().getBuilder(index); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - if (variableBuilder_ == null) { - return variable_.get(index); } else { - return variableBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public java.util.List - getVariableOrBuilderList() { - if (variableBuilder_ != null) { - return variableBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variable_); - } - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder() { - return getVariableFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder addVariableBuilder( - int index) { - return getVariableFieldBuilder().addBuilder( - index, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.getDefaultInstance()); - } - /** - * repeated .io.automatiko.engine.workflow.marshalling.Variable variable = 1; - */ - public java.util.List - getVariableBuilderList() { - return getVariableFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder> - getVariableFieldBuilder() { - if (variableBuilder_ == null) { - variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Variable.Builder, io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder>( - variable_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - variable_ = null; - } - return variableBuilder_; - } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - - // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.VariableContainer) - } + // @@protoc_insertion_point(builder_scope:io.automatiko.engine.workflow.marshalling.VariableContainer) + } - // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.VariableContainer) - private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer(); - } + // @@protoc_insertion_point(class_scope:io.automatiko.engine.workflow.marshalling.VariableContainer) + private static final io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer(); + } - public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer getDefaultInstance() { - return DEFAULT_INSTANCE; - } + public static io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer getDefaultInstance() { + return DEFAULT_INSTANCE; + } - @java.lang.Deprecated public static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VariableContainer parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VariableContainer(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } + @java.lang.Deprecated + public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VariableContainer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new VariableContainer(input, extensionRegistry); + } + }; - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableContainer getDefaultInstanceForType() { - return DEFAULT_INSTANCE; } - } - - public static final int PROCESS_INSTANCE_FIELD_NUMBER = 10; - /** - * extend .io.automatiko.engine.workflow.marshalling.ProcessData { ... } - */ - public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData, - java.util.List> processInstance = com.google.protobuf.GeneratedMessage - .newFileScopedGeneratedExtension( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.class, - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.getDefaultInstance()); - public static final int WORK_ITEM_FIELD_NUMBER = 11; - /** - * extend .io.automatiko.engine.workflow.marshalling.ProcessData { ... } - */ - public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData, - java.util.List> workItem = com.google.protobuf.GeneratedMessage - .newFileScopedGeneratedExtension( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.class, - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.getDefaultInstance()); - public static final int TIMER_ID_FIELD_NUMBER = 13; - /** - * extend .io.automatiko.engine.workflow.marshalling.ProcessData { ... } - */ - public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData, - java.lang.Long> timerId = com.google.protobuf.GeneratedMessage - .newFileScopedGeneratedExtension( - java.lang.Long.class, - null); - public static final int PROCESS_TIMER_FIELD_NUMBER = 12; - /** - * extend .io.automatiko.engine.workflow.marshalling.ProcessData { ... } - */ - public static final - com.google.protobuf.GeneratedMessage.GeneratedExtension< - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessData, - java.util.List> processTimer = com.google.protobuf.GeneratedMessage - .newFileScopedGeneratedExtension( - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.class, - io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.getDefaultInstance()); - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_Header_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_Version_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_Version_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_Signature_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_Signature_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_Variable_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_Variable_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor - internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_descriptor; - private static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2io/automatiko/marshalling/automatikome" + - "ssages.proto\022)io.automatiko.engine.workf" + - "low.marshalling\"\272\002\n\006Header\022C\n\007version\030\001 " + - "\001(\01322.io.automatiko.engine.workflow.mars" + - "halling.Version\022G\n\tsignature\030\004 \001(\01324.io." + - "automatiko.engine.workflow.marshalling.S" + - "ignature\022Q\n\010strategy\030\t \003(\0132?.io.automati" + - "ko.engine.workflow.marshalling.Header.St" + - "rategyIndex\022\017\n\007payload\030\n \001(\014\0327\n\rStrategy" + - "Index\022\n\n\002id\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022\014\n\004data\030" + - "\003 \001(\014*\005\010d\020\310\001\"Q\n\007Version\022\025\n\rversion_major" + - "\030\001 \001(\005\022\025\n\rversion_minor\030\002 \001(\005\022\030\n\020version" + - "_revision\030\003 \001(\005\"1\n\tSignature\022\021\n\tkey_alia" + - "s\030\001 \001(\t\022\021\n\tsignature\030\002 \001(\014\"\242\010\n\007Trigger\022L" + - "\n\004type\030\001 \001(\0162>.io.automatiko.engine.work" + - "flow.marshalling.Trigger.TriggerType\022L\n\004" + - "cron\030\002 \001(\0132>.io.automatiko.engine.workfl" + - "ow.marshalling.Trigger.CronTrigger\022T\n\010in" + - "terval\030\003 \001(\0132B.io.automatiko.engine.work" + - "flow.marshalling.Trigger.IntervalTrigger" + - "\022R\n\003pit\030\004 \001(\0132E.io.automatiko.engine.wor" + - "kflow.marshalling.Trigger.PointInTimeTri" + - "gger\022\\\n\004cmdt\030\005 \001(\0132N.io.automatiko.engin" + - "e.workflow.marshalling.Trigger.Composite" + - "MaxDurationTrigger\032\247\001\n\013CronTrigger\022\022\n\nst" + - "art_time\030\001 \001(\003\022\020\n\010end_time\030\002 \001(\003\022\024\n\014repe" + - "at_limit\030\003 \001(\005\022\024\n\014repeat_count\030\004 \001(\005\022\027\n\017" + - "cron_expression\030\005 \001(\t\022\026\n\016next_fire_time\030" + - "\006 \001(\003\022\025\n\rcalendar_name\030\007 \003(\t\032\242\001\n\017Interva" + - "lTrigger\022\022\n\nstart_time\030\001 \001(\003\022\020\n\010end_time" + - "\030\002 \001(\003\022\024\n\014repeat_limit\030\003 \001(\005\022\024\n\014repeat_c" + - "ount\030\004 \001(\005\022\026\n\016next_fire_time\030\006 \001(\003\022\016\n\006pe" + - "riod\030\007 \001(\003\022\025\n\rcalendar_name\030\010 \003(\t\032,\n\022Poi" + - "ntInTimeTrigger\022\026\n\016next_fire_time\030\001 \001(\003\032" + - "\237\001\n\033CompositeMaxDurationTrigger\022\034\n\024maxDu" + - "rationTimestamp\030\001 \001(\003\022\030\n\020timerCurrentDat" + - "e\030\002 \001(\003\022H\n\014timerTrigger\030\003 \001(\01322.io.autom" + - "atiko.engine.workflow.marshalling.Trigge" + - "r\"T\n\013TriggerType\022\010\n\004CRON\020\000\022\014\n\010INTERVAL\020\001" + - "\022\021\n\rPOINT_IN_TIME\020\002\022\032\n\026COMPOSITE_MAX_DUR" + - "ATION\020\003\"\024\n\013ProcessData*\005\010\n\020\310\001\"\310.\n\017Proces" + - "sInstance\022\024\n\014process_type\030\001 \001(\t\022\n\n\002id\030\002 " + - "\001(\t\022\022\n\nprocess_id\030\003 \001(\t\022\027\n\017process_versi" + - "on\030\037 \001(\t\022\r\n\005state\030\004 \001(\005\022\035\n\025node_instance" + - "_counter\030\005 \001(\003\022\023\n\013process_xml\030\013 \001(\t\022\"\n\032p" + - "arent_process_instance_id\030\014 \001(\t\022\023\n\013descr" + - "iption\030\017 \001(\t\022\037\n\021signal_completion\030\020 \001(\010:" + - "\004true\022\024\n\014deploymentId\030\021 \001(\t\022\027\n\017correlati" + - "on_key\030\022 \001(\t\022\024\n\014sla_timer_id\030\023 \001(\t\022\024\n\014sl" + - "a_due_date\030\024 \001(\003\022\026\n\016sla_compliance\030\025 \001(\005" + - "\022 \n\030root_process_instance_id\030\026 \001(\t\022\022\n\nst" + - "art_date\030\027 \001(\003\022\027\n\017root_process_id\030\030 \001(\t\022" + - "\024\n\014reference_id\030\031 \001(\t\022\021\n\tinitiator\030\032 \001(\t" + - "\022\033\n\023reference_from_root\030\036 \001(\t\022\020\n\010end_dat" + - "e\030! \001(\003\022l\n\020swimlane_context\030\006 \003(\0132R.io.a" + - "utomatiko.engine.workflow.marshalling.Pr" + - "ocessInstance.SwimlaneContextInstance\022^\n" + - "\rnode_instance\030\007 \003(\0132G.io.automatiko.eng" + - "ine.workflow.marshalling.ProcessInstance" + - ".NodeInstance\022E\n\010variable\030\010 \003(\01323.io.aut" + - "omatiko.engine.workflow.marshalling.Vari" + - "able\022j\n\017exclusive_group\030\n \003(\0132Q.io.autom" + - "atiko.engine.workflow.marshalling.Proces" + - "sInstance.ExclusiveGroupInstance\022\030\n\020comp" + - "letedNodeIds\030\r \003(\t\022R\n\017iterationLevels\030\016 " + - "\003(\01329.io.automatiko.engine.workflow.mars" + - "halling.IterationLevel\022d\n\010children\030\033 \003(\013" + - "2R.io.automatiko.engine.workflow.marshal" + - "ling.ProcessInstance.ProcessInstanchChil" + - "dren\022L\n\004tags\030\034 \003(\0132>.io.automatiko.engin" + - "e.workflow.marshalling.ProcessInstance.T" + - "ag\022P\n\006errors\030\035 \003(\0132@.io.automatiko.engin" + - "e.workflow.marshalling.ProcessInstance.E" + - "rror\022^\n\rrecovery_item\030 \001(\0132G.io.automat" + - "iko.engine.workflow.marshalling.ProcessI" + - "nstance.RecoveryItem\022n\n\025finished_subproc" + - "esses\030\" \003(\0132O.io.automatiko.engine.workf" + - "low.marshalling.ProcessInstance.Finished" + - "SubProcesses\032:\n\027ProcessInstanchChildren\022" + - "\022\n\nprocess_id\030\001 \001(\t\022\013\n\003ids\030\002 \003(\t\032+\n\rInst" + - "anceTuple\022\n\n\002id\030\001 \001(\t\022\016\n\006status\030\002 \001(\005\032\207\001" + - "\n\024FinishedSubProcesses\022\022\n\nprocess_id\030\001 \001" + - "(\t\022[\n\tinstances\030\002 \003(\0132H.io.automatiko.en" + - "gine.workflow.marshalling.ProcessInstanc" + - "e.InstanceTuple\032w\n\014RecoveryItem\022\026\n\016trans" + - "action_id\030\001 \001(\t\022\017\n\007node_id\030\002 \001(\t\022\023\n\013inst" + - "ance_id\030\003 \001(\t\022\020\n\010timer_id\030\004 \001(\t\022\027\n\017state" + - "_timer_ids\030\005 \003(\t\032 \n\003Tag\022\n\n\002id\030\001 \001(\t\022\r\n\005v" + - "alue\030\002 \001(\t\032^\n\005Error\022\020\n\010error_id\030\037 \001(\t\022\025\n" + - "\rerror_node_id\030\031 \001(\t\022\025\n\rerror_message\030\032 " + - "\001(\t\022\025\n\rerror_details\030 \001(\t\032=\n\027SwimlaneCo" + - "ntextInstance\022\020\n\010swimlane\030\001 \001(\t\022\020\n\010actor" + - "_id\030\002 \001(\t\032\270\002\n\014NodeInstance\022\n\n\002id\030\001 \001(\t\022\017" + - "\n\007node_id\030\002 \001(\003\022_\n\007content\030\004 \001(\0132N.io.au" + - "tomatiko.engine.workflow.marshalling.Pro" + - "cessInstance.NodeInstanceContent\022\r\n\005leve" + - "l\030\005 \001(\005\022\024\n\014sla_timer_id\030\006 \001(\t\022\024\n\014sla_due" + - "_date\030\007 \001(\003\022\026\n\016sla_compliance\030\010 \001(\005\022\024\n\014t" + - "rigger_date\030\t \001(\003\022\024\n\014retry_job_id\030\n \001(\t\022" + - "\026\n\016retry_attempts\030\013 \001(\005\022\023\n\013node_def_id\030\014" + - " \001(\t\0328\n\026ExclusiveGroupInstance\022\036\n\026group_" + - "node_instance_id\030\001 \003(\t\032\206\031\n\023NodeInstanceC" + - "ontent\022Y\n\004type\030\001 \001(\0162K.io.automatiko.eng" + - "ine.workflow.marshalling.ProcessInstance" + - ".NodeInstanceType\022l\n\010rule_set\030\002 \001(\0132Z.io" + - ".automatiko.engine.workflow.marshalling." + - "ProcessInstance.NodeInstanceContent.Rule" + - "SetNode\022p\n\nhuman_task\030\003 \001(\0132\\.io.automat" + - "iko.engine.workflow.marshalling.ProcessI" + - "nstance.NodeInstanceContent.HumanTaskNod" + - "e\022n\n\twork_item\030\004 \001(\0132[.io.automatiko.eng" + - "ine.workflow.marshalling.ProcessInstance" + - ".NodeInstanceContent.WorkItemNode\022r\n\013sub" + - "_process\030\005 \001(\0132].io.automatiko.engine.wo" + - "rkflow.marshalling.ProcessInstance.NodeI" + - "nstanceContent.SubProcessNode\022o\n\tmilesto" + - "ne\030\006 \001(\0132\\.io.automatiko.engine.workflow" + - ".marshalling.ProcessInstance.NodeInstanc" + - "eContent.MilestoneNode\022g\n\005event\030\007 \001(\0132X." + - "io.automatiko.engine.workflow.marshallin" + - "g.ProcessInstance.NodeInstanceContent.Ev" + - "entNode\022g\n\005timer\030\010 \001(\0132X.io.automatiko.e" + - "ngine.workflow.marshalling.ProcessInstan" + - "ce.NodeInstanceContent.TimerNode\022e\n\004join" + - "\030\t \001(\0132W.io.automatiko.engine.workflow.m" + - "arshalling.ProcessInstance.NodeInstanceC" + - "ontent.JoinNode\022g\n\005state\030\n \001(\0132X.io.auto" + - "matiko.engine.workflow.marshalling.Proce" + - "ssInstance.NodeInstanceContent.StateNode" + - "\022v\n\tcomposite\030\013 \001(\0132c.io.automatiko.engi" + - "ne.workflow.marshalling.ProcessInstance." + - "NodeInstanceContent.CompositeContextNode" + - "\022l\n\010for_each\030\014 \001(\0132Z.io.automatiko.engin" + - "e.workflow.marshalling.ProcessInstance.N" + - "odeInstanceContent.ForEachNode\022r\n\013async_" + - "event\030\r \001(\0132].io.automatiko.engine.workf" + - "low.marshalling.ProcessInstance.NodeInst" + - "anceContent.AsyncEventNode\032\351\001\n\013RuleSetNo" + - "de\022\031\n\021timer_instance_id\030\001 \003(\t\022y\n\010mapEntr" + - "y\030\002 \003(\0132g.io.automatiko.engine.workflow." + - "marshalling.ProcessInstance.NodeInstance" + - "Content.RuleSetNode.TextMapEntry\022\027\n\017rule" + - "_flow_group\030\003 \001(\t\032+\n\014TextMapEntry\022\014\n\004nam" + - "e\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\032\274\001\n\rHumanTaskNode" + - "\022\024\n\014work_item_id\030\001 \001(\t\022\031\n\021timer_instance" + - "_id\030\002 \003(\t\022*\n\"error_handling_process_inst" + - "ance_id\030\003 \001(\t\022N\n\010workitem\030\004 \001(\0132<.io.aut" + - "omatiko.engine.workflow.marshalling.Huma" + - "nTaskWorkItem\032\262\001\n\014WorkItemNode\022\024\n\014work_i" + - "tem_id\030\001 \001(\t\022\031\n\021timer_instance_id\030\002 \003(\t\022" + - "*\n\"error_handling_process_instance_id\030\003 " + - "\001(\t\022E\n\010workitem\030\004 \001(\01323.io.automatiko.en" + - "gine.workflow.marshalling.WorkItem\032g\n\016Su" + - "bProcessNode\022\033\n\023process_instance_id\030\001 \001(" + - "\t\022\031\n\021timer_instance_id\030\002 \003(\t\022\035\n\025process_" + - "instance_name\030\003 \001(\t\032*\n\rMilestoneNode\022\031\n\021" + - "timer_instance_id\030\001 \003(\t\032\013\n\tEventNode\032\035\n\t" + - "TimerNode\022\020\n\010timer_id\030\001 \001(\t\032\261\001\n\010JoinNode" + - "\022t\n\007trigger\030\001 \003(\0132c.io.automatiko.engine" + - ".workflow.marshalling.ProcessInstance.No" + - "deInstanceContent.JoinNode.JoinTrigger\032/" + - "\n\013JoinTrigger\022\017\n\007node_id\030\001 \001(\003\022\017\n\007counte" + - "r\030\002 \001(\005\032&\n\tStateNode\022\031\n\021timer_instance_i" + - "d\030\001 \003(\t\032\230\003\n\024CompositeContextNode\022\031\n\021time" + - "r_instance_id\030\002 \003(\t\022E\n\010variable\030\003 \003(\01323." + - "io.automatiko.engine.workflow.marshallin" + - "g.Variable\022^\n\rnode_instance\030\004 \003(\0132G.io.a" + - "utomatiko.engine.workflow.marshalling.Pr" + - "ocessInstance.NodeInstance\022j\n\017exclusive_" + - "group\030\005 \003(\0132Q.io.automatiko.engine.workf" + - "low.marshalling.ProcessInstance.Exclusiv" + - "eGroupInstance\022R\n\017iterationLevels\030\006 \003(\0132" + - "9.io.automatiko.engine.workflow.marshall" + - "ing.IterationLevel\032\244\002\n\013ForEachNode\022^\n\rno" + - "de_instance\030\001 \003(\0132G.io.automatiko.engine" + - ".workflow.marshalling.ProcessInstance.No" + - "deInstance\022E\n\010variable\030\002 \003(\01323.io.automa" + - "tiko.engine.workflow.marshalling.Variabl" + - "e\022R\n\017iterationLevels\030\003 \003(\01329.io.automati" + - "ko.engine.workflow.marshalling.Iteration" + - "Level\022\032\n\022sequential_counter\030\004 \001(\005\032$\n\016Asy" + - "ncEventNode\022\022\n\nevent_type\030\001 \001(\t\"\276\002\n\020Node" + - "InstanceType\022\021\n\rRULE_SET_NODE\020\000\022\023\n\017HUMAN" + - "_TASK_NODE\020\001\022\022\n\016WORK_ITEM_NODE\020\002\022\023\n\017SUBP" + - "ROCESS_NODE\020\003\022\022\n\016MILESTONE_NODE\020\004\022\016\n\nEVE" + - "NT_NODE\020\005\022\016\n\nTIMER_NODE\020\006\022\r\n\tJOIN_NODE\020\007" + - "\022\016\n\nSTATE_NODE\020\010\022\032\n\026COMPOSITE_CONTEXT_NO" + - "DE\020\t\022\021\n\rFOR_EACH_NODE\020\n\022\020\n\014DYNAMIC_NODE\020" + - "\013\022\031\n\025EVENT_SUBPROCESS_NODE\020\014\022\024\n\020ASYNC_EV" + - "ENT_NODE\020\r\022\024\n\020SUB_PROCESS_NODE\020\016\"R\n\010Vari" + - "able\022\014\n\004name\030\001 \001(\t\022\026\n\016strategy_index\030\002 \001" + - "(\005\022\r\n\005value\030\003 \001(\014\022\021\n\tdata_type\030\004 \001(\t\"\255\002\n" + - "\010WorkItem\022\n\n\002id\030\001 \001(\t\022\034\n\024process_instanc" + - "es_id\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022\r\n\005state\030\004 \001(\005" + - "\022E\n\010variable\030\005 \003(\01323.io.automatiko.engin" + - "e.workflow.marshalling.Variable\022\025\n\rdeplo" + - "yment_id\030\006 \001(\t\022\030\n\020node_instance_id\030\007 \001(\t" + - "\022\017\n\007node_id\030\010 \001(\003\022\020\n\010phase_id\030\t \001(\t\022\024\n\014p" + - "hase_status\030\n \001(\t\022\022\n\nstart_date\030\013 \001(\003\022\025\n" + - "\rcomplete_date\030\014 \001(\003\"\227\004\n\021HumanTaskWorkIt" + - "em\022\n\n\002id\030\001 \001(\t\022\034\n\024process_instances_id\030\002" + - " \001(\t\022\014\n\004name\030\003 \001(\t\022\r\n\005state\030\004 \001(\005\022E\n\010var" + - "iable\030\005 \003(\01323.io.automatiko.engine.workf" + - "low.marshalling.Variable\022\025\n\rdeployment_i" + - "d\030\006 \001(\t\022\030\n\020node_instance_id\030\007 \001(\t\022\017\n\007nod" + - "e_id\030\010 \001(\003\022\020\n\010phase_id\030\t \001(\t\022\024\n\014phase_st" + - "atus\030\n \001(\t\022\022\n\nstart_date\030\013 \001(\003\022\025\n\rcomple" + - "te_date\030\014 \001(\003\022\021\n\ttask_name\030\r \001(\t\022\030\n\020task" + - "_description\030\016 \001(\t\022\025\n\rtask_priority\030\017 \001(" + - "\t\022\024\n\014actual_owner\030\020 \001(\t\022\021\n\tpot_users\030\021 \003" + - "(\t\022\022\n\npot_groups\030\022 \003(\t\022\026\n\016excluded_users" + - "\030\023 \003(\t\022\023\n\013admin_users\030\024 \003(\t\022\024\n\014admin_gro" + - "ups\030\025 \003(\t\022\033\n\023task_reference_name\030\026 \001(\t\"\360" + - "\002\n\014ProcessTimer\022T\n\005timer\030\001 \001(\0132E.io.auto" + - "matiko.engine.workflow.marshalling.Proce" + - "ssTimer.TimerInstance\022C\n\007trigger\030\002 \001(\01322" + - ".io.automatiko.engine.workflow.marshalli" + - "ng.Trigger\032\304\001\n\rTimerInstance\022\n\n\002id\030\001 \001(\003" + - "\022\020\n\010timer_id\030\002 \001(\t\022\r\n\005delay\030\003 \001(\003\022\016\n\006per" + - "iod\030\004 \001(\003\022\033\n\023process_instance_id\030\005 \001(\t\022\026" + - "\n\016activated_time\030\006 \001(\003\022\026\n\016last_triggered" + - "\030\007 \001(\003\022\023\n\013repeatLimit\030\010 \001(\005\022\024\n\014next_trig" + - "ger\030\t \001(\003\"+\n\016IterationLevel\022\n\n\002id\030\001 \001(\t\022" + - "\r\n\005level\030\002 \001(\005\"Z\n\021VariableContainer\022E\n\010v" + - "ariable\030\001 \003(\01323.io.automatiko.engine.wor" + - "kflow.marshalling.Variable:\214\001\n\020process_i" + - "nstance\0226.io.automatiko.engine.workflow." + - "marshalling.ProcessData\030\n \003(\0132:.io.autom" + - "atiko.engine.workflow.marshalling.Proces" + - "sInstance:~\n\twork_item\0226.io.automatiko.e" + - "ngine.workflow.marshalling.ProcessData\030\013" + - " \003(\01323.io.automatiko.engine.workflow.mar" + - "shalling.WorkItem:H\n\010timer_id\0226.io.autom" + - "atiko.engine.workflow.marshalling.Proces" + - "sData\030\r \001(\003:\206\001\n\rprocess_timer\0226.io.autom" + - "atiko.engine.workflow.marshalling.Proces" + - "sData\030\014 \003(\01327.io.automatiko.engine.workf" + - "low.marshalling.ProcessTimerBD\n.io.autom" + - "atiko.engine.workflow.marshalling.implB\022" + - "AutomatikoMessages" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_io_automatiko_engine_workflow_marshalling_Header_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor, - new java.lang.String[] { "Version", "Signature", "Strategy", "Payload", }); - internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor.getNestedTypes().get(0); - internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_descriptor, - new java.lang.String[] { "Id", "Name", "Data", }); - internal_static_io_automatiko_engine_workflow_marshalling_Version_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_io_automatiko_engine_workflow_marshalling_Version_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_Version_descriptor, - new java.lang.String[] { "VersionMajor", "VersionMinor", "VersionRevision", }); - internal_static_io_automatiko_engine_workflow_marshalling_Signature_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_io_automatiko_engine_workflow_marshalling_Signature_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_Signature_descriptor, - new java.lang.String[] { "KeyAlias", "Signature", }); - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor, - new java.lang.String[] { "Type", "Cron", "Interval", "Pit", "Cmdt", }); - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor.getNestedTypes().get(0); - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "RepeatLimit", "RepeatCount", "CronExpression", "NextFireTime", "CalendarName", }); - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor.getNestedTypes().get(1); - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "RepeatLimit", "RepeatCount", "NextFireTime", "Period", "CalendarName", }); - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor.getNestedTypes().get(2); - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_descriptor, - new java.lang.String[] { "NextFireTime", }); - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor.getNestedTypes().get(3); - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor, - new java.lang.String[] { "MaxDurationTimestamp", "TimerCurrentDate", "TimerTrigger", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_descriptor, - new java.lang.String[] { }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor, - new java.lang.String[] { "ProcessType", "Id", "ProcessId", "ProcessVersion", "State", "NodeInstanceCounter", "ProcessXml", "ParentProcessInstanceId", "Description", "SignalCompletion", "DeploymentId", "CorrelationKey", "SlaTimerId", "SlaDueDate", "SlaCompliance", "RootProcessInstanceId", "StartDate", "RootProcessId", "ReferenceId", "Initiator", "ReferenceFromRoot", "EndDate", "SwimlaneContext", "NodeInstance", "Variable", "ExclusiveGroup", "CompletedNodeIds", "IterationLevels", "Children", "Tags", "Errors", "RecoveryItem", "FinishedSubprocesses", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor.getNestedTypes().get(0); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_descriptor, - new java.lang.String[] { "ProcessId", "Ids", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor.getNestedTypes().get(1); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_descriptor, - new java.lang.String[] { "Id", "Status", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor.getNestedTypes().get(2); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_descriptor, - new java.lang.String[] { "ProcessId", "Instances", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor.getNestedTypes().get(3); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_descriptor, - new java.lang.String[] { "TransactionId", "NodeId", "InstanceId", "TimerId", "StateTimerIds", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor.getNestedTypes().get(4); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_descriptor, - new java.lang.String[] { "Id", "Value", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor.getNestedTypes().get(5); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_descriptor, - new java.lang.String[] { "ErrorId", "ErrorNodeId", "ErrorMessage", "ErrorDetails", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor.getNestedTypes().get(6); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor, - new java.lang.String[] { "Swimlane", "ActorId", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor.getNestedTypes().get(7); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_descriptor, - new java.lang.String[] { "Id", "NodeId", "Content", "Level", "SlaTimerId", "SlaDueDate", "SlaCompliance", "TriggerDate", "RetryJobId", "RetryAttempts", "NodeDefId", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor.getNestedTypes().get(8); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor, - new java.lang.String[] { "GroupNodeInstanceId", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor.getNestedTypes().get(9); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor, - new java.lang.String[] { "Type", "RuleSet", "HumanTask", "WorkItem", "SubProcess", "Milestone", "Event", "Timer", "Join", "State", "Composite", "ForEach", "AsyncEvent", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor.getNestedTypes().get(0); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor, - new java.lang.String[] { "TimerInstanceId", "MapEntry", "RuleFlowGroup", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor.getNestedTypes().get(0); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor, - new java.lang.String[] { "Name", "Value", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor.getNestedTypes().get(1); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor, - new java.lang.String[] { "WorkItemId", "TimerInstanceId", "ErrorHandlingProcessInstanceId", "Workitem", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor.getNestedTypes().get(2); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor, - new java.lang.String[] { "WorkItemId", "TimerInstanceId", "ErrorHandlingProcessInstanceId", "Workitem", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor.getNestedTypes().get(3); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor, - new java.lang.String[] { "ProcessInstanceId", "TimerInstanceId", "ProcessInstanceName", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor.getNestedTypes().get(4); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor, - new java.lang.String[] { "TimerInstanceId", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor.getNestedTypes().get(5); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor, - new java.lang.String[] { }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor.getNestedTypes().get(6); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor, - new java.lang.String[] { "TimerId", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor.getNestedTypes().get(7); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor, - new java.lang.String[] { "Trigger", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor.getNestedTypes().get(0); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor, - new java.lang.String[] { "NodeId", "Counter", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor.getNestedTypes().get(8); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor, - new java.lang.String[] { "TimerInstanceId", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor.getNestedTypes().get(9); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor, - new java.lang.String[] { "TimerInstanceId", "Variable", "NodeInstance", "ExclusiveGroup", "IterationLevels", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor.getNestedTypes().get(10); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor, - new java.lang.String[] { "NodeInstance", "Variable", "IterationLevels", "SequentialCounter", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor.getNestedTypes().get(11); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor, - new java.lang.String[] { "EventType", }); - internal_static_io_automatiko_engine_workflow_marshalling_Variable_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_io_automatiko_engine_workflow_marshalling_Variable_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_Variable_descriptor, - new java.lang.String[] { "Name", "StrategyIndex", "Value", "DataType", }); - internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_descriptor, - new java.lang.String[] { "Id", "ProcessInstancesId", "Name", "State", "Variable", "DeploymentId", "NodeInstanceId", "NodeId", "PhaseId", "PhaseStatus", "StartDate", "CompleteDate", }); - internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_descriptor, - new java.lang.String[] { "Id", "ProcessInstancesId", "Name", "State", "Variable", "DeploymentId", "NodeInstanceId", "NodeId", "PhaseId", "PhaseStatus", "StartDate", "CompleteDate", "TaskName", "TaskDescription", "TaskPriority", "ActualOwner", "PotUsers", "PotGroups", "ExcludedUsers", "AdminUsers", "AdminGroups", "TaskReferenceName", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor, - new java.lang.String[] { "Timer", "Trigger", }); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_descriptor = - internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor.getNestedTypes().get(0); - internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_descriptor, - new java.lang.String[] { "Id", "TimerId", "Delay", "Period", "ProcessInstanceId", "ActivatedTime", "LastTriggered", "RepeatLimit", "NextTrigger", }); - internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_descriptor, - new java.lang.String[] { "Id", "Level", }); - internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_descriptor, - new java.lang.String[] { "Variable", }); - processInstance.internalInit(descriptor.getExtensions().get(0)); - workItem.internalInit(descriptor.getExtensions().get(1)); - timerId.internalInit(descriptor.getExtensions().get(2)); - processTimer.internalInit(descriptor.getExtensions().get(3)); - } - - // @@protoc_insertion_point(outer_class_scope) + public static final int PROCESS_INSTANCE_FIELD_NUMBER = 10; + /** + * extend .io.automatiko.engine.workflow.marshalling.ProcessData { ... } + */ + public static final com.google.protobuf.GeneratedMessage.GeneratedExtension> processInstance = com.google.protobuf.GeneratedMessage + .newFileScopedGeneratedExtension( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.getDefaultInstance()); + public static final int WORK_ITEM_FIELD_NUMBER = 11; + /** + * extend .io.automatiko.engine.workflow.marshalling.ProcessData { ... } + */ + public static final com.google.protobuf.GeneratedMessage.GeneratedExtension> workItem = com.google.protobuf.GeneratedMessage + .newFileScopedGeneratedExtension( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.WorkItem.getDefaultInstance()); + public static final int TIMER_ID_FIELD_NUMBER = 13; + /** + * extend .io.automatiko.engine.workflow.marshalling.ProcessData { ... } + */ + public static final com.google.protobuf.GeneratedMessage.GeneratedExtension timerId = com.google.protobuf.GeneratedMessage + .newFileScopedGeneratedExtension( + java.lang.Long.class, + null); + public static final int PROCESS_TIMER_FIELD_NUMBER = 12; + /** + * extend .io.automatiko.engine.workflow.marshalling.ProcessData { ... } + */ + public static final com.google.protobuf.GeneratedMessage.GeneratedExtension> processTimer = com.google.protobuf.GeneratedMessage + .newFileScopedGeneratedExtension( + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.class, + io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessTimer.getDefaultInstance()); + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_Header_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_Version_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_Version_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_Signature_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_Signature_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_Trigger_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_Variable_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_Variable_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_descriptor; + private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + static { + java.lang.String[] descriptorData = { + "\n2io/automatiko/marshalling/automatikome" + + "ssages.proto\022)io.automatiko.engine.workf" + + "low.marshalling\"\272\002\n\006Header\022C\n\007version\030\001 " + + "\001(\01322.io.automatiko.engine.workflow.mars" + + "halling.Version\022G\n\tsignature\030\004 \001(\01324.io." + + "automatiko.engine.workflow.marshalling.S" + + "ignature\022Q\n\010strategy\030\t \003(\0132?.io.automati" + + "ko.engine.workflow.marshalling.Header.St" + + "rategyIndex\022\017\n\007payload\030\n \001(\014\0327\n\rStrategy" + + "Index\022\n\n\002id\030\001 \001(\005\022\014\n\004name\030\002 \001(\t\022\014\n\004data\030" + + "\003 \001(\014*\005\010d\020\310\001\"Q\n\007Version\022\025\n\rversion_major" + + "\030\001 \001(\005\022\025\n\rversion_minor\030\002 \001(\005\022\030\n\020version" + + "_revision\030\003 \001(\005\"1\n\tSignature\022\021\n\tkey_alia" + + "s\030\001 \001(\t\022\021\n\tsignature\030\002 \001(\014\"\242\010\n\007Trigger\022L" + + "\n\004type\030\001 \001(\0162>.io.automatiko.engine.work" + + "flow.marshalling.Trigger.TriggerType\022L\n\004" + + "cron\030\002 \001(\0132>.io.automatiko.engine.workfl" + + "ow.marshalling.Trigger.CronTrigger\022T\n\010in" + + "terval\030\003 \001(\0132B.io.automatiko.engine.work" + + "flow.marshalling.Trigger.IntervalTrigger" + + "\022R\n\003pit\030\004 \001(\0132E.io.automatiko.engine.wor" + + "kflow.marshalling.Trigger.PointInTimeTri" + + "gger\022\\\n\004cmdt\030\005 \001(\0132N.io.automatiko.engin" + + "e.workflow.marshalling.Trigger.Composite" + + "MaxDurationTrigger\032\247\001\n\013CronTrigger\022\022\n\nst" + + "art_time\030\001 \001(\003\022\020\n\010end_time\030\002 \001(\003\022\024\n\014repe" + + "at_limit\030\003 \001(\005\022\024\n\014repeat_count\030\004 \001(\005\022\027\n\017" + + "cron_expression\030\005 \001(\t\022\026\n\016next_fire_time\030" + + "\006 \001(\003\022\025\n\rcalendar_name\030\007 \003(\t\032\242\001\n\017Interva" + + "lTrigger\022\022\n\nstart_time\030\001 \001(\003\022\020\n\010end_time" + + "\030\002 \001(\003\022\024\n\014repeat_limit\030\003 \001(\005\022\024\n\014repeat_c" + + "ount\030\004 \001(\005\022\026\n\016next_fire_time\030\006 \001(\003\022\016\n\006pe" + + "riod\030\007 \001(\003\022\025\n\rcalendar_name\030\010 \003(\t\032,\n\022Poi" + + "ntInTimeTrigger\022\026\n\016next_fire_time\030\001 \001(\003\032" + + "\237\001\n\033CompositeMaxDurationTrigger\022\034\n\024maxDu" + + "rationTimestamp\030\001 \001(\003\022\030\n\020timerCurrentDat" + + "e\030\002 \001(\003\022H\n\014timerTrigger\030\003 \001(\01322.io.autom" + + "atiko.engine.workflow.marshalling.Trigge" + + "r\"T\n\013TriggerType\022\010\n\004CRON\020\000\022\014\n\010INTERVAL\020\001" + + "\022\021\n\rPOINT_IN_TIME\020\002\022\032\n\026COMPOSITE_MAX_DUR" + + "ATION\020\003\"\024\n\013ProcessData*\005\010\n\020\310\001\"\310.\n\017Proces" + + "sInstance\022\024\n\014process_type\030\001 \001(\t\022\n\n\002id\030\002 " + + "\001(\t\022\022\n\nprocess_id\030\003 \001(\t\022\027\n\017process_versi" + + "on\030\037 \001(\t\022\r\n\005state\030\004 \001(\005\022\035\n\025node_instance" + + "_counter\030\005 \001(\003\022\023\n\013process_xml\030\013 \001(\t\022\"\n\032p" + + "arent_process_instance_id\030\014 \001(\t\022\023\n\013descr" + + "iption\030\017 \001(\t\022\037\n\021signal_completion\030\020 \001(\010:" + + "\004true\022\024\n\014deploymentId\030\021 \001(\t\022\027\n\017correlati" + + "on_key\030\022 \001(\t\022\024\n\014sla_timer_id\030\023 \001(\t\022\024\n\014sl" + + "a_due_date\030\024 \001(\003\022\026\n\016sla_compliance\030\025 \001(\005" + + "\022 \n\030root_process_instance_id\030\026 \001(\t\022\022\n\nst" + + "art_date\030\027 \001(\003\022\027\n\017root_process_id\030\030 \001(\t\022" + + "\024\n\014reference_id\030\031 \001(\t\022\021\n\tinitiator\030\032 \001(\t" + + "\022\033\n\023reference_from_root\030\036 \001(\t\022\020\n\010end_dat" + + "e\030! \001(\003\022l\n\020swimlane_context\030\006 \003(\0132R.io.a" + + "utomatiko.engine.workflow.marshalling.Pr" + + "ocessInstance.SwimlaneContextInstance\022^\n" + + "\rnode_instance\030\007 \003(\0132G.io.automatiko.eng" + + "ine.workflow.marshalling.ProcessInstance" + + ".NodeInstance\022E\n\010variable\030\010 \003(\01323.io.aut" + + "omatiko.engine.workflow.marshalling.Vari" + + "able\022j\n\017exclusive_group\030\n \003(\0132Q.io.autom" + + "atiko.engine.workflow.marshalling.Proces" + + "sInstance.ExclusiveGroupInstance\022\030\n\020comp" + + "letedNodeIds\030\r \003(\t\022R\n\017iterationLevels\030\016 " + + "\003(\01329.io.automatiko.engine.workflow.mars" + + "halling.IterationLevel\022d\n\010children\030\033 \003(\013" + + "2R.io.automatiko.engine.workflow.marshal" + + "ling.ProcessInstance.ProcessInstanchChil" + + "dren\022L\n\004tags\030\034 \003(\0132>.io.automatiko.engin" + + "e.workflow.marshalling.ProcessInstance.T" + + "ag\022P\n\006errors\030\035 \003(\0132@.io.automatiko.engin" + + "e.workflow.marshalling.ProcessInstance.E" + + "rror\022^\n\rrecovery_item\030 \001(\0132G.io.automat" + + "iko.engine.workflow.marshalling.ProcessI" + + "nstance.RecoveryItem\022n\n\025finished_subproc" + + "esses\030\" \003(\0132O.io.automatiko.engine.workf" + + "low.marshalling.ProcessInstance.Finished" + + "SubProcesses\032:\n\027ProcessInstanchChildren\022" + + "\022\n\nprocess_id\030\001 \001(\t\022\013\n\003ids\030\002 \003(\t\032+\n\rInst" + + "anceTuple\022\n\n\002id\030\001 \001(\t\022\016\n\006status\030\002 \001(\005\032\207\001" + + "\n\024FinishedSubProcesses\022\022\n\nprocess_id\030\001 \001" + + "(\t\022[\n\tinstances\030\002 \003(\0132H.io.automatiko.en" + + "gine.workflow.marshalling.ProcessInstanc" + + "e.InstanceTuple\032w\n\014RecoveryItem\022\026\n\016trans" + + "action_id\030\001 \001(\t\022\017\n\007node_id\030\002 \001(\t\022\023\n\013inst" + + "ance_id\030\003 \001(\t\022\020\n\010timer_id\030\004 \001(\t\022\027\n\017state" + + "_timer_ids\030\005 \003(\t\032 \n\003Tag\022\n\n\002id\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t\032^\n\005Error\022\020\n\010error_id\030\037 \001(\t\022\025\n" + + "\rerror_node_id\030\031 \001(\t\022\025\n\rerror_message\030\032 " + + "\001(\t\022\025\n\rerror_details\030 \001(\t\032=\n\027SwimlaneCo" + + "ntextInstance\022\020\n\010swimlane\030\001 \001(\t\022\020\n\010actor" + + "_id\030\002 \001(\t\032\270\002\n\014NodeInstance\022\n\n\002id\030\001 \001(\t\022\017" + + "\n\007node_id\030\002 \001(\003\022_\n\007content\030\004 \001(\0132N.io.au" + + "tomatiko.engine.workflow.marshalling.Pro" + + "cessInstance.NodeInstanceContent\022\r\n\005leve" + + "l\030\005 \001(\005\022\024\n\014sla_timer_id\030\006 \001(\t\022\024\n\014sla_due" + + "_date\030\007 \001(\003\022\026\n\016sla_compliance\030\010 \001(\005\022\024\n\014t" + + "rigger_date\030\t \001(\003\022\024\n\014retry_job_id\030\n \001(\t\022" + + "\026\n\016retry_attempts\030\013 \001(\005\022\023\n\013node_def_id\030\014" + + " \001(\t\0328\n\026ExclusiveGroupInstance\022\036\n\026group_" + + "node_instance_id\030\001 \003(\t\032\206\031\n\023NodeInstanceC" + + "ontent\022Y\n\004type\030\001 \001(\0162K.io.automatiko.eng" + + "ine.workflow.marshalling.ProcessInstance" + + ".NodeInstanceType\022l\n\010rule_set\030\002 \001(\0132Z.io" + + ".automatiko.engine.workflow.marshalling." + + "ProcessInstance.NodeInstanceContent.Rule" + + "SetNode\022p\n\nhuman_task\030\003 \001(\0132\\.io.automat" + + "iko.engine.workflow.marshalling.ProcessI" + + "nstance.NodeInstanceContent.HumanTaskNod" + + "e\022n\n\twork_item\030\004 \001(\0132[.io.automatiko.eng" + + "ine.workflow.marshalling.ProcessInstance" + + ".NodeInstanceContent.WorkItemNode\022r\n\013sub" + + "_process\030\005 \001(\0132].io.automatiko.engine.wo" + + "rkflow.marshalling.ProcessInstance.NodeI" + + "nstanceContent.SubProcessNode\022o\n\tmilesto" + + "ne\030\006 \001(\0132\\.io.automatiko.engine.workflow" + + ".marshalling.ProcessInstance.NodeInstanc" + + "eContent.MilestoneNode\022g\n\005event\030\007 \001(\0132X." + + "io.automatiko.engine.workflow.marshallin" + + "g.ProcessInstance.NodeInstanceContent.Ev" + + "entNode\022g\n\005timer\030\010 \001(\0132X.io.automatiko.e" + + "ngine.workflow.marshalling.ProcessInstan" + + "ce.NodeInstanceContent.TimerNode\022e\n\004join" + + "\030\t \001(\0132W.io.automatiko.engine.workflow.m" + + "arshalling.ProcessInstance.NodeInstanceC" + + "ontent.JoinNode\022g\n\005state\030\n \001(\0132X.io.auto" + + "matiko.engine.workflow.marshalling.Proce" + + "ssInstance.NodeInstanceContent.StateNode" + + "\022v\n\tcomposite\030\013 \001(\0132c.io.automatiko.engi" + + "ne.workflow.marshalling.ProcessInstance." + + "NodeInstanceContent.CompositeContextNode" + + "\022l\n\010for_each\030\014 \001(\0132Z.io.automatiko.engin" + + "e.workflow.marshalling.ProcessInstance.N" + + "odeInstanceContent.ForEachNode\022r\n\013async_" + + "event\030\r \001(\0132].io.automatiko.engine.workf" + + "low.marshalling.ProcessInstance.NodeInst" + + "anceContent.AsyncEventNode\032\351\001\n\013RuleSetNo" + + "de\022\031\n\021timer_instance_id\030\001 \003(\t\022y\n\010mapEntr" + + "y\030\002 \003(\0132g.io.automatiko.engine.workflow." + + "marshalling.ProcessInstance.NodeInstance" + + "Content.RuleSetNode.TextMapEntry\022\027\n\017rule" + + "_flow_group\030\003 \001(\t\032+\n\014TextMapEntry\022\014\n\004nam" + + "e\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\032\274\001\n\rHumanTaskNode" + + "\022\024\n\014work_item_id\030\001 \001(\t\022\031\n\021timer_instance" + + "_id\030\002 \003(\t\022*\n\"error_handling_process_inst" + + "ance_id\030\003 \001(\t\022N\n\010workitem\030\004 \001(\0132<.io.aut" + + "omatiko.engine.workflow.marshalling.Huma" + + "nTaskWorkItem\032\262\001\n\014WorkItemNode\022\024\n\014work_i" + + "tem_id\030\001 \001(\t\022\031\n\021timer_instance_id\030\002 \003(\t\022" + + "*\n\"error_handling_process_instance_id\030\003 " + + "\001(\t\022E\n\010workitem\030\004 \001(\01323.io.automatiko.en" + + "gine.workflow.marshalling.WorkItem\032g\n\016Su" + + "bProcessNode\022\033\n\023process_instance_id\030\001 \001(" + + "\t\022\031\n\021timer_instance_id\030\002 \003(\t\022\035\n\025process_" + + "instance_name\030\003 \001(\t\032*\n\rMilestoneNode\022\031\n\021" + + "timer_instance_id\030\001 \003(\t\032\013\n\tEventNode\032\035\n\t" + + "TimerNode\022\020\n\010timer_id\030\001 \001(\t\032\261\001\n\010JoinNode" + + "\022t\n\007trigger\030\001 \003(\0132c.io.automatiko.engine" + + ".workflow.marshalling.ProcessInstance.No" + + "deInstanceContent.JoinNode.JoinTrigger\032/" + + "\n\013JoinTrigger\022\017\n\007node_id\030\001 \001(\003\022\017\n\007counte" + + "r\030\002 \001(\005\032&\n\tStateNode\022\031\n\021timer_instance_i" + + "d\030\001 \003(\t\032\230\003\n\024CompositeContextNode\022\031\n\021time" + + "r_instance_id\030\002 \003(\t\022E\n\010variable\030\003 \003(\01323." + + "io.automatiko.engine.workflow.marshallin" + + "g.Variable\022^\n\rnode_instance\030\004 \003(\0132G.io.a" + + "utomatiko.engine.workflow.marshalling.Pr" + + "ocessInstance.NodeInstance\022j\n\017exclusive_" + + "group\030\005 \003(\0132Q.io.automatiko.engine.workf" + + "low.marshalling.ProcessInstance.Exclusiv" + + "eGroupInstance\022R\n\017iterationLevels\030\006 \003(\0132" + + "9.io.automatiko.engine.workflow.marshall" + + "ing.IterationLevel\032\244\002\n\013ForEachNode\022^\n\rno" + + "de_instance\030\001 \003(\0132G.io.automatiko.engine" + + ".workflow.marshalling.ProcessInstance.No" + + "deInstance\022E\n\010variable\030\002 \003(\01323.io.automa" + + "tiko.engine.workflow.marshalling.Variabl" + + "e\022R\n\017iterationLevels\030\003 \003(\01329.io.automati" + + "ko.engine.workflow.marshalling.Iteration" + + "Level\022\032\n\022sequential_counter\030\004 \001(\005\032$\n\016Asy" + + "ncEventNode\022\022\n\nevent_type\030\001 \001(\t\"\276\002\n\020Node" + + "InstanceType\022\021\n\rRULE_SET_NODE\020\000\022\023\n\017HUMAN" + + "_TASK_NODE\020\001\022\022\n\016WORK_ITEM_NODE\020\002\022\023\n\017SUBP" + + "ROCESS_NODE\020\003\022\022\n\016MILESTONE_NODE\020\004\022\016\n\nEVE" + + "NT_NODE\020\005\022\016\n\nTIMER_NODE\020\006\022\r\n\tJOIN_NODE\020\007" + + "\022\016\n\nSTATE_NODE\020\010\022\032\n\026COMPOSITE_CONTEXT_NO" + + "DE\020\t\022\021\n\rFOR_EACH_NODE\020\n\022\020\n\014DYNAMIC_NODE\020" + + "\013\022\031\n\025EVENT_SUBPROCESS_NODE\020\014\022\024\n\020ASYNC_EV" + + "ENT_NODE\020\r\022\024\n\020SUB_PROCESS_NODE\020\016\"f\n\010Vari" + + "able\022\014\n\004name\030\001 \001(\t\022\026\n\016strategy_index\030\002 \001" + + "(\005\022\r\n\005value\030\003 \001(\014\022\021\n\tdata_type\030\004 \001(\t\022\022\n\n" + + "data_types\030\005 \001(\t\"\255\002\n\010WorkItem\022\n\n\002id\030\001 \001(" + + "\t\022\034\n\024process_instances_id\030\002 \001(\t\022\014\n\004name\030" + + "\003 \001(\t\022\r\n\005state\030\004 \001(\005\022E\n\010variable\030\005 \003(\01323" + + ".io.automatiko.engine.workflow.marshalli" + + "ng.Variable\022\025\n\rdeployment_id\030\006 \001(\t\022\030\n\020no" + + "de_instance_id\030\007 \001(\t\022\017\n\007node_id\030\010 \001(\003\022\020\n" + + "\010phase_id\030\t \001(\t\022\024\n\014phase_status\030\n \001(\t\022\022\n" + + "\nstart_date\030\013 \001(\003\022\025\n\rcomplete_date\030\014 \001(\003" + + "\"\227\004\n\021HumanTaskWorkItem\022\n\n\002id\030\001 \001(\t\022\034\n\024pr" + + "ocess_instances_id\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022\r" + + "\n\005state\030\004 \001(\005\022E\n\010variable\030\005 \003(\01323.io.aut" + + "omatiko.engine.workflow.marshalling.Vari" + + "able\022\025\n\rdeployment_id\030\006 \001(\t\022\030\n\020node_inst" + + "ance_id\030\007 \001(\t\022\017\n\007node_id\030\010 \001(\003\022\020\n\010phase_" + + "id\030\t \001(\t\022\024\n\014phase_status\030\n \001(\t\022\022\n\nstart_" + + "date\030\013 \001(\003\022\025\n\rcomplete_date\030\014 \001(\003\022\021\n\ttas" + + "k_name\030\r \001(\t\022\030\n\020task_description\030\016 \001(\t\022\025" + + "\n\rtask_priority\030\017 \001(\t\022\024\n\014actual_owner\030\020 " + + "\001(\t\022\021\n\tpot_users\030\021 \003(\t\022\022\n\npot_groups\030\022 \003" + + "(\t\022\026\n\016excluded_users\030\023 \003(\t\022\023\n\013admin_user" + + "s\030\024 \003(\t\022\024\n\014admin_groups\030\025 \003(\t\022\033\n\023task_re" + + "ference_name\030\026 \001(\t\"\360\002\n\014ProcessTimer\022T\n\005t" + + "imer\030\001 \001(\0132E.io.automatiko.engine.workfl" + + "ow.marshalling.ProcessTimer.TimerInstanc" + + "e\022C\n\007trigger\030\002 \001(\01322.io.automatiko.engin" + + "e.workflow.marshalling.Trigger\032\304\001\n\rTimer" + + "Instance\022\n\n\002id\030\001 \001(\003\022\020\n\010timer_id\030\002 \001(\t\022\r" + + "\n\005delay\030\003 \001(\003\022\016\n\006period\030\004 \001(\003\022\033\n\023process" + + "_instance_id\030\005 \001(\t\022\026\n\016activated_time\030\006 \001" + + "(\003\022\026\n\016last_triggered\030\007 \001(\003\022\023\n\013repeatLimi" + + "t\030\010 \001(\005\022\024\n\014next_trigger\030\t \001(\003\"+\n\016Iterati" + + "onLevel\022\n\n\002id\030\001 \001(\t\022\r\n\005level\030\002 \001(\005\"Z\n\021Va" + + "riableContainer\022E\n\010variable\030\001 \003(\01323.io.a" + + "utomatiko.engine.workflow.marshalling.Va" + + "riable:\214\001\n\020process_instance\0226.io.automat" + + "iko.engine.workflow.marshalling.ProcessD" + + "ata\030\n \003(\0132:.io.automatiko.engine.workflo" + + "w.marshalling.ProcessInstance:~\n\twork_it" + + "em\0226.io.automatiko.engine.workflow.marsh" + + "alling.ProcessData\030\013 \003(\01323.io.automatiko" + + ".engine.workflow.marshalling.WorkItem:H\n" + + "\010timer_id\0226.io.automatiko.engine.workflo" + + "w.marshalling.ProcessData\030\r \001(\003:\206\001\n\rproc" + + "ess_timer\0226.io.automatiko.engine.workflo" + + "w.marshalling.ProcessData\030\014 \003(\01327.io.aut" + + "omatiko.engine.workflow.marshalling.Proc" + + "essTimerBD\n.io.automatiko.engine.workflo" + + "w.marshalling.implB\022AutomatikoMessages" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor = getDescriptor().getMessageTypes().get(0); + internal_static_io_automatiko_engine_workflow_marshalling_Header_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor, + new java.lang.String[] { "Version", "Signature", "Strategy", "Payload", }); + internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_Header_descriptor + .getNestedTypes().get(0); + internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_Header_StrategyIndex_descriptor, + new java.lang.String[] { "Id", "Name", "Data", }); + internal_static_io_automatiko_engine_workflow_marshalling_Version_descriptor = getDescriptor().getMessageTypes().get(1); + internal_static_io_automatiko_engine_workflow_marshalling_Version_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_Version_descriptor, + new java.lang.String[] { "VersionMajor", "VersionMinor", "VersionRevision", }); + internal_static_io_automatiko_engine_workflow_marshalling_Signature_descriptor = getDescriptor().getMessageTypes() + .get(2); + internal_static_io_automatiko_engine_workflow_marshalling_Signature_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_Signature_descriptor, + new java.lang.String[] { "KeyAlias", "Signature", }); + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor = getDescriptor().getMessageTypes().get(3); + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor, + new java.lang.String[] { "Type", "Cron", "Interval", "Pit", "Cmdt", }); + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor + .getNestedTypes().get(0); + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CronTrigger_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "RepeatLimit", "RepeatCount", "CronExpression", "NextFireTime", + "CalendarName", }); + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor + .getNestedTypes().get(1); + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_IntervalTrigger_descriptor, + new java.lang.String[] { "StartTime", "EndTime", "RepeatLimit", "RepeatCount", "NextFireTime", "Period", + "CalendarName", }); + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor + .getNestedTypes().get(2); + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_PointInTimeTrigger_descriptor, + new java.lang.String[] { "NextFireTime", }); + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_Trigger_descriptor + .getNestedTypes().get(3); + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor, + new java.lang.String[] { "MaxDurationTimestamp", "TimerCurrentDate", "TimerTrigger", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_descriptor = getDescriptor().getMessageTypes() + .get(4); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessData_descriptor, + new java.lang.String[] {}); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor = getDescriptor().getMessageTypes() + .get(5); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor, + new java.lang.String[] { "ProcessType", "Id", "ProcessId", "ProcessVersion", "State", "NodeInstanceCounter", + "ProcessXml", "ParentProcessInstanceId", "Description", "SignalCompletion", "DeploymentId", + "CorrelationKey", "SlaTimerId", "SlaDueDate", "SlaCompliance", "RootProcessInstanceId", "StartDate", + "RootProcessId", "ReferenceId", "Initiator", "ReferenceFromRoot", "EndDate", "SwimlaneContext", + "NodeInstance", "Variable", "ExclusiveGroup", "CompletedNodeIds", "IterationLevels", "Children", "Tags", + "Errors", "RecoveryItem", "FinishedSubprocesses", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor + .getNestedTypes().get(0); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ProcessInstanchChildren_descriptor, + new java.lang.String[] { "ProcessId", "Ids", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor + .getNestedTypes().get(1); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_InstanceTuple_descriptor, + new java.lang.String[] { "Id", "Status", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor + .getNestedTypes().get(2); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_FinishedSubProcesses_descriptor, + new java.lang.String[] { "ProcessId", "Instances", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor + .getNestedTypes().get(3); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_RecoveryItem_descriptor, + new java.lang.String[] { "TransactionId", "NodeId", "InstanceId", "TimerId", "StateTimerIds", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor + .getNestedTypes().get(4); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Tag_descriptor, + new java.lang.String[] { "Id", "Value", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor + .getNestedTypes().get(5); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_Error_descriptor, + new java.lang.String[] { "ErrorId", "ErrorNodeId", "ErrorMessage", "ErrorDetails", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor + .getNestedTypes().get(6); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor, + new java.lang.String[] { "Swimlane", "ActorId", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor + .getNestedTypes().get(7); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstance_descriptor, + new java.lang.String[] { "Id", "NodeId", "Content", "Level", "SlaTimerId", "SlaDueDate", "SlaCompliance", + "TriggerDate", "RetryJobId", "RetryAttempts", "NodeDefId", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor + .getNestedTypes().get(8); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor, + new java.lang.String[] { "GroupNodeInstanceId", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_descriptor + .getNestedTypes().get(9); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor, + new java.lang.String[] { "Type", "RuleSet", "HumanTask", "WorkItem", "SubProcess", "Milestone", "Event", + "Timer", "Join", "State", "Composite", "ForEach", "AsyncEvent", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor + .getNestedTypes().get(0); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor, + new java.lang.String[] { "TimerInstanceId", "MapEntry", "RuleFlowGroup", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor + .getNestedTypes().get(0); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor, + new java.lang.String[] { "Name", "Value", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor + .getNestedTypes().get(1); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor, + new java.lang.String[] { "WorkItemId", "TimerInstanceId", "ErrorHandlingProcessInstanceId", "Workitem", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor + .getNestedTypes().get(2); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor, + new java.lang.String[] { "WorkItemId", "TimerInstanceId", "ErrorHandlingProcessInstanceId", "Workitem", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor + .getNestedTypes().get(3); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor, + new java.lang.String[] { "ProcessInstanceId", "TimerInstanceId", "ProcessInstanceName", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor + .getNestedTypes().get(4); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor, + new java.lang.String[] { "TimerInstanceId", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor + .getNestedTypes().get(5); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor, + new java.lang.String[] {}); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor + .getNestedTypes().get(6); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor, + new java.lang.String[] { "TimerId", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor + .getNestedTypes().get(7); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor, + new java.lang.String[] { "Trigger", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor + .getNestedTypes().get(0); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor, + new java.lang.String[] { "NodeId", "Counter", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor + .getNestedTypes().get(8); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor, + new java.lang.String[] { "TimerInstanceId", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor + .getNestedTypes().get(9); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor, + new java.lang.String[] { "TimerInstanceId", "Variable", "NodeInstance", "ExclusiveGroup", "IterationLevels", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor + .getNestedTypes().get(10); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor, + new java.lang.String[] { "NodeInstance", "Variable", "IterationLevels", "SequentialCounter", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_descriptor + .getNestedTypes().get(11); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor, + new java.lang.String[] { "EventType", }); + internal_static_io_automatiko_engine_workflow_marshalling_Variable_descriptor = getDescriptor().getMessageTypes() + .get(6); + internal_static_io_automatiko_engine_workflow_marshalling_Variable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_Variable_descriptor, + new java.lang.String[] { "Name", "StrategyIndex", "Value", "DataType", "DataTypes", }); + internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_descriptor = getDescriptor().getMessageTypes() + .get(7); + internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_WorkItem_descriptor, + new java.lang.String[] { "Id", "ProcessInstancesId", "Name", "State", "Variable", "DeploymentId", + "NodeInstanceId", "NodeId", "PhaseId", "PhaseStatus", "StartDate", "CompleteDate", }); + internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_descriptor = getDescriptor() + .getMessageTypes().get(8); + internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_HumanTaskWorkItem_descriptor, + new java.lang.String[] { "Id", "ProcessInstancesId", "Name", "State", "Variable", "DeploymentId", + "NodeInstanceId", "NodeId", "PhaseId", "PhaseStatus", "StartDate", "CompleteDate", "TaskName", + "TaskDescription", "TaskPriority", "ActualOwner", "PotUsers", "PotGroups", "ExcludedUsers", + "AdminUsers", "AdminGroups", "TaskReferenceName", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor = getDescriptor().getMessageTypes() + .get(9); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor, + new java.lang.String[] { "Timer", "Trigger", }); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_descriptor = internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_descriptor + .getNestedTypes().get(0); + internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_ProcessTimer_TimerInstance_descriptor, + new java.lang.String[] { "Id", "TimerId", "Delay", "Period", "ProcessInstanceId", "ActivatedTime", + "LastTriggered", "RepeatLimit", "NextTrigger", }); + internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_descriptor = getDescriptor().getMessageTypes() + .get(10); + internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_IterationLevel_descriptor, + new java.lang.String[] { "Id", "Level", }); + internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_descriptor = getDescriptor() + .getMessageTypes().get(11); + internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_io_automatiko_engine_workflow_marshalling_VariableContainer_descriptor, + new java.lang.String[] { "Variable", }); + processInstance.internalInit(descriptor.getExtensions().get(0)); + workItem.internalInit(descriptor.getExtensions().get(1)); + timerId.internalInit(descriptor.getExtensions().get(2)); + processTimer.internalInit(descriptor.getExtensions().get(3)); + } + + // @@protoc_insertion_point(outer_class_scope) } diff --git a/workflow/automatiko-workflow-core/src/main/java/io/automatiko/engine/workflow/marshalling/impl/JBPMMessages.java b/workflow/automatiko-workflow-core/src/main/java/io/automatiko/engine/workflow/marshalling/impl/JBPMMessages.java deleted file mode 100644 index 102ea3986..000000000 --- a/workflow/automatiko-workflow-core/src/main/java/io/automatiko/engine/workflow/marshalling/impl/JBPMMessages.java +++ /dev/null @@ -1,50369 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: org/jbpm/marshalling/jbpmmessages.proto - -package io.automatiko.engine.workflow.marshalling.impl; - -public final class JBPMMessages { - private JBPMMessages() { - } - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) { - registry.add(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.processInstance); - registry.add(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.workItem); - registry.add(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.timerId); - registry.add(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.processTimer); - } - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - public interface HeaderOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.Header) - com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
{ - boolean hasVersion(); - - /** - *
-		 * Drools version for which this message was created
-		 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - * - * @return The version. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version getVersion(); - - /** - *
-		 * Drools version for which this message was created
-		 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VersionOrBuilder getVersionOrBuilder(); - - /** - *
-		 * Signature to prevent security concerns
-		 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - * - * @return Whether the signature field is set. - */ - boolean hasSignature(); - - /** - *
-		 * Signature to prevent security concerns
-		 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - * - * @return The signature. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature getSignature(); - - /** - *
-		 * Signature to prevent security concerns
-		 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.SignatureOrBuilder getSignatureOrBuilder(); - - /** - *
-		 * The list of strategy classes used for this serialization
-		 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - java.util.List getStrategyList(); - - /** - *
-		 * The list of strategy classes used for this serialization
-		 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex getStrategy(int index); - - /** - *
-		 * The list of strategy classes used for this serialization
-		 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - int getStrategyCount(); - - /** - *
-		 * The list of strategy classes used for this serialization
-		 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - java.util.List getStrategyOrBuilderList(); - - /** - *
-		 * The list of strategy classes used for this serialization
-		 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndexOrBuilder getStrategyOrBuilder( - int index); - - /** - *
-		 * byte blobs
-		 * 
- * - * optional bytes payload = 10; - * - * @return Whether the payload field is set. - */ - boolean hasPayload(); - - /** - *
-		 * byte blobs
-		 * 
- * - * optional bytes payload = 10; - * - * @return The payload. - */ - com.google.protobuf.ByteString getPayload(); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Header} - */ - public static final class Header extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage
implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.Header) - HeaderOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Header.newBuilder() to construct. - private Header( - com.google.protobuf.GeneratedMessageV3.ExtendableBuilder builder) { - super(builder); - } - - private Header() { - strategy_ = java.util.Collections.emptyList(); - payload_ = com.google.protobuf.ByteString.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Header(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Header(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.Builder subBuilder = null; - if (((bitField0_ & 0x00000001) != 0)) { - subBuilder = version_.toBuilder(); - } - version_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(version_); - version_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000001; - break; - } - case 34: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) != 0)) { - subBuilder = signature_.toBuilder(); - } - signature_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(signature_); - signature_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - case 74: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - strategy_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - strategy_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex.PARSER, - extensionRegistry)); - break; - } - case 82: { - bitField0_ |= 0x00000004; - payload_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { - strategy_ = java.util.Collections.unmodifiableList(strategy_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Header_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Header_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.Builder.class); - } - - public interface StrategyIndexOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.Header.StrategyIndex) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int32 id = 1; - * - * @return Whether the id field is set. - */ - boolean hasId(); - - /** - * optional int32 id = 1; - * - * @return The id. - */ - int getId(); - - /** - * optional string name = 2; - * - * @return Whether the name field is set. - */ - boolean hasName(); - - /** - * optional string name = 2; - * - * @return The name. - */ - java.lang.String getName(); - - /** - * optional string name = 2; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * optional bytes data = 3; - * - * @return Whether the data field is set. - */ - boolean hasData(); - - /** - * optional bytes data = 3; - * - * @return The data. - */ - com.google.protobuf.ByteString getData(); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Header.StrategyIndex} - */ - public static final class StrategyIndex extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.Header.StrategyIndex) - StrategyIndexOrBuilder { - private static final long serialVersionUID = 0L; - - // Use StrategyIndex.newBuilder() to construct. - private StrategyIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private StrategyIndex() { - name_ = ""; - data_ = com.google.protobuf.ByteString.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new StrategyIndex(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private StrategyIndex(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - id_ = input.readInt32(); - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - name_ = bs; - break; - } - case 26: { - bitField0_ |= 0x00000004; - data_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Header_StrategyIndex_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Header_StrategyIndex_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private int id_; - - /** - * optional int32 id = 1; - * - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int32 id = 1; - * - * @return The id. - */ - @java.lang.Override - public int getId() { - return id_; - } - - public static final int NAME_FIELD_NUMBER = 2; - private volatile java.lang.Object name_; - - /** - * optional string name = 2; - * - * @return Whether the name field is set. - */ - @java.lang.Override - public boolean hasName() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string name = 2; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } - } - - /** - * optional string name = 2; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DATA_FIELD_NUMBER = 3; - private com.google.protobuf.ByteString data_; - - /** - * optional bytes data = 3; - * - * @return Whether the data field is set. - */ - @java.lang.Override - public boolean hasData() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional bytes data = 3; - * - * @return The data. - */ - @java.lang.Override - public com.google.protobuf.ByteString getData() { - return data_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt32(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeBytes(3, data_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, data_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex) obj; - - if (hasId() != other.hasId()) - return false; - if (hasId()) { - if (getId() != other.getId()) - return false; - } - if (hasName() != other.hasName()) - return false; - if (hasName()) { - if (!getName().equals(other.getName())) - return false; - } - if (hasData() != other.hasData()) - return false; - if (hasData()) { - if (!getData().equals(other.getData())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId(); - } - if (hasName()) { - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - } - if (hasData()) { - hash = (37 * hash) + DATA_FIELD_NUMBER; - hash = (53 * hash) + getData().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Header.StrategyIndex} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.Header.StrategyIndex) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndexOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Header_StrategyIndex_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Header_StrategyIndex_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.Header.StrategyIndex.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - name_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - data_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Header_StrategyIndex_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.id_ = id_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.name_ = name_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.data_ = data_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex - .getDefaultInstance()) - return this; - if (other.hasId()) { - setId(other.getId()); - } - if (other.hasName()) { - bitField0_ |= 0x00000002; - name_ = other.name_; - onChanged(); - } - if (other.hasData()) { - setData(other.getData()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private int id_; - - /** - * optional int32 id = 1; - * - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int32 id = 1; - * - * @return The id. - */ - @java.lang.Override - public int getId() { - return id_; - } - - /** - * optional int32 id = 1; - * - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId(int value) { - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - - /** - * optional int32 id = 1; - * - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = 0; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - - /** - * optional string name = 2; - * - * @return Whether the name field is set. - */ - public boolean hasName() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string name = 2; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string name = 2; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string name = 2; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - name_ = value; - onChanged(); - return this; - } - - /** - * optional string name = 2; - * - * @return This builder for chaining. - */ - public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000002); - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - - /** - * optional string name = 2; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - name_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; - - /** - * optional bytes data = 3; - * - * @return Whether the data field is set. - */ - @java.lang.Override - public boolean hasData() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional bytes data = 3; - * - * @return The data. - */ - @java.lang.Override - public com.google.protobuf.ByteString getData() { - return data_; - } - - /** - * optional bytes data = 3; - * - * @param value The data to set. - * @return This builder for chaining. - */ - public Builder setData(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - data_ = value; - onChanged(); - return this; - } - - /** - * optional bytes data = 3; - * - * @return This builder for chaining. - */ - public Builder clearData() { - bitField0_ = (bitField0_ & ~0x00000004); - data_ = getDefaultInstance().getData(); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.Header.StrategyIndex) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.Header.StrategyIndex) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StrategyIndex parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StrategyIndex(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private int bitField0_; - public static final int VERSION_FIELD_NUMBER = 1; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version version_; - - /** - *
-		 * Drools version for which this message was created
-		 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - * - * @return Whether the version field is set. - */ - @java.lang.Override - public boolean hasVersion() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-		 * Drools version for which this message was created
-		 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - * - * @return The version. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version getVersion() { - return version_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.getDefaultInstance() - : version_; - } - - /** - *
-		 * Drools version for which this message was created
-		 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VersionOrBuilder getVersionOrBuilder() { - return version_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.getDefaultInstance() - : version_; - } - - public static final int SIGNATURE_FIELD_NUMBER = 4; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature signature_; - - /** - *
-		 * Signature to prevent security concerns
-		 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - * - * @return Whether the signature field is set. - */ - @java.lang.Override - public boolean hasSignature() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - *
-		 * Signature to prevent security concerns
-		 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - * - * @return The signature. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature getSignature() { - return signature_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.getDefaultInstance() - : signature_; - } - - /** - *
-		 * Signature to prevent security concerns
-		 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.SignatureOrBuilder getSignatureOrBuilder() { - return signature_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.getDefaultInstance() - : signature_; - } - - public static final int STRATEGY_FIELD_NUMBER = 9; - private java.util.List strategy_; - - /** - *
-		 * The list of strategy classes used for this serialization
-		 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - @java.lang.Override - public java.util.List getStrategyList() { - return strategy_; - } - - /** - *
-		 * The list of strategy classes used for this serialization
-		 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - @java.lang.Override - public java.util.List getStrategyOrBuilderList() { - return strategy_; - } - - /** - *
-		 * The list of strategy classes used for this serialization
-		 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - @java.lang.Override - public int getStrategyCount() { - return strategy_.size(); - } - - /** - *
-		 * The list of strategy classes used for this serialization
-		 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex getStrategy(int index) { - return strategy_.get(index); - } - - /** - *
-		 * The list of strategy classes used for this serialization
-		 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndexOrBuilder getStrategyOrBuilder( - int index) { - return strategy_.get(index); - } - - public static final int PAYLOAD_FIELD_NUMBER = 10; - private com.google.protobuf.ByteString payload_; - - /** - *
-		 * byte blobs
-		 * 
- * - * optional bytes payload = 10; - * - * @return Whether the payload field is set. - */ - @java.lang.Override - public boolean hasPayload() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - *
-		 * byte blobs
-		 * 
- * - * optional bytes payload = 10; - * - * @return The payload. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPayload() { - return payload_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - if (!extensionsAreInitialized()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter extensionWriter = newExtensionWriter(); - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getVersion()); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(4, getSignature()); - } - for (int i = 0; i < strategy_.size(); i++) { - output.writeMessage(9, strategy_.get(i)); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeBytes(10, payload_); - } - extensionWriter.writeUntil(200, output); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getVersion()); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getSignature()); - } - for (int i = 0; i < strategy_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, strategy_.get(i)); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(10, payload_); - } - size += extensionsSerializedSize(); - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header) obj; - - if (hasVersion() != other.hasVersion()) - return false; - if (hasVersion()) { - if (!getVersion().equals(other.getVersion())) - return false; - } - if (hasSignature() != other.hasSignature()) - return false; - if (hasSignature()) { - if (!getSignature().equals(other.getSignature())) - return false; - } - if (!getStrategyList().equals(other.getStrategyList())) - return false; - if (hasPayload() != other.hasPayload()) - return false; - if (hasPayload()) { - if (!getPayload().equals(other.getPayload())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - if (!getExtensionFields().equals(other.getExtensionFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasVersion()) { - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); - } - if (hasSignature()) { - hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; - hash = (53 * hash) + getSignature().hashCode(); - } - if (getStrategyCount() > 0) { - hash = (37 * hash) + STRATEGY_FIELD_NUMBER; - hash = (53 * hash) + getStrategyList().hashCode(); - } - if (hasPayload()) { - hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; - hash = (53 * hash) + getPayload().hashCode(); - } - hash = hashFields(hash, getExtensionFields()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header parseFrom( - com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Header} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.ExtendableBuilder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.Header) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HeaderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Header_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Header_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.Builder.class); - } - - // Construct using org.jbpm.marshalling.impl.JBPMMessages.Header.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getVersionFieldBuilder(); - getSignatureFieldBuilder(); - getStrategyFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (versionBuilder_ == null) { - version_ = null; - } else { - versionBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - if (signatureBuilder_ == null) { - signature_ = null; - } else { - signatureBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - if (strategyBuilder_ == null) { - strategy_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - strategyBuilder_.clear(); - } - payload_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Header_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - if (versionBuilder_ == null) { - result.version_ = version_; - } else { - result.version_ = versionBuilder_.build(); - } - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - if (signatureBuilder_ == null) { - result.signature_ = signature_; - } else { - result.signature_ = signatureBuilder_.build(); - } - to_bitField0_ |= 0x00000002; - } - if (strategyBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - strategy_ = java.util.Collections.unmodifiableList(strategy_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.strategy_ = strategy_; - } else { - result.strategy_ = strategyBuilder_.build(); - } - if (((from_bitField0_ & 0x00000008) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.payload_ = payload_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder setExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension extension, - Type value) { - return super.setExtension(extension, value); - } - - @java.lang.Override - public Builder setExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension> extension, - int index, Type value) { - return super.setExtension(extension, index, value); - } - - @java.lang.Override - public Builder addExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension> extension, - Type value) { - return super.addExtension(extension, value); - } - - @java.lang.Override - public Builder clearExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension extension) { - return super.clearExtension(extension); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.getDefaultInstance()) - return this; - if (other.hasVersion()) { - mergeVersion(other.getVersion()); - } - if (other.hasSignature()) { - mergeSignature(other.getSignature()); - } - if (strategyBuilder_ == null) { - if (!other.strategy_.isEmpty()) { - if (strategy_.isEmpty()) { - strategy_ = other.strategy_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureStrategyIsMutable(); - strategy_.addAll(other.strategy_); - } - onChanged(); - } - } else { - if (!other.strategy_.isEmpty()) { - if (strategyBuilder_.isEmpty()) { - strategyBuilder_.dispose(); - strategyBuilder_ = null; - strategy_ = other.strategy_; - bitField0_ = (bitField0_ & ~0x00000004); - strategyBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getStrategyFieldBuilder() - : null; - } else { - strategyBuilder_.addAllMessages(other.strategy_); - } - } - } - if (other.hasPayload()) { - setPayload(other.getPayload()); - } - this.mergeExtensionFields(other); - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - if (!extensionsAreInitialized()) { - return false; - } - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version version_; - private com.google.protobuf.SingleFieldBuilderV3 versionBuilder_; - - /** - *
-			 * Drools version for which this message was created
-			 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - * - * @return Whether the version field is set. - */ - public boolean hasVersion() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - *
-			 * Drools version for which this message was created
-			 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - * - * @return The version. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version getVersion() { - if (versionBuilder_ == null) { - return version_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.getDefaultInstance() - : version_; - } else { - return versionBuilder_.getMessage(); - } - } - - /** - *
-			 * Drools version for which this message was created
-			 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - */ - public Builder setVersion(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version value) { - if (versionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - version_ = value; - onChanged(); - } else { - versionBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - return this; - } - - /** - *
-			 * Drools version for which this message was created
-			 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - */ - public Builder setVersion( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.Builder builderForValue) { - if (versionBuilder_ == null) { - version_ = builderForValue.build(); - onChanged(); - } else { - versionBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - return this; - } - - /** - *
-			 * Drools version for which this message was created
-			 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - */ - public Builder mergeVersion(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version value) { - if (versionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && version_ != null - && version_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version - .getDefaultInstance()) { - version_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version - .newBuilder(version_).mergeFrom(value).buildPartial(); - } else { - version_ = value; - } - onChanged(); - } else { - versionBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000001; - return this; - } - - /** - *
-			 * Drools version for which this message was created
-			 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - */ - public Builder clearVersion() { - if (versionBuilder_ == null) { - version_ = null; - onChanged(); - } else { - versionBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - /** - *
-			 * Drools version for which this message was created
-			 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.Builder getVersionBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getVersionFieldBuilder().getBuilder(); - } - - /** - *
-			 * Drools version for which this message was created
-			 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VersionOrBuilder getVersionOrBuilder() { - if (versionBuilder_ != null) { - return versionBuilder_.getMessageOrBuilder(); - } else { - return version_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.getDefaultInstance() - : version_; - } - } - - /** - *
-			 * Drools version for which this message was created
-			 * 
- * - * optional .org.jbpm.marshalling.Version version = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3 getVersionFieldBuilder() { - if (versionBuilder_ == null) { - versionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getVersion(), getParentForChildren(), isClean()); - version_ = null; - } - return versionBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature signature_; - private com.google.protobuf.SingleFieldBuilderV3 signatureBuilder_; - - /** - *
-			 * Signature to prevent security concerns
-			 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - * - * @return Whether the signature field is set. - */ - public boolean hasSignature() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - *
-			 * Signature to prevent security concerns
-			 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - * - * @return The signature. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature getSignature() { - if (signatureBuilder_ == null) { - return signature_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.getDefaultInstance() - : signature_; - } else { - return signatureBuilder_.getMessage(); - } - } - - /** - *
-			 * Signature to prevent security concerns
-			 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - */ - public Builder setSignature(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature value) { - if (signatureBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - signature_ = value; - onChanged(); - } else { - signatureBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - return this; - } - - /** - *
-			 * Signature to prevent security concerns
-			 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - */ - public Builder setSignature( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.Builder builderForValue) { - if (signatureBuilder_ == null) { - signature_ = builderForValue.build(); - onChanged(); - } else { - signatureBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - return this; - } - - /** - *
-			 * Signature to prevent security concerns
-			 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - */ - public Builder mergeSignature(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature value) { - if (signatureBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && signature_ != null - && signature_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature - .getDefaultInstance()) { - signature_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature - .newBuilder(signature_).mergeFrom(value).buildPartial(); - } else { - signature_ = value; - } - onChanged(); - } else { - signatureBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - return this; - } - - /** - *
-			 * Signature to prevent security concerns
-			 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - */ - public Builder clearSignature() { - if (signatureBuilder_ == null) { - signature_ = null; - onChanged(); - } else { - signatureBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - /** - *
-			 * Signature to prevent security concerns
-			 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.Builder getSignatureBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getSignatureFieldBuilder().getBuilder(); - } - - /** - *
-			 * Signature to prevent security concerns
-			 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.SignatureOrBuilder getSignatureOrBuilder() { - if (signatureBuilder_ != null) { - return signatureBuilder_.getMessageOrBuilder(); - } else { - return signature_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.getDefaultInstance() - : signature_; - } - } - - /** - *
-			 * Signature to prevent security concerns
-			 * 
- * - * optional .org.jbpm.marshalling.Signature signature = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3 getSignatureFieldBuilder() { - if (signatureBuilder_ == null) { - signatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getSignature(), getParentForChildren(), isClean()); - signature_ = null; - } - return signatureBuilder_; - } - - private java.util.List strategy_ = java.util.Collections - .emptyList(); - - private void ensureStrategyIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - strategy_ = new java.util.ArrayList( - strategy_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 strategyBuilder_; - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public java.util.List getStrategyList() { - if (strategyBuilder_ == null) { - return java.util.Collections.unmodifiableList(strategy_); - } else { - return strategyBuilder_.getMessageList(); - } - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public int getStrategyCount() { - if (strategyBuilder_ == null) { - return strategy_.size(); - } else { - return strategyBuilder_.getCount(); - } - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex getStrategy( - int index) { - if (strategyBuilder_ == null) { - return strategy_.get(index); - } else { - return strategyBuilder_.getMessage(index); - } - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder setStrategy(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex value) { - if (strategyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureStrategyIsMutable(); - strategy_.set(index, value); - onChanged(); - } else { - strategyBuilder_.setMessage(index, value); - } - return this; - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder setStrategy(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex.Builder builderForValue) { - if (strategyBuilder_ == null) { - ensureStrategyIsMutable(); - strategy_.set(index, builderForValue.build()); - onChanged(); - } else { - strategyBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder addStrategy( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex value) { - if (strategyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureStrategyIsMutable(); - strategy_.add(value); - onChanged(); - } else { - strategyBuilder_.addMessage(value); - } - return this; - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder addStrategy(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex value) { - if (strategyBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureStrategyIsMutable(); - strategy_.add(index, value); - onChanged(); - } else { - strategyBuilder_.addMessage(index, value); - } - return this; - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder addStrategy( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex.Builder builderForValue) { - if (strategyBuilder_ == null) { - ensureStrategyIsMutable(); - strategy_.add(builderForValue.build()); - onChanged(); - } else { - strategyBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder addStrategy(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex.Builder builderForValue) { - if (strategyBuilder_ == null) { - ensureStrategyIsMutable(); - strategy_.add(index, builderForValue.build()); - onChanged(); - } else { - strategyBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder addAllStrategy( - java.lang.Iterable values) { - if (strategyBuilder_ == null) { - ensureStrategyIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, strategy_); - onChanged(); - } else { - strategyBuilder_.addAllMessages(values); - } - return this; - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder clearStrategy() { - if (strategyBuilder_ == null) { - strategy_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - strategyBuilder_.clear(); - } - return this; - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public Builder removeStrategy(int index) { - if (strategyBuilder_ == null) { - ensureStrategyIsMutable(); - strategy_.remove(index); - onChanged(); - } else { - strategyBuilder_.remove(index); - } - return this; - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex.Builder getStrategyBuilder( - int index) { - return getStrategyFieldBuilder().getBuilder(index); - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndexOrBuilder getStrategyOrBuilder( - int index) { - if (strategyBuilder_ == null) { - return strategy_.get(index); - } else { - return strategyBuilder_.getMessageOrBuilder(index); - } - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public java.util.List getStrategyOrBuilderList() { - if (strategyBuilder_ != null) { - return strategyBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(strategy_); - } - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex.Builder addStrategyBuilder() { - return getStrategyFieldBuilder() - .addBuilder(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex - .getDefaultInstance()); - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex.Builder addStrategyBuilder( - int index) { - return getStrategyFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header.StrategyIndex - .getDefaultInstance()); - } - - /** - *
-			 * The list of strategy classes used for this serialization
-			 * 
- * - * repeated .org.jbpm.marshalling.Header.StrategyIndex strategy = 9; - */ - public java.util.List getStrategyBuilderList() { - return getStrategyFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getStrategyFieldBuilder() { - if (strategyBuilder_ == null) { - strategyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - strategy_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - strategy_ = null; - } - return strategyBuilder_; - } - - private com.google.protobuf.ByteString payload_ = com.google.protobuf.ByteString.EMPTY; - - /** - *
-			 * byte blobs
-			 * 
- * - * optional bytes payload = 10; - * - * @return Whether the payload field is set. - */ - @java.lang.Override - public boolean hasPayload() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - *
-			 * byte blobs
-			 * 
- * - * optional bytes payload = 10; - * - * @return The payload. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPayload() { - return payload_; - } - - /** - *
-			 * byte blobs
-			 * 
- * - * optional bytes payload = 10; - * - * @param value The payload to set. - * @return This builder for chaining. - */ - public Builder setPayload(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - payload_ = value; - onChanged(); - return this; - } - - /** - *
-			 * byte blobs
-			 * 
- * - * optional bytes payload = 10; - * - * @return This builder for chaining. - */ - public Builder clearPayload() { - bitField0_ = (bitField0_ & ~0x00000008); - payload_ = getDefaultInstance().getPayload(); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.Header) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.Header) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser
() { - @java.lang.Override - public Header parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Header(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser
parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser
getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Header getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface VersionOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.Version) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int32 version_major = 1; - * - * @return Whether the versionMajor field is set. - */ - boolean hasVersionMajor(); - - /** - * optional int32 version_major = 1; - * - * @return The versionMajor. - */ - int getVersionMajor(); - - /** - * optional int32 version_minor = 2; - * - * @return Whether the versionMinor field is set. - */ - boolean hasVersionMinor(); - - /** - * optional int32 version_minor = 2; - * - * @return The versionMinor. - */ - int getVersionMinor(); - - /** - * optional int32 version_revision = 3; - * - * @return Whether the versionRevision field is set. - */ - boolean hasVersionRevision(); - - /** - * optional int32 version_revision = 3; - * - * @return The versionRevision. - */ - int getVersionRevision(); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Version} - */ - public static final class Version extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.Version) - VersionOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Version.newBuilder() to construct. - private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Version() { - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Version(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Version(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - versionMajor_ = input.readInt32(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - versionMinor_ = input.readInt32(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - versionRevision_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Version_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Version_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.Builder.class); - } - - private int bitField0_; - public static final int VERSION_MAJOR_FIELD_NUMBER = 1; - private int versionMajor_; - - /** - * optional int32 version_major = 1; - * - * @return Whether the versionMajor field is set. - */ - @java.lang.Override - public boolean hasVersionMajor() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int32 version_major = 1; - * - * @return The versionMajor. - */ - @java.lang.Override - public int getVersionMajor() { - return versionMajor_; - } - - public static final int VERSION_MINOR_FIELD_NUMBER = 2; - private int versionMinor_; - - /** - * optional int32 version_minor = 2; - * - * @return Whether the versionMinor field is set. - */ - @java.lang.Override - public boolean hasVersionMinor() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int32 version_minor = 2; - * - * @return The versionMinor. - */ - @java.lang.Override - public int getVersionMinor() { - return versionMinor_; - } - - public static final int VERSION_REVISION_FIELD_NUMBER = 3; - private int versionRevision_; - - /** - * optional int32 version_revision = 3; - * - * @return Whether the versionRevision field is set. - */ - @java.lang.Override - public boolean hasVersionRevision() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional int32 version_revision = 3; - * - * @return The versionRevision. - */ - @java.lang.Override - public int getVersionRevision() { - return versionRevision_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt32(1, versionMajor_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt32(2, versionMinor_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeInt32(3, versionRevision_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, versionMajor_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, versionMinor_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, versionRevision_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version) obj; - - if (hasVersionMajor() != other.hasVersionMajor()) - return false; - if (hasVersionMajor()) { - if (getVersionMajor() != other.getVersionMajor()) - return false; - } - if (hasVersionMinor() != other.hasVersionMinor()) - return false; - if (hasVersionMinor()) { - if (getVersionMinor() != other.getVersionMinor()) - return false; - } - if (hasVersionRevision() != other.hasVersionRevision()) - return false; - if (hasVersionRevision()) { - if (getVersionRevision() != other.getVersionRevision()) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasVersionMajor()) { - hash = (37 * hash) + VERSION_MAJOR_FIELD_NUMBER; - hash = (53 * hash) + getVersionMajor(); - } - if (hasVersionMinor()) { - hash = (37 * hash) + VERSION_MINOR_FIELD_NUMBER; - hash = (53 * hash) + getVersionMinor(); - } - if (hasVersionRevision()) { - hash = (37 * hash) + VERSION_REVISION_FIELD_NUMBER; - hash = (53 * hash) + getVersionRevision(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version parseFrom( - com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Version} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.Version) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VersionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Version_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Version_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.Builder.class); - } - - // Construct using org.jbpm.marshalling.impl.JBPMMessages.Version.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - versionMajor_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - versionMinor_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - versionRevision_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Version_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.versionMajor_ = versionMajor_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.versionMinor_ = versionMinor_; - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.versionRevision_ = versionRevision_; - to_bitField0_ |= 0x00000004; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version.getDefaultInstance()) - return this; - if (other.hasVersionMajor()) { - setVersionMajor(other.getVersionMajor()); - } - if (other.hasVersionMinor()) { - setVersionMinor(other.getVersionMinor()); - } - if (other.hasVersionRevision()) { - setVersionRevision(other.getVersionRevision()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private int versionMajor_; - - /** - * optional int32 version_major = 1; - * - * @return Whether the versionMajor field is set. - */ - @java.lang.Override - public boolean hasVersionMajor() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int32 version_major = 1; - * - * @return The versionMajor. - */ - @java.lang.Override - public int getVersionMajor() { - return versionMajor_; - } - - /** - * optional int32 version_major = 1; - * - * @param value The versionMajor to set. - * @return This builder for chaining. - */ - public Builder setVersionMajor(int value) { - bitField0_ |= 0x00000001; - versionMajor_ = value; - onChanged(); - return this; - } - - /** - * optional int32 version_major = 1; - * - * @return This builder for chaining. - */ - public Builder clearVersionMajor() { - bitField0_ = (bitField0_ & ~0x00000001); - versionMajor_ = 0; - onChanged(); - return this; - } - - private int versionMinor_; - - /** - * optional int32 version_minor = 2; - * - * @return Whether the versionMinor field is set. - */ - @java.lang.Override - public boolean hasVersionMinor() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int32 version_minor = 2; - * - * @return The versionMinor. - */ - @java.lang.Override - public int getVersionMinor() { - return versionMinor_; - } - - /** - * optional int32 version_minor = 2; - * - * @param value The versionMinor to set. - * @return This builder for chaining. - */ - public Builder setVersionMinor(int value) { - bitField0_ |= 0x00000002; - versionMinor_ = value; - onChanged(); - return this; - } - - /** - * optional int32 version_minor = 2; - * - * @return This builder for chaining. - */ - public Builder clearVersionMinor() { - bitField0_ = (bitField0_ & ~0x00000002); - versionMinor_ = 0; - onChanged(); - return this; - } - - private int versionRevision_; - - /** - * optional int32 version_revision = 3; - * - * @return Whether the versionRevision field is set. - */ - @java.lang.Override - public boolean hasVersionRevision() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional int32 version_revision = 3; - * - * @return The versionRevision. - */ - @java.lang.Override - public int getVersionRevision() { - return versionRevision_; - } - - /** - * optional int32 version_revision = 3; - * - * @param value The versionRevision to set. - * @return This builder for chaining. - */ - public Builder setVersionRevision(int value) { - bitField0_ |= 0x00000004; - versionRevision_ = value; - onChanged(); - return this; - } - - /** - * optional int32 version_revision = 3; - * - * @return This builder for chaining. - */ - public Builder clearVersionRevision() { - bitField0_ = (bitField0_ & ~0x00000004); - versionRevision_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.Version) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.Version) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Version getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SignatureOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.Signature) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string key_alias = 1; - * - * @return Whether the keyAlias field is set. - */ - boolean hasKeyAlias(); - - /** - * optional string key_alias = 1; - * - * @return The keyAlias. - */ - java.lang.String getKeyAlias(); - - /** - * optional string key_alias = 1; - * - * @return The bytes for keyAlias. - */ - com.google.protobuf.ByteString getKeyAliasBytes(); - - /** - * optional bytes signature = 2; - * - * @return Whether the signature field is set. - */ - boolean hasSignature(); - - /** - * optional bytes signature = 2; - * - * @return The signature. - */ - com.google.protobuf.ByteString getSignature(); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Signature} - */ - public static final class Signature extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.Signature) - SignatureOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Signature.newBuilder() to construct. - private Signature(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Signature() { - keyAlias_ = ""; - signature_ = com.google.protobuf.ByteString.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Signature(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Signature(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - keyAlias_ = bs; - break; - } - case 18: { - bitField0_ |= 0x00000002; - signature_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Signature_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Signature_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.Builder.class); - } - - private int bitField0_; - public static final int KEY_ALIAS_FIELD_NUMBER = 1; - private volatile java.lang.Object keyAlias_; - - /** - * optional string key_alias = 1; - * - * @return Whether the keyAlias field is set. - */ - @java.lang.Override - public boolean hasKeyAlias() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string key_alias = 1; - * - * @return The keyAlias. - */ - @java.lang.Override - public java.lang.String getKeyAlias() { - java.lang.Object ref = keyAlias_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - keyAlias_ = s; - } - return s; - } - } - - /** - * optional string key_alias = 1; - * - * @return The bytes for keyAlias. - */ - @java.lang.Override - public com.google.protobuf.ByteString getKeyAliasBytes() { - java.lang.Object ref = keyAlias_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - keyAlias_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SIGNATURE_FIELD_NUMBER = 2; - private com.google.protobuf.ByteString signature_; - - /** - * optional bytes signature = 2; - * - * @return Whether the signature field is set. - */ - @java.lang.Override - public boolean hasSignature() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional bytes signature = 2; - * - * @return The signature. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSignature() { - return signature_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyAlias_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeBytes(2, signature_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, keyAlias_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, signature_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature) obj; - - if (hasKeyAlias() != other.hasKeyAlias()) - return false; - if (hasKeyAlias()) { - if (!getKeyAlias().equals(other.getKeyAlias())) - return false; - } - if (hasSignature() != other.hasSignature()) - return false; - if (hasSignature()) { - if (!getSignature().equals(other.getSignature())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasKeyAlias()) { - hash = (37 * hash) + KEY_ALIAS_FIELD_NUMBER; - hash = (53 * hash) + getKeyAlias().hashCode(); - } - if (hasSignature()) { - hash = (37 * hash) + SIGNATURE_FIELD_NUMBER; - hash = (53 * hash) + getSignature().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature parseFrom( - com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Signature} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.Signature) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.SignatureOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Signature_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Signature_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.Builder.class); - } - - // Construct using org.jbpm.marshalling.impl.JBPMMessages.Signature.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - keyAlias_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - signature_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Signature_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.keyAlias_ = keyAlias_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.signature_ = signature_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature.getDefaultInstance()) - return this; - if (other.hasKeyAlias()) { - bitField0_ |= 0x00000001; - keyAlias_ = other.keyAlias_; - onChanged(); - } - if (other.hasSignature()) { - setSignature(other.getSignature()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object keyAlias_ = ""; - - /** - * optional string key_alias = 1; - * - * @return Whether the keyAlias field is set. - */ - public boolean hasKeyAlias() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string key_alias = 1; - * - * @return The keyAlias. - */ - public java.lang.String getKeyAlias() { - java.lang.Object ref = keyAlias_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - keyAlias_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string key_alias = 1; - * - * @return The bytes for keyAlias. - */ - public com.google.protobuf.ByteString getKeyAliasBytes() { - java.lang.Object ref = keyAlias_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - keyAlias_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string key_alias = 1; - * - * @param value The keyAlias to set. - * @return This builder for chaining. - */ - public Builder setKeyAlias(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - keyAlias_ = value; - onChanged(); - return this; - } - - /** - * optional string key_alias = 1; - * - * @return This builder for chaining. - */ - public Builder clearKeyAlias() { - bitField0_ = (bitField0_ & ~0x00000001); - keyAlias_ = getDefaultInstance().getKeyAlias(); - onChanged(); - return this; - } - - /** - * optional string key_alias = 1; - * - * @param value The bytes for keyAlias to set. - * @return This builder for chaining. - */ - public Builder setKeyAliasBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - keyAlias_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.ByteString signature_ = com.google.protobuf.ByteString.EMPTY; - - /** - * optional bytes signature = 2; - * - * @return Whether the signature field is set. - */ - @java.lang.Override - public boolean hasSignature() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional bytes signature = 2; - * - * @return The signature. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSignature() { - return signature_; - } - - /** - * optional bytes signature = 2; - * - * @param value The signature to set. - * @return This builder for chaining. - */ - public Builder setSignature(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - signature_ = value; - onChanged(); - return this; - } - - /** - * optional bytes signature = 2; - * - * @return This builder for chaining. - */ - public Builder clearSignature() { - bitField0_ = (bitField0_ & ~0x00000002); - signature_ = getDefaultInstance().getSignature(); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.Signature) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.Signature) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Signature parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Signature(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Signature getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TriggerOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.Trigger) - com.google.protobuf.MessageOrBuilder { - - /** - * optional .org.jbpm.marshalling.Trigger.TriggerType type = 1; - * - * @return Whether the type field is set. - */ - boolean hasType(); - - /** - * optional .org.jbpm.marshalling.Trigger.TriggerType type = 1; - * - * @return The type. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.TriggerType getType(); - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - * - * @return Whether the cron field is set. - */ - boolean hasCron(); - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - * - * @return The cron. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger getCron(); - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTriggerOrBuilder getCronOrBuilder(); - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - * - * @return Whether the interval field is set. - */ - boolean hasInterval(); - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - * - * @return The interval. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger getInterval(); - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTriggerOrBuilder getIntervalOrBuilder(); - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - * - * @return Whether the pit field is set. - */ - boolean hasPit(); - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - * - * @return The pit. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger getPit(); - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTriggerOrBuilder getPitOrBuilder(); - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - * - * @return Whether the cmdt field is set. - */ - boolean hasCmdt(); - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - * - * @return The cmdt. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger getCmdt(); - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTriggerOrBuilder getCmdtOrBuilder(); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Trigger} - */ - public static final class Trigger extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.Trigger) - TriggerOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Trigger.newBuilder() to construct. - private Trigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Trigger() { - type_ = 0; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Trigger(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Trigger(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - int rawValue = input.readEnum(); - @SuppressWarnings("deprecation") - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.TriggerType value = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.TriggerType - .valueOf(rawValue); - if (value == null) { - unknownFields.mergeVarintField(1, rawValue); - } else { - bitField0_ |= 0x00000001; - type_ = rawValue; - } - break; - } - case 18: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) != 0)) { - subBuilder = cron_.toBuilder(); - } - cron_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cron_); - cron_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - case 26: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) != 0)) { - subBuilder = interval_.toBuilder(); - } - interval_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(interval_); - interval_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - case 34: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) != 0)) { - subBuilder = pit_.toBuilder(); - } - pit_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(pit_); - pit_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000008; - break; - } - case 42: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger.Builder subBuilder = null; - if (((bitField0_ & 0x00000010) != 0)) { - subBuilder = cmdt_.toBuilder(); - } - cmdt_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(cmdt_); - cmdt_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000010; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.Builder.class); - } - - /** - * Protobuf enum {@code org.jbpm.marshalling.Trigger.TriggerType} - */ - public enum TriggerType implements com.google.protobuf.ProtocolMessageEnum { - /** - * CRON = 0; - */ - CRON(0), - /** - * INTERVAL = 1; - */ - INTERVAL(1), - /** - * POINT_IN_TIME = 2; - */ - POINT_IN_TIME(2), - /** - * COMPOSITE_MAX_DURATION = 3; - */ - COMPOSITE_MAX_DURATION(3),; - - /** - * CRON = 0; - */ - public static final int CRON_VALUE = 0; - /** - * INTERVAL = 1; - */ - public static final int INTERVAL_VALUE = 1; - /** - * POINT_IN_TIME = 2; - */ - public static final int POINT_IN_TIME_VALUE = 2; - /** - * COMPOSITE_MAX_DURATION = 3; - */ - public static final int COMPOSITE_MAX_DURATION_VALUE = 3; - - public final int getNumber() { - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static TriggerType valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static TriggerType forNumber(int value) { - switch (value) { - case 0: - return CRON; - case 1: - return INTERVAL; - case 2: - return POINT_IN_TIME; - case 3: - return COMPOSITE_MAX_DURATION; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { - public TriggerType findValueByNumber(int number) { - return TriggerType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.getDescriptor().getEnumTypes() - .get(0); - } - - private static final TriggerType[] VALUES = values(); - - public static TriggerType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private TriggerType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:org.jbpm.marshalling.Trigger.TriggerType) - } - - public interface CronTriggerOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.Trigger.CronTrigger) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int64 start_time = 1; - * - * @return Whether the startTime field is set. - */ - boolean hasStartTime(); - - /** - * optional int64 start_time = 1; - * - * @return The startTime. - */ - long getStartTime(); - - /** - * optional int64 end_time = 2; - * - * @return Whether the endTime field is set. - */ - boolean hasEndTime(); - - /** - * optional int64 end_time = 2; - * - * @return The endTime. - */ - long getEndTime(); - - /** - * optional int32 repeat_limit = 3; - * - * @return Whether the repeatLimit field is set. - */ - boolean hasRepeatLimit(); - - /** - * optional int32 repeat_limit = 3; - * - * @return The repeatLimit. - */ - int getRepeatLimit(); - - /** - * optional int32 repeat_count = 4; - * - * @return Whether the repeatCount field is set. - */ - boolean hasRepeatCount(); - - /** - * optional int32 repeat_count = 4; - * - * @return The repeatCount. - */ - int getRepeatCount(); - - /** - * optional string cron_expression = 5; - * - * @return Whether the cronExpression field is set. - */ - boolean hasCronExpression(); - - /** - * optional string cron_expression = 5; - * - * @return The cronExpression. - */ - java.lang.String getCronExpression(); - - /** - * optional string cron_expression = 5; - * - * @return The bytes for cronExpression. - */ - com.google.protobuf.ByteString getCronExpressionBytes(); - - /** - * optional int64 next_fire_time = 6; - * - * @return Whether the nextFireTime field is set. - */ - boolean hasNextFireTime(); - - /** - * optional int64 next_fire_time = 6; - * - * @return The nextFireTime. - */ - long getNextFireTime(); - - /** - * repeated string calendar_name = 7; - * - * @return A list containing the calendarName. - */ - java.util.List getCalendarNameList(); - - /** - * repeated string calendar_name = 7; - * - * @return The count of calendarName. - */ - int getCalendarNameCount(); - - /** - * repeated string calendar_name = 7; - * - * @param index The index of the element to return. - * @return The calendarName at the given index. - */ - java.lang.String getCalendarName(int index); - - /** - * repeated string calendar_name = 7; - * - * @param index The index of the value to return. - * @return The bytes of the calendarName at the given index. - */ - com.google.protobuf.ByteString getCalendarNameBytes(int index); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Trigger.CronTrigger} - */ - public static final class CronTrigger extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.Trigger.CronTrigger) - CronTriggerOrBuilder { - private static final long serialVersionUID = 0L; - - // Use CronTrigger.newBuilder() to construct. - private CronTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CronTrigger() { - cronExpression_ = ""; - calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CronTrigger(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CronTrigger(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - startTime_ = input.readInt64(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - endTime_ = input.readInt64(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - repeatLimit_ = input.readInt32(); - break; - } - case 32: { - bitField0_ |= 0x00000008; - repeatCount_ = input.readInt32(); - break; - } - case 42: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000010; - cronExpression_ = bs; - break; - } - case 48: { - bitField0_ |= 0x00000020; - nextFireTime_ = input.readInt64(); - break; - } - case 58: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - calendarName_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000040; - } - calendarName_.add(bs); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000040) != 0)) { - calendarName_ = calendarName_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_CronTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_CronTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger.Builder.class); - } - - private int bitField0_; - public static final int START_TIME_FIELD_NUMBER = 1; - private long startTime_; - - /** - * optional int64 start_time = 1; - * - * @return Whether the startTime field is set. - */ - @java.lang.Override - public boolean hasStartTime() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int64 start_time = 1; - * - * @return The startTime. - */ - @java.lang.Override - public long getStartTime() { - return startTime_; - } - - public static final int END_TIME_FIELD_NUMBER = 2; - private long endTime_; - - /** - * optional int64 end_time = 2; - * - * @return Whether the endTime field is set. - */ - @java.lang.Override - public boolean hasEndTime() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int64 end_time = 2; - * - * @return The endTime. - */ - @java.lang.Override - public long getEndTime() { - return endTime_; - } - - public static final int REPEAT_LIMIT_FIELD_NUMBER = 3; - private int repeatLimit_; - - /** - * optional int32 repeat_limit = 3; - * - * @return Whether the repeatLimit field is set. - */ - @java.lang.Override - public boolean hasRepeatLimit() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional int32 repeat_limit = 3; - * - * @return The repeatLimit. - */ - @java.lang.Override - public int getRepeatLimit() { - return repeatLimit_; - } - - public static final int REPEAT_COUNT_FIELD_NUMBER = 4; - private int repeatCount_; - - /** - * optional int32 repeat_count = 4; - * - * @return Whether the repeatCount field is set. - */ - @java.lang.Override - public boolean hasRepeatCount() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int32 repeat_count = 4; - * - * @return The repeatCount. - */ - @java.lang.Override - public int getRepeatCount() { - return repeatCount_; - } - - public static final int CRON_EXPRESSION_FIELD_NUMBER = 5; - private volatile java.lang.Object cronExpression_; - - /** - * optional string cron_expression = 5; - * - * @return Whether the cronExpression field is set. - */ - @java.lang.Override - public boolean hasCronExpression() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional string cron_expression = 5; - * - * @return The cronExpression. - */ - @java.lang.Override - public java.lang.String getCronExpression() { - java.lang.Object ref = cronExpression_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - cronExpression_ = s; - } - return s; - } - } - - /** - * optional string cron_expression = 5; - * - * @return The bytes for cronExpression. - */ - @java.lang.Override - public com.google.protobuf.ByteString getCronExpressionBytes() { - java.lang.Object ref = cronExpression_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - cronExpression_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NEXT_FIRE_TIME_FIELD_NUMBER = 6; - private long nextFireTime_; - - /** - * optional int64 next_fire_time = 6; - * - * @return Whether the nextFireTime field is set. - */ - @java.lang.Override - public boolean hasNextFireTime() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional int64 next_fire_time = 6; - * - * @return The nextFireTime. - */ - @java.lang.Override - public long getNextFireTime() { - return nextFireTime_; - } - - public static final int CALENDAR_NAME_FIELD_NUMBER = 7; - private com.google.protobuf.LazyStringList calendarName_; - - /** - * repeated string calendar_name = 7; - * - * @return A list containing the calendarName. - */ - public com.google.protobuf.ProtocolStringList getCalendarNameList() { - return calendarName_; - } - - /** - * repeated string calendar_name = 7; - * - * @return The count of calendarName. - */ - public int getCalendarNameCount() { - return calendarName_.size(); - } - - /** - * repeated string calendar_name = 7; - * - * @param index The index of the element to return. - * @return The calendarName at the given index. - */ - public java.lang.String getCalendarName(int index) { - return calendarName_.get(index); - } - - /** - * repeated string calendar_name = 7; - * - * @param index The index of the value to return. - * @return The bytes of the calendarName at the given index. - */ - public com.google.protobuf.ByteString getCalendarNameBytes(int index) { - return calendarName_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt64(1, startTime_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt64(2, endTime_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeInt32(3, repeatLimit_); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeInt32(4, repeatCount_); - } - if (((bitField0_ & 0x00000010) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, cronExpression_); - } - if (((bitField0_ & 0x00000020) != 0)) { - output.writeInt64(6, nextFireTime_); - } - for (int i = 0; i < calendarName_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, calendarName_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, startTime_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, endTime_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, repeatLimit_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, repeatCount_); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, cronExpression_); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, nextFireTime_); - } - { - int dataSize = 0; - for (int i = 0; i < calendarName_.size(); i++) { - dataSize += computeStringSizeNoTag(calendarName_.getRaw(i)); - } - size += dataSize; - size += 1 * getCalendarNameList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger) obj; - - if (hasStartTime() != other.hasStartTime()) - return false; - if (hasStartTime()) { - if (getStartTime() != other.getStartTime()) - return false; - } - if (hasEndTime() != other.hasEndTime()) - return false; - if (hasEndTime()) { - if (getEndTime() != other.getEndTime()) - return false; - } - if (hasRepeatLimit() != other.hasRepeatLimit()) - return false; - if (hasRepeatLimit()) { - if (getRepeatLimit() != other.getRepeatLimit()) - return false; - } - if (hasRepeatCount() != other.hasRepeatCount()) - return false; - if (hasRepeatCount()) { - if (getRepeatCount() != other.getRepeatCount()) - return false; - } - if (hasCronExpression() != other.hasCronExpression()) - return false; - if (hasCronExpression()) { - if (!getCronExpression().equals(other.getCronExpression())) - return false; - } - if (hasNextFireTime() != other.hasNextFireTime()) - return false; - if (hasNextFireTime()) { - if (getNextFireTime() != other.getNextFireTime()) - return false; - } - if (!getCalendarNameList().equals(other.getCalendarNameList())) - return false; - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasStartTime()) { - hash = (37 * hash) + START_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartTime()); - } - if (hasEndTime()) { - hash = (37 * hash) + END_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEndTime()); - } - if (hasRepeatLimit()) { - hash = (37 * hash) + REPEAT_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getRepeatLimit(); - } - if (hasRepeatCount()) { - hash = (37 * hash) + REPEAT_COUNT_FIELD_NUMBER; - hash = (53 * hash) + getRepeatCount(); - } - if (hasCronExpression()) { - hash = (37 * hash) + CRON_EXPRESSION_FIELD_NUMBER; - hash = (53 * hash) + getCronExpression().hashCode(); - } - if (hasNextFireTime()) { - hash = (37 * hash) + NEXT_FIRE_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNextFireTime()); - } - if (getCalendarNameCount() > 0) { - hash = (37 * hash) + CALENDAR_NAME_FIELD_NUMBER; - hash = (53 * hash) + getCalendarNameList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Trigger.CronTrigger} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.Trigger.CronTrigger) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_CronTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_CronTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.Trigger.CronTrigger.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - startTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000001); - endTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000002); - repeatLimit_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - repeatCount_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - cronExpression_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); - nextFireTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000020); - calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_CronTrigger_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTime_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTime_; - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.repeatLimit_ = repeatLimit_; - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.repeatCount_ = repeatCount_; - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - to_bitField0_ |= 0x00000010; - } - result.cronExpression_ = cronExpression_; - if (((from_bitField0_ & 0x00000020) != 0)) { - result.nextFireTime_ = nextFireTime_; - to_bitField0_ |= 0x00000020; - } - if (((bitField0_ & 0x00000040) != 0)) { - calendarName_ = calendarName_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000040); - } - result.calendarName_ = calendarName_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger - .getDefaultInstance()) - return this; - if (other.hasStartTime()) { - setStartTime(other.getStartTime()); - } - if (other.hasEndTime()) { - setEndTime(other.getEndTime()); - } - if (other.hasRepeatLimit()) { - setRepeatLimit(other.getRepeatLimit()); - } - if (other.hasRepeatCount()) { - setRepeatCount(other.getRepeatCount()); - } - if (other.hasCronExpression()) { - bitField0_ |= 0x00000010; - cronExpression_ = other.cronExpression_; - onChanged(); - } - if (other.hasNextFireTime()) { - setNextFireTime(other.getNextFireTime()); - } - if (!other.calendarName_.isEmpty()) { - if (calendarName_.isEmpty()) { - calendarName_ = other.calendarName_; - bitField0_ = (bitField0_ & ~0x00000040); - } else { - ensureCalendarNameIsMutable(); - calendarName_.addAll(other.calendarName_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private long startTime_; - - /** - * optional int64 start_time = 1; - * - * @return Whether the startTime field is set. - */ - @java.lang.Override - public boolean hasStartTime() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int64 start_time = 1; - * - * @return The startTime. - */ - @java.lang.Override - public long getStartTime() { - return startTime_; - } - - /** - * optional int64 start_time = 1; - * - * @param value The startTime to set. - * @return This builder for chaining. - */ - public Builder setStartTime(long value) { - bitField0_ |= 0x00000001; - startTime_ = value; - onChanged(); - return this; - } - - /** - * optional int64 start_time = 1; - * - * @return This builder for chaining. - */ - public Builder clearStartTime() { - bitField0_ = (bitField0_ & ~0x00000001); - startTime_ = 0L; - onChanged(); - return this; - } - - private long endTime_; - - /** - * optional int64 end_time = 2; - * - * @return Whether the endTime field is set. - */ - @java.lang.Override - public boolean hasEndTime() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int64 end_time = 2; - * - * @return The endTime. - */ - @java.lang.Override - public long getEndTime() { - return endTime_; - } - - /** - * optional int64 end_time = 2; - * - * @param value The endTime to set. - * @return This builder for chaining. - */ - public Builder setEndTime(long value) { - bitField0_ |= 0x00000002; - endTime_ = value; - onChanged(); - return this; - } - - /** - * optional int64 end_time = 2; - * - * @return This builder for chaining. - */ - public Builder clearEndTime() { - bitField0_ = (bitField0_ & ~0x00000002); - endTime_ = 0L; - onChanged(); - return this; - } - - private int repeatLimit_; - - /** - * optional int32 repeat_limit = 3; - * - * @return Whether the repeatLimit field is set. - */ - @java.lang.Override - public boolean hasRepeatLimit() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional int32 repeat_limit = 3; - * - * @return The repeatLimit. - */ - @java.lang.Override - public int getRepeatLimit() { - return repeatLimit_; - } - - /** - * optional int32 repeat_limit = 3; - * - * @param value The repeatLimit to set. - * @return This builder for chaining. - */ - public Builder setRepeatLimit(int value) { - bitField0_ |= 0x00000004; - repeatLimit_ = value; - onChanged(); - return this; - } - - /** - * optional int32 repeat_limit = 3; - * - * @return This builder for chaining. - */ - public Builder clearRepeatLimit() { - bitField0_ = (bitField0_ & ~0x00000004); - repeatLimit_ = 0; - onChanged(); - return this; - } - - private int repeatCount_; - - /** - * optional int32 repeat_count = 4; - * - * @return Whether the repeatCount field is set. - */ - @java.lang.Override - public boolean hasRepeatCount() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int32 repeat_count = 4; - * - * @return The repeatCount. - */ - @java.lang.Override - public int getRepeatCount() { - return repeatCount_; - } - - /** - * optional int32 repeat_count = 4; - * - * @param value The repeatCount to set. - * @return This builder for chaining. - */ - public Builder setRepeatCount(int value) { - bitField0_ |= 0x00000008; - repeatCount_ = value; - onChanged(); - return this; - } - - /** - * optional int32 repeat_count = 4; - * - * @return This builder for chaining. - */ - public Builder clearRepeatCount() { - bitField0_ = (bitField0_ & ~0x00000008); - repeatCount_ = 0; - onChanged(); - return this; - } - - private java.lang.Object cronExpression_ = ""; - - /** - * optional string cron_expression = 5; - * - * @return Whether the cronExpression field is set. - */ - public boolean hasCronExpression() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional string cron_expression = 5; - * - * @return The cronExpression. - */ - public java.lang.String getCronExpression() { - java.lang.Object ref = cronExpression_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - cronExpression_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string cron_expression = 5; - * - * @return The bytes for cronExpression. - */ - public com.google.protobuf.ByteString getCronExpressionBytes() { - java.lang.Object ref = cronExpression_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - cronExpression_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string cron_expression = 5; - * - * @param value The cronExpression to set. - * @return This builder for chaining. - */ - public Builder setCronExpression(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - cronExpression_ = value; - onChanged(); - return this; - } - - /** - * optional string cron_expression = 5; - * - * @return This builder for chaining. - */ - public Builder clearCronExpression() { - bitField0_ = (bitField0_ & ~0x00000010); - cronExpression_ = getDefaultInstance().getCronExpression(); - onChanged(); - return this; - } - - /** - * optional string cron_expression = 5; - * - * @param value The bytes for cronExpression to set. - * @return This builder for chaining. - */ - public Builder setCronExpressionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - cronExpression_ = value; - onChanged(); - return this; - } - - private long nextFireTime_; - - /** - * optional int64 next_fire_time = 6; - * - * @return Whether the nextFireTime field is set. - */ - @java.lang.Override - public boolean hasNextFireTime() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional int64 next_fire_time = 6; - * - * @return The nextFireTime. - */ - @java.lang.Override - public long getNextFireTime() { - return nextFireTime_; - } - - /** - * optional int64 next_fire_time = 6; - * - * @param value The nextFireTime to set. - * @return This builder for chaining. - */ - public Builder setNextFireTime(long value) { - bitField0_ |= 0x00000020; - nextFireTime_ = value; - onChanged(); - return this; - } - - /** - * optional int64 next_fire_time = 6; - * - * @return This builder for chaining. - */ - public Builder clearNextFireTime() { - bitField0_ = (bitField0_ & ~0x00000020); - nextFireTime_ = 0L; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureCalendarNameIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { - calendarName_ = new com.google.protobuf.LazyStringArrayList(calendarName_); - bitField0_ |= 0x00000040; - } - } - - /** - * repeated string calendar_name = 7; - * - * @return A list containing the calendarName. - */ - public com.google.protobuf.ProtocolStringList getCalendarNameList() { - return calendarName_.getUnmodifiableView(); - } - - /** - * repeated string calendar_name = 7; - * - * @return The count of calendarName. - */ - public int getCalendarNameCount() { - return calendarName_.size(); - } - - /** - * repeated string calendar_name = 7; - * - * @param index The index of the element to return. - * @return The calendarName at the given index. - */ - public java.lang.String getCalendarName(int index) { - return calendarName_.get(index); - } - - /** - * repeated string calendar_name = 7; - * - * @param index The index of the value to return. - * @return The bytes of the calendarName at the given index. - */ - public com.google.protobuf.ByteString getCalendarNameBytes(int index) { - return calendarName_.getByteString(index); - } - - /** - * repeated string calendar_name = 7; - * - * @param index The index to set the value at. - * @param value The calendarName to set. - * @return This builder for chaining. - */ - public Builder setCalendarName(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCalendarNameIsMutable(); - calendarName_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string calendar_name = 7; - * - * @param value The calendarName to add. - * @return This builder for chaining. - */ - public Builder addCalendarName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCalendarNameIsMutable(); - calendarName_.add(value); - onChanged(); - return this; - } - - /** - * repeated string calendar_name = 7; - * - * @param values The calendarName to add. - * @return This builder for chaining. - */ - public Builder addAllCalendarName(java.lang.Iterable values) { - ensureCalendarNameIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, calendarName_); - onChanged(); - return this; - } - - /** - * repeated string calendar_name = 7; - * - * @return This builder for chaining. - */ - public Builder clearCalendarName() { - calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); - return this; - } - - /** - * repeated string calendar_name = 7; - * - * @param value The bytes of the calendarName to add. - * @return This builder for chaining. - */ - public Builder addCalendarNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCalendarNameIsMutable(); - calendarName_.add(value); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.Trigger.CronTrigger) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.Trigger.CronTrigger) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CronTrigger parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CronTrigger(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface IntervalTriggerOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.Trigger.IntervalTrigger) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int64 start_time = 1; - * - * @return Whether the startTime field is set. - */ - boolean hasStartTime(); - - /** - * optional int64 start_time = 1; - * - * @return The startTime. - */ - long getStartTime(); - - /** - * optional int64 end_time = 2; - * - * @return Whether the endTime field is set. - */ - boolean hasEndTime(); - - /** - * optional int64 end_time = 2; - * - * @return The endTime. - */ - long getEndTime(); - - /** - * optional int32 repeat_limit = 3; - * - * @return Whether the repeatLimit field is set. - */ - boolean hasRepeatLimit(); - - /** - * optional int32 repeat_limit = 3; - * - * @return The repeatLimit. - */ - int getRepeatLimit(); - - /** - * optional int32 repeat_count = 4; - * - * @return Whether the repeatCount field is set. - */ - boolean hasRepeatCount(); - - /** - * optional int32 repeat_count = 4; - * - * @return The repeatCount. - */ - int getRepeatCount(); - - /** - * optional int64 next_fire_time = 6; - * - * @return Whether the nextFireTime field is set. - */ - boolean hasNextFireTime(); - - /** - * optional int64 next_fire_time = 6; - * - * @return The nextFireTime. - */ - long getNextFireTime(); - - /** - * optional int64 period = 7; - * - * @return Whether the period field is set. - */ - boolean hasPeriod(); - - /** - * optional int64 period = 7; - * - * @return The period. - */ - long getPeriod(); - - /** - * repeated string calendar_name = 8; - * - * @return A list containing the calendarName. - */ - java.util.List getCalendarNameList(); - - /** - * repeated string calendar_name = 8; - * - * @return The count of calendarName. - */ - int getCalendarNameCount(); - - /** - * repeated string calendar_name = 8; - * - * @param index The index of the element to return. - * @return The calendarName at the given index. - */ - java.lang.String getCalendarName(int index); - - /** - * repeated string calendar_name = 8; - * - * @param index The index of the value to return. - * @return The bytes of the calendarName at the given index. - */ - com.google.protobuf.ByteString getCalendarNameBytes(int index); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Trigger.IntervalTrigger} - */ - public static final class IntervalTrigger extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.Trigger.IntervalTrigger) - IntervalTriggerOrBuilder { - private static final long serialVersionUID = 0L; - - // Use IntervalTrigger.newBuilder() to construct. - private IntervalTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private IntervalTrigger() { - calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new IntervalTrigger(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private IntervalTrigger(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - startTime_ = input.readInt64(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - endTime_ = input.readInt64(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - repeatLimit_ = input.readInt32(); - break; - } - case 32: { - bitField0_ |= 0x00000008; - repeatCount_ = input.readInt32(); - break; - } - case 48: { - bitField0_ |= 0x00000010; - nextFireTime_ = input.readInt64(); - break; - } - case 56: { - bitField0_ |= 0x00000020; - period_ = input.readInt64(); - break; - } - case 66: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000040) != 0)) { - calendarName_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000040; - } - calendarName_.add(bs); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000040) != 0)) { - calendarName_ = calendarName_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_IntervalTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_IntervalTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger.Builder.class); - } - - private int bitField0_; - public static final int START_TIME_FIELD_NUMBER = 1; - private long startTime_; - - /** - * optional int64 start_time = 1; - * - * @return Whether the startTime field is set. - */ - @java.lang.Override - public boolean hasStartTime() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int64 start_time = 1; - * - * @return The startTime. - */ - @java.lang.Override - public long getStartTime() { - return startTime_; - } - - public static final int END_TIME_FIELD_NUMBER = 2; - private long endTime_; - - /** - * optional int64 end_time = 2; - * - * @return Whether the endTime field is set. - */ - @java.lang.Override - public boolean hasEndTime() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int64 end_time = 2; - * - * @return The endTime. - */ - @java.lang.Override - public long getEndTime() { - return endTime_; - } - - public static final int REPEAT_LIMIT_FIELD_NUMBER = 3; - private int repeatLimit_; - - /** - * optional int32 repeat_limit = 3; - * - * @return Whether the repeatLimit field is set. - */ - @java.lang.Override - public boolean hasRepeatLimit() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional int32 repeat_limit = 3; - * - * @return The repeatLimit. - */ - @java.lang.Override - public int getRepeatLimit() { - return repeatLimit_; - } - - public static final int REPEAT_COUNT_FIELD_NUMBER = 4; - private int repeatCount_; - - /** - * optional int32 repeat_count = 4; - * - * @return Whether the repeatCount field is set. - */ - @java.lang.Override - public boolean hasRepeatCount() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int32 repeat_count = 4; - * - * @return The repeatCount. - */ - @java.lang.Override - public int getRepeatCount() { - return repeatCount_; - } - - public static final int NEXT_FIRE_TIME_FIELD_NUMBER = 6; - private long nextFireTime_; - - /** - * optional int64 next_fire_time = 6; - * - * @return Whether the nextFireTime field is set. - */ - @java.lang.Override - public boolean hasNextFireTime() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional int64 next_fire_time = 6; - * - * @return The nextFireTime. - */ - @java.lang.Override - public long getNextFireTime() { - return nextFireTime_; - } - - public static final int PERIOD_FIELD_NUMBER = 7; - private long period_; - - /** - * optional int64 period = 7; - * - * @return Whether the period field is set. - */ - @java.lang.Override - public boolean hasPeriod() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional int64 period = 7; - * - * @return The period. - */ - @java.lang.Override - public long getPeriod() { - return period_; - } - - public static final int CALENDAR_NAME_FIELD_NUMBER = 8; - private com.google.protobuf.LazyStringList calendarName_; - - /** - * repeated string calendar_name = 8; - * - * @return A list containing the calendarName. - */ - public com.google.protobuf.ProtocolStringList getCalendarNameList() { - return calendarName_; - } - - /** - * repeated string calendar_name = 8; - * - * @return The count of calendarName. - */ - public int getCalendarNameCount() { - return calendarName_.size(); - } - - /** - * repeated string calendar_name = 8; - * - * @param index The index of the element to return. - * @return The calendarName at the given index. - */ - public java.lang.String getCalendarName(int index) { - return calendarName_.get(index); - } - - /** - * repeated string calendar_name = 8; - * - * @param index The index of the value to return. - * @return The bytes of the calendarName at the given index. - */ - public com.google.protobuf.ByteString getCalendarNameBytes(int index) { - return calendarName_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt64(1, startTime_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt64(2, endTime_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeInt32(3, repeatLimit_); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeInt32(4, repeatCount_); - } - if (((bitField0_ & 0x00000010) != 0)) { - output.writeInt64(6, nextFireTime_); - } - if (((bitField0_ & 0x00000020) != 0)) { - output.writeInt64(7, period_); - } - for (int i = 0; i < calendarName_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, calendarName_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, startTime_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, endTime_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, repeatLimit_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, repeatCount_); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, nextFireTime_); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, period_); - } - { - int dataSize = 0; - for (int i = 0; i < calendarName_.size(); i++) { - dataSize += computeStringSizeNoTag(calendarName_.getRaw(i)); - } - size += dataSize; - size += 1 * getCalendarNameList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger) obj; - - if (hasStartTime() != other.hasStartTime()) - return false; - if (hasStartTime()) { - if (getStartTime() != other.getStartTime()) - return false; - } - if (hasEndTime() != other.hasEndTime()) - return false; - if (hasEndTime()) { - if (getEndTime() != other.getEndTime()) - return false; - } - if (hasRepeatLimit() != other.hasRepeatLimit()) - return false; - if (hasRepeatLimit()) { - if (getRepeatLimit() != other.getRepeatLimit()) - return false; - } - if (hasRepeatCount() != other.hasRepeatCount()) - return false; - if (hasRepeatCount()) { - if (getRepeatCount() != other.getRepeatCount()) - return false; - } - if (hasNextFireTime() != other.hasNextFireTime()) - return false; - if (hasNextFireTime()) { - if (getNextFireTime() != other.getNextFireTime()) - return false; - } - if (hasPeriod() != other.hasPeriod()) - return false; - if (hasPeriod()) { - if (getPeriod() != other.getPeriod()) - return false; - } - if (!getCalendarNameList().equals(other.getCalendarNameList())) - return false; - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasStartTime()) { - hash = (37 * hash) + START_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartTime()); - } - if (hasEndTime()) { - hash = (37 * hash) + END_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEndTime()); - } - if (hasRepeatLimit()) { - hash = (37 * hash) + REPEAT_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + getRepeatLimit(); - } - if (hasRepeatCount()) { - hash = (37 * hash) + REPEAT_COUNT_FIELD_NUMBER; - hash = (53 * hash) + getRepeatCount(); - } - if (hasNextFireTime()) { - hash = (37 * hash) + NEXT_FIRE_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNextFireTime()); - } - if (hasPeriod()) { - hash = (37 * hash) + PERIOD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPeriod()); - } - if (getCalendarNameCount() > 0) { - hash = (37 * hash) + CALENDAR_NAME_FIELD_NUMBER; - hash = (53 * hash) + getCalendarNameList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Trigger.IntervalTrigger} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.Trigger.IntervalTrigger) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_IntervalTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_IntervalTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - startTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000001); - endTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000002); - repeatLimit_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); - repeatCount_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - nextFireTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000010); - period_ = 0L; - bitField0_ = (bitField0_ & ~0x00000020); - calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_IntervalTrigger_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTime_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTime_; - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.repeatLimit_ = repeatLimit_; - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.repeatCount_ = repeatCount_; - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.nextFireTime_ = nextFireTime_; - to_bitField0_ |= 0x00000010; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.period_ = period_; - to_bitField0_ |= 0x00000020; - } - if (((bitField0_ & 0x00000040) != 0)) { - calendarName_ = calendarName_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000040); - } - result.calendarName_ = calendarName_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger - .getDefaultInstance()) - return this; - if (other.hasStartTime()) { - setStartTime(other.getStartTime()); - } - if (other.hasEndTime()) { - setEndTime(other.getEndTime()); - } - if (other.hasRepeatLimit()) { - setRepeatLimit(other.getRepeatLimit()); - } - if (other.hasRepeatCount()) { - setRepeatCount(other.getRepeatCount()); - } - if (other.hasNextFireTime()) { - setNextFireTime(other.getNextFireTime()); - } - if (other.hasPeriod()) { - setPeriod(other.getPeriod()); - } - if (!other.calendarName_.isEmpty()) { - if (calendarName_.isEmpty()) { - calendarName_ = other.calendarName_; - bitField0_ = (bitField0_ & ~0x00000040); - } else { - ensureCalendarNameIsMutable(); - calendarName_.addAll(other.calendarName_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private long startTime_; - - /** - * optional int64 start_time = 1; - * - * @return Whether the startTime field is set. - */ - @java.lang.Override - public boolean hasStartTime() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int64 start_time = 1; - * - * @return The startTime. - */ - @java.lang.Override - public long getStartTime() { - return startTime_; - } - - /** - * optional int64 start_time = 1; - * - * @param value The startTime to set. - * @return This builder for chaining. - */ - public Builder setStartTime(long value) { - bitField0_ |= 0x00000001; - startTime_ = value; - onChanged(); - return this; - } - - /** - * optional int64 start_time = 1; - * - * @return This builder for chaining. - */ - public Builder clearStartTime() { - bitField0_ = (bitField0_ & ~0x00000001); - startTime_ = 0L; - onChanged(); - return this; - } - - private long endTime_; - - /** - * optional int64 end_time = 2; - * - * @return Whether the endTime field is set. - */ - @java.lang.Override - public boolean hasEndTime() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int64 end_time = 2; - * - * @return The endTime. - */ - @java.lang.Override - public long getEndTime() { - return endTime_; - } - - /** - * optional int64 end_time = 2; - * - * @param value The endTime to set. - * @return This builder for chaining. - */ - public Builder setEndTime(long value) { - bitField0_ |= 0x00000002; - endTime_ = value; - onChanged(); - return this; - } - - /** - * optional int64 end_time = 2; - * - * @return This builder for chaining. - */ - public Builder clearEndTime() { - bitField0_ = (bitField0_ & ~0x00000002); - endTime_ = 0L; - onChanged(); - return this; - } - - private int repeatLimit_; - - /** - * optional int32 repeat_limit = 3; - * - * @return Whether the repeatLimit field is set. - */ - @java.lang.Override - public boolean hasRepeatLimit() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional int32 repeat_limit = 3; - * - * @return The repeatLimit. - */ - @java.lang.Override - public int getRepeatLimit() { - return repeatLimit_; - } - - /** - * optional int32 repeat_limit = 3; - * - * @param value The repeatLimit to set. - * @return This builder for chaining. - */ - public Builder setRepeatLimit(int value) { - bitField0_ |= 0x00000004; - repeatLimit_ = value; - onChanged(); - return this; - } - - /** - * optional int32 repeat_limit = 3; - * - * @return This builder for chaining. - */ - public Builder clearRepeatLimit() { - bitField0_ = (bitField0_ & ~0x00000004); - repeatLimit_ = 0; - onChanged(); - return this; - } - - private int repeatCount_; - - /** - * optional int32 repeat_count = 4; - * - * @return Whether the repeatCount field is set. - */ - @java.lang.Override - public boolean hasRepeatCount() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int32 repeat_count = 4; - * - * @return The repeatCount. - */ - @java.lang.Override - public int getRepeatCount() { - return repeatCount_; - } - - /** - * optional int32 repeat_count = 4; - * - * @param value The repeatCount to set. - * @return This builder for chaining. - */ - public Builder setRepeatCount(int value) { - bitField0_ |= 0x00000008; - repeatCount_ = value; - onChanged(); - return this; - } - - /** - * optional int32 repeat_count = 4; - * - * @return This builder for chaining. - */ - public Builder clearRepeatCount() { - bitField0_ = (bitField0_ & ~0x00000008); - repeatCount_ = 0; - onChanged(); - return this; - } - - private long nextFireTime_; - - /** - * optional int64 next_fire_time = 6; - * - * @return Whether the nextFireTime field is set. - */ - @java.lang.Override - public boolean hasNextFireTime() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional int64 next_fire_time = 6; - * - * @return The nextFireTime. - */ - @java.lang.Override - public long getNextFireTime() { - return nextFireTime_; - } - - /** - * optional int64 next_fire_time = 6; - * - * @param value The nextFireTime to set. - * @return This builder for chaining. - */ - public Builder setNextFireTime(long value) { - bitField0_ |= 0x00000010; - nextFireTime_ = value; - onChanged(); - return this; - } - - /** - * optional int64 next_fire_time = 6; - * - * @return This builder for chaining. - */ - public Builder clearNextFireTime() { - bitField0_ = (bitField0_ & ~0x00000010); - nextFireTime_ = 0L; - onChanged(); - return this; - } - - private long period_; - - /** - * optional int64 period = 7; - * - * @return Whether the period field is set. - */ - @java.lang.Override - public boolean hasPeriod() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional int64 period = 7; - * - * @return The period. - */ - @java.lang.Override - public long getPeriod() { - return period_; - } - - /** - * optional int64 period = 7; - * - * @param value The period to set. - * @return This builder for chaining. - */ - public Builder setPeriod(long value) { - bitField0_ |= 0x00000020; - period_ = value; - onChanged(); - return this; - } - - /** - * optional int64 period = 7; - * - * @return This builder for chaining. - */ - public Builder clearPeriod() { - bitField0_ = (bitField0_ & ~0x00000020); - period_ = 0L; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureCalendarNameIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { - calendarName_ = new com.google.protobuf.LazyStringArrayList(calendarName_); - bitField0_ |= 0x00000040; - } - } - - /** - * repeated string calendar_name = 8; - * - * @return A list containing the calendarName. - */ - public com.google.protobuf.ProtocolStringList getCalendarNameList() { - return calendarName_.getUnmodifiableView(); - } - - /** - * repeated string calendar_name = 8; - * - * @return The count of calendarName. - */ - public int getCalendarNameCount() { - return calendarName_.size(); - } - - /** - * repeated string calendar_name = 8; - * - * @param index The index of the element to return. - * @return The calendarName at the given index. - */ - public java.lang.String getCalendarName(int index) { - return calendarName_.get(index); - } - - /** - * repeated string calendar_name = 8; - * - * @param index The index of the value to return. - * @return The bytes of the calendarName at the given index. - */ - public com.google.protobuf.ByteString getCalendarNameBytes(int index) { - return calendarName_.getByteString(index); - } - - /** - * repeated string calendar_name = 8; - * - * @param index The index to set the value at. - * @param value The calendarName to set. - * @return This builder for chaining. - */ - public Builder setCalendarName(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCalendarNameIsMutable(); - calendarName_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string calendar_name = 8; - * - * @param value The calendarName to add. - * @return This builder for chaining. - */ - public Builder addCalendarName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCalendarNameIsMutable(); - calendarName_.add(value); - onChanged(); - return this; - } - - /** - * repeated string calendar_name = 8; - * - * @param values The calendarName to add. - * @return This builder for chaining. - */ - public Builder addAllCalendarName(java.lang.Iterable values) { - ensureCalendarNameIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, calendarName_); - onChanged(); - return this; - } - - /** - * repeated string calendar_name = 8; - * - * @return This builder for chaining. - */ - public Builder clearCalendarName() { - calendarName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); - onChanged(); - return this; - } - - /** - * repeated string calendar_name = 8; - * - * @param value The bytes of the calendarName to add. - * @return This builder for chaining. - */ - public Builder addCalendarNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCalendarNameIsMutable(); - calendarName_.add(value); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.Trigger.IntervalTrigger) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.Trigger.IntervalTrigger) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IntervalTrigger parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IntervalTrigger(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface PointInTimeTriggerOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.Trigger.PointInTimeTrigger) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int64 next_fire_time = 1; - * - * @return Whether the nextFireTime field is set. - */ - boolean hasNextFireTime(); - - /** - * optional int64 next_fire_time = 1; - * - * @return The nextFireTime. - */ - long getNextFireTime(); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Trigger.PointInTimeTrigger} - */ - public static final class PointInTimeTrigger extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.Trigger.PointInTimeTrigger) - PointInTimeTriggerOrBuilder { - private static final long serialVersionUID = 0L; - - // Use PointInTimeTrigger.newBuilder() to construct. - private PointInTimeTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private PointInTimeTrigger() { - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new PointInTimeTrigger(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private PointInTimeTrigger(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - nextFireTime_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_PointInTimeTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_PointInTimeTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger.Builder.class); - } - - private int bitField0_; - public static final int NEXT_FIRE_TIME_FIELD_NUMBER = 1; - private long nextFireTime_; - - /** - * optional int64 next_fire_time = 1; - * - * @return Whether the nextFireTime field is set. - */ - @java.lang.Override - public boolean hasNextFireTime() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int64 next_fire_time = 1; - * - * @return The nextFireTime. - */ - @java.lang.Override - public long getNextFireTime() { - return nextFireTime_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt64(1, nextFireTime_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, nextFireTime_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger) obj; - - if (hasNextFireTime() != other.hasNextFireTime()) - return false; - if (hasNextFireTime()) { - if (getNextFireTime() != other.getNextFireTime()) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasNextFireTime()) { - hash = (37 * hash) + NEXT_FIRE_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNextFireTime()); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Trigger.PointInTimeTrigger} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.Trigger.PointInTimeTrigger) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_PointInTimeTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_PointInTimeTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - nextFireTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_PointInTimeTrigger_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.nextFireTime_ = nextFireTime_; - to_bitField0_ |= 0x00000001; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger - .getDefaultInstance()) - return this; - if (other.hasNextFireTime()) { - setNextFireTime(other.getNextFireTime()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private long nextFireTime_; - - /** - * optional int64 next_fire_time = 1; - * - * @return Whether the nextFireTime field is set. - */ - @java.lang.Override - public boolean hasNextFireTime() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int64 next_fire_time = 1; - * - * @return The nextFireTime. - */ - @java.lang.Override - public long getNextFireTime() { - return nextFireTime_; - } - - /** - * optional int64 next_fire_time = 1; - * - * @param value The nextFireTime to set. - * @return This builder for chaining. - */ - public Builder setNextFireTime(long value) { - bitField0_ |= 0x00000001; - nextFireTime_ = value; - onChanged(); - return this; - } - - /** - * optional int64 next_fire_time = 1; - * - * @return This builder for chaining. - */ - public Builder clearNextFireTime() { - bitField0_ = (bitField0_ & ~0x00000001); - nextFireTime_ = 0L; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.Trigger.PointInTimeTrigger) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.Trigger.PointInTimeTrigger) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PointInTimeTrigger parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PointInTimeTrigger(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CompositeMaxDurationTriggerOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int64 maxDurationTimestamp = 1; - * - * @return Whether the maxDurationTimestamp field is set. - */ - boolean hasMaxDurationTimestamp(); - - /** - * optional int64 maxDurationTimestamp = 1; - * - * @return The maxDurationTimestamp. - */ - long getMaxDurationTimestamp(); - - /** - * optional int64 timerCurrentDate = 2; - * - * @return Whether the timerCurrentDate field is set. - */ - boolean hasTimerCurrentDate(); - - /** - * optional int64 timerCurrentDate = 2; - * - * @return The timerCurrentDate. - */ - long getTimerCurrentDate(); - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - * - * @return Whether the timerTrigger field is set. - */ - boolean hasTimerTrigger(); - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - * - * @return The timerTrigger. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger getTimerTrigger(); - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.TriggerOrBuilder getTimerTriggerOrBuilder(); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger} - */ - public static final class CompositeMaxDurationTrigger extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger) - CompositeMaxDurationTriggerOrBuilder { - private static final long serialVersionUID = 0L; - - // Use CompositeMaxDurationTrigger.newBuilder() to construct. - private CompositeMaxDurationTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CompositeMaxDurationTrigger() { - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CompositeMaxDurationTrigger(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CompositeMaxDurationTrigger(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - maxDurationTimestamp_ = input.readInt64(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - timerCurrentDate_ = input.readInt64(); - break; - } - case 26: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) != 0)) { - subBuilder = timerTrigger_.toBuilder(); - } - timerTrigger_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timerTrigger_); - timerTrigger_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_CompositeMaxDurationTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger.Builder.class); - } - - private int bitField0_; - public static final int MAXDURATIONTIMESTAMP_FIELD_NUMBER = 1; - private long maxDurationTimestamp_; - - /** - * optional int64 maxDurationTimestamp = 1; - * - * @return Whether the maxDurationTimestamp field is set. - */ - @java.lang.Override - public boolean hasMaxDurationTimestamp() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int64 maxDurationTimestamp = 1; - * - * @return The maxDurationTimestamp. - */ - @java.lang.Override - public long getMaxDurationTimestamp() { - return maxDurationTimestamp_; - } - - public static final int TIMERCURRENTDATE_FIELD_NUMBER = 2; - private long timerCurrentDate_; - - /** - * optional int64 timerCurrentDate = 2; - * - * @return Whether the timerCurrentDate field is set. - */ - @java.lang.Override - public boolean hasTimerCurrentDate() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int64 timerCurrentDate = 2; - * - * @return The timerCurrentDate. - */ - @java.lang.Override - public long getTimerCurrentDate() { - return timerCurrentDate_; - } - - public static final int TIMERTRIGGER_FIELD_NUMBER = 3; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger timerTrigger_; - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - * - * @return Whether the timerTrigger field is set. - */ - @java.lang.Override - public boolean hasTimerTrigger() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - * - * @return The timerTrigger. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger getTimerTrigger() { - return timerTrigger_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.getDefaultInstance() - : timerTrigger_; - } - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.TriggerOrBuilder getTimerTriggerOrBuilder() { - return timerTrigger_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.getDefaultInstance() - : timerTrigger_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt64(1, maxDurationTimestamp_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt64(2, timerCurrentDate_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(3, getTimerTrigger()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, maxDurationTimestamp_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, timerCurrentDate_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTimerTrigger()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger) obj; - - if (hasMaxDurationTimestamp() != other.hasMaxDurationTimestamp()) - return false; - if (hasMaxDurationTimestamp()) { - if (getMaxDurationTimestamp() != other.getMaxDurationTimestamp()) - return false; - } - if (hasTimerCurrentDate() != other.hasTimerCurrentDate()) - return false; - if (hasTimerCurrentDate()) { - if (getTimerCurrentDate() != other.getTimerCurrentDate()) - return false; - } - if (hasTimerTrigger() != other.hasTimerTrigger()) - return false; - if (hasTimerTrigger()) { - if (!getTimerTrigger().equals(other.getTimerTrigger())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasMaxDurationTimestamp()) { - hash = (37 * hash) + MAXDURATIONTIMESTAMP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxDurationTimestamp()); - } - if (hasTimerCurrentDate()) { - hash = (37 * hash) + TIMERCURRENTDATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimerCurrentDate()); - } - if (hasTimerTrigger()) { - hash = (37 * hash) + TIMERTRIGGER_FIELD_NUMBER; - hash = (53 * hash) + getTimerTrigger().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_CompositeMaxDurationTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getTimerTriggerFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - maxDurationTimestamp_ = 0L; - bitField0_ = (bitField0_ & ~0x00000001); - timerCurrentDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000002); - if (timerTriggerBuilder_ == null) { - timerTrigger_ = null; - } else { - timerTriggerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.maxDurationTimestamp_ = maxDurationTimestamp_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.timerCurrentDate_ = timerCurrentDate_; - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - if (timerTriggerBuilder_ == null) { - result.timerTrigger_ = timerTrigger_; - } else { - result.timerTrigger_ = timerTriggerBuilder_.build(); - } - to_bitField0_ |= 0x00000004; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger - .getDefaultInstance()) - return this; - if (other.hasMaxDurationTimestamp()) { - setMaxDurationTimestamp(other.getMaxDurationTimestamp()); - } - if (other.hasTimerCurrentDate()) { - setTimerCurrentDate(other.getTimerCurrentDate()); - } - if (other.hasTimerTrigger()) { - mergeTimerTrigger(other.getTimerTrigger()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private long maxDurationTimestamp_; - - /** - * optional int64 maxDurationTimestamp = 1; - * - * @return Whether the maxDurationTimestamp field is set. - */ - @java.lang.Override - public boolean hasMaxDurationTimestamp() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int64 maxDurationTimestamp = 1; - * - * @return The maxDurationTimestamp. - */ - @java.lang.Override - public long getMaxDurationTimestamp() { - return maxDurationTimestamp_; - } - - /** - * optional int64 maxDurationTimestamp = 1; - * - * @param value The maxDurationTimestamp to set. - * @return This builder for chaining. - */ - public Builder setMaxDurationTimestamp(long value) { - bitField0_ |= 0x00000001; - maxDurationTimestamp_ = value; - onChanged(); - return this; - } - - /** - * optional int64 maxDurationTimestamp = 1; - * - * @return This builder for chaining. - */ - public Builder clearMaxDurationTimestamp() { - bitField0_ = (bitField0_ & ~0x00000001); - maxDurationTimestamp_ = 0L; - onChanged(); - return this; - } - - private long timerCurrentDate_; - - /** - * optional int64 timerCurrentDate = 2; - * - * @return Whether the timerCurrentDate field is set. - */ - @java.lang.Override - public boolean hasTimerCurrentDate() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int64 timerCurrentDate = 2; - * - * @return The timerCurrentDate. - */ - @java.lang.Override - public long getTimerCurrentDate() { - return timerCurrentDate_; - } - - /** - * optional int64 timerCurrentDate = 2; - * - * @param value The timerCurrentDate to set. - * @return This builder for chaining. - */ - public Builder setTimerCurrentDate(long value) { - bitField0_ |= 0x00000002; - timerCurrentDate_ = value; - onChanged(); - return this; - } - - /** - * optional int64 timerCurrentDate = 2; - * - * @return This builder for chaining. - */ - public Builder clearTimerCurrentDate() { - bitField0_ = (bitField0_ & ~0x00000002); - timerCurrentDate_ = 0L; - onChanged(); - return this; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger timerTrigger_; - private com.google.protobuf.SingleFieldBuilderV3 timerTriggerBuilder_; - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - * - * @return Whether the timerTrigger field is set. - */ - public boolean hasTimerTrigger() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - * - * @return The timerTrigger. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger getTimerTrigger() { - if (timerTriggerBuilder_ == null) { - return timerTrigger_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger - .getDefaultInstance() - : timerTrigger_; - } else { - return timerTriggerBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - */ - public Builder setTimerTrigger( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger value) { - if (timerTriggerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - timerTrigger_ = value; - onChanged(); - } else { - timerTriggerBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - */ - public Builder setTimerTrigger( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.Builder builderForValue) { - if (timerTriggerBuilder_ == null) { - timerTrigger_ = builderForValue.build(); - onChanged(); - } else { - timerTriggerBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - */ - public Builder mergeTimerTrigger( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger value) { - if (timerTriggerBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && timerTrigger_ != null - && timerTrigger_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger - .getDefaultInstance()) { - timerTrigger_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger - .newBuilder(timerTrigger_).mergeFrom(value).buildPartial(); - } else { - timerTrigger_ = value; - } - onChanged(); - } else { - timerTriggerBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - */ - public Builder clearTimerTrigger() { - if (timerTriggerBuilder_ == null) { - timerTrigger_ = null; - onChanged(); - } else { - timerTriggerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.Builder getTimerTriggerBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getTimerTriggerFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.TriggerOrBuilder getTimerTriggerOrBuilder() { - if (timerTriggerBuilder_ != null) { - return timerTriggerBuilder_.getMessageOrBuilder(); - } else { - return timerTrigger_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger - .getDefaultInstance() - : timerTrigger_; - } - } - - /** - * optional .org.jbpm.marshalling.Trigger timerTrigger = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3 getTimerTriggerFieldBuilder() { - if (timerTriggerBuilder_ == null) { - timerTriggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getTimerTrigger(), getParentForChildren(), isClean()); - timerTrigger_ = null; - } - return timerTriggerBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompositeMaxDurationTrigger parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompositeMaxDurationTrigger(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private int bitField0_; - public static final int TYPE_FIELD_NUMBER = 1; - private int type_; - - /** - * optional .org.jbpm.marshalling.Trigger.TriggerType type = 1; - * - * @return Whether the type field is set. - */ - @java.lang.Override - public boolean hasType() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger.TriggerType type = 1; - * - * @return The type. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.TriggerType getType() { - @SuppressWarnings("deprecation") - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.TriggerType result = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.TriggerType - .valueOf(type_); - return result == null ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.TriggerType.CRON - : result; - } - - public static final int CRON_FIELD_NUMBER = 2; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger cron_; - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - * - * @return Whether the cron field is set. - */ - @java.lang.Override - public boolean hasCron() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - * - * @return The cron. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger getCron() { - return cron_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger - .getDefaultInstance() - : cron_; - } - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTriggerOrBuilder getCronOrBuilder() { - return cron_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger - .getDefaultInstance() - : cron_; - } - - public static final int INTERVAL_FIELD_NUMBER = 3; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger interval_; - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - * - * @return Whether the interval field is set. - */ - @java.lang.Override - public boolean hasInterval() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - * - * @return The interval. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger getInterval() { - return interval_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger - .getDefaultInstance() - : interval_; - } - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTriggerOrBuilder getIntervalOrBuilder() { - return interval_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger - .getDefaultInstance() - : interval_; - } - - public static final int PIT_FIELD_NUMBER = 4; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger pit_; - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - * - * @return Whether the pit field is set. - */ - @java.lang.Override - public boolean hasPit() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - * - * @return The pit. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger getPit() { - return pit_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger - .getDefaultInstance() - : pit_; - } - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTriggerOrBuilder getPitOrBuilder() { - return pit_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger - .getDefaultInstance() - : pit_; - } - - public static final int CMDT_FIELD_NUMBER = 5; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger cmdt_; - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - * - * @return Whether the cmdt field is set. - */ - @java.lang.Override - public boolean hasCmdt() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - * - * @return The cmdt. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger getCmdt() { - return cmdt_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger - .getDefaultInstance() - : cmdt_; - } - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTriggerOrBuilder getCmdtOrBuilder() { - return cmdt_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger - .getDefaultInstance() - : cmdt_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeEnum(1, type_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(2, getCron()); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(3, getInterval()); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeMessage(4, getPit()); - } - if (((bitField0_ & 0x00000010) != 0)) { - output.writeMessage(5, getCmdt()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCron()); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInterval()); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPit()); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCmdt()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger) obj; - - if (hasType() != other.hasType()) - return false; - if (hasType()) { - if (type_ != other.type_) - return false; - } - if (hasCron() != other.hasCron()) - return false; - if (hasCron()) { - if (!getCron().equals(other.getCron())) - return false; - } - if (hasInterval() != other.hasInterval()) - return false; - if (hasInterval()) { - if (!getInterval().equals(other.getInterval())) - return false; - } - if (hasPit() != other.hasPit()) - return false; - if (hasPit()) { - if (!getPit().equals(other.getPit())) - return false; - } - if (hasCmdt() != other.hasCmdt()) - return false; - if (hasCmdt()) { - if (!getCmdt().equals(other.getCmdt())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasType()) { - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + type_; - } - if (hasCron()) { - hash = (37 * hash) + CRON_FIELD_NUMBER; - hash = (53 * hash) + getCron().hashCode(); - } - if (hasInterval()) { - hash = (37 * hash) + INTERVAL_FIELD_NUMBER; - hash = (53 * hash) + getInterval().hashCode(); - } - if (hasPit()) { - hash = (37 * hash) + PIT_FIELD_NUMBER; - hash = (53 * hash) + getPit().hashCode(); - } - if (hasCmdt()) { - hash = (37 * hash) + CMDT_FIELD_NUMBER; - hash = (53 * hash) + getCmdt().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger parseFrom( - com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Trigger} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.Trigger) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.TriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.Builder.class); - } - - // Construct using org.jbpm.marshalling.impl.JBPMMessages.Trigger.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getCronFieldBuilder(); - getIntervalFieldBuilder(); - getPitFieldBuilder(); - getCmdtFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - type_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - if (cronBuilder_ == null) { - cron_ = null; - } else { - cronBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - if (intervalBuilder_ == null) { - interval_ = null; - } else { - intervalBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - if (pitBuilder_ == null) { - pit_ = null; - } else { - pitBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - if (cmdtBuilder_ == null) { - cmdt_ = null; - } else { - cmdtBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Trigger_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.type_ = type_; - if (((from_bitField0_ & 0x00000002) != 0)) { - if (cronBuilder_ == null) { - result.cron_ = cron_; - } else { - result.cron_ = cronBuilder_.build(); - } - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - if (intervalBuilder_ == null) { - result.interval_ = interval_; - } else { - result.interval_ = intervalBuilder_.build(); - } - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - if (pitBuilder_ == null) { - result.pit_ = pit_; - } else { - result.pit_ = pitBuilder_.build(); - } - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - if (cmdtBuilder_ == null) { - result.cmdt_ = cmdt_; - } else { - result.cmdt_ = cmdtBuilder_.build(); - } - to_bitField0_ |= 0x00000010; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.getDefaultInstance()) - return this; - if (other.hasType()) { - setType(other.getType()); - } - if (other.hasCron()) { - mergeCron(other.getCron()); - } - if (other.hasInterval()) { - mergeInterval(other.getInterval()); - } - if (other.hasPit()) { - mergePit(other.getPit()); - } - if (other.hasCmdt()) { - mergeCmdt(other.getCmdt()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private int type_ = 0; - - /** - * optional .org.jbpm.marshalling.Trigger.TriggerType type = 1; - * - * @return Whether the type field is set. - */ - @java.lang.Override - public boolean hasType() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger.TriggerType type = 1; - * - * @return The type. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.TriggerType getType() { - @SuppressWarnings("deprecation") - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.TriggerType result = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.TriggerType - .valueOf(type_); - return result == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.TriggerType.CRON - : result; - } - - /** - * optional .org.jbpm.marshalling.Trigger.TriggerType type = 1; - * - * @param value The type to set. - * @return This builder for chaining. - */ - public Builder setType( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.TriggerType value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - type_ = value.getNumber(); - onChanged(); - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.TriggerType type = 1; - * - * @return This builder for chaining. - */ - public Builder clearType() { - bitField0_ = (bitField0_ & ~0x00000001); - type_ = 0; - onChanged(); - return this; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger cron_; - private com.google.protobuf.SingleFieldBuilderV3 cronBuilder_; - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - * - * @return Whether the cron field is set. - */ - public boolean hasCron() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - * - * @return The cron. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger getCron() { - if (cronBuilder_ == null) { - return cron_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger - .getDefaultInstance() - : cron_; - } else { - return cronBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - */ - public Builder setCron( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger value) { - if (cronBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - cron_ = value; - onChanged(); - } else { - cronBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - */ - public Builder setCron( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger.Builder builderForValue) { - if (cronBuilder_ == null) { - cron_ = builderForValue.build(); - onChanged(); - } else { - cronBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - */ - public Builder mergeCron( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger value) { - if (cronBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && cron_ != null - && cron_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger - .getDefaultInstance()) { - cron_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger - .newBuilder(cron_).mergeFrom(value).buildPartial(); - } else { - cron_ = value; - } - onChanged(); - } else { - cronBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - */ - public Builder clearCron() { - if (cronBuilder_ == null) { - cron_ = null; - onChanged(); - } else { - cronBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger.Builder getCronBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getCronFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTriggerOrBuilder getCronOrBuilder() { - if (cronBuilder_ != null) { - return cronBuilder_.getMessageOrBuilder(); - } else { - return cron_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CronTrigger - .getDefaultInstance() - : cron_; - } - } - - /** - * optional .org.jbpm.marshalling.Trigger.CronTrigger cron = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3 getCronFieldBuilder() { - if (cronBuilder_ == null) { - cronBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getCron(), getParentForChildren(), isClean()); - cron_ = null; - } - return cronBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger interval_; - private com.google.protobuf.SingleFieldBuilderV3 intervalBuilder_; - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - * - * @return Whether the interval field is set. - */ - public boolean hasInterval() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - * - * @return The interval. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger getInterval() { - if (intervalBuilder_ == null) { - return interval_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger - .getDefaultInstance() - : interval_; - } else { - return intervalBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - */ - public Builder setInterval( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger value) { - if (intervalBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - interval_ = value; - onChanged(); - } else { - intervalBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - */ - public Builder setInterval( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger.Builder builderForValue) { - if (intervalBuilder_ == null) { - interval_ = builderForValue.build(); - onChanged(); - } else { - intervalBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - */ - public Builder mergeInterval( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger value) { - if (intervalBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && interval_ != null - && interval_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger - .getDefaultInstance()) { - interval_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger - .newBuilder(interval_).mergeFrom(value).buildPartial(); - } else { - interval_ = value; - } - onChanged(); - } else { - intervalBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - */ - public Builder clearInterval() { - if (intervalBuilder_ == null) { - interval_ = null; - onChanged(); - } else { - intervalBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger.Builder getIntervalBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getIntervalFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTriggerOrBuilder getIntervalOrBuilder() { - if (intervalBuilder_ != null) { - return intervalBuilder_.getMessageOrBuilder(); - } else { - return interval_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.IntervalTrigger - .getDefaultInstance() - : interval_; - } - } - - /** - * optional .org.jbpm.marshalling.Trigger.IntervalTrigger interval = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3 getIntervalFieldBuilder() { - if (intervalBuilder_ == null) { - intervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getInterval(), getParentForChildren(), isClean()); - interval_ = null; - } - return intervalBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger pit_; - private com.google.protobuf.SingleFieldBuilderV3 pitBuilder_; - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - * - * @return Whether the pit field is set. - */ - public boolean hasPit() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - * - * @return The pit. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger getPit() { - if (pitBuilder_ == null) { - return pit_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger - .getDefaultInstance() - : pit_; - } else { - return pitBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - public Builder setPit( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger value) { - if (pitBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - pit_ = value; - onChanged(); - } else { - pitBuilder_.setMessage(value); - } - bitField0_ |= 0x00000008; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - public Builder setPit( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger.Builder builderForValue) { - if (pitBuilder_ == null) { - pit_ = builderForValue.build(); - onChanged(); - } else { - pitBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000008; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - public Builder mergePit( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger value) { - if (pitBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && pit_ != null - && pit_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger - .getDefaultInstance()) { - pit_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger - .newBuilder(pit_).mergeFrom(value).buildPartial(); - } else { - pit_ = value; - } - onChanged(); - } else { - pitBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000008; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - public Builder clearPit() { - if (pitBuilder_ == null) { - pit_ = null; - onChanged(); - } else { - pitBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger.Builder getPitBuilder() { - bitField0_ |= 0x00000008; - onChanged(); - return getPitFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTriggerOrBuilder getPitOrBuilder() { - if (pitBuilder_ != null) { - return pitBuilder_.getMessageOrBuilder(); - } else { - return pit_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PointInTimeTrigger - .getDefaultInstance() - : pit_; - } - } - - /** - * optional .org.jbpm.marshalling.Trigger.PointInTimeTrigger pit = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3 getPitFieldBuilder() { - if (pitBuilder_ == null) { - pitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getPit(), getParentForChildren(), isClean()); - pit_ = null; - } - return pitBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger cmdt_; - private com.google.protobuf.SingleFieldBuilderV3 cmdtBuilder_; - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - * - * @return Whether the cmdt field is set. - */ - public boolean hasCmdt() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - * - * @return The cmdt. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger getCmdt() { - if (cmdtBuilder_ == null) { - return cmdt_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger - .getDefaultInstance() - : cmdt_; - } else { - return cmdtBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - public Builder setCmdt( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger value) { - if (cmdtBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - cmdt_ = value; - onChanged(); - } else { - cmdtBuilder_.setMessage(value); - } - bitField0_ |= 0x00000010; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - public Builder setCmdt( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger.Builder builderForValue) { - if (cmdtBuilder_ == null) { - cmdt_ = builderForValue.build(); - onChanged(); - } else { - cmdtBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000010; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - public Builder mergeCmdt( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger value) { - if (cmdtBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && cmdt_ != null - && cmdt_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger - .getDefaultInstance()) { - cmdt_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger - .newBuilder(cmdt_).mergeFrom(value).buildPartial(); - } else { - cmdt_ = value; - } - onChanged(); - } else { - cmdtBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000010; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - public Builder clearCmdt() { - if (cmdtBuilder_ == null) { - cmdt_ = null; - onChanged(); - } else { - cmdtBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger.Builder getCmdtBuilder() { - bitField0_ |= 0x00000010; - onChanged(); - return getCmdtFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTriggerOrBuilder getCmdtOrBuilder() { - if (cmdtBuilder_ != null) { - return cmdtBuilder_.getMessageOrBuilder(); - } else { - return cmdt_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.CompositeMaxDurationTrigger - .getDefaultInstance() - : cmdt_; - } - } - - /** - * optional .org.jbpm.marshalling.Trigger.CompositeMaxDurationTrigger cmdt = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3 getCmdtFieldBuilder() { - if (cmdtBuilder_ == null) { - cmdtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getCmdt(), getParentForChildren(), isClean()); - cmdt_ = null; - } - return cmdtBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.Trigger) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.Trigger) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Trigger parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Trigger(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProcessDataOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessData) - com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder { - } - - /** - * Protobuf type {@code org.jbpm.marshalling.ProcessData} - */ - public static final class ProcessData extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage - implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessData) - ProcessDataOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ProcessData.newBuilder() to construct. - private ProcessData( - com.google.protobuf.GeneratedMessageV3.ExtendableBuilder builder) { - super(builder); - } - - private ProcessData() { - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ProcessData(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ProcessData(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData.Builder.class); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - if (!extensionsAreInitialized()) { - memoizedIsInitialized = 0; - return false; - } - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter extensionWriter = newExtensionWriter(); - extensionWriter.writeUntil(200, output); - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - size += extensionsSerializedSize(); - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData) obj; - - if (!unknownFields.equals(other.unknownFields)) - return false; - if (!getExtensionFields().equals(other.getExtensionFields())) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = hashFields(hash, getExtensionFields()); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData parseFrom( - com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.ProcessData} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.ExtendableBuilder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessData) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessData_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessData.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessData_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData( - this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder setExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension extension, - Type value) { - return super.setExtension(extension, value); - } - - @java.lang.Override - public Builder setExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension> extension, - int index, Type value) { - return super.setExtension(extension, index, value); - } - - @java.lang.Override - public Builder addExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension> extension, - Type value) { - return super.addExtension(extension, value); - } - - @java.lang.Override - public Builder clearExtension( - com.google.protobuf.GeneratedMessage.GeneratedExtension extension) { - return super.clearExtension(extension); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData - .getDefaultInstance()) - return this; - this.mergeExtensionFields(other); - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - if (!extensionsAreInitialized()) { - return false; - } - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessData) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessData) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessData parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProcessData(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessData getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProcessInstanceOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string process_type = 1; - * - * @return Whether the processType field is set. - */ - boolean hasProcessType(); - - /** - * optional string process_type = 1; - * - * @return The processType. - */ - java.lang.String getProcessType(); - - /** - * optional string process_type = 1; - * - * @return The bytes for processType. - */ - com.google.protobuf.ByteString getProcessTypeBytes(); - - /** - * optional string id = 2; - * - * @return Whether the id field is set. - */ - boolean hasId(); - - /** - * optional string id = 2; - * - * @return The id. - */ - java.lang.String getId(); - - /** - * optional string id = 2; - * - * @return The bytes for id. - */ - com.google.protobuf.ByteString getIdBytes(); - - /** - * optional string process_id = 3; - * - * @return Whether the processId field is set. - */ - boolean hasProcessId(); - - /** - * optional string process_id = 3; - * - * @return The processId. - */ - java.lang.String getProcessId(); - - /** - * optional string process_id = 3; - * - * @return The bytes for processId. - */ - com.google.protobuf.ByteString getProcessIdBytes(); - - /** - * optional int32 state = 4; - * - * @return Whether the state field is set. - */ - boolean hasState(); - - /** - * optional int32 state = 4; - * - * @return The state. - */ - int getState(); - - /** - * optional int64 node_instance_counter = 5; - * - * @return Whether the nodeInstanceCounter field is set. - */ - boolean hasNodeInstanceCounter(); - - /** - * optional int64 node_instance_counter = 5; - * - * @return The nodeInstanceCounter. - */ - long getNodeInstanceCounter(); - - /** - * optional string process_xml = 11; - * - * @return Whether the processXml field is set. - */ - boolean hasProcessXml(); - - /** - * optional string process_xml = 11; - * - * @return The processXml. - */ - java.lang.String getProcessXml(); - - /** - * optional string process_xml = 11; - * - * @return The bytes for processXml. - */ - com.google.protobuf.ByteString getProcessXmlBytes(); - - /** - * optional string parent_process_instance_id = 12; - * - * @return Whether the parentProcessInstanceId field is set. - */ - boolean hasParentProcessInstanceId(); - - /** - * optional string parent_process_instance_id = 12; - * - * @return The parentProcessInstanceId. - */ - java.lang.String getParentProcessInstanceId(); - - /** - * optional string parent_process_instance_id = 12; - * - * @return The bytes for parentProcessInstanceId. - */ - com.google.protobuf.ByteString getParentProcessInstanceIdBytes(); - - /** - * optional string description = 15; - * - * @return Whether the description field is set. - */ - boolean hasDescription(); - - /** - * optional string description = 15; - * - * @return The description. - */ - java.lang.String getDescription(); - - /** - * optional string description = 15; - * - * @return The bytes for description. - */ - com.google.protobuf.ByteString getDescriptionBytes(); - - /** - * optional bool signal_completion = 16 [default = true]; - * - * @return Whether the signalCompletion field is set. - */ - boolean hasSignalCompletion(); - - /** - * optional bool signal_completion = 16 [default = true]; - * - * @return The signalCompletion. - */ - boolean getSignalCompletion(); - - /** - * optional string deploymentId = 17; - * - * @return Whether the deploymentId field is set. - */ - boolean hasDeploymentId(); - - /** - * optional string deploymentId = 17; - * - * @return The deploymentId. - */ - java.lang.String getDeploymentId(); - - /** - * optional string deploymentId = 17; - * - * @return The bytes for deploymentId. - */ - com.google.protobuf.ByteString getDeploymentIdBytes(); - - /** - * optional string correlation_key = 18; - * - * @return Whether the correlationKey field is set. - */ - boolean hasCorrelationKey(); - - /** - * optional string correlation_key = 18; - * - * @return The correlationKey. - */ - java.lang.String getCorrelationKey(); - - /** - * optional string correlation_key = 18; - * - * @return The bytes for correlationKey. - */ - com.google.protobuf.ByteString getCorrelationKeyBytes(); - - /** - * optional string sla_timer_id = 19; - * - * @return Whether the slaTimerId field is set. - */ - boolean hasSlaTimerId(); - - /** - * optional string sla_timer_id = 19; - * - * @return The slaTimerId. - */ - java.lang.String getSlaTimerId(); - - /** - * optional string sla_timer_id = 19; - * - * @return The bytes for slaTimerId. - */ - com.google.protobuf.ByteString getSlaTimerIdBytes(); - - /** - * optional int64 sla_due_date = 20; - * - * @return Whether the slaDueDate field is set. - */ - boolean hasSlaDueDate(); - - /** - * optional int64 sla_due_date = 20; - * - * @return The slaDueDate. - */ - long getSlaDueDate(); - - /** - * optional int32 sla_compliance = 21; - * - * @return Whether the slaCompliance field is set. - */ - boolean hasSlaCompliance(); - - /** - * optional int32 sla_compliance = 21; - * - * @return The slaCompliance. - */ - int getSlaCompliance(); - - /** - * optional string root_process_instance_id = 22; - * - * @return Whether the rootProcessInstanceId field is set. - */ - boolean hasRootProcessInstanceId(); - - /** - * optional string root_process_instance_id = 22; - * - * @return The rootProcessInstanceId. - */ - java.lang.String getRootProcessInstanceId(); - - /** - * optional string root_process_instance_id = 22; - * - * @return The bytes for rootProcessInstanceId. - */ - com.google.protobuf.ByteString getRootProcessInstanceIdBytes(); - - /** - * optional int64 start_date = 23; - * - * @return Whether the startDate field is set. - */ - boolean hasStartDate(); - - /** - * optional int64 start_date = 23; - * - * @return The startDate. - */ - long getStartDate(); - - /** - * optional string root_process_id = 24; - * - * @return Whether the rootProcessId field is set. - */ - boolean hasRootProcessId(); - - /** - * optional string root_process_id = 24; - * - * @return The rootProcessId. - */ - java.lang.String getRootProcessId(); - - /** - * optional string root_process_id = 24; - * - * @return The bytes for rootProcessId. - */ - com.google.protobuf.ByteString getRootProcessIdBytes(); - - /** - * optional string error_node_id = 25; - * - * @return Whether the errorNodeId field is set. - */ - boolean hasErrorNodeId(); - - /** - * optional string error_node_id = 25; - * - * @return The errorNodeId. - */ - java.lang.String getErrorNodeId(); - - /** - * optional string error_node_id = 25; - * - * @return The bytes for errorNodeId. - */ - com.google.protobuf.ByteString getErrorNodeIdBytes(); - - /** - * optional string error_message = 26; - * - * @return Whether the errorMessage field is set. - */ - boolean hasErrorMessage(); - - /** - * optional string error_message = 26; - * - * @return The errorMessage. - */ - java.lang.String getErrorMessage(); - - /** - * optional string error_message = 26; - * - * @return The bytes for errorMessage. - */ - com.google.protobuf.ByteString getErrorMessageBytes(); - - /** - * optional string reference_id = 27; - * - * @return Whether the referenceId field is set. - */ - boolean hasReferenceId(); - - /** - * optional string reference_id = 27; - * - * @return The referenceId. - */ - java.lang.String getReferenceId(); - - /** - * optional string reference_id = 27; - * - * @return The bytes for referenceId. - */ - com.google.protobuf.ByteString getReferenceIdBytes(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - java.util.List getSwimlaneContextList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance getSwimlaneContext( - int index); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - int getSwimlaneContextCount(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - java.util.List getSwimlaneContextOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder getSwimlaneContextOrBuilder( - int index); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - java.util.List getNodeInstanceList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance getNodeInstance( - int index); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - int getNodeInstanceCount(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - java.util.List getNodeInstanceOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - java.util.List getVariableList(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - int getVariableCount(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - java.util.List getVariableOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder(int index); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - java.util.List getExclusiveGroupList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup( - int index); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - int getExclusiveGroupCount(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - java.util.List getExclusiveGroupOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( - int index); - - /** - * repeated string completedNodeIds = 13; - * - * @return A list containing the completedNodeIds. - */ - java.util.List getCompletedNodeIdsList(); - - /** - * repeated string completedNodeIds = 13; - * - * @return The count of completedNodeIds. - */ - int getCompletedNodeIdsCount(); - - /** - * repeated string completedNodeIds = 13; - * - * @param index The index of the element to return. - * @return The completedNodeIds at the given index. - */ - java.lang.String getCompletedNodeIds(int index); - - /** - * repeated string completedNodeIds = 13; - * - * @param index The index of the value to return. - * @return The bytes of the completedNodeIds at the given index. - */ - com.google.protobuf.ByteString getCompletedNodeIdsBytes(int index); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - java.util.List getIterationLevelsList(); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel getIterationLevels(int index); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - int getIterationLevelsCount(); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - java.util.List getIterationLevelsOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.ProcessInstance} - */ - public static final class ProcessInstance extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance) - ProcessInstanceOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ProcessInstance.newBuilder() to construct. - private ProcessInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ProcessInstance() { - processType_ = ""; - id_ = ""; - processId_ = ""; - processXml_ = ""; - parentProcessInstanceId_ = ""; - description_ = ""; - signalCompletion_ = true; - deploymentId_ = ""; - correlationKey_ = ""; - slaTimerId_ = ""; - rootProcessInstanceId_ = ""; - rootProcessId_ = ""; - errorNodeId_ = ""; - errorMessage_ = ""; - referenceId_ = ""; - swimlaneContext_ = java.util.Collections.emptyList(); - nodeInstance_ = java.util.Collections.emptyList(); - variable_ = java.util.Collections.emptyList(); - exclusiveGroup_ = java.util.Collections.emptyList(); - completedNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - iterationLevels_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ProcessInstance(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ProcessInstance(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - processType_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - id_ = bs; - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000004; - processId_ = bs; - break; - } - case 32: { - bitField0_ |= 0x00000008; - state_ = input.readInt32(); - break; - } - case 40: { - bitField0_ |= 0x00000010; - nodeInstanceCounter_ = input.readInt64(); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00100000) != 0)) { - swimlaneContext_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00100000; - } - swimlaneContext_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.PARSER, - extensionRegistry)); - break; - } - case 58: { - if (!((mutable_bitField0_ & 0x00200000) != 0)) { - nodeInstance_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00200000; - } - nodeInstance_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.PARSER, - extensionRegistry)); - break; - } - case 66: { - if (!((mutable_bitField0_ & 0x00400000) != 0)) { - variable_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00400000; - } - variable_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.PARSER, - extensionRegistry)); - break; - } - case 82: { - if (!((mutable_bitField0_ & 0x00800000) != 0)) { - exclusiveGroup_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00800000; - } - exclusiveGroup_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.PARSER, - extensionRegistry)); - break; - } - case 90: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000020; - processXml_ = bs; - break; - } - case 98: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000040; - parentProcessInstanceId_ = bs; - break; - } - case 106: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x01000000) != 0)) { - completedNodeIds_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x01000000; - } - completedNodeIds_.add(bs); - break; - } - case 114: { - if (!((mutable_bitField0_ & 0x02000000) != 0)) { - iterationLevels_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x02000000; - } - iterationLevels_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.PARSER, - extensionRegistry)); - break; - } - case 122: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000080; - description_ = bs; - break; - } - case 128: { - bitField0_ |= 0x00000100; - signalCompletion_ = input.readBool(); - break; - } - case 138: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000200; - deploymentId_ = bs; - break; - } - case 146: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000400; - correlationKey_ = bs; - break; - } - case 154: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000800; - slaTimerId_ = bs; - break; - } - case 160: { - bitField0_ |= 0x00001000; - slaDueDate_ = input.readInt64(); - break; - } - case 168: { - bitField0_ |= 0x00002000; - slaCompliance_ = input.readInt32(); - break; - } - case 178: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00004000; - rootProcessInstanceId_ = bs; - break; - } - case 184: { - bitField0_ |= 0x00008000; - startDate_ = input.readInt64(); - break; - } - case 194: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00010000; - rootProcessId_ = bs; - break; - } - case 202: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00020000; - errorNodeId_ = bs; - break; - } - case 210: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00040000; - errorMessage_ = bs; - break; - } - case 218: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00080000; - referenceId_ = bs; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00100000) != 0)) { - swimlaneContext_ = java.util.Collections.unmodifiableList(swimlaneContext_); - } - if (((mutable_bitField0_ & 0x00200000) != 0)) { - nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); - } - if (((mutable_bitField0_ & 0x00400000) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - } - if (((mutable_bitField0_ & 0x00800000) != 0)) { - exclusiveGroup_ = java.util.Collections.unmodifiableList(exclusiveGroup_); - } - if (((mutable_bitField0_ & 0x01000000) != 0)) { - completedNodeIds_ = completedNodeIds_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x02000000) != 0)) { - iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.Builder.class); - } - - /** - * Protobuf enum {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceType} - */ - public enum NodeInstanceType implements com.google.protobuf.ProtocolMessageEnum { - /** - * RULE_SET_NODE = 0; - */ - RULE_SET_NODE(0), - /** - * HUMAN_TASK_NODE = 1; - */ - HUMAN_TASK_NODE(1), - /** - * WORK_ITEM_NODE = 2; - */ - WORK_ITEM_NODE(2), - /** - * SUBPROCESS_NODE = 3; - */ - SUBPROCESS_NODE(3), - /** - * MILESTONE_NODE = 4; - */ - MILESTONE_NODE(4), - /** - * EVENT_NODE = 5; - */ - EVENT_NODE(5), - /** - * TIMER_NODE = 6; - */ - TIMER_NODE(6), - /** - * JOIN_NODE = 7; - */ - JOIN_NODE(7), - /** - * STATE_NODE = 8; - */ - STATE_NODE(8), - /** - * COMPOSITE_CONTEXT_NODE = 9; - */ - COMPOSITE_CONTEXT_NODE(9), - /** - * FOR_EACH_NODE = 10; - */ - FOR_EACH_NODE(10), - /** - * DYNAMIC_NODE = 11; - */ - DYNAMIC_NODE(11), - /** - * EVENT_SUBPROCESS_NODE = 12; - */ - EVENT_SUBPROCESS_NODE(12), - /** - * ASYNC_EVENT_NODE = 13; - */ - ASYNC_EVENT_NODE(13), - /** - * SUB_PROCESS_NODE = 14; - */ - SUB_PROCESS_NODE(14),; - - /** - * RULE_SET_NODE = 0; - */ - public static final int RULE_SET_NODE_VALUE = 0; - /** - * HUMAN_TASK_NODE = 1; - */ - public static final int HUMAN_TASK_NODE_VALUE = 1; - /** - * WORK_ITEM_NODE = 2; - */ - public static final int WORK_ITEM_NODE_VALUE = 2; - /** - * SUBPROCESS_NODE = 3; - */ - public static final int SUBPROCESS_NODE_VALUE = 3; - /** - * MILESTONE_NODE = 4; - */ - public static final int MILESTONE_NODE_VALUE = 4; - /** - * EVENT_NODE = 5; - */ - public static final int EVENT_NODE_VALUE = 5; - /** - * TIMER_NODE = 6; - */ - public static final int TIMER_NODE_VALUE = 6; - /** - * JOIN_NODE = 7; - */ - public static final int JOIN_NODE_VALUE = 7; - /** - * STATE_NODE = 8; - */ - public static final int STATE_NODE_VALUE = 8; - /** - * COMPOSITE_CONTEXT_NODE = 9; - */ - public static final int COMPOSITE_CONTEXT_NODE_VALUE = 9; - /** - * FOR_EACH_NODE = 10; - */ - public static final int FOR_EACH_NODE_VALUE = 10; - /** - * DYNAMIC_NODE = 11; - */ - public static final int DYNAMIC_NODE_VALUE = 11; - /** - * EVENT_SUBPROCESS_NODE = 12; - */ - public static final int EVENT_SUBPROCESS_NODE_VALUE = 12; - /** - * ASYNC_EVENT_NODE = 13; - */ - public static final int ASYNC_EVENT_NODE_VALUE = 13; - /** - * SUB_PROCESS_NODE = 14; - */ - public static final int SUB_PROCESS_NODE_VALUE = 14; - - public final int getNumber() { - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static NodeInstanceType valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static NodeInstanceType forNumber(int value) { - switch (value) { - case 0: - return RULE_SET_NODE; - case 1: - return HUMAN_TASK_NODE; - case 2: - return WORK_ITEM_NODE; - case 3: - return SUBPROCESS_NODE; - case 4: - return MILESTONE_NODE; - case 5: - return EVENT_NODE; - case 6: - return TIMER_NODE; - case 7: - return JOIN_NODE; - case 8: - return STATE_NODE; - case 9: - return COMPOSITE_CONTEXT_NODE; - case 10: - return FOR_EACH_NODE; - case 11: - return DYNAMIC_NODE; - case 12: - return EVENT_SUBPROCESS_NODE; - case 13: - return ASYNC_EVENT_NODE; - case 14: - return SUB_PROCESS_NODE; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { - public NodeInstanceType findValueByNumber(int number) { - return NodeInstanceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.getDescriptor() - .getEnumTypes().get(0); - } - - private static final NodeInstanceType[] VALUES = values(); - - public static NodeInstanceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private NodeInstanceType(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceType) - } - - public interface SwimlaneContextInstanceOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string swimlane = 1; - * - * @return Whether the swimlane field is set. - */ - boolean hasSwimlane(); - - /** - * optional string swimlane = 1; - * - * @return The swimlane. - */ - java.lang.String getSwimlane(); - - /** - * optional string swimlane = 1; - * - * @return The bytes for swimlane. - */ - com.google.protobuf.ByteString getSwimlaneBytes(); - - /** - * optional string actor_id = 2; - * - * @return Whether the actorId field is set. - */ - boolean hasActorId(); - - /** - * optional string actor_id = 2; - * - * @return The actorId. - */ - java.lang.String getActorId(); - - /** - * optional string actor_id = 2; - * - * @return The bytes for actorId. - */ - com.google.protobuf.ByteString getActorIdBytes(); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance} - */ - public static final class SwimlaneContextInstance extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance) - SwimlaneContextInstanceOrBuilder { - private static final long serialVersionUID = 0L; - - // Use SwimlaneContextInstance.newBuilder() to construct. - private SwimlaneContextInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private SwimlaneContextInstance() { - swimlane_ = ""; - actorId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SwimlaneContextInstance(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private SwimlaneContextInstance(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - swimlane_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - actorId_ = bs; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_SwimlaneContextInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.Builder.class); - } - - private int bitField0_; - public static final int SWIMLANE_FIELD_NUMBER = 1; - private volatile java.lang.Object swimlane_; - - /** - * optional string swimlane = 1; - * - * @return Whether the swimlane field is set. - */ - @java.lang.Override - public boolean hasSwimlane() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string swimlane = 1; - * - * @return The swimlane. - */ - @java.lang.Override - public java.lang.String getSwimlane() { - java.lang.Object ref = swimlane_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - swimlane_ = s; - } - return s; - } - } - - /** - * optional string swimlane = 1; - * - * @return The bytes for swimlane. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSwimlaneBytes() { - java.lang.Object ref = swimlane_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - swimlane_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ACTOR_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object actorId_; - - /** - * optional string actor_id = 2; - * - * @return Whether the actorId field is set. - */ - @java.lang.Override - public boolean hasActorId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string actor_id = 2; - * - * @return The actorId. - */ - @java.lang.Override - public java.lang.String getActorId() { - java.lang.Object ref = actorId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - actorId_ = s; - } - return s; - } - } - - /** - * optional string actor_id = 2; - * - * @return The bytes for actorId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getActorIdBytes() { - java.lang.Object ref = actorId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - actorId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, swimlane_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, actorId_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, swimlane_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, actorId_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance) obj; - - if (hasSwimlane() != other.hasSwimlane()) - return false; - if (hasSwimlane()) { - if (!getSwimlane().equals(other.getSwimlane())) - return false; - } - if (hasActorId() != other.hasActorId()) - return false; - if (hasActorId()) { - if (!getActorId().equals(other.getActorId())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasSwimlane()) { - hash = (37 * hash) + SWIMLANE_FIELD_NUMBER; - hash = (53 * hash) + getSwimlane().hashCode(); - } - if (hasActorId()) { - hash = (37 * hash) + ACTOR_ID_FIELD_NUMBER; - hash = (53 * hash) + getActorId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_SwimlaneContextInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - swimlane_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - actorId_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.swimlane_ = swimlane_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.actorId_ = actorId_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance - .getDefaultInstance()) - return this; - if (other.hasSwimlane()) { - bitField0_ |= 0x00000001; - swimlane_ = other.swimlane_; - onChanged(); - } - if (other.hasActorId()) { - bitField0_ |= 0x00000002; - actorId_ = other.actorId_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object swimlane_ = ""; - - /** - * optional string swimlane = 1; - * - * @return Whether the swimlane field is set. - */ - public boolean hasSwimlane() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string swimlane = 1; - * - * @return The swimlane. - */ - public java.lang.String getSwimlane() { - java.lang.Object ref = swimlane_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - swimlane_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string swimlane = 1; - * - * @return The bytes for swimlane. - */ - public com.google.protobuf.ByteString getSwimlaneBytes() { - java.lang.Object ref = swimlane_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - swimlane_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string swimlane = 1; - * - * @param value The swimlane to set. - * @return This builder for chaining. - */ - public Builder setSwimlane(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - swimlane_ = value; - onChanged(); - return this; - } - - /** - * optional string swimlane = 1; - * - * @return This builder for chaining. - */ - public Builder clearSwimlane() { - bitField0_ = (bitField0_ & ~0x00000001); - swimlane_ = getDefaultInstance().getSwimlane(); - onChanged(); - return this; - } - - /** - * optional string swimlane = 1; - * - * @param value The bytes for swimlane to set. - * @return This builder for chaining. - */ - public Builder setSwimlaneBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - swimlane_ = value; - onChanged(); - return this; - } - - private java.lang.Object actorId_ = ""; - - /** - * optional string actor_id = 2; - * - * @return Whether the actorId field is set. - */ - public boolean hasActorId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string actor_id = 2; - * - * @return The actorId. - */ - public java.lang.String getActorId() { - java.lang.Object ref = actorId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - actorId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string actor_id = 2; - * - * @return The bytes for actorId. - */ - public com.google.protobuf.ByteString getActorIdBytes() { - java.lang.Object ref = actorId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - actorId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string actor_id = 2; - * - * @param value The actorId to set. - * @return This builder for chaining. - */ - public Builder setActorId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - actorId_ = value; - onChanged(); - return this; - } - - /** - * optional string actor_id = 2; - * - * @return This builder for chaining. - */ - public Builder clearActorId() { - bitField0_ = (bitField0_ & ~0x00000002); - actorId_ = getDefaultInstance().getActorId(); - onChanged(); - return this; - } - - /** - * optional string actor_id = 2; - * - * @param value The bytes for actorId to set. - * @return This builder for chaining. - */ - public Builder setActorIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - actorId_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SwimlaneContextInstance parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SwimlaneContextInstance(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeInstanceOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstance) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string id = 1; - * - * @return Whether the id field is set. - */ - boolean hasId(); - - /** - * optional string id = 1; - * - * @return The id. - */ - java.lang.String getId(); - - /** - * optional string id = 1; - * - * @return The bytes for id. - */ - com.google.protobuf.ByteString getIdBytes(); - - /** - * optional int64 node_id = 2; - * - * @return Whether the nodeId field is set. - */ - boolean hasNodeId(); - - /** - * optional int64 node_id = 2; - * - * @return The nodeId. - */ - long getNodeId(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - * - * @return Whether the content field is set. - */ - boolean hasContent(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - * - * @return The content. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent getContent(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContentOrBuilder getContentOrBuilder(); - - /** - * optional int32 level = 5; - * - * @return Whether the level field is set. - */ - boolean hasLevel(); - - /** - * optional int32 level = 5; - * - * @return The level. - */ - int getLevel(); - - /** - * optional string sla_timer_id = 6; - * - * @return Whether the slaTimerId field is set. - */ - boolean hasSlaTimerId(); - - /** - * optional string sla_timer_id = 6; - * - * @return The slaTimerId. - */ - java.lang.String getSlaTimerId(); - - /** - * optional string sla_timer_id = 6; - * - * @return The bytes for slaTimerId. - */ - com.google.protobuf.ByteString getSlaTimerIdBytes(); - - /** - * optional int64 sla_due_date = 7; - * - * @return Whether the slaDueDate field is set. - */ - boolean hasSlaDueDate(); - - /** - * optional int64 sla_due_date = 7; - * - * @return The slaDueDate. - */ - long getSlaDueDate(); - - /** - * optional int32 sla_compliance = 8; - * - * @return Whether the slaCompliance field is set. - */ - boolean hasSlaCompliance(); - - /** - * optional int32 sla_compliance = 8; - * - * @return The slaCompliance. - */ - int getSlaCompliance(); - - /** - * optional int64 trigger_date = 9; - * - * @return Whether the triggerDate field is set. - */ - boolean hasTriggerDate(); - - /** - * optional int64 trigger_date = 9; - * - * @return The triggerDate. - */ - long getTriggerDate(); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.ProcessInstance.NodeInstance} - */ - public static final class NodeInstance extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstance) - NodeInstanceOrBuilder { - private static final long serialVersionUID = 0L; - - // Use NodeInstance.newBuilder() to construct. - private NodeInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private NodeInstance() { - id_ = ""; - slaTimerId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new NodeInstance(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private NodeInstance(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - id_ = bs; - break; - } - case 16: { - bitField0_ |= 0x00000002; - nodeId_ = input.readInt64(); - break; - } - case 34: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) != 0)) { - subBuilder = content_.toBuilder(); - } - content_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(content_); - content_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - case 40: { - bitField0_ |= 0x00000008; - level_ = input.readInt32(); - break; - } - case 50: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000010; - slaTimerId_ = bs; - break; - } - case 56: { - bitField0_ |= 0x00000020; - slaDueDate_ = input.readInt64(); - break; - } - case 64: { - bitField0_ |= 0x00000040; - slaCompliance_ = input.readInt32(); - break; - } - case 72: { - bitField0_ |= 0x00000080; - triggerDate_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - - /** - * optional string id = 1; - * - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string id = 1; - * - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } - } - - /** - * optional string id = 1; - * - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NODE_ID_FIELD_NUMBER = 2; - private long nodeId_; - - /** - * optional int64 node_id = 2; - * - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int64 node_id = 2; - * - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } - - public static final int CONTENT_FIELD_NUMBER = 4; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent content_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - * - * @return Whether the content field is set. - */ - @java.lang.Override - public boolean hasContent() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - * - * @return The content. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent getContent() { - return content_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent - .getDefaultInstance() - : content_; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContentOrBuilder getContentOrBuilder() { - return content_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent - .getDefaultInstance() - : content_; - } - - public static final int LEVEL_FIELD_NUMBER = 5; - private int level_; - - /** - * optional int32 level = 5; - * - * @return Whether the level field is set. - */ - @java.lang.Override - public boolean hasLevel() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int32 level = 5; - * - * @return The level. - */ - @java.lang.Override - public int getLevel() { - return level_; - } - - public static final int SLA_TIMER_ID_FIELD_NUMBER = 6; - private volatile java.lang.Object slaTimerId_; - - /** - * optional string sla_timer_id = 6; - * - * @return Whether the slaTimerId field is set. - */ - @java.lang.Override - public boolean hasSlaTimerId() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional string sla_timer_id = 6; - * - * @return The slaTimerId. - */ - @java.lang.Override - public java.lang.String getSlaTimerId() { - java.lang.Object ref = slaTimerId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - slaTimerId_ = s; - } - return s; - } - } - - /** - * optional string sla_timer_id = 6; - * - * @return The bytes for slaTimerId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSlaTimerIdBytes() { - java.lang.Object ref = slaTimerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - slaTimerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SLA_DUE_DATE_FIELD_NUMBER = 7; - private long slaDueDate_; - - /** - * optional int64 sla_due_date = 7; - * - * @return Whether the slaDueDate field is set. - */ - @java.lang.Override - public boolean hasSlaDueDate() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional int64 sla_due_date = 7; - * - * @return The slaDueDate. - */ - @java.lang.Override - public long getSlaDueDate() { - return slaDueDate_; - } - - public static final int SLA_COMPLIANCE_FIELD_NUMBER = 8; - private int slaCompliance_; - - /** - * optional int32 sla_compliance = 8; - * - * @return Whether the slaCompliance field is set. - */ - @java.lang.Override - public boolean hasSlaCompliance() { - return ((bitField0_ & 0x00000040) != 0); - } - - /** - * optional int32 sla_compliance = 8; - * - * @return The slaCompliance. - */ - @java.lang.Override - public int getSlaCompliance() { - return slaCompliance_; - } - - public static final int TRIGGER_DATE_FIELD_NUMBER = 9; - private long triggerDate_; - - /** - * optional int64 trigger_date = 9; - * - * @return Whether the triggerDate field is set. - */ - @java.lang.Override - public boolean hasTriggerDate() { - return ((bitField0_ & 0x00000080) != 0); - } - - /** - * optional int64 trigger_date = 9; - * - * @return The triggerDate. - */ - @java.lang.Override - public long getTriggerDate() { - return triggerDate_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt64(2, nodeId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(4, getContent()); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeInt32(5, level_); - } - if (((bitField0_ & 0x00000010) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, slaTimerId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - output.writeInt64(7, slaDueDate_); - } - if (((bitField0_ & 0x00000040) != 0)) { - output.writeInt32(8, slaCompliance_); - } - if (((bitField0_ & 0x00000080) != 0)) { - output.writeInt64(9, triggerDate_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, nodeId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getContent()); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, level_); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, slaTimerId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, slaDueDate_); - } - if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, slaCompliance_); - } - if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, triggerDate_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance) obj; - - if (hasId() != other.hasId()) - return false; - if (hasId()) { - if (!getId().equals(other.getId())) - return false; - } - if (hasNodeId() != other.hasNodeId()) - return false; - if (hasNodeId()) { - if (getNodeId() != other.getNodeId()) - return false; - } - if (hasContent() != other.hasContent()) - return false; - if (hasContent()) { - if (!getContent().equals(other.getContent())) - return false; - } - if (hasLevel() != other.hasLevel()) - return false; - if (hasLevel()) { - if (getLevel() != other.getLevel()) - return false; - } - if (hasSlaTimerId() != other.hasSlaTimerId()) - return false; - if (hasSlaTimerId()) { - if (!getSlaTimerId().equals(other.getSlaTimerId())) - return false; - } - if (hasSlaDueDate() != other.hasSlaDueDate()) - return false; - if (hasSlaDueDate()) { - if (getSlaDueDate() != other.getSlaDueDate()) - return false; - } - if (hasSlaCompliance() != other.hasSlaCompliance()) - return false; - if (hasSlaCompliance()) { - if (getSlaCompliance() != other.getSlaCompliance()) - return false; - } - if (hasTriggerDate() != other.hasTriggerDate()) - return false; - if (hasTriggerDate()) { - if (getTriggerDate() != other.getTriggerDate()) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasNodeId()) { - hash = (37 * hash) + NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNodeId()); - } - if (hasContent()) { - hash = (37 * hash) + CONTENT_FIELD_NUMBER; - hash = (53 * hash) + getContent().hashCode(); - } - if (hasLevel()) { - hash = (37 * hash) + LEVEL_FIELD_NUMBER; - hash = (53 * hash) + getLevel(); - } - if (hasSlaTimerId()) { - hash = (37 * hash) + SLA_TIMER_ID_FIELD_NUMBER; - hash = (53 * hash) + getSlaTimerId().hashCode(); - } - if (hasSlaDueDate()) { - hash = (37 * hash) + SLA_DUE_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSlaDueDate()); - } - if (hasSlaCompliance()) { - hash = (37 * hash) + SLA_COMPLIANCE_FIELD_NUMBER; - hash = (53 * hash) + getSlaCompliance(); - } - if (hasTriggerDate()) { - hash = (37 * hash) + TRIGGER_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTriggerDate()); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.ProcessInstance.NodeInstance} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstance) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getContentFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - nodeId_ = 0L; - bitField0_ = (bitField0_ & ~0x00000002); - if (contentBuilder_ == null) { - content_ = null; - } else { - contentBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - level_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - slaTimerId_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); - slaDueDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000020); - slaCompliance_ = 0; - bitField0_ = (bitField0_ & ~0x00000040); - triggerDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000080); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstance_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.id_ = id_; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.nodeId_ = nodeId_; - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - if (contentBuilder_ == null) { - result.content_ = content_; - } else { - result.content_ = contentBuilder_.build(); - } - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.level_ = level_; - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - to_bitField0_ |= 0x00000010; - } - result.slaTimerId_ = slaTimerId_; - if (((from_bitField0_ & 0x00000020) != 0)) { - result.slaDueDate_ = slaDueDate_; - to_bitField0_ |= 0x00000020; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.slaCompliance_ = slaCompliance_; - to_bitField0_ |= 0x00000040; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.triggerDate_ = triggerDate_; - to_bitField0_ |= 0x00000080; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance - .getDefaultInstance()) - return this; - if (other.hasId()) { - bitField0_ |= 0x00000001; - id_ = other.id_; - onChanged(); - } - if (other.hasNodeId()) { - setNodeId(other.getNodeId()); - } - if (other.hasContent()) { - mergeContent(other.getContent()); - } - if (other.hasLevel()) { - setLevel(other.getLevel()); - } - if (other.hasSlaTimerId()) { - bitField0_ |= 0x00000010; - slaTimerId_ = other.slaTimerId_; - onChanged(); - } - if (other.hasSlaDueDate()) { - setSlaDueDate(other.getSlaDueDate()); - } - if (other.hasSlaCompliance()) { - setSlaCompliance(other.getSlaCompliance()); - } - if (other.hasTriggerDate()) { - setTriggerDate(other.getTriggerDate()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object id_ = ""; - - /** - * optional string id = 1; - * - * @return Whether the id field is set. - */ - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string id = 1; - * - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string id = 1; - * - * @return The bytes for id. - */ - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string id = 1; - * - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - - /** - * optional string id = 1; - * - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - - /** - * optional string id = 1; - * - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - - private long nodeId_; - - /** - * optional int64 node_id = 2; - * - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int64 node_id = 2; - * - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } - - /** - * optional int64 node_id = 2; - * - * @param value The nodeId to set. - * @return This builder for chaining. - */ - public Builder setNodeId(long value) { - bitField0_ |= 0x00000002; - nodeId_ = value; - onChanged(); - return this; - } - - /** - * optional int64 node_id = 2; - * - * @return This builder for chaining. - */ - public Builder clearNodeId() { - bitField0_ = (bitField0_ & ~0x00000002); - nodeId_ = 0L; - onChanged(); - return this; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent content_; - private com.google.protobuf.SingleFieldBuilderV3 contentBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - * - * @return Whether the content field is set. - */ - public boolean hasContent() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - * - * @return The content. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent getContent() { - if (contentBuilder_ == null) { - return content_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent - .getDefaultInstance() - : content_; - } else { - return contentBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - public Builder setContent( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent value) { - if (contentBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - content_ = value; - onChanged(); - } else { - contentBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - public Builder setContent( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.Builder builderForValue) { - if (contentBuilder_ == null) { - content_ = builderForValue.build(); - onChanged(); - } else { - contentBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - public Builder mergeContent( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent value) { - if (contentBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && content_ != null - && content_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent - .getDefaultInstance()) { - content_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent - .newBuilder(content_).mergeFrom(value).buildPartial(); - } else { - content_ = value; - } - onChanged(); - } else { - contentBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - public Builder clearContent() { - if (contentBuilder_ == null) { - content_ = null; - onChanged(); - } else { - contentBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.Builder getContentBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getContentFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContentOrBuilder getContentOrBuilder() { - if (contentBuilder_ != null) { - return contentBuilder_.getMessageOrBuilder(); - } else { - return content_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent - .getDefaultInstance() - : content_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3 getContentFieldBuilder() { - if (contentBuilder_ == null) { - contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getContent(), getParentForChildren(), isClean()); - content_ = null; - } - return contentBuilder_; - } - - private int level_; - - /** - * optional int32 level = 5; - * - * @return Whether the level field is set. - */ - @java.lang.Override - public boolean hasLevel() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int32 level = 5; - * - * @return The level. - */ - @java.lang.Override - public int getLevel() { - return level_; - } - - /** - * optional int32 level = 5; - * - * @param value The level to set. - * @return This builder for chaining. - */ - public Builder setLevel(int value) { - bitField0_ |= 0x00000008; - level_ = value; - onChanged(); - return this; - } - - /** - * optional int32 level = 5; - * - * @return This builder for chaining. - */ - public Builder clearLevel() { - bitField0_ = (bitField0_ & ~0x00000008); - level_ = 0; - onChanged(); - return this; - } - - private java.lang.Object slaTimerId_ = ""; - - /** - * optional string sla_timer_id = 6; - * - * @return Whether the slaTimerId field is set. - */ - public boolean hasSlaTimerId() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional string sla_timer_id = 6; - * - * @return The slaTimerId. - */ - public java.lang.String getSlaTimerId() { - java.lang.Object ref = slaTimerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - slaTimerId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string sla_timer_id = 6; - * - * @return The bytes for slaTimerId. - */ - public com.google.protobuf.ByteString getSlaTimerIdBytes() { - java.lang.Object ref = slaTimerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - slaTimerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string sla_timer_id = 6; - * - * @param value The slaTimerId to set. - * @return This builder for chaining. - */ - public Builder setSlaTimerId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - slaTimerId_ = value; - onChanged(); - return this; - } - - /** - * optional string sla_timer_id = 6; - * - * @return This builder for chaining. - */ - public Builder clearSlaTimerId() { - bitField0_ = (bitField0_ & ~0x00000010); - slaTimerId_ = getDefaultInstance().getSlaTimerId(); - onChanged(); - return this; - } - - /** - * optional string sla_timer_id = 6; - * - * @param value The bytes for slaTimerId to set. - * @return This builder for chaining. - */ - public Builder setSlaTimerIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - slaTimerId_ = value; - onChanged(); - return this; - } - - private long slaDueDate_; - - /** - * optional int64 sla_due_date = 7; - * - * @return Whether the slaDueDate field is set. - */ - @java.lang.Override - public boolean hasSlaDueDate() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional int64 sla_due_date = 7; - * - * @return The slaDueDate. - */ - @java.lang.Override - public long getSlaDueDate() { - return slaDueDate_; - } - - /** - * optional int64 sla_due_date = 7; - * - * @param value The slaDueDate to set. - * @return This builder for chaining. - */ - public Builder setSlaDueDate(long value) { - bitField0_ |= 0x00000020; - slaDueDate_ = value; - onChanged(); - return this; - } - - /** - * optional int64 sla_due_date = 7; - * - * @return This builder for chaining. - */ - public Builder clearSlaDueDate() { - bitField0_ = (bitField0_ & ~0x00000020); - slaDueDate_ = 0L; - onChanged(); - return this; - } - - private int slaCompliance_; - - /** - * optional int32 sla_compliance = 8; - * - * @return Whether the slaCompliance field is set. - */ - @java.lang.Override - public boolean hasSlaCompliance() { - return ((bitField0_ & 0x00000040) != 0); - } - - /** - * optional int32 sla_compliance = 8; - * - * @return The slaCompliance. - */ - @java.lang.Override - public int getSlaCompliance() { - return slaCompliance_; - } - - /** - * optional int32 sla_compliance = 8; - * - * @param value The slaCompliance to set. - * @return This builder for chaining. - */ - public Builder setSlaCompliance(int value) { - bitField0_ |= 0x00000040; - slaCompliance_ = value; - onChanged(); - return this; - } - - /** - * optional int32 sla_compliance = 8; - * - * @return This builder for chaining. - */ - public Builder clearSlaCompliance() { - bitField0_ = (bitField0_ & ~0x00000040); - slaCompliance_ = 0; - onChanged(); - return this; - } - - private long triggerDate_; - - /** - * optional int64 trigger_date = 9; - * - * @return Whether the triggerDate field is set. - */ - @java.lang.Override - public boolean hasTriggerDate() { - return ((bitField0_ & 0x00000080) != 0); - } - - /** - * optional int64 trigger_date = 9; - * - * @return The triggerDate. - */ - @java.lang.Override - public long getTriggerDate() { - return triggerDate_; - } - - /** - * optional int64 trigger_date = 9; - * - * @param value The triggerDate to set. - * @return This builder for chaining. - */ - public Builder setTriggerDate(long value) { - bitField0_ |= 0x00000080; - triggerDate_ = value; - onChanged(); - return this; - } - - /** - * optional int64 trigger_date = 9; - * - * @return This builder for chaining. - */ - public Builder clearTriggerDate() { - bitField0_ = (bitField0_ & ~0x00000080); - triggerDate_ = 0L; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstance) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstance) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeInstance parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeInstance(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ExclusiveGroupInstanceOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string group_node_instance_id = 1; - * - * @return A list containing the groupNodeInstanceId. - */ - java.util.List getGroupNodeInstanceIdList(); - - /** - * repeated string group_node_instance_id = 1; - * - * @return The count of groupNodeInstanceId. - */ - int getGroupNodeInstanceIdCount(); - - /** - * repeated string group_node_instance_id = 1; - * - * @param index The index of the element to return. - * @return The groupNodeInstanceId at the given index. - */ - java.lang.String getGroupNodeInstanceId(int index); - - /** - * repeated string group_node_instance_id = 1; - * - * @param index The index of the value to return. - * @return The bytes of the groupNodeInstanceId at the given index. - */ - com.google.protobuf.ByteString getGroupNodeInstanceIdBytes(int index); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance} - */ - public static final class ExclusiveGroupInstance extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance) - ExclusiveGroupInstanceOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ExclusiveGroupInstance.newBuilder() to construct. - private ExclusiveGroupInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ExclusiveGroupInstance() { - groupNodeInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ExclusiveGroupInstance(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ExclusiveGroupInstance(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - groupNodeInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - groupNodeInstanceId_.add(bs); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - groupNodeInstanceId_ = groupNodeInstanceId_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_ExclusiveGroupInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder.class); - } - - public static final int GROUP_NODE_INSTANCE_ID_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList groupNodeInstanceId_; - - /** - * repeated string group_node_instance_id = 1; - * - * @return A list containing the groupNodeInstanceId. - */ - public com.google.protobuf.ProtocolStringList getGroupNodeInstanceIdList() { - return groupNodeInstanceId_; - } - - /** - * repeated string group_node_instance_id = 1; - * - * @return The count of groupNodeInstanceId. - */ - public int getGroupNodeInstanceIdCount() { - return groupNodeInstanceId_.size(); - } - - /** - * repeated string group_node_instance_id = 1; - * - * @param index The index of the element to return. - * @return The groupNodeInstanceId at the given index. - */ - public java.lang.String getGroupNodeInstanceId(int index) { - return groupNodeInstanceId_.get(index); - } - - /** - * repeated string group_node_instance_id = 1; - * - * @param index The index of the value to return. - * @return The bytes of the groupNodeInstanceId at the given index. - */ - public com.google.protobuf.ByteString getGroupNodeInstanceIdBytes(int index) { - return groupNodeInstanceId_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < groupNodeInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupNodeInstanceId_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < groupNodeInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(groupNodeInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getGroupNodeInstanceIdList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance) obj; - - if (!getGroupNodeInstanceIdList().equals(other.getGroupNodeInstanceIdList())) - return false; - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getGroupNodeInstanceIdCount() > 0) { - hash = (37 * hash) + GROUP_NODE_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getGroupNodeInstanceIdList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_ExclusiveGroupInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - groupNodeInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance( - this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - groupNodeInstanceId_ = groupNodeInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.groupNodeInstanceId_ = groupNodeInstanceId_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance - .getDefaultInstance()) - return this; - if (!other.groupNodeInstanceId_.isEmpty()) { - if (groupNodeInstanceId_.isEmpty()) { - groupNodeInstanceId_ = other.groupNodeInstanceId_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureGroupNodeInstanceIdIsMutable(); - groupNodeInstanceId_.addAll(other.groupNodeInstanceId_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringList groupNodeInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureGroupNodeInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - groupNodeInstanceId_ = new com.google.protobuf.LazyStringArrayList(groupNodeInstanceId_); - bitField0_ |= 0x00000001; - } - } - - /** - * repeated string group_node_instance_id = 1; - * - * @return A list containing the groupNodeInstanceId. - */ - public com.google.protobuf.ProtocolStringList getGroupNodeInstanceIdList() { - return groupNodeInstanceId_.getUnmodifiableView(); - } - - /** - * repeated string group_node_instance_id = 1; - * - * @return The count of groupNodeInstanceId. - */ - public int getGroupNodeInstanceIdCount() { - return groupNodeInstanceId_.size(); - } - - /** - * repeated string group_node_instance_id = 1; - * - * @param index The index of the element to return. - * @return The groupNodeInstanceId at the given index. - */ - public java.lang.String getGroupNodeInstanceId(int index) { - return groupNodeInstanceId_.get(index); - } - - /** - * repeated string group_node_instance_id = 1; - * - * @param index The index of the value to return. - * @return The bytes of the groupNodeInstanceId at the given index. - */ - public com.google.protobuf.ByteString getGroupNodeInstanceIdBytes(int index) { - return groupNodeInstanceId_.getByteString(index); - } - - /** - * repeated string group_node_instance_id = 1; - * - * @param index The index to set the value at. - * @param value The groupNodeInstanceId to set. - * @return This builder for chaining. - */ - public Builder setGroupNodeInstanceId(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureGroupNodeInstanceIdIsMutable(); - groupNodeInstanceId_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string group_node_instance_id = 1; - * - * @param value The groupNodeInstanceId to add. - * @return This builder for chaining. - */ - public Builder addGroupNodeInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureGroupNodeInstanceIdIsMutable(); - groupNodeInstanceId_.add(value); - onChanged(); - return this; - } - - /** - * repeated string group_node_instance_id = 1; - * - * @param values The groupNodeInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllGroupNodeInstanceId(java.lang.Iterable values) { - ensureGroupNodeInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupNodeInstanceId_); - onChanged(); - return this; - } - - /** - * repeated string group_node_instance_id = 1; - * - * @return This builder for chaining. - */ - public Builder clearGroupNodeInstanceId() { - groupNodeInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * repeated string group_node_instance_id = 1; - * - * @param value The bytes of the groupNodeInstanceId to add. - * @return This builder for chaining. - */ - public Builder addGroupNodeInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureGroupNodeInstanceIdIsMutable(); - groupNodeInstanceId_.add(value); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExclusiveGroupInstance parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ExclusiveGroupInstance(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface NodeInstanceContentOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent) - com.google.protobuf.MessageOrBuilder { - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceType type = 1; - * - * @return Whether the type field is set. - */ - boolean hasType(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceType type = 1; - * - * @return The type. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceType getType(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - * - * @return Whether the ruleSet field is set. - */ - boolean hasRuleSet(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - * - * @return The ruleSet. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getRuleSet(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder getRuleSetOrBuilder(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - * - * @return Whether the humanTask field is set. - */ - boolean hasHumanTask(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - * - * @return The humanTask. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getHumanTask(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder getHumanTaskOrBuilder(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - * - * @return Whether the workItem field is set. - */ - boolean hasWorkItem(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - * - * @return The workItem. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getWorkItem(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder getWorkItemOrBuilder(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - * - * @return Whether the subProcess field is set. - */ - boolean hasSubProcess(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - * - * @return The subProcess. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getSubProcess(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder getSubProcessOrBuilder(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - * - * @return Whether the milestone field is set. - */ - boolean hasMilestone(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - * - * @return The milestone. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getMilestone(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder getMilestoneOrBuilder(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - * - * @return Whether the event field is set. - */ - boolean hasEvent(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - * - * @return The event. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode getEvent(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder getEventOrBuilder(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - * - * @return Whether the timer field is set. - */ - boolean hasTimer(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - * - * @return The timer. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode getTimer(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder getTimerOrBuilder(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - * - * @return Whether the join field is set. - */ - boolean hasJoin(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - * - * @return The join. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode getJoin(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder getJoinOrBuilder(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - * - * @return Whether the state field is set. - */ - boolean hasState(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - * - * @return The state. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode getState(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder getStateOrBuilder(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - * - * @return Whether the composite field is set. - */ - boolean hasComposite(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - * - * @return The composite. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getComposite(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder getCompositeOrBuilder(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - * - * @return Whether the forEach field is set. - */ - boolean hasForEach(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - * - * @return The forEach. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode getForEach(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder getForEachOrBuilder(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - * - * @return Whether the asyncEvent field is set. - */ - boolean hasAsyncEvent(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - * - * @return The asyncEvent. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getAsyncEvent(); - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder getAsyncEventOrBuilder(); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent} - */ - public static final class NodeInstanceContent extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent) - NodeInstanceContentOrBuilder { - private static final long serialVersionUID = 0L; - - // Use NodeInstanceContent.newBuilder() to construct. - private NodeInstanceContent(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private NodeInstanceContent() { - type_ = 0; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new NodeInstanceContent(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private NodeInstanceContent(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - int rawValue = input.readEnum(); - @SuppressWarnings("deprecation") - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceType value = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceType - .valueOf(rawValue); - if (value == null) { - unknownFields.mergeVarintField(1, rawValue); - } else { - bitField0_ |= 0x00000001; - type_ = rawValue; - } - break; - } - case 18: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) != 0)) { - subBuilder = ruleSet_.toBuilder(); - } - ruleSet_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(ruleSet_); - ruleSet_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - case 26: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) != 0)) { - subBuilder = humanTask_.toBuilder(); - } - humanTask_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(humanTask_); - humanTask_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - case 34: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000008) != 0)) { - subBuilder = workItem_.toBuilder(); - } - workItem_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workItem_); - workItem_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000008; - break; - } - case 42: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000010) != 0)) { - subBuilder = subProcess_.toBuilder(); - } - subProcess_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(subProcess_); - subProcess_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000010; - break; - } - case 50: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000020) != 0)) { - subBuilder = milestone_.toBuilder(); - } - milestone_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(milestone_); - milestone_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000020; - break; - } - case 58: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000040) != 0)) { - subBuilder = event_.toBuilder(); - } - event_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(event_); - event_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000040; - break; - } - case 66: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000080) != 0)) { - subBuilder = timer_.toBuilder(); - } - timer_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timer_); - timer_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000080; - break; - } - case 74: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000100) != 0)) { - subBuilder = join_.toBuilder(); - } - join_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(join_); - join_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000100; - break; - } - case 82: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000200) != 0)) { - subBuilder = state_.toBuilder(); - } - state_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(state_); - state_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000200; - break; - } - case 90: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000400) != 0)) { - subBuilder = composite_.toBuilder(); - } - composite_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(composite_); - composite_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000400; - break; - } - case 98: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder subBuilder = null; - if (((bitField0_ & 0x00000800) != 0)) { - subBuilder = forEach_.toBuilder(); - } - forEach_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(forEach_); - forEach_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000800; - break; - } - case 106: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder subBuilder = null; - if (((bitField0_ & 0x00001000) != 0)) { - subBuilder = asyncEvent_.toBuilder(); - } - asyncEvent_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(asyncEvent_); - asyncEvent_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00001000; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.Builder.class); - } - - public interface RuleSetNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string timer_instance_id = 1; - * - * @return A list containing the timerInstanceId. - */ - java.util.List getTimerInstanceIdList(); - - /** - * repeated string timer_instance_id = 1; - * - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - java.util.List getMapEntryList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getMapEntry( - int index); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - int getMapEntryCount(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - java.util.List getMapEntryOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder getMapEntryOrBuilder( - int index); - - /** - * optional string rule_flow_group = 3; - * - * @return Whether the ruleFlowGroup field is set. - */ - boolean hasRuleFlowGroup(); - - /** - * optional string rule_flow_group = 3; - * - * @return The ruleFlowGroup. - */ - java.lang.String getRuleFlowGroup(); - - /** - * optional string rule_flow_group = 3; - * - * @return The bytes for ruleFlowGroup. - */ - com.google.protobuf.ByteString getRuleFlowGroupBytes(); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode} - */ - public static final class RuleSetNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) - RuleSetNodeOrBuilder { - private static final long serialVersionUID = 0L; - - // Use RuleSetNode.newBuilder() to construct. - private RuleSetNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private RuleSetNode() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - mapEntry_ = java.util.Collections.emptyList(); - ruleFlowGroup_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RuleSetNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private RuleSetNode(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - timerInstanceId_.add(bs); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - mapEntry_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - mapEntry_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.PARSER, - extensionRegistry)); - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - ruleFlowGroup_ = bs; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - mapEntry_ = java.util.Collections.unmodifiableList(mapEntry_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder.class); - } - - public interface TextMapEntryOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string name = 1; - * - * @return Whether the name field is set. - */ - boolean hasName(); - - /** - * optional string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - * optional string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * optional string value = 2; - * - * @return Whether the value field is set. - */ - boolean hasValue(); - - /** - * optional string value = 2; - * - * @return The value. - */ - java.lang.String getValue(); - - /** - * optional string value = 2; - * - * @return The bytes for value. - */ - com.google.protobuf.ByteString getValueBytes(); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry} - */ - public static final class TextMapEntry extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) - TextMapEntryOrBuilder { - private static final long serialVersionUID = 0L; - - // Use TextMapEntry.newBuilder() to construct. - private TextMapEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private TextMapEntry() { - name_ = ""; - value_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TextMapEntry(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private TextMapEntry(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - name_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - value_ = bs; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder.class); - } - - private int bitField0_; - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - - /** - * optional string name = 1; - * - * @return Whether the name field is set. - */ - @java.lang.Override - public boolean hasName() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } - } - - /** - * optional string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VALUE_FIELD_NUMBER = 2; - private volatile java.lang.Object value_; - - /** - * optional string value = 2; - * - * @return Whether the value field is set. - */ - @java.lang.Override - public boolean hasValue() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string value = 2; - * - * @return The value. - */ - @java.lang.Override - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - value_ = s; - } - return s; - } - } - - /** - * optional string value = 2; - * - * @return The bytes for value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) obj; - - if (hasName() != other.hasName()) - return false; - if (hasName()) { - if (!getName().equals(other.getName())) - return false; - } - if (hasValue() != other.hasValue()) - return false; - if (hasValue()) { - if (!getValue().equals(other.getValue())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasName()) { - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - } - if (hasValue()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - value_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.name_ = name_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.value_ = value_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry - .getDefaultInstance()) - return this; - if (other.hasName()) { - bitField0_ |= 0x00000001; - name_ = other.name_; - onChanged(); - } - if (other.hasValue()) { - bitField0_ |= 0x00000002; - value_ = other.value_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * optional string name = 1; - * - * @return Whether the name field is set. - */ - public boolean hasName() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string name = 1; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - name_ = value; - onChanged(); - return this; - } - - /** - * optional string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000001); - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - - /** - * optional string name = 1; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - name_ = value; - onChanged(); - return this; - } - - private java.lang.Object value_ = ""; - - /** - * optional string value = 2; - * - * @return Whether the value field is set. - */ - public boolean hasValue() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string value = 2; - * - * @return The value. - */ - public java.lang.String getValue() { - java.lang.Object ref = value_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - value_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string value = 2; - * - * @return The bytes for value. - */ - public com.google.protobuf.ByteString getValueBytes() { - java.lang.Object ref = value_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - value_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string value = 2; - * - * @param value The value to set. - * @return This builder for chaining. - */ - public Builder setValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - value_ = value; - onChanged(); - return this; - } - - /** - * optional string value = 2; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - bitField0_ = (bitField0_ & ~0x00000002); - value_ = getDefaultInstance().getValue(); - onChanged(); - return this; - } - - /** - * optional string value = 2; - * - * @param value The bytes for value to set. - * @return This builder for chaining. - */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - value_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TextMapEntry parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TextMapEntry(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private int bitField0_; - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList timerInstanceId_; - - /** - * repeated string timer_instance_id = 1; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_; - } - - /** - * repeated string timer_instance_id = 1; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - public static final int MAPENTRY_FIELD_NUMBER = 2; - private java.util.List mapEntry_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - @java.lang.Override - public java.util.List getMapEntryList() { - return mapEntry_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - @java.lang.Override - public java.util.List getMapEntryOrBuilderList() { - return mapEntry_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - @java.lang.Override - public int getMapEntryCount() { - return mapEntry_.size(); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getMapEntry( - int index) { - return mapEntry_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder getMapEntryOrBuilder( - int index) { - return mapEntry_.get(index); - } - - public static final int RULE_FLOW_GROUP_FIELD_NUMBER = 3; - private volatile java.lang.Object ruleFlowGroup_; - - /** - * optional string rule_flow_group = 3; - * - * @return Whether the ruleFlowGroup field is set. - */ - @java.lang.Override - public boolean hasRuleFlowGroup() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string rule_flow_group = 3; - * - * @return The ruleFlowGroup. - */ - @java.lang.Override - public java.lang.String getRuleFlowGroup() { - java.lang.Object ref = ruleFlowGroup_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - ruleFlowGroup_ = s; - } - return s; - } - } - - /** - * optional string rule_flow_group = 3; - * - * @return The bytes for ruleFlowGroup. - */ - @java.lang.Override - public com.google.protobuf.ByteString getRuleFlowGroupBytes() { - java.lang.Object ref = ruleFlowGroup_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - ruleFlowGroup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timerInstanceId_.getRaw(i)); - } - for (int i = 0; i < mapEntry_.size(); i++) { - output.writeMessage(2, mapEntry_.get(i)); - } - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ruleFlowGroup_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - for (int i = 0; i < mapEntry_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, mapEntry_.get(i)); - } - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ruleFlowGroup_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode) obj; - - if (!getTimerInstanceIdList().equals(other.getTimerInstanceIdList())) - return false; - if (!getMapEntryList().equals(other.getMapEntryList())) - return false; - if (hasRuleFlowGroup() != other.hasRuleFlowGroup()) - return false; - if (hasRuleFlowGroup()) { - if (!getRuleFlowGroup().equals(other.getRuleFlowGroup())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - if (getMapEntryCount() > 0) { - hash = (37 * hash) + MAPENTRY_FIELD_NUMBER; - hash = (53 * hash) + getMapEntryList().hashCode(); - } - if (hasRuleFlowGroup()) { - hash = (37 * hash) + RULE_FLOW_GROUP_FIELD_NUMBER; - hash = (53 * hash) + getRuleFlowGroup().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getMapEntryFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - if (mapEntryBuilder_ == null) { - mapEntry_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - mapEntryBuilder_.clear(); - } - ruleFlowGroup_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.timerInstanceId_ = timerInstanceId_; - if (mapEntryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - mapEntry_ = java.util.Collections.unmodifiableList(mapEntry_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.mapEntry_ = mapEntry_; - } else { - result.mapEntry_ = mapEntryBuilder_.build(); - } - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.ruleFlowGroup_ = ruleFlowGroup_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode - .getDefaultInstance()) - return this; - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); - } - if (mapEntryBuilder_ == null) { - if (!other.mapEntry_.isEmpty()) { - if (mapEntry_.isEmpty()) { - mapEntry_ = other.mapEntry_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureMapEntryIsMutable(); - mapEntry_.addAll(other.mapEntry_); - } - onChanged(); - } - } else { - if (!other.mapEntry_.isEmpty()) { - if (mapEntryBuilder_.isEmpty()) { - mapEntryBuilder_.dispose(); - mapEntryBuilder_ = null; - mapEntry_ = other.mapEntry_; - bitField0_ = (bitField0_ & ~0x00000002); - mapEntryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMapEntryFieldBuilder() - : null; - } else { - mapEntryBuilder_.addAllMessages(other.mapEntry_); - } - } - } - if (other.hasRuleFlowGroup()) { - bitField0_ |= 0x00000004; - ruleFlowGroup_ = other.ruleFlowGroup_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000001; - } - } - - /** - * repeated string timer_instance_id = 1; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - - /** - * repeated string timer_instance_id = 1; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 1; - * - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 1; - * - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId(java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timerInstanceId_); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 1; - * - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 1; - * - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - private java.util.List mapEntry_ = java.util.Collections - .emptyList(); - - private void ensureMapEntryIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - mapEntry_ = new java.util.ArrayList( - mapEntry_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 mapEntryBuilder_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public java.util.List getMapEntryList() { - if (mapEntryBuilder_ == null) { - return java.util.Collections.unmodifiableList(mapEntry_); - } else { - return mapEntryBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public int getMapEntryCount() { - if (mapEntryBuilder_ == null) { - return mapEntry_.size(); - } else { - return mapEntryBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry getMapEntry( - int index) { - if (mapEntryBuilder_ == null) { - return mapEntry_.get(index); - } else { - return mapEntryBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder setMapEntry(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry value) { - if (mapEntryBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMapEntryIsMutable(); - mapEntry_.set(index, value); - onChanged(); - } else { - mapEntryBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder setMapEntry(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder builderForValue) { - if (mapEntryBuilder_ == null) { - ensureMapEntryIsMutable(); - mapEntry_.set(index, builderForValue.build()); - onChanged(); - } else { - mapEntryBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder addMapEntry( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry value) { - if (mapEntryBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMapEntryIsMutable(); - mapEntry_.add(value); - onChanged(); - } else { - mapEntryBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder addMapEntry(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry value) { - if (mapEntryBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureMapEntryIsMutable(); - mapEntry_.add(index, value); - onChanged(); - } else { - mapEntryBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder addMapEntry( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder builderForValue) { - if (mapEntryBuilder_ == null) { - ensureMapEntryIsMutable(); - mapEntry_.add(builderForValue.build()); - onChanged(); - } else { - mapEntryBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder addMapEntry(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder builderForValue) { - if (mapEntryBuilder_ == null) { - ensureMapEntryIsMutable(); - mapEntry_.add(index, builderForValue.build()); - onChanged(); - } else { - mapEntryBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder addAllMapEntry( - java.lang.Iterable values) { - if (mapEntryBuilder_ == null) { - ensureMapEntryIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mapEntry_); - onChanged(); - } else { - mapEntryBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder clearMapEntry() { - if (mapEntryBuilder_ == null) { - mapEntry_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - mapEntryBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public Builder removeMapEntry(int index) { - if (mapEntryBuilder_ == null) { - ensureMapEntryIsMutable(); - mapEntry_.remove(index); - onChanged(); - } else { - mapEntryBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder getMapEntryBuilder( - int index) { - return getMapEntryFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder getMapEntryOrBuilder( - int index) { - if (mapEntryBuilder_ == null) { - return mapEntry_.get(index); - } else { - return mapEntryBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public java.util.List getMapEntryOrBuilderList() { - if (mapEntryBuilder_ != null) { - return mapEntryBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(mapEntry_); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder addMapEntryBuilder() { - return getMapEntryFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder addMapEntryBuilder( - int index) { - return getMapEntryFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2; - */ - public java.util.List getMapEntryBuilderList() { - return getMapEntryFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getMapEntryFieldBuilder() { - if (mapEntryBuilder_ == null) { - mapEntryBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - mapEntry_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - mapEntry_ = null; - } - return mapEntryBuilder_; - } - - private java.lang.Object ruleFlowGroup_ = ""; - - /** - * optional string rule_flow_group = 3; - * - * @return Whether the ruleFlowGroup field is set. - */ - public boolean hasRuleFlowGroup() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional string rule_flow_group = 3; - * - * @return The ruleFlowGroup. - */ - public java.lang.String getRuleFlowGroup() { - java.lang.Object ref = ruleFlowGroup_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - ruleFlowGroup_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string rule_flow_group = 3; - * - * @return The bytes for ruleFlowGroup. - */ - public com.google.protobuf.ByteString getRuleFlowGroupBytes() { - java.lang.Object ref = ruleFlowGroup_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - ruleFlowGroup_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string rule_flow_group = 3; - * - * @param value The ruleFlowGroup to set. - * @return This builder for chaining. - */ - public Builder setRuleFlowGroup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - ruleFlowGroup_ = value; - onChanged(); - return this; - } - - /** - * optional string rule_flow_group = 3; - * - * @return This builder for chaining. - */ - public Builder clearRuleFlowGroup() { - bitField0_ = (bitField0_ & ~0x00000004); - ruleFlowGroup_ = getDefaultInstance().getRuleFlowGroup(); - onChanged(); - return this; - } - - /** - * optional string rule_flow_group = 3; - * - * @param value The bytes for ruleFlowGroup to set. - * @return This builder for chaining. - */ - public Builder setRuleFlowGroupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - ruleFlowGroup_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RuleSetNode parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RuleSetNode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface HumanTaskNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string work_item_id = 1; - * - * @return Whether the workItemId field is set. - */ - boolean hasWorkItemId(); - - /** - * optional string work_item_id = 1; - * - * @return The workItemId. - */ - java.lang.String getWorkItemId(); - - /** - * optional string work_item_id = 1; - * - * @return The bytes for workItemId. - */ - com.google.protobuf.ByteString getWorkItemIdBytes(); - - /** - * repeated string timer_instance_id = 2; - * - * @return A list containing the timerInstanceId. - */ - java.util.List getTimerInstanceIdList(); - - /** - * repeated string timer_instance_id = 2; - * - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return Whether the errorHandlingProcessInstanceId field is set. - */ - boolean hasErrorHandlingProcessInstanceId(); - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return The errorHandlingProcessInstanceId. - */ - java.lang.String getErrorHandlingProcessInstanceId(); - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return The bytes for errorHandlingProcessInstanceId. - */ - com.google.protobuf.ByteString getErrorHandlingProcessInstanceIdBytes(); - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - * - * @return Whether the workitem field is set. - */ - boolean hasWorkitem(); - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - * - * @return The workitem. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem getWorkitem(); - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItemOrBuilder getWorkitemOrBuilder(); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode} - */ - public static final class HumanTaskNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) - HumanTaskNodeOrBuilder { - private static final long serialVersionUID = 0L; - - // Use HumanTaskNode.newBuilder() to construct. - private HumanTaskNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private HumanTaskNode() { - workItemId_ = ""; - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - errorHandlingProcessInstanceId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new HumanTaskNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private HumanTaskNode(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - workItemId_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - timerInstanceId_.add(bs); - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - errorHandlingProcessInstanceId_ = bs; - break; - } - case 34: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) != 0)) { - subBuilder = workitem_.toBuilder(); - } - workitem_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workitem_); - workitem_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder.class); - } - - private int bitField0_; - public static final int WORK_ITEM_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object workItemId_; - - /** - * optional string work_item_id = 1; - * - * @return Whether the workItemId field is set. - */ - @java.lang.Override - public boolean hasWorkItemId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string work_item_id = 1; - * - * @return The workItemId. - */ - @java.lang.Override - public java.lang.String getWorkItemId() { - java.lang.Object ref = workItemId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - workItemId_ = s; - } - return s; - } - } - - /** - * optional string work_item_id = 1; - * - * @return The bytes for workItemId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getWorkItemIdBytes() { - java.lang.Object ref = workItemId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - workItemId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList timerInstanceId_; - - /** - * repeated string timer_instance_id = 2; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_; - } - - /** - * repeated string timer_instance_id = 2; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - public static final int ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER = 3; - private volatile java.lang.Object errorHandlingProcessInstanceId_; - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return Whether the errorHandlingProcessInstanceId field is set. - */ - @java.lang.Override - public boolean hasErrorHandlingProcessInstanceId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return The errorHandlingProcessInstanceId. - */ - @java.lang.Override - public java.lang.String getErrorHandlingProcessInstanceId() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorHandlingProcessInstanceId_ = s; - } - return s; - } - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return The bytes for errorHandlingProcessInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getErrorHandlingProcessInstanceIdBytes() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - errorHandlingProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int WORKITEM_FIELD_NUMBER = 4; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem workitem_; - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - * - * @return Whether the workitem field is set. - */ - @java.lang.Override - public boolean hasWorkitem() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - * - * @return The workitem. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem getWorkitem() { - return workitem_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem - .getDefaultInstance() - : workitem_; - } - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItemOrBuilder getWorkitemOrBuilder() { - return workitem_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem - .getDefaultInstance() - : workitem_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workItemId_); - } - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerInstanceId_.getRaw(i)); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errorHandlingProcessInstanceId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(4, getWorkitem()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workItemId_); - } - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, - errorHandlingProcessInstanceId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getWorkitem()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode) obj; - - if (hasWorkItemId() != other.hasWorkItemId()) - return false; - if (hasWorkItemId()) { - if (!getWorkItemId().equals(other.getWorkItemId())) - return false; - } - if (!getTimerInstanceIdList().equals(other.getTimerInstanceIdList())) - return false; - if (hasErrorHandlingProcessInstanceId() != other.hasErrorHandlingProcessInstanceId()) - return false; - if (hasErrorHandlingProcessInstanceId()) { - if (!getErrorHandlingProcessInstanceId().equals(other.getErrorHandlingProcessInstanceId())) - return false; - } - if (hasWorkitem() != other.hasWorkitem()) - return false; - if (hasWorkitem()) { - if (!getWorkitem().equals(other.getWorkitem())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasWorkItemId()) { - hash = (37 * hash) + WORK_ITEM_ID_FIELD_NUMBER; - hash = (53 * hash) + getWorkItemId().hashCode(); - } - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - if (hasErrorHandlingProcessInstanceId()) { - hash = (37 * hash) + ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getErrorHandlingProcessInstanceId().hashCode(); - } - if (hasWorkitem()) { - hash = (37 * hash) + WORKITEM_FIELD_NUMBER; - hash = (53 * hash) + getWorkitem().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getWorkitemFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - workItemId_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - errorHandlingProcessInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - if (workitemBuilder_ == null) { - workitem_ = null; - } else { - workitemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.workItemId_ = workItemId_; - if (((bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.timerInstanceId_ = timerInstanceId_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.errorHandlingProcessInstanceId_ = errorHandlingProcessInstanceId_; - if (((from_bitField0_ & 0x00000008) != 0)) { - if (workitemBuilder_ == null) { - result.workitem_ = workitem_; - } else { - result.workitem_ = workitemBuilder_.build(); - } - to_bitField0_ |= 0x00000004; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode - .getDefaultInstance()) - return this; - if (other.hasWorkItemId()) { - bitField0_ |= 0x00000001; - workItemId_ = other.workItemId_; - onChanged(); - } - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); - } - if (other.hasErrorHandlingProcessInstanceId()) { - bitField0_ |= 0x00000004; - errorHandlingProcessInstanceId_ = other.errorHandlingProcessInstanceId_; - onChanged(); - } - if (other.hasWorkitem()) { - mergeWorkitem(other.getWorkitem()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object workItemId_ = ""; - - /** - * optional string work_item_id = 1; - * - * @return Whether the workItemId field is set. - */ - public boolean hasWorkItemId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string work_item_id = 1; - * - * @return The workItemId. - */ - public java.lang.String getWorkItemId() { - java.lang.Object ref = workItemId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - workItemId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string work_item_id = 1; - * - * @return The bytes for workItemId. - */ - public com.google.protobuf.ByteString getWorkItemIdBytes() { - java.lang.Object ref = workItemId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - workItemId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string work_item_id = 1; - * - * @param value The workItemId to set. - * @return This builder for chaining. - */ - public Builder setWorkItemId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - workItemId_ = value; - onChanged(); - return this; - } - - /** - * optional string work_item_id = 1; - * - * @return This builder for chaining. - */ - public Builder clearWorkItemId() { - bitField0_ = (bitField0_ & ~0x00000001); - workItemId_ = getDefaultInstance().getWorkItemId(); - onChanged(); - return this; - } - - /** - * optional string work_item_id = 1; - * - * @param value The bytes for workItemId to set. - * @return This builder for chaining. - */ - public Builder setWorkItemIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - workItemId_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000002; - } - } - - /** - * repeated string timer_instance_id = 2; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - - /** - * repeated string timer_instance_id = 2; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId(java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timerInstanceId_); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - private java.lang.Object errorHandlingProcessInstanceId_ = ""; - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return Whether the errorHandlingProcessInstanceId field is set. - */ - public boolean hasErrorHandlingProcessInstanceId() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return The errorHandlingProcessInstanceId. - */ - public java.lang.String getErrorHandlingProcessInstanceId() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorHandlingProcessInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return The bytes for errorHandlingProcessInstanceId. - */ - public com.google.protobuf.ByteString getErrorHandlingProcessInstanceIdBytes() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - errorHandlingProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @param value The errorHandlingProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setErrorHandlingProcessInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - errorHandlingProcessInstanceId_ = value; - onChanged(); - return this; - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return This builder for chaining. - */ - public Builder clearErrorHandlingProcessInstanceId() { - bitField0_ = (bitField0_ & ~0x00000004); - errorHandlingProcessInstanceId_ = getDefaultInstance().getErrorHandlingProcessInstanceId(); - onChanged(); - return this; - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @param value The bytes for errorHandlingProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setErrorHandlingProcessInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - errorHandlingProcessInstanceId_ = value; - onChanged(); - return this; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem workitem_; - private com.google.protobuf.SingleFieldBuilderV3 workitemBuilder_; - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - * - * @return Whether the workitem field is set. - */ - public boolean hasWorkitem() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - * - * @return The workitem. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem getWorkitem() { - if (workitemBuilder_ == null) { - return workitem_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem - .getDefaultInstance() - : workitem_; - } else { - return workitemBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - */ - public Builder setWorkitem( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem value) { - if (workitemBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - workitem_ = value; - onChanged(); - } else { - workitemBuilder_.setMessage(value); - } - bitField0_ |= 0x00000008; - return this; - } - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - */ - public Builder setWorkitem( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem.Builder builderForValue) { - if (workitemBuilder_ == null) { - workitem_ = builderForValue.build(); - onChanged(); - } else { - workitemBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000008; - return this; - } - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - */ - public Builder mergeWorkitem( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem value) { - if (workitemBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && workitem_ != null - && workitem_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem - .getDefaultInstance()) { - workitem_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem - .newBuilder(workitem_).mergeFrom(value).buildPartial(); - } else { - workitem_ = value; - } - onChanged(); - } else { - workitemBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000008; - return this; - } - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - */ - public Builder clearWorkitem() { - if (workitemBuilder_ == null) { - workitem_ = null; - onChanged(); - } else { - workitemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem.Builder getWorkitemBuilder() { - bitField0_ |= 0x00000008; - onChanged(); - return getWorkitemFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItemOrBuilder getWorkitemOrBuilder() { - if (workitemBuilder_ != null) { - return workitemBuilder_.getMessageOrBuilder(); - } else { - return workitem_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem - .getDefaultInstance() - : workitem_; - } - } - - /** - * optional .org.jbpm.marshalling.HumanTaskWorkItem workitem = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3 getWorkitemFieldBuilder() { - if (workitemBuilder_ == null) { - workitemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getWorkitem(), getParentForChildren(), isClean()); - workitem_ = null; - } - return workitemBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HumanTaskNode parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HumanTaskNode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkItemNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string work_item_id = 1; - * - * @return Whether the workItemId field is set. - */ - boolean hasWorkItemId(); - - /** - * optional string work_item_id = 1; - * - * @return The workItemId. - */ - java.lang.String getWorkItemId(); - - /** - * optional string work_item_id = 1; - * - * @return The bytes for workItemId. - */ - com.google.protobuf.ByteString getWorkItemIdBytes(); - - /** - * repeated string timer_instance_id = 2; - * - * @return A list containing the timerInstanceId. - */ - java.util.List getTimerInstanceIdList(); - - /** - * repeated string timer_instance_id = 2; - * - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return Whether the errorHandlingProcessInstanceId field is set. - */ - boolean hasErrorHandlingProcessInstanceId(); - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return The errorHandlingProcessInstanceId. - */ - java.lang.String getErrorHandlingProcessInstanceId(); - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return The bytes for errorHandlingProcessInstanceId. - */ - com.google.protobuf.ByteString getErrorHandlingProcessInstanceIdBytes(); - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - * - * @return Whether the workitem field is set. - */ - boolean hasWorkitem(); - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - * - * @return The workitem. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem getWorkitem(); - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItemOrBuilder getWorkitemOrBuilder(); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode} - */ - public static final class WorkItemNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) - WorkItemNodeOrBuilder { - private static final long serialVersionUID = 0L; - - // Use WorkItemNode.newBuilder() to construct. - private WorkItemNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private WorkItemNode() { - workItemId_ = ""; - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - errorHandlingProcessInstanceId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new WorkItemNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private WorkItemNode(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - workItemId_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - timerInstanceId_.add(bs); - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - errorHandlingProcessInstanceId_ = bs; - break; - } - case 34: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.Builder subBuilder = null; - if (((bitField0_ & 0x00000004) != 0)) { - subBuilder = workitem_.toBuilder(); - } - workitem_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workitem_); - workitem_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000004; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder.class); - } - - private int bitField0_; - public static final int WORK_ITEM_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object workItemId_; - - /** - * optional string work_item_id = 1; - * - * @return Whether the workItemId field is set. - */ - @java.lang.Override - public boolean hasWorkItemId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string work_item_id = 1; - * - * @return The workItemId. - */ - @java.lang.Override - public java.lang.String getWorkItemId() { - java.lang.Object ref = workItemId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - workItemId_ = s; - } - return s; - } - } - - /** - * optional string work_item_id = 1; - * - * @return The bytes for workItemId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getWorkItemIdBytes() { - java.lang.Object ref = workItemId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - workItemId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList timerInstanceId_; - - /** - * repeated string timer_instance_id = 2; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_; - } - - /** - * repeated string timer_instance_id = 2; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - public static final int ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER = 3; - private volatile java.lang.Object errorHandlingProcessInstanceId_; - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return Whether the errorHandlingProcessInstanceId field is set. - */ - @java.lang.Override - public boolean hasErrorHandlingProcessInstanceId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return The errorHandlingProcessInstanceId. - */ - @java.lang.Override - public java.lang.String getErrorHandlingProcessInstanceId() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorHandlingProcessInstanceId_ = s; - } - return s; - } - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return The bytes for errorHandlingProcessInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getErrorHandlingProcessInstanceIdBytes() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - errorHandlingProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int WORKITEM_FIELD_NUMBER = 4; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem workitem_; - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - * - * @return Whether the workitem field is set. - */ - @java.lang.Override - public boolean hasWorkitem() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - * - * @return The workitem. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem getWorkitem() { - return workitem_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.getDefaultInstance() - : workitem_; - } - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItemOrBuilder getWorkitemOrBuilder() { - return workitem_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.getDefaultInstance() - : workitem_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workItemId_); - } - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerInstanceId_.getRaw(i)); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, errorHandlingProcessInstanceId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(4, getWorkitem()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workItemId_); - } - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, - errorHandlingProcessInstanceId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getWorkitem()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode) obj; - - if (hasWorkItemId() != other.hasWorkItemId()) - return false; - if (hasWorkItemId()) { - if (!getWorkItemId().equals(other.getWorkItemId())) - return false; - } - if (!getTimerInstanceIdList().equals(other.getTimerInstanceIdList())) - return false; - if (hasErrorHandlingProcessInstanceId() != other.hasErrorHandlingProcessInstanceId()) - return false; - if (hasErrorHandlingProcessInstanceId()) { - if (!getErrorHandlingProcessInstanceId().equals(other.getErrorHandlingProcessInstanceId())) - return false; - } - if (hasWorkitem() != other.hasWorkitem()) - return false; - if (hasWorkitem()) { - if (!getWorkitem().equals(other.getWorkitem())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasWorkItemId()) { - hash = (37 * hash) + WORK_ITEM_ID_FIELD_NUMBER; - hash = (53 * hash) + getWorkItemId().hashCode(); - } - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - if (hasErrorHandlingProcessInstanceId()) { - hash = (37 * hash) + ERROR_HANDLING_PROCESS_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getErrorHandlingProcessInstanceId().hashCode(); - } - if (hasWorkitem()) { - hash = (37 * hash) + WORKITEM_FIELD_NUMBER; - hash = (53 * hash) + getWorkitem().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getWorkitemFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - workItemId_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - errorHandlingProcessInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - if (workitemBuilder_ == null) { - workitem_ = null; - } else { - workitemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.workItemId_ = workItemId_; - if (((bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.timerInstanceId_ = timerInstanceId_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.errorHandlingProcessInstanceId_ = errorHandlingProcessInstanceId_; - if (((from_bitField0_ & 0x00000008) != 0)) { - if (workitemBuilder_ == null) { - result.workitem_ = workitem_; - } else { - result.workitem_ = workitemBuilder_.build(); - } - to_bitField0_ |= 0x00000004; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode - .getDefaultInstance()) - return this; - if (other.hasWorkItemId()) { - bitField0_ |= 0x00000001; - workItemId_ = other.workItemId_; - onChanged(); - } - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); - } - if (other.hasErrorHandlingProcessInstanceId()) { - bitField0_ |= 0x00000004; - errorHandlingProcessInstanceId_ = other.errorHandlingProcessInstanceId_; - onChanged(); - } - if (other.hasWorkitem()) { - mergeWorkitem(other.getWorkitem()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object workItemId_ = ""; - - /** - * optional string work_item_id = 1; - * - * @return Whether the workItemId field is set. - */ - public boolean hasWorkItemId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string work_item_id = 1; - * - * @return The workItemId. - */ - public java.lang.String getWorkItemId() { - java.lang.Object ref = workItemId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - workItemId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string work_item_id = 1; - * - * @return The bytes for workItemId. - */ - public com.google.protobuf.ByteString getWorkItemIdBytes() { - java.lang.Object ref = workItemId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - workItemId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string work_item_id = 1; - * - * @param value The workItemId to set. - * @return This builder for chaining. - */ - public Builder setWorkItemId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - workItemId_ = value; - onChanged(); - return this; - } - - /** - * optional string work_item_id = 1; - * - * @return This builder for chaining. - */ - public Builder clearWorkItemId() { - bitField0_ = (bitField0_ & ~0x00000001); - workItemId_ = getDefaultInstance().getWorkItemId(); - onChanged(); - return this; - } - - /** - * optional string work_item_id = 1; - * - * @param value The bytes for workItemId to set. - * @return This builder for chaining. - */ - public Builder setWorkItemIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - workItemId_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000002; - } - } - - /** - * repeated string timer_instance_id = 2; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - - /** - * repeated string timer_instance_id = 2; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId(java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timerInstanceId_); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - private java.lang.Object errorHandlingProcessInstanceId_ = ""; - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return Whether the errorHandlingProcessInstanceId field is set. - */ - public boolean hasErrorHandlingProcessInstanceId() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return The errorHandlingProcessInstanceId. - */ - public java.lang.String getErrorHandlingProcessInstanceId() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorHandlingProcessInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return The bytes for errorHandlingProcessInstanceId. - */ - public com.google.protobuf.ByteString getErrorHandlingProcessInstanceIdBytes() { - java.lang.Object ref = errorHandlingProcessInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - errorHandlingProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @param value The errorHandlingProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setErrorHandlingProcessInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - errorHandlingProcessInstanceId_ = value; - onChanged(); - return this; - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @return This builder for chaining. - */ - public Builder clearErrorHandlingProcessInstanceId() { - bitField0_ = (bitField0_ & ~0x00000004); - errorHandlingProcessInstanceId_ = getDefaultInstance().getErrorHandlingProcessInstanceId(); - onChanged(); - return this; - } - - /** - * optional string error_handling_process_instance_id = 3; - * - * @param value The bytes for errorHandlingProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setErrorHandlingProcessInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - errorHandlingProcessInstanceId_ = value; - onChanged(); - return this; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem workitem_; - private com.google.protobuf.SingleFieldBuilderV3 workitemBuilder_; - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - * - * @return Whether the workitem field is set. - */ - public boolean hasWorkitem() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - * - * @return The workitem. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem getWorkitem() { - if (workitemBuilder_ == null) { - return workitem_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem - .getDefaultInstance() - : workitem_; - } else { - return workitemBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - */ - public Builder setWorkitem( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem value) { - if (workitemBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - workitem_ = value; - onChanged(); - } else { - workitemBuilder_.setMessage(value); - } - bitField0_ |= 0x00000008; - return this; - } - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - */ - public Builder setWorkitem( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.Builder builderForValue) { - if (workitemBuilder_ == null) { - workitem_ = builderForValue.build(); - onChanged(); - } else { - workitemBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000008; - return this; - } - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - */ - public Builder mergeWorkitem( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem value) { - if (workitemBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && workitem_ != null - && workitem_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem - .getDefaultInstance()) { - workitem_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem - .newBuilder(workitem_).mergeFrom(value).buildPartial(); - } else { - workitem_ = value; - } - onChanged(); - } else { - workitemBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000008; - return this; - } - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - */ - public Builder clearWorkitem() { - if (workitemBuilder_ == null) { - workitem_ = null; - onChanged(); - } else { - workitemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.Builder getWorkitemBuilder() { - bitField0_ |= 0x00000008; - onChanged(); - return getWorkitemFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItemOrBuilder getWorkitemOrBuilder() { - if (workitemBuilder_ != null) { - return workitemBuilder_.getMessageOrBuilder(); - } else { - return workitem_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem - .getDefaultInstance() - : workitem_; - } - } - - /** - * optional .org.jbpm.marshalling.WorkItem workitem = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3 getWorkitemFieldBuilder() { - if (workitemBuilder_ == null) { - workitemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getWorkitem(), getParentForChildren(), isClean()); - workitem_ = null; - } - return workitemBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkItemNode parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkItemNode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface SubProcessNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string process_instance_id = 1; - * - * @return Whether the processInstanceId field is set. - */ - boolean hasProcessInstanceId(); - - /** - * optional string process_instance_id = 1; - * - * @return The processInstanceId. - */ - java.lang.String getProcessInstanceId(); - - /** - * optional string process_instance_id = 1; - * - * @return The bytes for processInstanceId. - */ - com.google.protobuf.ByteString getProcessInstanceIdBytes(); - - /** - * repeated string timer_instance_id = 2; - * - * @return A list containing the timerInstanceId. - */ - java.util.List getTimerInstanceIdList(); - - /** - * repeated string timer_instance_id = 2; - * - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode} - */ - public static final class SubProcessNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) - SubProcessNodeOrBuilder { - private static final long serialVersionUID = 0L; - - // Use SubProcessNode.newBuilder() to construct. - private SubProcessNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private SubProcessNode() { - processInstanceId_ = ""; - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SubProcessNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private SubProcessNode(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - processInstanceId_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - timerInstanceId_.add(bs); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder.class); - } - - private int bitField0_; - public static final int PROCESS_INSTANCE_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object processInstanceId_; - - /** - * optional string process_instance_id = 1; - * - * @return Whether the processInstanceId field is set. - */ - @java.lang.Override - public boolean hasProcessInstanceId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string process_instance_id = 1; - * - * @return The processInstanceId. - */ - @java.lang.Override - public java.lang.String getProcessInstanceId() { - java.lang.Object ref = processInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstanceId_ = s; - } - return s; - } - } - - /** - * optional string process_instance_id = 1; - * - * @return The bytes for processInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getProcessInstanceIdBytes() { - java.lang.Object ref = processInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - processInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList timerInstanceId_; - - /** - * repeated string timer_instance_id = 2; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_; - } - - /** - * repeated string timer_instance_id = 2; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, processInstanceId_); - } - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerInstanceId_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, processInstanceId_); - } - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode) obj; - - if (hasProcessInstanceId() != other.hasProcessInstanceId()) - return false; - if (hasProcessInstanceId()) { - if (!getProcessInstanceId().equals(other.getProcessInstanceId())) - return false; - } - if (!getTimerInstanceIdList().equals(other.getTimerInstanceIdList())) - return false; - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasProcessInstanceId()) { - hash = (37 * hash) + PROCESS_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getProcessInstanceId().hashCode(); - } - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - processInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.processInstanceId_ = processInstanceId_; - if (((bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.timerInstanceId_ = timerInstanceId_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode - .getDefaultInstance()) - return this; - if (other.hasProcessInstanceId()) { - bitField0_ |= 0x00000001; - processInstanceId_ = other.processInstanceId_; - onChanged(); - } - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object processInstanceId_ = ""; - - /** - * optional string process_instance_id = 1; - * - * @return Whether the processInstanceId field is set. - */ - public boolean hasProcessInstanceId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string process_instance_id = 1; - * - * @return The processInstanceId. - */ - public java.lang.String getProcessInstanceId() { - java.lang.Object ref = processInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string process_instance_id = 1; - * - * @return The bytes for processInstanceId. - */ - public com.google.protobuf.ByteString getProcessInstanceIdBytes() { - java.lang.Object ref = processInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - processInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string process_instance_id = 1; - * - * @param value The processInstanceId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - processInstanceId_ = value; - onChanged(); - return this; - } - - /** - * optional string process_instance_id = 1; - * - * @return This builder for chaining. - */ - public Builder clearProcessInstanceId() { - bitField0_ = (bitField0_ & ~0x00000001); - processInstanceId_ = getDefaultInstance().getProcessInstanceId(); - onChanged(); - return this; - } - - /** - * optional string process_instance_id = 1; - * - * @param value The bytes for processInstanceId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - processInstanceId_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000002; - } - } - - /** - * repeated string timer_instance_id = 2; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - - /** - * repeated string timer_instance_id = 2; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId(java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timerInstanceId_); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SubProcessNode parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SubProcessNode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface MilestoneNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string timer_instance_id = 1; - * - * @return A list containing the timerInstanceId. - */ - java.util.List getTimerInstanceIdList(); - - /** - * repeated string timer_instance_id = 1; - * - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode} - */ - public static final class MilestoneNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) - MilestoneNodeOrBuilder { - private static final long serialVersionUID = 0L; - - // Use MilestoneNode.newBuilder() to construct. - private MilestoneNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private MilestoneNode() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new MilestoneNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private MilestoneNode(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - timerInstanceId_.add(bs); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder.class); - } - - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList timerInstanceId_; - - /** - * repeated string timer_instance_id = 1; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_; - } - - /** - * repeated string timer_instance_id = 1; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timerInstanceId_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode) obj; - - if (!getTimerInstanceIdList().equals(other.getTimerInstanceIdList())) - return false; - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode( - this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.timerInstanceId_ = timerInstanceId_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode - .getDefaultInstance()) - return this; - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000001; - } - } - - /** - * repeated string timer_instance_id = 1; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - - /** - * repeated string timer_instance_id = 1; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 1; - * - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 1; - * - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId(java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timerInstanceId_); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 1; - * - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 1; - * - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MilestoneNode parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MilestoneNode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface EventNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode) - com.google.protobuf.MessageOrBuilder { - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode} - */ - public static final class EventNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode) - EventNodeOrBuilder { - private static final long serialVersionUID = 0L; - - // Use EventNode.newBuilder() to construct. - private EventNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private EventNode() { - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new EventNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private EventNode(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_EventNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder.class); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode) obj; - - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_EventNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode( - this); - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode - .getDefaultInstance()) - return this; - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EventNode parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new EventNode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface TimerNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string timer_id = 1; - * - * @return Whether the timerId field is set. - */ - boolean hasTimerId(); - - /** - * optional string timer_id = 1; - * - * @return The timerId. - */ - java.lang.String getTimerId(); - - /** - * optional string timer_id = 1; - * - * @return The bytes for timerId. - */ - com.google.protobuf.ByteString getTimerIdBytes(); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode} - */ - public static final class TimerNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) - TimerNodeOrBuilder { - private static final long serialVersionUID = 0L; - - // Use TimerNode.newBuilder() to construct. - private TimerNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private TimerNode() { - timerId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TimerNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private TimerNode(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - timerId_ = bs; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder.class); - } - - private int bitField0_; - public static final int TIMER_ID_FIELD_NUMBER = 1; - private volatile java.lang.Object timerId_; - - /** - * optional string timer_id = 1; - * - * @return Whether the timerId field is set. - */ - @java.lang.Override - public boolean hasTimerId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string timer_id = 1; - * - * @return The timerId. - */ - @java.lang.Override - public java.lang.String getTimerId() { - java.lang.Object ref = timerId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - timerId_ = s; - } - return s; - } - } - - /** - * optional string timer_id = 1; - * - * @return The bytes for timerId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTimerIdBytes() { - java.lang.Object ref = timerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - timerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timerId_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, timerId_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode) obj; - - if (hasTimerId() != other.hasTimerId()) - return false; - if (hasTimerId()) { - if (!getTimerId().equals(other.getTimerId())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasTimerId()) { - hash = (37 * hash) + TIMER_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerId().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - timerId_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.timerId_ = timerId_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode - .getDefaultInstance()) - return this; - if (other.hasTimerId()) { - bitField0_ |= 0x00000001; - timerId_ = other.timerId_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object timerId_ = ""; - - /** - * optional string timer_id = 1; - * - * @return Whether the timerId field is set. - */ - public boolean hasTimerId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string timer_id = 1; - * - * @return The timerId. - */ - public java.lang.String getTimerId() { - java.lang.Object ref = timerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - timerId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string timer_id = 1; - * - * @return The bytes for timerId. - */ - public com.google.protobuf.ByteString getTimerIdBytes() { - java.lang.Object ref = timerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - timerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string timer_id = 1; - * - * @param value The timerId to set. - * @return This builder for chaining. - */ - public Builder setTimerId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - timerId_ = value; - onChanged(); - return this; - } - - /** - * optional string timer_id = 1; - * - * @return This builder for chaining. - */ - public Builder clearTimerId() { - bitField0_ = (bitField0_ & ~0x00000001); - timerId_ = getDefaultInstance().getTimerId(); - onChanged(); - return this; - } - - /** - * optional string timer_id = 1; - * - * @param value The bytes for timerId to set. - * @return This builder for chaining. - */ - public Builder setTimerIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - timerId_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimerNode parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimerNode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface JoinNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - java.util.List getTriggerList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getTrigger( - int index); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - int getTriggerCount(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - java.util.List getTriggerOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder getTriggerOrBuilder( - int index); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode} - */ - public static final class JoinNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) - JoinNodeOrBuilder { - private static final long serialVersionUID = 0L; - - // Use JoinNode.newBuilder() to construct. - private JoinNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private JoinNode() { - trigger_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new JoinNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private JoinNode(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - trigger_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - trigger_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.PARSER, - extensionRegistry)); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - trigger_ = java.util.Collections.unmodifiableList(trigger_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder.class); - } - - public interface JoinTriggerOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int64 node_id = 1; - * - * @return Whether the nodeId field is set. - */ - boolean hasNodeId(); - - /** - * optional int64 node_id = 1; - * - * @return The nodeId. - */ - long getNodeId(); - - /** - * optional int32 counter = 2; - * - * @return Whether the counter field is set. - */ - boolean hasCounter(); - - /** - * optional int32 counter = 2; - * - * @return The counter. - */ - int getCounter(); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger} - */ - public static final class JoinTrigger extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) - JoinTriggerOrBuilder { - private static final long serialVersionUID = 0L; - - // Use JoinTrigger.newBuilder() to construct. - private JoinTrigger(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private JoinTrigger() { - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new JoinTrigger(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private JoinTrigger(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - nodeId_ = input.readInt64(); - break; - } - case 16: { - bitField0_ |= 0x00000002; - counter_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder.class); - } - - private int bitField0_; - public static final int NODE_ID_FIELD_NUMBER = 1; - private long nodeId_; - - /** - * optional int64 node_id = 1; - * - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int64 node_id = 1; - * - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } - - public static final int COUNTER_FIELD_NUMBER = 2; - private int counter_; - - /** - * optional int32 counter = 2; - * - * @return Whether the counter field is set. - */ - @java.lang.Override - public boolean hasCounter() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int32 counter = 2; - * - * @return The counter. - */ - @java.lang.Override - public int getCounter() { - return counter_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt64(1, nodeId_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt32(2, counter_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, nodeId_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, counter_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) obj; - - if (hasNodeId() != other.hasNodeId()) - return false; - if (hasNodeId()) { - if (getNodeId() != other.getNodeId()) - return false; - } - if (hasCounter() != other.hasCounter()) - return false; - if (hasCounter()) { - if (getCounter() != other.getCounter()) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasNodeId()) { - hash = (37 * hash) + NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNodeId()); - } - if (hasCounter()) { - hash = (37 * hash) + COUNTER_FIELD_NUMBER; - hash = (53 * hash) + getCounter(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - nodeId_ = 0L; - bitField0_ = (bitField0_ & ~0x00000001); - counter_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.nodeId_ = nodeId_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.counter_ = counter_; - to_bitField0_ |= 0x00000002; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger - .getDefaultInstance()) - return this; - if (other.hasNodeId()) { - setNodeId(other.getNodeId()); - } - if (other.hasCounter()) { - setCounter(other.getCounter()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private long nodeId_; - - /** - * optional int64 node_id = 1; - * - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int64 node_id = 1; - * - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } - - /** - * optional int64 node_id = 1; - * - * @param value The nodeId to set. - * @return This builder for chaining. - */ - public Builder setNodeId(long value) { - bitField0_ |= 0x00000001; - nodeId_ = value; - onChanged(); - return this; - } - - /** - * optional int64 node_id = 1; - * - * @return This builder for chaining. - */ - public Builder clearNodeId() { - bitField0_ = (bitField0_ & ~0x00000001); - nodeId_ = 0L; - onChanged(); - return this; - } - - private int counter_; - - /** - * optional int32 counter = 2; - * - * @return Whether the counter field is set. - */ - @java.lang.Override - public boolean hasCounter() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int32 counter = 2; - * - * @return The counter. - */ - @java.lang.Override - public int getCounter() { - return counter_; - } - - /** - * optional int32 counter = 2; - * - * @param value The counter to set. - * @return This builder for chaining. - */ - public Builder setCounter(int value) { - bitField0_ |= 0x00000002; - counter_ = value; - onChanged(); - return this; - } - - /** - * optional int32 counter = 2; - * - * @return This builder for chaining. - */ - public Builder clearCounter() { - bitField0_ = (bitField0_ & ~0x00000002); - counter_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JoinTrigger parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new JoinTrigger(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public static final int TRIGGER_FIELD_NUMBER = 1; - private java.util.List trigger_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - @java.lang.Override - public java.util.List getTriggerList() { - return trigger_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - @java.lang.Override - public java.util.List getTriggerOrBuilderList() { - return trigger_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - @java.lang.Override - public int getTriggerCount() { - return trigger_.size(); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getTrigger( - int index) { - return trigger_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder getTriggerOrBuilder( - int index) { - return trigger_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < trigger_.size(); i++) { - output.writeMessage(1, trigger_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (int i = 0; i < trigger_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, trigger_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode) obj; - - if (!getTriggerList().equals(other.getTriggerList())) - return false; - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getTriggerCount() > 0) { - hash = (37 * hash) + TRIGGER_FIELD_NUMBER; - hash = (53 * hash) + getTriggerList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getTriggerFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (triggerBuilder_ == null) { - trigger_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - triggerBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode( - this); - int from_bitField0_ = bitField0_; - if (triggerBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - trigger_ = java.util.Collections.unmodifiableList(trigger_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.trigger_ = trigger_; - } else { - result.trigger_ = triggerBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode - .getDefaultInstance()) - return this; - if (triggerBuilder_ == null) { - if (!other.trigger_.isEmpty()) { - if (trigger_.isEmpty()) { - trigger_ = other.trigger_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTriggerIsMutable(); - trigger_.addAll(other.trigger_); - } - onChanged(); - } - } else { - if (!other.trigger_.isEmpty()) { - if (triggerBuilder_.isEmpty()) { - triggerBuilder_.dispose(); - triggerBuilder_ = null; - trigger_ = other.trigger_; - bitField0_ = (bitField0_ & ~0x00000001); - triggerBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTriggerFieldBuilder() - : null; - } else { - triggerBuilder_.addAllMessages(other.trigger_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List trigger_ = java.util.Collections - .emptyList(); - - private void ensureTriggerIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - trigger_ = new java.util.ArrayList( - trigger_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 triggerBuilder_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public java.util.List getTriggerList() { - if (triggerBuilder_ == null) { - return java.util.Collections.unmodifiableList(trigger_); - } else { - return triggerBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public int getTriggerCount() { - if (triggerBuilder_ == null) { - return trigger_.size(); - } else { - return triggerBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger getTrigger( - int index) { - if (triggerBuilder_ == null) { - return trigger_.get(index); - } else { - return triggerBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder setTrigger(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger value) { - if (triggerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTriggerIsMutable(); - trigger_.set(index, value); - onChanged(); - } else { - triggerBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder setTrigger(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder builderForValue) { - if (triggerBuilder_ == null) { - ensureTriggerIsMutable(); - trigger_.set(index, builderForValue.build()); - onChanged(); - } else { - triggerBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder addTrigger( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger value) { - if (triggerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTriggerIsMutable(); - trigger_.add(value); - onChanged(); - } else { - triggerBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder addTrigger(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger value) { - if (triggerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureTriggerIsMutable(); - trigger_.add(index, value); - onChanged(); - } else { - triggerBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder addTrigger( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder builderForValue) { - if (triggerBuilder_ == null) { - ensureTriggerIsMutable(); - trigger_.add(builderForValue.build()); - onChanged(); - } else { - triggerBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder addTrigger(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder builderForValue) { - if (triggerBuilder_ == null) { - ensureTriggerIsMutable(); - trigger_.add(index, builderForValue.build()); - onChanged(); - } else { - triggerBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder addAllTrigger( - java.lang.Iterable values) { - if (triggerBuilder_ == null) { - ensureTriggerIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, trigger_); - onChanged(); - } else { - triggerBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder clearTrigger() { - if (triggerBuilder_ == null) { - trigger_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - triggerBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public Builder removeTrigger(int index) { - if (triggerBuilder_ == null) { - ensureTriggerIsMutable(); - trigger_.remove(index); - onChanged(); - } else { - triggerBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder getTriggerBuilder( - int index) { - return getTriggerFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTriggerOrBuilder getTriggerOrBuilder( - int index) { - if (triggerBuilder_ == null) { - return trigger_.get(index); - } else { - return triggerBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public java.util.List getTriggerOrBuilderList() { - if (triggerBuilder_ != null) { - return triggerBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(trigger_); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder addTriggerBuilder() { - return getTriggerFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger.Builder addTriggerBuilder( - int index) { - return getTriggerFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger trigger = 1; - */ - public java.util.List getTriggerBuilderList() { - return getTriggerFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getTriggerFieldBuilder() { - if (triggerBuilder_ == null) { - triggerBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - trigger_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - trigger_ = null; - } - return triggerBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public JoinNode parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new JoinNode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface StateNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string timer_instance_id = 1; - * - * @return A list containing the timerInstanceId. - */ - java.util.List getTimerInstanceIdList(); - - /** - * repeated string timer_instance_id = 1; - * - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode} - */ - public static final class StateNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode) - StateNodeOrBuilder { - private static final long serialVersionUID = 0L; - - // Use StateNode.newBuilder() to construct. - private StateNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private StateNode() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new StateNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private StateNode(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - timerInstanceId_.add(bs); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_StateNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder.class); - } - - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList timerInstanceId_; - - /** - * repeated string timer_instance_id = 1; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_; - } - - /** - * repeated string timer_instance_id = 1; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, timerInstanceId_.getRaw(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode) obj; - - if (!getTimerInstanceIdList().equals(other.getTimerInstanceIdList())) - return false; - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_StateNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode( - this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.timerInstanceId_ = timerInstanceId_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode - .getDefaultInstance()) - return this; - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000001; - } - } - - /** - * repeated string timer_instance_id = 1; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - - /** - * repeated string timer_instance_id = 1; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - /** - * repeated string timer_instance_id = 1; - * - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 1; - * - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 1; - * - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId(java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timerInstanceId_); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 1; - * - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 1; - * - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StateNode parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new StateNode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface CompositeContextNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated string timer_instance_id = 2; - * - * @return A list containing the timerInstanceId. - */ - java.util.List getTimerInstanceIdList(); - - /** - * repeated string timer_instance_id = 2; - * - * @return The count of timerInstanceId. - */ - int getTimerInstanceIdCount(); - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - java.lang.String getTimerInstanceId(int index); - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - com.google.protobuf.ByteString getTimerInstanceIdBytes(int index); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - java.util.List getVariableList(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - int getVariableCount(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - java.util.List getVariableOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - java.util.List getNodeInstanceList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance getNodeInstance( - int index); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - int getNodeInstanceCount(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - java.util.List getNodeInstanceOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - java.util.List getExclusiveGroupList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup( - int index); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - int getExclusiveGroupCount(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - java.util.List getExclusiveGroupOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( - int index); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - java.util.List getIterationLevelsList(); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel getIterationLevels(int index); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - int getIterationLevelsCount(); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - java.util.List getIterationLevelsOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode} - */ - public static final class CompositeContextNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) - CompositeContextNodeOrBuilder { - private static final long serialVersionUID = 0L; - - // Use CompositeContextNode.newBuilder() to construct. - private CompositeContextNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private CompositeContextNode() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - variable_ = java.util.Collections.emptyList(); - nodeInstance_ = java.util.Collections.emptyList(); - exclusiveGroup_ = java.util.Collections.emptyList(); - iterationLevels_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CompositeContextNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private CompositeContextNode(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - timerInstanceId_.add(bs); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - variable_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - variable_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.PARSER, - extensionRegistry)); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - nodeInstance_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - nodeInstance_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.PARSER, - extensionRegistry)); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - exclusiveGroup_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; - } - exclusiveGroup_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.PARSER, - extensionRegistry)); - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - iterationLevels_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - iterationLevels_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.PARSER, - extensionRegistry)); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); - } - if (((mutable_bitField0_ & 0x00000008) != 0)) { - exclusiveGroup_ = java.util.Collections.unmodifiableList(exclusiveGroup_); - } - if (((mutable_bitField0_ & 0x00000010) != 0)) { - iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder.class); - } - - public static final int TIMER_INSTANCE_ID_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList timerInstanceId_; - - /** - * repeated string timer_instance_id = 2; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_; - } - - /** - * repeated string timer_instance_id = 2; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - public static final int VARIABLE_FIELD_NUMBER = 3; - private java.util.List variable_; - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - @java.lang.Override - public java.util.List getVariableList() { - return variable_; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - @java.lang.Override - public java.util.List getVariableOrBuilderList() { - return variable_; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - @java.lang.Override - public int getVariableCount() { - return variable_.size(); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index) { - return variable_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - return variable_.get(index); - } - - public static final int NODE_INSTANCE_FIELD_NUMBER = 4; - private java.util.List nodeInstance_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - @java.lang.Override - public java.util.List getNodeInstanceList() { - return nodeInstance_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - @java.lang.Override - public java.util.List getNodeInstanceOrBuilderList() { - return nodeInstance_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - @java.lang.Override - public int getNodeInstanceCount() { - return nodeInstance_.size(); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance getNodeInstance( - int index) { - return nodeInstance_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index) { - return nodeInstance_.get(index); - } - - public static final int EXCLUSIVE_GROUP_FIELD_NUMBER = 5; - private java.util.List exclusiveGroup_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - @java.lang.Override - public java.util.List getExclusiveGroupList() { - return exclusiveGroup_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - @java.lang.Override - public java.util.List getExclusiveGroupOrBuilderList() { - return exclusiveGroup_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - @java.lang.Override - public int getExclusiveGroupCount() { - return exclusiveGroup_.size(); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup( - int index) { - return exclusiveGroup_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( - int index) { - return exclusiveGroup_.get(index); - } - - public static final int ITERATIONLEVELS_FIELD_NUMBER = 6; - private java.util.List iterationLevels_; - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - @java.lang.Override - public java.util.List getIterationLevelsList() { - return iterationLevels_; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - @java.lang.Override - public java.util.List getIterationLevelsOrBuilderList() { - return iterationLevels_; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - @java.lang.Override - public int getIterationLevelsCount() { - return iterationLevels_.size(); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel getIterationLevels( - int index) { - return iterationLevels_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index) { - return iterationLevels_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < timerInstanceId_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerInstanceId_.getRaw(i)); - } - for (int i = 0; i < variable_.size(); i++) { - output.writeMessage(3, variable_.get(i)); - } - for (int i = 0; i < nodeInstance_.size(); i++) { - output.writeMessage(4, nodeInstance_.get(i)); - } - for (int i = 0; i < exclusiveGroup_.size(); i++) { - output.writeMessage(5, exclusiveGroup_.get(i)); - } - for (int i = 0; i < iterationLevels_.size(); i++) { - output.writeMessage(6, iterationLevels_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - { - int dataSize = 0; - for (int i = 0; i < timerInstanceId_.size(); i++) { - dataSize += computeStringSizeNoTag(timerInstanceId_.getRaw(i)); - } - size += dataSize; - size += 1 * getTimerInstanceIdList().size(); - } - for (int i = 0; i < variable_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, variable_.get(i)); - } - for (int i = 0; i < nodeInstance_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, nodeInstance_.get(i)); - } - for (int i = 0; i < exclusiveGroup_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, exclusiveGroup_.get(i)); - } - for (int i = 0; i < iterationLevels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, iterationLevels_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode) obj; - - if (!getTimerInstanceIdList().equals(other.getTimerInstanceIdList())) - return false; - if (!getVariableList().equals(other.getVariableList())) - return false; - if (!getNodeInstanceList().equals(other.getNodeInstanceList())) - return false; - if (!getExclusiveGroupList().equals(other.getExclusiveGroupList())) - return false; - if (!getIterationLevelsList().equals(other.getIterationLevelsList())) - return false; - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getTimerInstanceIdCount() > 0) { - hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerInstanceIdList().hashCode(); - } - if (getVariableCount() > 0) { - hash = (37 * hash) + VARIABLE_FIELD_NUMBER; - hash = (53 * hash) + getVariableList().hashCode(); - } - if (getNodeInstanceCount() > 0) { - hash = (37 * hash) + NODE_INSTANCE_FIELD_NUMBER; - hash = (53 * hash) + getNodeInstanceList().hashCode(); - } - if (getExclusiveGroupCount() > 0) { - hash = (37 * hash) + EXCLUSIVE_GROUP_FIELD_NUMBER; - hash = (53 * hash) + getExclusiveGroupList().hashCode(); - } - if (getIterationLevelsCount() > 0) { - hash = (37 * hash) + ITERATIONLEVELS_FIELD_NUMBER; - hash = (53 * hash) + getIterationLevelsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getVariableFieldBuilder(); - getNodeInstanceFieldBuilder(); - getExclusiveGroupFieldBuilder(); - getIterationLevelsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - variableBuilder_.clear(); - } - if (nodeInstanceBuilder_ == null) { - nodeInstance_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - nodeInstanceBuilder_.clear(); - } - if (exclusiveGroupBuilder_ == null) { - exclusiveGroup_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - } else { - exclusiveGroupBuilder_.clear(); - } - if (iterationLevelsBuilder_ == null) { - iterationLevels_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - iterationLevelsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode( - this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = timerInstanceId_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.timerInstanceId_ = timerInstanceId_; - if (variableBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.variable_ = variable_; - } else { - result.variable_ = variableBuilder_.build(); - } - if (nodeInstanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.nodeInstance_ = nodeInstance_; - } else { - result.nodeInstance_ = nodeInstanceBuilder_.build(); - } - if (exclusiveGroupBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { - exclusiveGroup_ = java.util.Collections.unmodifiableList(exclusiveGroup_); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.exclusiveGroup_ = exclusiveGroup_; - } else { - result.exclusiveGroup_ = exclusiveGroupBuilder_.build(); - } - if (iterationLevelsBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.iterationLevels_ = iterationLevels_; - } else { - result.iterationLevels_ = iterationLevelsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode - .getDefaultInstance()) - return this; - if (!other.timerInstanceId_.isEmpty()) { - if (timerInstanceId_.isEmpty()) { - timerInstanceId_ = other.timerInstanceId_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.addAll(other.timerInstanceId_); - } - onChanged(); - } - if (variableBuilder_ == null) { - if (!other.variable_.isEmpty()) { - if (variable_.isEmpty()) { - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureVariableIsMutable(); - variable_.addAll(other.variable_); - } - onChanged(); - } - } else { - if (!other.variable_.isEmpty()) { - if (variableBuilder_.isEmpty()) { - variableBuilder_.dispose(); - variableBuilder_ = null; - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000002); - variableBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVariableFieldBuilder() - : null; - } else { - variableBuilder_.addAllMessages(other.variable_); - } - } - } - if (nodeInstanceBuilder_ == null) { - if (!other.nodeInstance_.isEmpty()) { - if (nodeInstance_.isEmpty()) { - nodeInstance_ = other.nodeInstance_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureNodeInstanceIsMutable(); - nodeInstance_.addAll(other.nodeInstance_); - } - onChanged(); - } - } else { - if (!other.nodeInstance_.isEmpty()) { - if (nodeInstanceBuilder_.isEmpty()) { - nodeInstanceBuilder_.dispose(); - nodeInstanceBuilder_ = null; - nodeInstance_ = other.nodeInstance_; - bitField0_ = (bitField0_ & ~0x00000004); - nodeInstanceBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNodeInstanceFieldBuilder() - : null; - } else { - nodeInstanceBuilder_.addAllMessages(other.nodeInstance_); - } - } - } - if (exclusiveGroupBuilder_ == null) { - if (!other.exclusiveGroup_.isEmpty()) { - if (exclusiveGroup_.isEmpty()) { - exclusiveGroup_ = other.exclusiveGroup_; - bitField0_ = (bitField0_ & ~0x00000008); - } else { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.addAll(other.exclusiveGroup_); - } - onChanged(); - } - } else { - if (!other.exclusiveGroup_.isEmpty()) { - if (exclusiveGroupBuilder_.isEmpty()) { - exclusiveGroupBuilder_.dispose(); - exclusiveGroupBuilder_ = null; - exclusiveGroup_ = other.exclusiveGroup_; - bitField0_ = (bitField0_ & ~0x00000008); - exclusiveGroupBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExclusiveGroupFieldBuilder() - : null; - } else { - exclusiveGroupBuilder_.addAllMessages(other.exclusiveGroup_); - } - } - } - if (iterationLevelsBuilder_ == null) { - if (!other.iterationLevels_.isEmpty()) { - if (iterationLevels_.isEmpty()) { - iterationLevels_ = other.iterationLevels_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureIterationLevelsIsMutable(); - iterationLevels_.addAll(other.iterationLevels_); - } - onChanged(); - } - } else { - if (!other.iterationLevels_.isEmpty()) { - if (iterationLevelsBuilder_.isEmpty()) { - iterationLevelsBuilder_.dispose(); - iterationLevelsBuilder_ = null; - iterationLevels_ = other.iterationLevels_; - bitField0_ = (bitField0_ & ~0x00000010); - iterationLevelsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIterationLevelsFieldBuilder() - : null; - } else { - iterationLevelsBuilder_.addAllMessages(other.iterationLevels_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private com.google.protobuf.LazyStringList timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureTimerInstanceIdIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - timerInstanceId_ = new com.google.protobuf.LazyStringArrayList(timerInstanceId_); - bitField0_ |= 0x00000001; - } - } - - /** - * repeated string timer_instance_id = 2; - * - * @return A list containing the timerInstanceId. - */ - public com.google.protobuf.ProtocolStringList getTimerInstanceIdList() { - return timerInstanceId_.getUnmodifiableView(); - } - - /** - * repeated string timer_instance_id = 2; - * - * @return The count of timerInstanceId. - */ - public int getTimerInstanceIdCount() { - return timerInstanceId_.size(); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the element to return. - * @return The timerInstanceId at the given index. - */ - public java.lang.String getTimerInstanceId(int index) { - return timerInstanceId_.get(index); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index of the value to return. - * @return The bytes of the timerInstanceId at the given index. - */ - public com.google.protobuf.ByteString getTimerInstanceIdBytes(int index) { - return timerInstanceId_.getByteString(index); - } - - /** - * repeated string timer_instance_id = 2; - * - * @param index The index to set the value at. - * @param value The timerInstanceId to set. - * @return This builder for chaining. - */ - public Builder setTimerInstanceId(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @param value The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @param values The timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addAllTimerInstanceId(java.lang.Iterable values) { - ensureTimerInstanceIdIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, timerInstanceId_); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @return This builder for chaining. - */ - public Builder clearTimerInstanceId() { - timerInstanceId_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - - /** - * repeated string timer_instance_id = 2; - * - * @param value The bytes of the timerInstanceId to add. - * @return This builder for chaining. - */ - public Builder addTimerInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureTimerInstanceIdIsMutable(); - timerInstanceId_.add(value); - onChanged(); - return this; - } - - private java.util.List variable_ = java.util.Collections - .emptyList(); - - private void ensureVariableIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - variable_ = new java.util.ArrayList( - variable_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 variableBuilder_; - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public java.util.List getVariableList() { - if (variableBuilder_ == null) { - return java.util.Collections.unmodifiableList(variable_); - } else { - return variableBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public int getVariableCount() { - if (variableBuilder_ == null) { - return variable_.size(); - } else { - return variableBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public Builder setVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.set(index, value); - onChanged(); - } else { - variableBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public Builder setVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.set(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(value); - onChanged(); - } else { - variableBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public Builder addVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(index, value); - onChanged(); - } else { - variableBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public Builder addVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public Builder addAllVariable( - java.lang.Iterable values) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, variable_); - onChanged(); - } else { - variableBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public Builder clearVariable() { - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - variableBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public Builder removeVariable(int index) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.remove(index); - onChanged(); - } else { - variableBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder getVariableBuilder( - int index) { - return getVariableFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public java.util.List getVariableOrBuilderList() { - if (variableBuilder_ != null) { - return variableBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variable_); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder addVariableBuilder() { - return getVariableFieldBuilder() - .addBuilder(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder addVariableBuilder( - int index) { - return getVariableFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 3; - */ - public java.util.List getVariableBuilderList() { - return getVariableFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getVariableFieldBuilder() { - if (variableBuilder_ == null) { - variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - variable_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - variable_ = null; - } - return variableBuilder_; - } - - private java.util.List nodeInstance_ = java.util.Collections - .emptyList(); - - private void ensureNodeInstanceIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - nodeInstance_ = new java.util.ArrayList( - nodeInstance_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 nodeInstanceBuilder_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public java.util.List getNodeInstanceList() { - if (nodeInstanceBuilder_ == null) { - return java.util.Collections.unmodifiableList(nodeInstance_); - } else { - return nodeInstanceBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public int getNodeInstanceCount() { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.size(); - } else { - return nodeInstanceBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance getNodeInstance( - int index) { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.get(index); - } else { - return nodeInstanceBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder setNodeInstance(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.set(index, value); - onChanged(); - } else { - nodeInstanceBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder setNodeInstance(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.set(index, builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder addNodeInstance( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.add(value); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder addNodeInstance(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.add(index, value); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder addNodeInstance( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.add(builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder addNodeInstance(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.add(index, builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder addAllNodeInstance( - java.lang.Iterable values) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodeInstance_); - onChanged(); - } else { - nodeInstanceBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder clearNodeInstance() { - if (nodeInstanceBuilder_ == null) { - nodeInstance_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - nodeInstanceBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public Builder removeNodeInstance(int index) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.remove(index); - onChanged(); - } else { - nodeInstanceBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder getNodeInstanceBuilder( - int index) { - return getNodeInstanceFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index) { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.get(index); - } else { - return nodeInstanceBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public java.util.List getNodeInstanceOrBuilderList() { - if (nodeInstanceBuilder_ != null) { - return nodeInstanceBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(nodeInstance_); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder() { - return getNodeInstanceFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder( - int index) { - return getNodeInstanceFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4; - */ - public java.util.List getNodeInstanceBuilderList() { - return getNodeInstanceFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getNodeInstanceFieldBuilder() { - if (nodeInstanceBuilder_ == null) { - nodeInstanceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - nodeInstance_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); - nodeInstance_ = null; - } - return nodeInstanceBuilder_; - } - - private java.util.List exclusiveGroup_ = java.util.Collections - .emptyList(); - - private void ensureExclusiveGroupIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - exclusiveGroup_ = new java.util.ArrayList( - exclusiveGroup_); - bitField0_ |= 0x00000008; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 exclusiveGroupBuilder_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public java.util.List getExclusiveGroupList() { - if (exclusiveGroupBuilder_ == null) { - return java.util.Collections.unmodifiableList(exclusiveGroup_); - } else { - return exclusiveGroupBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public int getExclusiveGroupCount() { - if (exclusiveGroupBuilder_ == null) { - return exclusiveGroup_.size(); - } else { - return exclusiveGroupBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup( - int index) { - if (exclusiveGroupBuilder_ == null) { - return exclusiveGroup_.get(index); - } else { - return exclusiveGroupBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder setExclusiveGroup(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance value) { - if (exclusiveGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.set(index, value); - onChanged(); - } else { - exclusiveGroupBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder setExclusiveGroup(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.set(index, builderForValue.build()); - onChanged(); - } else { - exclusiveGroupBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder addExclusiveGroup( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance value) { - if (exclusiveGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(value); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder addExclusiveGroup(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance value) { - if (exclusiveGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(index, value); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder addExclusiveGroup( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(builderForValue.build()); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder addExclusiveGroup(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(index, builderForValue.build()); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder addAllExclusiveGroup( - java.lang.Iterable values) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusiveGroup_); - onChanged(); - } else { - exclusiveGroupBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder clearExclusiveGroup() { - if (exclusiveGroupBuilder_ == null) { - exclusiveGroup_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); - onChanged(); - } else { - exclusiveGroupBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public Builder removeExclusiveGroup(int index) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.remove(index); - onChanged(); - } else { - exclusiveGroupBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder getExclusiveGroupBuilder( - int index) { - return getExclusiveGroupFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( - int index) { - if (exclusiveGroupBuilder_ == null) { - return exclusiveGroup_.get(index); - } else { - return exclusiveGroupBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public java.util.List getExclusiveGroupOrBuilderList() { - if (exclusiveGroupBuilder_ != null) { - return exclusiveGroupBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(exclusiveGroup_); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder addExclusiveGroupBuilder() { - return getExclusiveGroupFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder addExclusiveGroupBuilder( - int index) { - return getExclusiveGroupFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5; - */ - public java.util.List getExclusiveGroupBuilderList() { - return getExclusiveGroupFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getExclusiveGroupFieldBuilder() { - if (exclusiveGroupBuilder_ == null) { - exclusiveGroupBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - exclusiveGroup_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), - isClean()); - exclusiveGroup_ = null; - } - return exclusiveGroupBuilder_; - } - - private java.util.List iterationLevels_ = java.util.Collections - .emptyList(); - - private void ensureIterationLevelsIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - iterationLevels_ = new java.util.ArrayList( - iterationLevels_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 iterationLevelsBuilder_; - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public java.util.List getIterationLevelsList() { - if (iterationLevelsBuilder_ == null) { - return java.util.Collections.unmodifiableList(iterationLevels_); - } else { - return iterationLevelsBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public int getIterationLevelsCount() { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.size(); - } else { - return iterationLevelsBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel getIterationLevels( - int index) { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.get(index); - } else { - return iterationLevelsBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder setIterationLevels(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.set(index, value); - onChanged(); - } else { - iterationLevelsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder setIterationLevels(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.set(index, builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder addIterationLevels( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.add(value); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder addIterationLevels(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.add(index, value); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder addIterationLevels( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.add(builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder addIterationLevels(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.add(index, builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder addAllIterationLevels( - java.lang.Iterable values) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, iterationLevels_); - onChanged(); - } else { - iterationLevelsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder clearIterationLevels() { - if (iterationLevelsBuilder_ == null) { - iterationLevels_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - iterationLevelsBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public Builder removeIterationLevels(int index) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.remove(index); - onChanged(); - } else { - iterationLevelsBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder getIterationLevelsBuilder( - int index) { - return getIterationLevelsFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index) { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.get(index); - } else { - return iterationLevelsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public java.util.List getIterationLevelsOrBuilderList() { - if (iterationLevelsBuilder_ != null) { - return iterationLevelsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(iterationLevels_); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder addIterationLevelsBuilder() { - return getIterationLevelsFieldBuilder() - .addBuilder(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder addIterationLevelsBuilder( - int index) { - return getIterationLevelsFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 6; - */ - public java.util.List getIterationLevelsBuilderList() { - return getIterationLevelsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getIterationLevelsFieldBuilder() { - if (iterationLevelsBuilder_ == null) { - iterationLevelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - iterationLevels_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), - isClean()); - iterationLevels_ = null; - } - return iterationLevelsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompositeContextNode parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompositeContextNode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ForEachNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - java.util.List getNodeInstanceList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance getNodeInstance( - int index); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - int getNodeInstanceCount(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - java.util.List getNodeInstanceOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - java.util.List getVariableList(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - int getVariableCount(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - java.util.List getVariableOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - java.util.List getIterationLevelsList(); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel getIterationLevels(int index); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - int getIterationLevelsCount(); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - java.util.List getIterationLevelsOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode} - */ - public static final class ForEachNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) - ForEachNodeOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ForEachNode.newBuilder() to construct. - private ForEachNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ForEachNode() { - nodeInstance_ = java.util.Collections.emptyList(); - variable_ = java.util.Collections.emptyList(); - iterationLevels_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ForEachNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ForEachNode(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - nodeInstance_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - nodeInstance_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.PARSER, - extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - variable_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; - } - variable_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.PARSER, - extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - iterationLevels_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000004; - } - iterationLevels_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.PARSER, - extensionRegistry)); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); - } - if (((mutable_bitField0_ & 0x00000002) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - } - if (((mutable_bitField0_ & 0x00000004) != 0)) { - iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder.class); - } - - public static final int NODE_INSTANCE_FIELD_NUMBER = 1; - private java.util.List nodeInstance_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - @java.lang.Override - public java.util.List getNodeInstanceList() { - return nodeInstance_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - @java.lang.Override - public java.util.List getNodeInstanceOrBuilderList() { - return nodeInstance_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - @java.lang.Override - public int getNodeInstanceCount() { - return nodeInstance_.size(); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance getNodeInstance( - int index) { - return nodeInstance_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index) { - return nodeInstance_.get(index); - } - - public static final int VARIABLE_FIELD_NUMBER = 2; - private java.util.List variable_; - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - @java.lang.Override - public java.util.List getVariableList() { - return variable_; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - @java.lang.Override - public java.util.List getVariableOrBuilderList() { - return variable_; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - @java.lang.Override - public int getVariableCount() { - return variable_.size(); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index) { - return variable_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - return variable_.get(index); - } - - public static final int ITERATIONLEVELS_FIELD_NUMBER = 3; - private java.util.List iterationLevels_; - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - @java.lang.Override - public java.util.List getIterationLevelsList() { - return iterationLevels_; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - @java.lang.Override - public java.util.List getIterationLevelsOrBuilderList() { - return iterationLevels_; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - @java.lang.Override - public int getIterationLevelsCount() { - return iterationLevels_.size(); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel getIterationLevels( - int index) { - return iterationLevels_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index) { - return iterationLevels_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < nodeInstance_.size(); i++) { - output.writeMessage(1, nodeInstance_.get(i)); - } - for (int i = 0; i < variable_.size(); i++) { - output.writeMessage(2, variable_.get(i)); - } - for (int i = 0; i < iterationLevels_.size(); i++) { - output.writeMessage(3, iterationLevels_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (int i = 0; i < nodeInstance_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, nodeInstance_.get(i)); - } - for (int i = 0; i < variable_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, variable_.get(i)); - } - for (int i = 0; i < iterationLevels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, iterationLevels_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode) obj; - - if (!getNodeInstanceList().equals(other.getNodeInstanceList())) - return false; - if (!getVariableList().equals(other.getVariableList())) - return false; - if (!getIterationLevelsList().equals(other.getIterationLevelsList())) - return false; - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getNodeInstanceCount() > 0) { - hash = (37 * hash) + NODE_INSTANCE_FIELD_NUMBER; - hash = (53 * hash) + getNodeInstanceList().hashCode(); - } - if (getVariableCount() > 0) { - hash = (37 * hash) + VARIABLE_FIELD_NUMBER; - hash = (53 * hash) + getVariableList().hashCode(); - } - if (getIterationLevelsCount() > 0) { - hash = (37 * hash) + ITERATIONLEVELS_FIELD_NUMBER; - hash = (53 * hash) + getIterationLevelsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getNodeInstanceFieldBuilder(); - getVariableFieldBuilder(); - getIterationLevelsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (nodeInstanceBuilder_ == null) { - nodeInstance_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - nodeInstanceBuilder_.clear(); - } - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - } else { - variableBuilder_.clear(); - } - if (iterationLevelsBuilder_ == null) { - iterationLevels_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - } else { - iterationLevelsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode( - this); - int from_bitField0_ = bitField0_; - if (nodeInstanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.nodeInstance_ = nodeInstance_; - } else { - result.nodeInstance_ = nodeInstanceBuilder_.build(); - } - if (variableBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.variable_ = variable_; - } else { - result.variable_ = variableBuilder_.build(); - } - if (iterationLevelsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { - iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.iterationLevels_ = iterationLevels_; - } else { - result.iterationLevels_ = iterationLevelsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode - .getDefaultInstance()) - return this; - if (nodeInstanceBuilder_ == null) { - if (!other.nodeInstance_.isEmpty()) { - if (nodeInstance_.isEmpty()) { - nodeInstance_ = other.nodeInstance_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureNodeInstanceIsMutable(); - nodeInstance_.addAll(other.nodeInstance_); - } - onChanged(); - } - } else { - if (!other.nodeInstance_.isEmpty()) { - if (nodeInstanceBuilder_.isEmpty()) { - nodeInstanceBuilder_.dispose(); - nodeInstanceBuilder_ = null; - nodeInstance_ = other.nodeInstance_; - bitField0_ = (bitField0_ & ~0x00000001); - nodeInstanceBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNodeInstanceFieldBuilder() - : null; - } else { - nodeInstanceBuilder_.addAllMessages(other.nodeInstance_); - } - } - } - if (variableBuilder_ == null) { - if (!other.variable_.isEmpty()) { - if (variable_.isEmpty()) { - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000002); - } else { - ensureVariableIsMutable(); - variable_.addAll(other.variable_); - } - onChanged(); - } - } else { - if (!other.variable_.isEmpty()) { - if (variableBuilder_.isEmpty()) { - variableBuilder_.dispose(); - variableBuilder_ = null; - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000002); - variableBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVariableFieldBuilder() - : null; - } else { - variableBuilder_.addAllMessages(other.variable_); - } - } - } - if (iterationLevelsBuilder_ == null) { - if (!other.iterationLevels_.isEmpty()) { - if (iterationLevels_.isEmpty()) { - iterationLevels_ = other.iterationLevels_; - bitField0_ = (bitField0_ & ~0x00000004); - } else { - ensureIterationLevelsIsMutable(); - iterationLevels_.addAll(other.iterationLevels_); - } - onChanged(); - } - } else { - if (!other.iterationLevels_.isEmpty()) { - if (iterationLevelsBuilder_.isEmpty()) { - iterationLevelsBuilder_.dispose(); - iterationLevelsBuilder_ = null; - iterationLevels_ = other.iterationLevels_; - bitField0_ = (bitField0_ & ~0x00000004); - iterationLevelsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIterationLevelsFieldBuilder() - : null; - } else { - iterationLevelsBuilder_.addAllMessages(other.iterationLevels_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List nodeInstance_ = java.util.Collections - .emptyList(); - - private void ensureNodeInstanceIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - nodeInstance_ = new java.util.ArrayList( - nodeInstance_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 nodeInstanceBuilder_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public java.util.List getNodeInstanceList() { - if (nodeInstanceBuilder_ == null) { - return java.util.Collections.unmodifiableList(nodeInstance_); - } else { - return nodeInstanceBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public int getNodeInstanceCount() { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.size(); - } else { - return nodeInstanceBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance getNodeInstance( - int index) { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.get(index); - } else { - return nodeInstanceBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder setNodeInstance(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.set(index, value); - onChanged(); - } else { - nodeInstanceBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder setNodeInstance(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.set(index, builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder addNodeInstance( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.add(value); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder addNodeInstance(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.add(index, value); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder addNodeInstance( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.add(builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder addNodeInstance(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.add(index, builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder addAllNodeInstance( - java.lang.Iterable values) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodeInstance_); - onChanged(); - } else { - nodeInstanceBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder clearNodeInstance() { - if (nodeInstanceBuilder_ == null) { - nodeInstance_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - nodeInstanceBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public Builder removeNodeInstance(int index) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.remove(index); - onChanged(); - } else { - nodeInstanceBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder getNodeInstanceBuilder( - int index) { - return getNodeInstanceFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index) { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.get(index); - } else { - return nodeInstanceBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public java.util.List getNodeInstanceOrBuilderList() { - if (nodeInstanceBuilder_ != null) { - return nodeInstanceBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(nodeInstance_); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder() { - return getNodeInstanceFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder( - int index) { - return getNodeInstanceFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1; - */ - public java.util.List getNodeInstanceBuilderList() { - return getNodeInstanceFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getNodeInstanceFieldBuilder() { - if (nodeInstanceBuilder_ == null) { - nodeInstanceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - nodeInstance_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - nodeInstance_ = null; - } - return nodeInstanceBuilder_; - } - - private java.util.List variable_ = java.util.Collections - .emptyList(); - - private void ensureVariableIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - variable_ = new java.util.ArrayList( - variable_); - bitField0_ |= 0x00000002; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 variableBuilder_; - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public java.util.List getVariableList() { - if (variableBuilder_ == null) { - return java.util.Collections.unmodifiableList(variable_); - } else { - return variableBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public int getVariableCount() { - if (variableBuilder_ == null) { - return variable_.size(); - } else { - return variableBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public Builder setVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.set(index, value); - onChanged(); - } else { - variableBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public Builder setVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.set(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(value); - onChanged(); - } else { - variableBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public Builder addVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(index, value); - onChanged(); - } else { - variableBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public Builder addVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public Builder addAllVariable( - java.lang.Iterable values) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, variable_); - onChanged(); - } else { - variableBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public Builder clearVariable() { - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - } else { - variableBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public Builder removeVariable(int index) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.remove(index); - onChanged(); - } else { - variableBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder getVariableBuilder( - int index) { - return getVariableFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public java.util.List getVariableOrBuilderList() { - if (variableBuilder_ != null) { - return variableBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variable_); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder addVariableBuilder() { - return getVariableFieldBuilder() - .addBuilder(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder addVariableBuilder( - int index) { - return getVariableFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 2; - */ - public java.util.List getVariableBuilderList() { - return getVariableFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getVariableFieldBuilder() { - if (variableBuilder_ == null) { - variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - variable_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); - variable_ = null; - } - return variableBuilder_; - } - - private java.util.List iterationLevels_ = java.util.Collections - .emptyList(); - - private void ensureIterationLevelsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - iterationLevels_ = new java.util.ArrayList( - iterationLevels_); - bitField0_ |= 0x00000004; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 iterationLevelsBuilder_; - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public java.util.List getIterationLevelsList() { - if (iterationLevelsBuilder_ == null) { - return java.util.Collections.unmodifiableList(iterationLevels_); - } else { - return iterationLevelsBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public int getIterationLevelsCount() { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.size(); - } else { - return iterationLevelsBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel getIterationLevels( - int index) { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.get(index); - } else { - return iterationLevelsBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder setIterationLevels(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.set(index, value); - onChanged(); - } else { - iterationLevelsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder setIterationLevels(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.set(index, builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder addIterationLevels( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.add(value); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder addIterationLevels(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.add(index, value); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder addIterationLevels( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.add(builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder addIterationLevels(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.add(index, builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder addAllIterationLevels( - java.lang.Iterable values) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, iterationLevels_); - onChanged(); - } else { - iterationLevelsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder clearIterationLevels() { - if (iterationLevelsBuilder_ == null) { - iterationLevels_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - } else { - iterationLevelsBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public Builder removeIterationLevels(int index) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.remove(index); - onChanged(); - } else { - iterationLevelsBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder getIterationLevelsBuilder( - int index) { - return getIterationLevelsFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index) { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.get(index); - } else { - return iterationLevelsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public java.util.List getIterationLevelsOrBuilderList() { - if (iterationLevelsBuilder_ != null) { - return iterationLevelsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(iterationLevels_); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder addIterationLevelsBuilder() { - return getIterationLevelsFieldBuilder() - .addBuilder(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder addIterationLevelsBuilder( - int index) { - return getIterationLevelsFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 3; - */ - public java.util.List getIterationLevelsBuilderList() { - return getIterationLevelsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getIterationLevelsFieldBuilder() { - if (iterationLevelsBuilder_ == null) { - iterationLevelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - iterationLevels_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), - isClean()); - iterationLevels_ = null; - } - return iterationLevelsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ForEachNode parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ForEachNode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface AsyncEventNodeOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string event_type = 1; - * - * @return Whether the eventType field is set. - */ - boolean hasEventType(); - - /** - * optional string event_type = 1; - * - * @return The eventType. - */ - java.lang.String getEventType(); - - /** - * optional string event_type = 1; - * - * @return The bytes for eventType. - */ - com.google.protobuf.ByteString getEventTypeBytes(); - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode} - */ - public static final class AsyncEventNode extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) - AsyncEventNodeOrBuilder { - private static final long serialVersionUID = 0L; - - // Use AsyncEventNode.newBuilder() to construct. - private AsyncEventNode(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private AsyncEventNode() { - eventType_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AsyncEventNode(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private AsyncEventNode(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - eventType_ = bs; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder.class); - } - - private int bitField0_; - public static final int EVENT_TYPE_FIELD_NUMBER = 1; - private volatile java.lang.Object eventType_; - - /** - * optional string event_type = 1; - * - * @return Whether the eventType field is set. - */ - @java.lang.Override - public boolean hasEventType() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string event_type = 1; - * - * @return The eventType. - */ - @java.lang.Override - public java.lang.String getEventType() { - java.lang.Object ref = eventType_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - eventType_ = s; - } - return s; - } - } - - /** - * optional string event_type = 1; - * - * @return The bytes for eventType. - */ - @java.lang.Override - public com.google.protobuf.ByteString getEventTypeBytes() { - java.lang.Object ref = eventType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - eventType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, eventType_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, eventType_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode) obj; - - if (hasEventType() != other.hasEventType()) - return false; - if (hasEventType()) { - if (!getEventType().equals(other.getEventType())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasEventType()) { - hash = (37 * hash) + EVENT_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getEventType().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, - extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - eventType_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.eventType_ = eventType_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode - .getDefaultInstance()) - return this; - if (other.hasEventType()) { - bitField0_ |= 0x00000001; - eventType_ = other.eventType_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object eventType_ = ""; - - /** - * optional string event_type = 1; - * - * @return Whether the eventType field is set. - */ - public boolean hasEventType() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string event_type = 1; - * - * @return The eventType. - */ - public java.lang.String getEventType() { - java.lang.Object ref = eventType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - eventType_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string event_type = 1; - * - * @return The bytes for eventType. - */ - public com.google.protobuf.ByteString getEventTypeBytes() { - java.lang.Object ref = eventType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - eventType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string event_type = 1; - * - * @param value The eventType to set. - * @return This builder for chaining. - */ - public Builder setEventType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - eventType_ = value; - onChanged(); - return this; - } - - /** - * optional string event_type = 1; - * - * @return This builder for chaining. - */ - public Builder clearEventType() { - bitField0_ = (bitField0_ & ~0x00000001); - eventType_ = getDefaultInstance().getEventType(); - onChanged(); - return this; - } - - /** - * optional string event_type = 1; - * - * @param value The bytes for eventType to set. - * @return This builder for chaining. - */ - public Builder setEventTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - eventType_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AsyncEventNode parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AsyncEventNode(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private int bitField0_; - public static final int TYPE_FIELD_NUMBER = 1; - private int type_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceType type = 1; - * - * @return Whether the type field is set. - */ - @java.lang.Override - public boolean hasType() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceType type = 1; - * - * @return The type. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceType getType() { - @SuppressWarnings("deprecation") - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceType result = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceType - .valueOf(type_); - return result == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceType.RULE_SET_NODE - : result; - } - - public static final int RULE_SET_FIELD_NUMBER = 2; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode ruleSet_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - * - * @return Whether the ruleSet field is set. - */ - @java.lang.Override - public boolean hasRuleSet() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - * - * @return The ruleSet. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getRuleSet() { - return ruleSet_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode - .getDefaultInstance() - : ruleSet_; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder getRuleSetOrBuilder() { - return ruleSet_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode - .getDefaultInstance() - : ruleSet_; - } - - public static final int HUMAN_TASK_FIELD_NUMBER = 3; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode humanTask_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - * - * @return Whether the humanTask field is set. - */ - @java.lang.Override - public boolean hasHumanTask() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - * - * @return The humanTask. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getHumanTask() { - return humanTask_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode - .getDefaultInstance() - : humanTask_; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder getHumanTaskOrBuilder() { - return humanTask_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode - .getDefaultInstance() - : humanTask_; - } - - public static final int WORK_ITEM_FIELD_NUMBER = 4; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode workItem_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - * - * @return Whether the workItem field is set. - */ - @java.lang.Override - public boolean hasWorkItem() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - * - * @return The workItem. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getWorkItem() { - return workItem_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode - .getDefaultInstance() - : workItem_; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder getWorkItemOrBuilder() { - return workItem_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode - .getDefaultInstance() - : workItem_; - } - - public static final int SUB_PROCESS_FIELD_NUMBER = 5; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode subProcess_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - * - * @return Whether the subProcess field is set. - */ - @java.lang.Override - public boolean hasSubProcess() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - * - * @return The subProcess. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getSubProcess() { - return subProcess_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode - .getDefaultInstance() - : subProcess_; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder getSubProcessOrBuilder() { - return subProcess_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode - .getDefaultInstance() - : subProcess_; - } - - public static final int MILESTONE_FIELD_NUMBER = 6; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode milestone_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - * - * @return Whether the milestone field is set. - */ - @java.lang.Override - public boolean hasMilestone() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - * - * @return The milestone. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getMilestone() { - return milestone_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode - .getDefaultInstance() - : milestone_; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder getMilestoneOrBuilder() { - return milestone_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode - .getDefaultInstance() - : milestone_; - } - - public static final int EVENT_FIELD_NUMBER = 7; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode event_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - * - * @return Whether the event field is set. - */ - @java.lang.Override - public boolean hasEvent() { - return ((bitField0_ & 0x00000040) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - * - * @return The event. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode getEvent() { - return event_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode - .getDefaultInstance() - : event_; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder getEventOrBuilder() { - return event_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode - .getDefaultInstance() - : event_; - } - - public static final int TIMER_FIELD_NUMBER = 8; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode timer_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - * - * @return Whether the timer field is set. - */ - @java.lang.Override - public boolean hasTimer() { - return ((bitField0_ & 0x00000080) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - * - * @return The timer. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode getTimer() { - return timer_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode - .getDefaultInstance() - : timer_; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder getTimerOrBuilder() { - return timer_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode - .getDefaultInstance() - : timer_; - } - - public static final int JOIN_FIELD_NUMBER = 9; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode join_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - * - * @return Whether the join field is set. - */ - @java.lang.Override - public boolean hasJoin() { - return ((bitField0_ & 0x00000100) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - * - * @return The join. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode getJoin() { - return join_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode - .getDefaultInstance() - : join_; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder getJoinOrBuilder() { - return join_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode - .getDefaultInstance() - : join_; - } - - public static final int STATE_FIELD_NUMBER = 10; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode state_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - * - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000200) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - * - * @return The state. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode getState() { - return state_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode - .getDefaultInstance() - : state_; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder getStateOrBuilder() { - return state_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode - .getDefaultInstance() - : state_; - } - - public static final int COMPOSITE_FIELD_NUMBER = 11; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode composite_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - * - * @return Whether the composite field is set. - */ - @java.lang.Override - public boolean hasComposite() { - return ((bitField0_ & 0x00000400) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - * - * @return The composite. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getComposite() { - return composite_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode - .getDefaultInstance() - : composite_; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder getCompositeOrBuilder() { - return composite_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode - .getDefaultInstance() - : composite_; - } - - public static final int FOR_EACH_FIELD_NUMBER = 12; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode forEach_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - * - * @return Whether the forEach field is set. - */ - @java.lang.Override - public boolean hasForEach() { - return ((bitField0_ & 0x00000800) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - * - * @return The forEach. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode getForEach() { - return forEach_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode - .getDefaultInstance() - : forEach_; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder getForEachOrBuilder() { - return forEach_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode - .getDefaultInstance() - : forEach_; - } - - public static final int ASYNC_EVENT_FIELD_NUMBER = 13; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode asyncEvent_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - * - * @return Whether the asyncEvent field is set. - */ - @java.lang.Override - public boolean hasAsyncEvent() { - return ((bitField0_ & 0x00001000) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - * - * @return The asyncEvent. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getAsyncEvent() { - return asyncEvent_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode - .getDefaultInstance() - : asyncEvent_; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder getAsyncEventOrBuilder() { - return asyncEvent_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode - .getDefaultInstance() - : asyncEvent_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeEnum(1, type_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(2, getRuleSet()); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeMessage(3, getHumanTask()); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeMessage(4, getWorkItem()); - } - if (((bitField0_ & 0x00000010) != 0)) { - output.writeMessage(5, getSubProcess()); - } - if (((bitField0_ & 0x00000020) != 0)) { - output.writeMessage(6, getMilestone()); - } - if (((bitField0_ & 0x00000040) != 0)) { - output.writeMessage(7, getEvent()); - } - if (((bitField0_ & 0x00000080) != 0)) { - output.writeMessage(8, getTimer()); - } - if (((bitField0_ & 0x00000100) != 0)) { - output.writeMessage(9, getJoin()); - } - if (((bitField0_ & 0x00000200) != 0)) { - output.writeMessage(10, getState()); - } - if (((bitField0_ & 0x00000400) != 0)) { - output.writeMessage(11, getComposite()); - } - if (((bitField0_ & 0x00000800) != 0)) { - output.writeMessage(12, getForEach()); - } - if (((bitField0_ & 0x00001000) != 0)) { - output.writeMessage(13, getAsyncEvent()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRuleSet()); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getHumanTask()); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getWorkItem()); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getSubProcess()); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMilestone()); - } - if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getEvent()); - } - if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTimer()); - } - if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getJoin()); - } - if (((bitField0_ & 0x00000200) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getState()); - } - if (((bitField0_ & 0x00000400) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getComposite()); - } - if (((bitField0_ & 0x00000800) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getForEach()); - } - if (((bitField0_ & 0x00001000) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getAsyncEvent()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent) obj; - - if (hasType() != other.hasType()) - return false; - if (hasType()) { - if (type_ != other.type_) - return false; - } - if (hasRuleSet() != other.hasRuleSet()) - return false; - if (hasRuleSet()) { - if (!getRuleSet().equals(other.getRuleSet())) - return false; - } - if (hasHumanTask() != other.hasHumanTask()) - return false; - if (hasHumanTask()) { - if (!getHumanTask().equals(other.getHumanTask())) - return false; - } - if (hasWorkItem() != other.hasWorkItem()) - return false; - if (hasWorkItem()) { - if (!getWorkItem().equals(other.getWorkItem())) - return false; - } - if (hasSubProcess() != other.hasSubProcess()) - return false; - if (hasSubProcess()) { - if (!getSubProcess().equals(other.getSubProcess())) - return false; - } - if (hasMilestone() != other.hasMilestone()) - return false; - if (hasMilestone()) { - if (!getMilestone().equals(other.getMilestone())) - return false; - } - if (hasEvent() != other.hasEvent()) - return false; - if (hasEvent()) { - if (!getEvent().equals(other.getEvent())) - return false; - } - if (hasTimer() != other.hasTimer()) - return false; - if (hasTimer()) { - if (!getTimer().equals(other.getTimer())) - return false; - } - if (hasJoin() != other.hasJoin()) - return false; - if (hasJoin()) { - if (!getJoin().equals(other.getJoin())) - return false; - } - if (hasState() != other.hasState()) - return false; - if (hasState()) { - if (!getState().equals(other.getState())) - return false; - } - if (hasComposite() != other.hasComposite()) - return false; - if (hasComposite()) { - if (!getComposite().equals(other.getComposite())) - return false; - } - if (hasForEach() != other.hasForEach()) - return false; - if (hasForEach()) { - if (!getForEach().equals(other.getForEach())) - return false; - } - if (hasAsyncEvent() != other.hasAsyncEvent()) - return false; - if (hasAsyncEvent()) { - if (!getAsyncEvent().equals(other.getAsyncEvent())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasType()) { - hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + type_; - } - if (hasRuleSet()) { - hash = (37 * hash) + RULE_SET_FIELD_NUMBER; - hash = (53 * hash) + getRuleSet().hashCode(); - } - if (hasHumanTask()) { - hash = (37 * hash) + HUMAN_TASK_FIELD_NUMBER; - hash = (53 * hash) + getHumanTask().hashCode(); - } - if (hasWorkItem()) { - hash = (37 * hash) + WORK_ITEM_FIELD_NUMBER; - hash = (53 * hash) + getWorkItem().hashCode(); - } - if (hasSubProcess()) { - hash = (37 * hash) + SUB_PROCESS_FIELD_NUMBER; - hash = (53 * hash) + getSubProcess().hashCode(); - } - if (hasMilestone()) { - hash = (37 * hash) + MILESTONE_FIELD_NUMBER; - hash = (53 * hash) + getMilestone().hashCode(); - } - if (hasEvent()) { - hash = (37 * hash) + EVENT_FIELD_NUMBER; - hash = (53 * hash) + getEvent().hashCode(); - } - if (hasTimer()) { - hash = (37 * hash) + TIMER_FIELD_NUMBER; - hash = (53 * hash) + getTimer().hashCode(); - } - if (hasJoin()) { - hash = (37 * hash) + JOIN_FIELD_NUMBER; - hash = (53 * hash) + getJoin().hashCode(); - } - if (hasState()) { - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + getState().hashCode(); - } - if (hasComposite()) { - hash = (37 * hash) + COMPOSITE_FIELD_NUMBER; - hash = (53 * hash) + getComposite().hashCode(); - } - if (hasForEach()) { - hash = (37 * hash) + FOR_EACH_FIELD_NUMBER; - hash = (53 * hash) + getForEach().hashCode(); - } - if (hasAsyncEvent()) { - hash = (37 * hash) + ASYNC_EVENT_FIELD_NUMBER; - hash = (53 * hash) + getAsyncEvent().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type - * {@code org.jbpm.marshalling.ProcessInstance.NodeInstanceContent} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContentOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getRuleSetFieldBuilder(); - getHumanTaskFieldBuilder(); - getWorkItemFieldBuilder(); - getSubProcessFieldBuilder(); - getMilestoneFieldBuilder(); - getEventFieldBuilder(); - getTimerFieldBuilder(); - getJoinFieldBuilder(); - getStateFieldBuilder(); - getCompositeFieldBuilder(); - getForEachFieldBuilder(); - getAsyncEventFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - type_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); - if (ruleSetBuilder_ == null) { - ruleSet_ = null; - } else { - ruleSetBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - if (humanTaskBuilder_ == null) { - humanTask_ = null; - } else { - humanTaskBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - if (workItemBuilder_ == null) { - workItem_ = null; - } else { - workItemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - if (subProcessBuilder_ == null) { - subProcess_ = null; - } else { - subProcessBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - if (milestoneBuilder_ == null) { - milestone_ = null; - } else { - milestoneBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000020); - if (eventBuilder_ == null) { - event_ = null; - } else { - eventBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000040); - if (timerBuilder_ == null) { - timer_ = null; - } else { - timerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000080); - if (joinBuilder_ == null) { - join_ = null; - } else { - joinBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000100); - if (stateBuilder_ == null) { - state_ = null; - } else { - stateBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000200); - if (compositeBuilder_ == null) { - composite_ = null; - } else { - compositeBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000400); - if (forEachBuilder_ == null) { - forEach_ = null; - } else { - forEachBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000800); - if (asyncEventBuilder_ == null) { - asyncEvent_ = null; - } else { - asyncEventBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00001000); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.type_ = type_; - if (((from_bitField0_ & 0x00000002) != 0)) { - if (ruleSetBuilder_ == null) { - result.ruleSet_ = ruleSet_; - } else { - result.ruleSet_ = ruleSetBuilder_.build(); - } - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - if (humanTaskBuilder_ == null) { - result.humanTask_ = humanTask_; - } else { - result.humanTask_ = humanTaskBuilder_.build(); - } - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - if (workItemBuilder_ == null) { - result.workItem_ = workItem_; - } else { - result.workItem_ = workItemBuilder_.build(); - } - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - if (subProcessBuilder_ == null) { - result.subProcess_ = subProcess_; - } else { - result.subProcess_ = subProcessBuilder_.build(); - } - to_bitField0_ |= 0x00000010; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - if (milestoneBuilder_ == null) { - result.milestone_ = milestone_; - } else { - result.milestone_ = milestoneBuilder_.build(); - } - to_bitField0_ |= 0x00000020; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - if (eventBuilder_ == null) { - result.event_ = event_; - } else { - result.event_ = eventBuilder_.build(); - } - to_bitField0_ |= 0x00000040; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - if (timerBuilder_ == null) { - result.timer_ = timer_; - } else { - result.timer_ = timerBuilder_.build(); - } - to_bitField0_ |= 0x00000080; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - if (joinBuilder_ == null) { - result.join_ = join_; - } else { - result.join_ = joinBuilder_.build(); - } - to_bitField0_ |= 0x00000100; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - if (stateBuilder_ == null) { - result.state_ = state_; - } else { - result.state_ = stateBuilder_.build(); - } - to_bitField0_ |= 0x00000200; - } - if (((from_bitField0_ & 0x00000400) != 0)) { - if (compositeBuilder_ == null) { - result.composite_ = composite_; - } else { - result.composite_ = compositeBuilder_.build(); - } - to_bitField0_ |= 0x00000400; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - if (forEachBuilder_ == null) { - result.forEach_ = forEach_; - } else { - result.forEach_ = forEachBuilder_.build(); - } - to_bitField0_ |= 0x00000800; - } - if (((from_bitField0_ & 0x00001000) != 0)) { - if (asyncEventBuilder_ == null) { - result.asyncEvent_ = asyncEvent_; - } else { - result.asyncEvent_ = asyncEventBuilder_.build(); - } - to_bitField0_ |= 0x00001000; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent - .getDefaultInstance()) - return this; - if (other.hasType()) { - setType(other.getType()); - } - if (other.hasRuleSet()) { - mergeRuleSet(other.getRuleSet()); - } - if (other.hasHumanTask()) { - mergeHumanTask(other.getHumanTask()); - } - if (other.hasWorkItem()) { - mergeWorkItem(other.getWorkItem()); - } - if (other.hasSubProcess()) { - mergeSubProcess(other.getSubProcess()); - } - if (other.hasMilestone()) { - mergeMilestone(other.getMilestone()); - } - if (other.hasEvent()) { - mergeEvent(other.getEvent()); - } - if (other.hasTimer()) { - mergeTimer(other.getTimer()); - } - if (other.hasJoin()) { - mergeJoin(other.getJoin()); - } - if (other.hasState()) { - mergeState(other.getState()); - } - if (other.hasComposite()) { - mergeComposite(other.getComposite()); - } - if (other.hasForEach()) { - mergeForEach(other.getForEach()); - } - if (other.hasAsyncEvent()) { - mergeAsyncEvent(other.getAsyncEvent()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private int type_ = 0; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceType type = 1; - * - * @return Whether the type field is set. - */ - @java.lang.Override - public boolean hasType() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceType type = 1; - * - * @return The type. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceType getType() { - @SuppressWarnings("deprecation") - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceType result = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceType - .valueOf(type_); - return result == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceType.RULE_SET_NODE - : result; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceType type = 1; - * - * @param value The type to set. - * @return This builder for chaining. - */ - public Builder setType( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceType value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - type_ = value.getNumber(); - onChanged(); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceType type = 1; - * - * @return This builder for chaining. - */ - public Builder clearType() { - bitField0_ = (bitField0_ & ~0x00000001); - type_ = 0; - onChanged(); - return this; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode ruleSet_; - private com.google.protobuf.SingleFieldBuilderV3 ruleSetBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - * - * @return Whether the ruleSet field is set. - */ - public boolean hasRuleSet() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - * - * @return The ruleSet. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode getRuleSet() { - if (ruleSetBuilder_ == null) { - return ruleSet_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode - .getDefaultInstance() - : ruleSet_; - } else { - return ruleSetBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - public Builder setRuleSet( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode value) { - if (ruleSetBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ruleSet_ = value; - onChanged(); - } else { - ruleSetBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - public Builder setRuleSet( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder builderForValue) { - if (ruleSetBuilder_ == null) { - ruleSet_ = builderForValue.build(); - onChanged(); - } else { - ruleSetBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - public Builder mergeRuleSet( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode value) { - if (ruleSetBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && ruleSet_ != null - && ruleSet_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode - .getDefaultInstance()) { - ruleSet_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode - .newBuilder(ruleSet_).mergeFrom(value).buildPartial(); - } else { - ruleSet_ = value; - } - onChanged(); - } else { - ruleSetBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - public Builder clearRuleSet() { - if (ruleSetBuilder_ == null) { - ruleSet_ = null; - onChanged(); - } else { - ruleSetBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder getRuleSetBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getRuleSetFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNodeOrBuilder getRuleSetOrBuilder() { - if (ruleSetBuilder_ != null) { - return ruleSetBuilder_.getMessageOrBuilder(); - } else { - return ruleSet_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode - .getDefaultInstance() - : ruleSet_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3 getRuleSetFieldBuilder() { - if (ruleSetBuilder_ == null) { - ruleSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getRuleSet(), getParentForChildren(), isClean()); - ruleSet_ = null; - } - return ruleSetBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode humanTask_; - private com.google.protobuf.SingleFieldBuilderV3 humanTaskBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - * - * @return Whether the humanTask field is set. - */ - public boolean hasHumanTask() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - * - * @return The humanTask. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode getHumanTask() { - if (humanTaskBuilder_ == null) { - return humanTask_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode - .getDefaultInstance() - : humanTask_; - } else { - return humanTaskBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - public Builder setHumanTask( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode value) { - if (humanTaskBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - humanTask_ = value; - onChanged(); - } else { - humanTaskBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - public Builder setHumanTask( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder builderForValue) { - if (humanTaskBuilder_ == null) { - humanTask_ = builderForValue.build(); - onChanged(); - } else { - humanTaskBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - public Builder mergeHumanTask( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode value) { - if (humanTaskBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && humanTask_ != null - && humanTask_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode - .getDefaultInstance()) { - humanTask_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode - .newBuilder(humanTask_).mergeFrom(value).buildPartial(); - } else { - humanTask_ = value; - } - onChanged(); - } else { - humanTaskBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - public Builder clearHumanTask() { - if (humanTaskBuilder_ == null) { - humanTask_ = null; - onChanged(); - } else { - humanTaskBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000004); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode.Builder getHumanTaskBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getHumanTaskFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNodeOrBuilder getHumanTaskOrBuilder() { - if (humanTaskBuilder_ != null) { - return humanTaskBuilder_.getMessageOrBuilder(); - } else { - return humanTask_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.HumanTaskNode - .getDefaultInstance() - : humanTask_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.HumanTaskNode human_task = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3 getHumanTaskFieldBuilder() { - if (humanTaskBuilder_ == null) { - humanTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getHumanTask(), getParentForChildren(), isClean()); - humanTask_ = null; - } - return humanTaskBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode workItem_; - private com.google.protobuf.SingleFieldBuilderV3 workItemBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - * - * @return Whether the workItem field is set. - */ - public boolean hasWorkItem() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - * - * @return The workItem. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode getWorkItem() { - if (workItemBuilder_ == null) { - return workItem_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode - .getDefaultInstance() - : workItem_; - } else { - return workItemBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - public Builder setWorkItem( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode value) { - if (workItemBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - workItem_ = value; - onChanged(); - } else { - workItemBuilder_.setMessage(value); - } - bitField0_ |= 0x00000008; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - public Builder setWorkItem( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder builderForValue) { - if (workItemBuilder_ == null) { - workItem_ = builderForValue.build(); - onChanged(); - } else { - workItemBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000008; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - public Builder mergeWorkItem( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode value) { - if (workItemBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && workItem_ != null - && workItem_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode - .getDefaultInstance()) { - workItem_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode - .newBuilder(workItem_).mergeFrom(value).buildPartial(); - } else { - workItem_ = value; - } - onChanged(); - } else { - workItemBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000008; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - public Builder clearWorkItem() { - if (workItemBuilder_ == null) { - workItem_ = null; - onChanged(); - } else { - workItemBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode.Builder getWorkItemBuilder() { - bitField0_ |= 0x00000008; - onChanged(); - return getWorkItemFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNodeOrBuilder getWorkItemOrBuilder() { - if (workItemBuilder_ != null) { - return workItemBuilder_.getMessageOrBuilder(); - } else { - return workItem_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.WorkItemNode - .getDefaultInstance() - : workItem_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.WorkItemNode work_item = 4; - */ - private com.google.protobuf.SingleFieldBuilderV3 getWorkItemFieldBuilder() { - if (workItemBuilder_ == null) { - workItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getWorkItem(), getParentForChildren(), isClean()); - workItem_ = null; - } - return workItemBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode subProcess_; - private com.google.protobuf.SingleFieldBuilderV3 subProcessBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - * - * @return Whether the subProcess field is set. - */ - public boolean hasSubProcess() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - * - * @return The subProcess. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode getSubProcess() { - if (subProcessBuilder_ == null) { - return subProcess_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode - .getDefaultInstance() - : subProcess_; - } else { - return subProcessBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - public Builder setSubProcess( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode value) { - if (subProcessBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - subProcess_ = value; - onChanged(); - } else { - subProcessBuilder_.setMessage(value); - } - bitField0_ |= 0x00000010; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - public Builder setSubProcess( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder builderForValue) { - if (subProcessBuilder_ == null) { - subProcess_ = builderForValue.build(); - onChanged(); - } else { - subProcessBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000010; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - public Builder mergeSubProcess( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode value) { - if (subProcessBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && subProcess_ != null - && subProcess_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode - .getDefaultInstance()) { - subProcess_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode - .newBuilder(subProcess_).mergeFrom(value).buildPartial(); - } else { - subProcess_ = value; - } - onChanged(); - } else { - subProcessBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000010; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - public Builder clearSubProcess() { - if (subProcessBuilder_ == null) { - subProcess_ = null; - onChanged(); - } else { - subProcessBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000010); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode.Builder getSubProcessBuilder() { - bitField0_ |= 0x00000010; - onChanged(); - return getSubProcessFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNodeOrBuilder getSubProcessOrBuilder() { - if (subProcessBuilder_ != null) { - return subProcessBuilder_.getMessageOrBuilder(); - } else { - return subProcess_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.SubProcessNode - .getDefaultInstance() - : subProcess_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.SubProcessNode sub_process = 5; - */ - private com.google.protobuf.SingleFieldBuilderV3 getSubProcessFieldBuilder() { - if (subProcessBuilder_ == null) { - subProcessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getSubProcess(), getParentForChildren(), isClean()); - subProcess_ = null; - } - return subProcessBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode milestone_; - private com.google.protobuf.SingleFieldBuilderV3 milestoneBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - * - * @return Whether the milestone field is set. - */ - public boolean hasMilestone() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - * - * @return The milestone. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode getMilestone() { - if (milestoneBuilder_ == null) { - return milestone_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode - .getDefaultInstance() - : milestone_; - } else { - return milestoneBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - public Builder setMilestone( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode value) { - if (milestoneBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - milestone_ = value; - onChanged(); - } else { - milestoneBuilder_.setMessage(value); - } - bitField0_ |= 0x00000020; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - public Builder setMilestone( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder builderForValue) { - if (milestoneBuilder_ == null) { - milestone_ = builderForValue.build(); - onChanged(); - } else { - milestoneBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000020; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - public Builder mergeMilestone( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode value) { - if (milestoneBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) && milestone_ != null - && milestone_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode - .getDefaultInstance()) { - milestone_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode - .newBuilder(milestone_).mergeFrom(value).buildPartial(); - } else { - milestone_ = value; - } - onChanged(); - } else { - milestoneBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000020; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - public Builder clearMilestone() { - if (milestoneBuilder_ == null) { - milestone_ = null; - onChanged(); - } else { - milestoneBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000020); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode.Builder getMilestoneBuilder() { - bitField0_ |= 0x00000020; - onChanged(); - return getMilestoneFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNodeOrBuilder getMilestoneOrBuilder() { - if (milestoneBuilder_ != null) { - return milestoneBuilder_.getMessageOrBuilder(); - } else { - return milestone_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.MilestoneNode - .getDefaultInstance() - : milestone_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.MilestoneNode milestone = 6; - */ - private com.google.protobuf.SingleFieldBuilderV3 getMilestoneFieldBuilder() { - if (milestoneBuilder_ == null) { - milestoneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getMilestone(), getParentForChildren(), isClean()); - milestone_ = null; - } - return milestoneBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode event_; - private com.google.protobuf.SingleFieldBuilderV3 eventBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - * - * @return Whether the event field is set. - */ - public boolean hasEvent() { - return ((bitField0_ & 0x00000040) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - * - * @return The event. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode getEvent() { - if (eventBuilder_ == null) { - return event_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode - .getDefaultInstance() - : event_; - } else { - return eventBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - public Builder setEvent( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode value) { - if (eventBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - event_ = value; - onChanged(); - } else { - eventBuilder_.setMessage(value); - } - bitField0_ |= 0x00000040; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - public Builder setEvent( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder builderForValue) { - if (eventBuilder_ == null) { - event_ = builderForValue.build(); - onChanged(); - } else { - eventBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000040; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - public Builder mergeEvent( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode value) { - if (eventBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && event_ != null - && event_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode - .getDefaultInstance()) { - event_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode - .newBuilder(event_).mergeFrom(value).buildPartial(); - } else { - event_ = value; - } - onChanged(); - } else { - eventBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000040; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - public Builder clearEvent() { - if (eventBuilder_ == null) { - event_ = null; - onChanged(); - } else { - eventBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000040); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode.Builder getEventBuilder() { - bitField0_ |= 0x00000040; - onChanged(); - return getEventFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNodeOrBuilder getEventOrBuilder() { - if (eventBuilder_ != null) { - return eventBuilder_.getMessageOrBuilder(); - } else { - return event_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.EventNode - .getDefaultInstance() - : event_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.EventNode event = 7; - */ - private com.google.protobuf.SingleFieldBuilderV3 getEventFieldBuilder() { - if (eventBuilder_ == null) { - eventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getEvent(), getParentForChildren(), isClean()); - event_ = null; - } - return eventBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode timer_; - private com.google.protobuf.SingleFieldBuilderV3 timerBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - * - * @return Whether the timer field is set. - */ - public boolean hasTimer() { - return ((bitField0_ & 0x00000080) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - * - * @return The timer. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode getTimer() { - if (timerBuilder_ == null) { - return timer_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode - .getDefaultInstance() - : timer_; - } else { - return timerBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - public Builder setTimer( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode value) { - if (timerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - timer_ = value; - onChanged(); - } else { - timerBuilder_.setMessage(value); - } - bitField0_ |= 0x00000080; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - public Builder setTimer( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder builderForValue) { - if (timerBuilder_ == null) { - timer_ = builderForValue.build(); - onChanged(); - } else { - timerBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000080; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - public Builder mergeTimer( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode value) { - if (timerBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && timer_ != null - && timer_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode - .getDefaultInstance()) { - timer_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode - .newBuilder(timer_).mergeFrom(value).buildPartial(); - } else { - timer_ = value; - } - onChanged(); - } else { - timerBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000080; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - public Builder clearTimer() { - if (timerBuilder_ == null) { - timer_ = null; - onChanged(); - } else { - timerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000080); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode.Builder getTimerBuilder() { - bitField0_ |= 0x00000080; - onChanged(); - return getTimerFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNodeOrBuilder getTimerOrBuilder() { - if (timerBuilder_ != null) { - return timerBuilder_.getMessageOrBuilder(); - } else { - return timer_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.TimerNode - .getDefaultInstance() - : timer_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.TimerNode timer = 8; - */ - private com.google.protobuf.SingleFieldBuilderV3 getTimerFieldBuilder() { - if (timerBuilder_ == null) { - timerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getTimer(), getParentForChildren(), isClean()); - timer_ = null; - } - return timerBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode join_; - private com.google.protobuf.SingleFieldBuilderV3 joinBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - * - * @return Whether the join field is set. - */ - public boolean hasJoin() { - return ((bitField0_ & 0x00000100) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - * - * @return The join. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode getJoin() { - if (joinBuilder_ == null) { - return join_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode - .getDefaultInstance() - : join_; - } else { - return joinBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - public Builder setJoin( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode value) { - if (joinBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - join_ = value; - onChanged(); - } else { - joinBuilder_.setMessage(value); - } - bitField0_ |= 0x00000100; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - public Builder setJoin( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder builderForValue) { - if (joinBuilder_ == null) { - join_ = builderForValue.build(); - onChanged(); - } else { - joinBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000100; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - public Builder mergeJoin( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode value) { - if (joinBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) && join_ != null - && join_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode - .getDefaultInstance()) { - join_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode - .newBuilder(join_).mergeFrom(value).buildPartial(); - } else { - join_ = value; - } - onChanged(); - } else { - joinBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000100; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - public Builder clearJoin() { - if (joinBuilder_ == null) { - join_ = null; - onChanged(); - } else { - joinBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000100); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder getJoinBuilder() { - bitField0_ |= 0x00000100; - onChanged(); - return getJoinFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder getJoinOrBuilder() { - if (joinBuilder_ != null) { - return joinBuilder_.getMessageOrBuilder(); - } else { - return join_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode - .getDefaultInstance() - : join_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3 getJoinFieldBuilder() { - if (joinBuilder_ == null) { - joinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getJoin(), getParentForChildren(), isClean()); - join_ = null; - } - return joinBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode state_; - private com.google.protobuf.SingleFieldBuilderV3 stateBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - * - * @return Whether the state field is set. - */ - public boolean hasState() { - return ((bitField0_ & 0x00000200) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - * - * @return The state. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode getState() { - if (stateBuilder_ == null) { - return state_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode - .getDefaultInstance() - : state_; - } else { - return stateBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - public Builder setState( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode value) { - if (stateBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - state_ = value; - onChanged(); - } else { - stateBuilder_.setMessage(value); - } - bitField0_ |= 0x00000200; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - public Builder setState( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder builderForValue) { - if (stateBuilder_ == null) { - state_ = builderForValue.build(); - onChanged(); - } else { - stateBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000200; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - public Builder mergeState( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode value) { - if (stateBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0) && state_ != null - && state_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode - .getDefaultInstance()) { - state_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode - .newBuilder(state_).mergeFrom(value).buildPartial(); - } else { - state_ = value; - } - onChanged(); - } else { - stateBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000200; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - public Builder clearState() { - if (stateBuilder_ == null) { - state_ = null; - onChanged(); - } else { - stateBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000200); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder getStateBuilder() { - bitField0_ |= 0x00000200; - onChanged(); - return getStateFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder getStateOrBuilder() { - if (stateBuilder_ != null) { - return stateBuilder_.getMessageOrBuilder(); - } else { - return state_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode - .getDefaultInstance() - : state_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10; - */ - private com.google.protobuf.SingleFieldBuilderV3 getStateFieldBuilder() { - if (stateBuilder_ == null) { - stateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getState(), getParentForChildren(), isClean()); - state_ = null; - } - return stateBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode composite_; - private com.google.protobuf.SingleFieldBuilderV3 compositeBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - * - * @return Whether the composite field is set. - */ - public boolean hasComposite() { - return ((bitField0_ & 0x00000400) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - * - * @return The composite. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode getComposite() { - if (compositeBuilder_ == null) { - return composite_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode - .getDefaultInstance() - : composite_; - } else { - return compositeBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - public Builder setComposite( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode value) { - if (compositeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - composite_ = value; - onChanged(); - } else { - compositeBuilder_.setMessage(value); - } - bitField0_ |= 0x00000400; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - public Builder setComposite( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder builderForValue) { - if (compositeBuilder_ == null) { - composite_ = builderForValue.build(); - onChanged(); - } else { - compositeBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000400; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - public Builder mergeComposite( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode value) { - if (compositeBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && composite_ != null - && composite_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode - .getDefaultInstance()) { - composite_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode - .newBuilder(composite_).mergeFrom(value).buildPartial(); - } else { - composite_ = value; - } - onChanged(); - } else { - compositeBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000400; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - public Builder clearComposite() { - if (compositeBuilder_ == null) { - composite_ = null; - onChanged(); - } else { - compositeBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000400); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode.Builder getCompositeBuilder() { - bitField0_ |= 0x00000400; - onChanged(); - return getCompositeFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNodeOrBuilder getCompositeOrBuilder() { - if (compositeBuilder_ != null) { - return compositeBuilder_.getMessageOrBuilder(); - } else { - return composite_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.CompositeContextNode - .getDefaultInstance() - : composite_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.CompositeContextNode composite = 11; - */ - private com.google.protobuf.SingleFieldBuilderV3 getCompositeFieldBuilder() { - if (compositeBuilder_ == null) { - compositeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getComposite(), getParentForChildren(), isClean()); - composite_ = null; - } - return compositeBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode forEach_; - private com.google.protobuf.SingleFieldBuilderV3 forEachBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - * - * @return Whether the forEach field is set. - */ - public boolean hasForEach() { - return ((bitField0_ & 0x00000800) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - * - * @return The forEach. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode getForEach() { - if (forEachBuilder_ == null) { - return forEach_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode - .getDefaultInstance() - : forEach_; - } else { - return forEachBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - public Builder setForEach( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode value) { - if (forEachBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - forEach_ = value; - onChanged(); - } else { - forEachBuilder_.setMessage(value); - } - bitField0_ |= 0x00000800; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - public Builder setForEach( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder builderForValue) { - if (forEachBuilder_ == null) { - forEach_ = builderForValue.build(); - onChanged(); - } else { - forEachBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000800; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - public Builder mergeForEach( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode value) { - if (forEachBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) && forEach_ != null - && forEach_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode - .getDefaultInstance()) { - forEach_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode - .newBuilder(forEach_).mergeFrom(value).buildPartial(); - } else { - forEach_ = value; - } - onChanged(); - } else { - forEachBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000800; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - public Builder clearForEach() { - if (forEachBuilder_ == null) { - forEach_ = null; - onChanged(); - } else { - forEachBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000800); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode.Builder getForEachBuilder() { - bitField0_ |= 0x00000800; - onChanged(); - return getForEachFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNodeOrBuilder getForEachOrBuilder() { - if (forEachBuilder_ != null) { - return forEachBuilder_.getMessageOrBuilder(); - } else { - return forEach_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.ForEachNode - .getDefaultInstance() - : forEach_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.ForEachNode for_each = 12; - */ - private com.google.protobuf.SingleFieldBuilderV3 getForEachFieldBuilder() { - if (forEachBuilder_ == null) { - forEachBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getForEach(), getParentForChildren(), isClean()); - forEach_ = null; - } - return forEachBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode asyncEvent_; - private com.google.protobuf.SingleFieldBuilderV3 asyncEventBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - * - * @return Whether the asyncEvent field is set. - */ - public boolean hasAsyncEvent() { - return ((bitField0_ & 0x00001000) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - * - * @return The asyncEvent. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode getAsyncEvent() { - if (asyncEventBuilder_ == null) { - return asyncEvent_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode - .getDefaultInstance() - : asyncEvent_; - } else { - return asyncEventBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - public Builder setAsyncEvent( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode value) { - if (asyncEventBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - asyncEvent_ = value; - onChanged(); - } else { - asyncEventBuilder_.setMessage(value); - } - bitField0_ |= 0x00001000; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - public Builder setAsyncEvent( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder builderForValue) { - if (asyncEventBuilder_ == null) { - asyncEvent_ = builderForValue.build(); - onChanged(); - } else { - asyncEventBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00001000; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - public Builder mergeAsyncEvent( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode value) { - if (asyncEventBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) && asyncEvent_ != null - && asyncEvent_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode - .getDefaultInstance()) { - asyncEvent_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode - .newBuilder(asyncEvent_).mergeFrom(value).buildPartial(); - } else { - asyncEvent_ = value; - } - onChanged(); - } else { - asyncEventBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00001000; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - public Builder clearAsyncEvent() { - if (asyncEventBuilder_ == null) { - asyncEvent_ = null; - onChanged(); - } else { - asyncEventBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00001000); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode.Builder getAsyncEventBuilder() { - bitField0_ |= 0x00001000; - onChanged(); - return getAsyncEventFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNodeOrBuilder getAsyncEventOrBuilder() { - if (asyncEventBuilder_ != null) { - return asyncEventBuilder_.getMessageOrBuilder(); - } else { - return asyncEvent_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.AsyncEventNode - .getDefaultInstance() - : asyncEvent_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.AsyncEventNode async_event = 13; - */ - private com.google.protobuf.SingleFieldBuilderV3 getAsyncEventFieldBuilder() { - if (asyncEventBuilder_ == null) { - asyncEventBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getAsyncEvent(), getParentForChildren(), isClean()); - asyncEvent_ = null; - } - return asyncEventBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance.NodeInstanceContent) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NodeInstanceContent parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new NodeInstanceContent(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private int bitField0_; - public static final int PROCESS_TYPE_FIELD_NUMBER = 1; - private volatile java.lang.Object processType_; - - /** - * optional string process_type = 1; - * - * @return Whether the processType field is set. - */ - @java.lang.Override - public boolean hasProcessType() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string process_type = 1; - * - * @return The processType. - */ - @java.lang.Override - public java.lang.String getProcessType() { - java.lang.Object ref = processType_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processType_ = s; - } - return s; - } - } - - /** - * optional string process_type = 1; - * - * @return The bytes for processType. - */ - @java.lang.Override - public com.google.protobuf.ByteString getProcessTypeBytes() { - java.lang.Object ref = processType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - processType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ID_FIELD_NUMBER = 2; - private volatile java.lang.Object id_; - - /** - * optional string id = 2; - * - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string id = 2; - * - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } - } - - /** - * optional string id = 2; - * - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PROCESS_ID_FIELD_NUMBER = 3; - private volatile java.lang.Object processId_; - - /** - * optional string process_id = 3; - * - * @return Whether the processId field is set. - */ - @java.lang.Override - public boolean hasProcessId() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional string process_id = 3; - * - * @return The processId. - */ - @java.lang.Override - public java.lang.String getProcessId() { - java.lang.Object ref = processId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processId_ = s; - } - return s; - } - } - - /** - * optional string process_id = 3; - * - * @return The bytes for processId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getProcessIdBytes() { - java.lang.Object ref = processId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - processId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int STATE_FIELD_NUMBER = 4; - private int state_; - - /** - * optional int32 state = 4; - * - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int32 state = 4; - * - * @return The state. - */ - @java.lang.Override - public int getState() { - return state_; - } - - public static final int NODE_INSTANCE_COUNTER_FIELD_NUMBER = 5; - private long nodeInstanceCounter_; - - /** - * optional int64 node_instance_counter = 5; - * - * @return Whether the nodeInstanceCounter field is set. - */ - @java.lang.Override - public boolean hasNodeInstanceCounter() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional int64 node_instance_counter = 5; - * - * @return The nodeInstanceCounter. - */ - @java.lang.Override - public long getNodeInstanceCounter() { - return nodeInstanceCounter_; - } - - public static final int PROCESS_XML_FIELD_NUMBER = 11; - private volatile java.lang.Object processXml_; - - /** - * optional string process_xml = 11; - * - * @return Whether the processXml field is set. - */ - @java.lang.Override - public boolean hasProcessXml() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional string process_xml = 11; - * - * @return The processXml. - */ - @java.lang.Override - public java.lang.String getProcessXml() { - java.lang.Object ref = processXml_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processXml_ = s; - } - return s; - } - } - - /** - * optional string process_xml = 11; - * - * @return The bytes for processXml. - */ - @java.lang.Override - public com.google.protobuf.ByteString getProcessXmlBytes() { - java.lang.Object ref = processXml_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - processXml_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PARENT_PROCESS_INSTANCE_ID_FIELD_NUMBER = 12; - private volatile java.lang.Object parentProcessInstanceId_; - - /** - * optional string parent_process_instance_id = 12; - * - * @return Whether the parentProcessInstanceId field is set. - */ - @java.lang.Override - public boolean hasParentProcessInstanceId() { - return ((bitField0_ & 0x00000040) != 0); - } - - /** - * optional string parent_process_instance_id = 12; - * - * @return The parentProcessInstanceId. - */ - @java.lang.Override - public java.lang.String getParentProcessInstanceId() { - java.lang.Object ref = parentProcessInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - parentProcessInstanceId_ = s; - } - return s; - } - } - - /** - * optional string parent_process_instance_id = 12; - * - * @return The bytes for parentProcessInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getParentProcessInstanceIdBytes() { - java.lang.Object ref = parentProcessInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - parentProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DESCRIPTION_FIELD_NUMBER = 15; - private volatile java.lang.Object description_; - - /** - * optional string description = 15; - * - * @return Whether the description field is set. - */ - @java.lang.Override - public boolean hasDescription() { - return ((bitField0_ & 0x00000080) != 0); - } - - /** - * optional string description = 15; - * - * @return The description. - */ - @java.lang.Override - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - description_ = s; - } - return s; - } - } - - /** - * optional string description = 15; - * - * @return The bytes for description. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SIGNAL_COMPLETION_FIELD_NUMBER = 16; - private boolean signalCompletion_; - - /** - * optional bool signal_completion = 16 [default = true]; - * - * @return Whether the signalCompletion field is set. - */ - @java.lang.Override - public boolean hasSignalCompletion() { - return ((bitField0_ & 0x00000100) != 0); - } - - /** - * optional bool signal_completion = 16 [default = true]; - * - * @return The signalCompletion. - */ - @java.lang.Override - public boolean getSignalCompletion() { - return signalCompletion_; - } - - public static final int DEPLOYMENTID_FIELD_NUMBER = 17; - private volatile java.lang.Object deploymentId_; - - /** - * optional string deploymentId = 17; - * - * @return Whether the deploymentId field is set. - */ - @java.lang.Override - public boolean hasDeploymentId() { - return ((bitField0_ & 0x00000200) != 0); - } - - /** - * optional string deploymentId = 17; - * - * @return The deploymentId. - */ - @java.lang.Override - public java.lang.String getDeploymentId() { - java.lang.Object ref = deploymentId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - deploymentId_ = s; - } - return s; - } - } - - /** - * optional string deploymentId = 17; - * - * @return The bytes for deploymentId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDeploymentIdBytes() { - java.lang.Object ref = deploymentId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - deploymentId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CORRELATION_KEY_FIELD_NUMBER = 18; - private volatile java.lang.Object correlationKey_; - - /** - * optional string correlation_key = 18; - * - * @return Whether the correlationKey field is set. - */ - @java.lang.Override - public boolean hasCorrelationKey() { - return ((bitField0_ & 0x00000400) != 0); - } - - /** - * optional string correlation_key = 18; - * - * @return The correlationKey. - */ - @java.lang.Override - public java.lang.String getCorrelationKey() { - java.lang.Object ref = correlationKey_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - correlationKey_ = s; - } - return s; - } - } - - /** - * optional string correlation_key = 18; - * - * @return The bytes for correlationKey. - */ - @java.lang.Override - public com.google.protobuf.ByteString getCorrelationKeyBytes() { - java.lang.Object ref = correlationKey_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - correlationKey_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SLA_TIMER_ID_FIELD_NUMBER = 19; - private volatile java.lang.Object slaTimerId_; - - /** - * optional string sla_timer_id = 19; - * - * @return Whether the slaTimerId field is set. - */ - @java.lang.Override - public boolean hasSlaTimerId() { - return ((bitField0_ & 0x00000800) != 0); - } - - /** - * optional string sla_timer_id = 19; - * - * @return The slaTimerId. - */ - @java.lang.Override - public java.lang.String getSlaTimerId() { - java.lang.Object ref = slaTimerId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - slaTimerId_ = s; - } - return s; - } - } - - /** - * optional string sla_timer_id = 19; - * - * @return The bytes for slaTimerId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getSlaTimerIdBytes() { - java.lang.Object ref = slaTimerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - slaTimerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SLA_DUE_DATE_FIELD_NUMBER = 20; - private long slaDueDate_; - - /** - * optional int64 sla_due_date = 20; - * - * @return Whether the slaDueDate field is set. - */ - @java.lang.Override - public boolean hasSlaDueDate() { - return ((bitField0_ & 0x00001000) != 0); - } - - /** - * optional int64 sla_due_date = 20; - * - * @return The slaDueDate. - */ - @java.lang.Override - public long getSlaDueDate() { - return slaDueDate_; - } - - public static final int SLA_COMPLIANCE_FIELD_NUMBER = 21; - private int slaCompliance_; - - /** - * optional int32 sla_compliance = 21; - * - * @return Whether the slaCompliance field is set. - */ - @java.lang.Override - public boolean hasSlaCompliance() { - return ((bitField0_ & 0x00002000) != 0); - } - - /** - * optional int32 sla_compliance = 21; - * - * @return The slaCompliance. - */ - @java.lang.Override - public int getSlaCompliance() { - return slaCompliance_; - } - - public static final int ROOT_PROCESS_INSTANCE_ID_FIELD_NUMBER = 22; - private volatile java.lang.Object rootProcessInstanceId_; - - /** - * optional string root_process_instance_id = 22; - * - * @return Whether the rootProcessInstanceId field is set. - */ - @java.lang.Override - public boolean hasRootProcessInstanceId() { - return ((bitField0_ & 0x00004000) != 0); - } - - /** - * optional string root_process_instance_id = 22; - * - * @return The rootProcessInstanceId. - */ - @java.lang.Override - public java.lang.String getRootProcessInstanceId() { - java.lang.Object ref = rootProcessInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - rootProcessInstanceId_ = s; - } - return s; - } - } - - /** - * optional string root_process_instance_id = 22; - * - * @return The bytes for rootProcessInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getRootProcessInstanceIdBytes() { - java.lang.Object ref = rootProcessInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - rootProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int START_DATE_FIELD_NUMBER = 23; - private long startDate_; - - /** - * optional int64 start_date = 23; - * - * @return Whether the startDate field is set. - */ - @java.lang.Override - public boolean hasStartDate() { - return ((bitField0_ & 0x00008000) != 0); - } - - /** - * optional int64 start_date = 23; - * - * @return The startDate. - */ - @java.lang.Override - public long getStartDate() { - return startDate_; - } - - public static final int ROOT_PROCESS_ID_FIELD_NUMBER = 24; - private volatile java.lang.Object rootProcessId_; - - /** - * optional string root_process_id = 24; - * - * @return Whether the rootProcessId field is set. - */ - @java.lang.Override - public boolean hasRootProcessId() { - return ((bitField0_ & 0x00010000) != 0); - } - - /** - * optional string root_process_id = 24; - * - * @return The rootProcessId. - */ - @java.lang.Override - public java.lang.String getRootProcessId() { - java.lang.Object ref = rootProcessId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - rootProcessId_ = s; - } - return s; - } - } - - /** - * optional string root_process_id = 24; - * - * @return The bytes for rootProcessId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getRootProcessIdBytes() { - java.lang.Object ref = rootProcessId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - rootProcessId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ERROR_NODE_ID_FIELD_NUMBER = 25; - private volatile java.lang.Object errorNodeId_; - - /** - * optional string error_node_id = 25; - * - * @return Whether the errorNodeId field is set. - */ - @java.lang.Override - public boolean hasErrorNodeId() { - return ((bitField0_ & 0x00020000) != 0); - } - - /** - * optional string error_node_id = 25; - * - * @return The errorNodeId. - */ - @java.lang.Override - public java.lang.String getErrorNodeId() { - java.lang.Object ref = errorNodeId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorNodeId_ = s; - } - return s; - } - } - - /** - * optional string error_node_id = 25; - * - * @return The bytes for errorNodeId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getErrorNodeIdBytes() { - java.lang.Object ref = errorNodeId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - errorNodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ERROR_MESSAGE_FIELD_NUMBER = 26; - private volatile java.lang.Object errorMessage_; - - /** - * optional string error_message = 26; - * - * @return Whether the errorMessage field is set. - */ - @java.lang.Override - public boolean hasErrorMessage() { - return ((bitField0_ & 0x00040000) != 0); - } - - /** - * optional string error_message = 26; - * - * @return The errorMessage. - */ - @java.lang.Override - public java.lang.String getErrorMessage() { - java.lang.Object ref = errorMessage_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorMessage_ = s; - } - return s; - } - } - - /** - * optional string error_message = 26; - * - * @return The bytes for errorMessage. - */ - @java.lang.Override - public com.google.protobuf.ByteString getErrorMessageBytes() { - java.lang.Object ref = errorMessage_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - errorMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int REFERENCE_ID_FIELD_NUMBER = 27; - private volatile java.lang.Object referenceId_; - - /** - * optional string reference_id = 27; - * - * @return Whether the referenceId field is set. - */ - @java.lang.Override - public boolean hasReferenceId() { - return ((bitField0_ & 0x00080000) != 0); - } - - /** - * optional string reference_id = 27; - * - * @return The referenceId. - */ - @java.lang.Override - public java.lang.String getReferenceId() { - java.lang.Object ref = referenceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - referenceId_ = s; - } - return s; - } - } - - /** - * optional string reference_id = 27; - * - * @return The bytes for referenceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getReferenceIdBytes() { - java.lang.Object ref = referenceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - referenceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int SWIMLANE_CONTEXT_FIELD_NUMBER = 6; - private java.util.List swimlaneContext_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - @java.lang.Override - public java.util.List getSwimlaneContextList() { - return swimlaneContext_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - @java.lang.Override - public java.util.List getSwimlaneContextOrBuilderList() { - return swimlaneContext_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - @java.lang.Override - public int getSwimlaneContextCount() { - return swimlaneContext_.size(); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance getSwimlaneContext( - int index) { - return swimlaneContext_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder getSwimlaneContextOrBuilder( - int index) { - return swimlaneContext_.get(index); - } - - public static final int NODE_INSTANCE_FIELD_NUMBER = 7; - private java.util.List nodeInstance_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - @java.lang.Override - public java.util.List getNodeInstanceList() { - return nodeInstance_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - @java.lang.Override - public java.util.List getNodeInstanceOrBuilderList() { - return nodeInstance_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - @java.lang.Override - public int getNodeInstanceCount() { - return nodeInstance_.size(); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance getNodeInstance( - int index) { - return nodeInstance_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index) { - return nodeInstance_.get(index); - } - - public static final int VARIABLE_FIELD_NUMBER = 8; - private java.util.List variable_; - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - @java.lang.Override - public java.util.List getVariableList() { - return variable_; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - @java.lang.Override - public java.util.List getVariableOrBuilderList() { - return variable_; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - @java.lang.Override - public int getVariableCount() { - return variable_.size(); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index) { - return variable_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - return variable_.get(index); - } - - public static final int EXCLUSIVE_GROUP_FIELD_NUMBER = 10; - private java.util.List exclusiveGroup_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - @java.lang.Override - public java.util.List getExclusiveGroupList() { - return exclusiveGroup_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - @java.lang.Override - public java.util.List getExclusiveGroupOrBuilderList() { - return exclusiveGroup_; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - @java.lang.Override - public int getExclusiveGroupCount() { - return exclusiveGroup_.size(); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup( - int index) { - return exclusiveGroup_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( - int index) { - return exclusiveGroup_.get(index); - } - - public static final int COMPLETEDNODEIDS_FIELD_NUMBER = 13; - private com.google.protobuf.LazyStringList completedNodeIds_; - - /** - * repeated string completedNodeIds = 13; - * - * @return A list containing the completedNodeIds. - */ - public com.google.protobuf.ProtocolStringList getCompletedNodeIdsList() { - return completedNodeIds_; - } - - /** - * repeated string completedNodeIds = 13; - * - * @return The count of completedNodeIds. - */ - public int getCompletedNodeIdsCount() { - return completedNodeIds_.size(); - } - - /** - * repeated string completedNodeIds = 13; - * - * @param index The index of the element to return. - * @return The completedNodeIds at the given index. - */ - public java.lang.String getCompletedNodeIds(int index) { - return completedNodeIds_.get(index); - } - - /** - * repeated string completedNodeIds = 13; - * - * @param index The index of the value to return. - * @return The bytes of the completedNodeIds at the given index. - */ - public com.google.protobuf.ByteString getCompletedNodeIdsBytes(int index) { - return completedNodeIds_.getByteString(index); - } - - public static final int ITERATIONLEVELS_FIELD_NUMBER = 14; - private java.util.List iterationLevels_; - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - @java.lang.Override - public java.util.List getIterationLevelsList() { - return iterationLevels_; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - @java.lang.Override - public java.util.List getIterationLevelsOrBuilderList() { - return iterationLevels_; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - @java.lang.Override - public int getIterationLevelsCount() { - return iterationLevels_.size(); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel getIterationLevels(int index) { - return iterationLevels_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index) { - return iterationLevels_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, processType_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_); - } - if (((bitField0_ & 0x00000004) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, processId_); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeInt32(4, state_); - } - if (((bitField0_ & 0x00000010) != 0)) { - output.writeInt64(5, nodeInstanceCounter_); - } - for (int i = 0; i < swimlaneContext_.size(); i++) { - output.writeMessage(6, swimlaneContext_.get(i)); - } - for (int i = 0; i < nodeInstance_.size(); i++) { - output.writeMessage(7, nodeInstance_.get(i)); - } - for (int i = 0; i < variable_.size(); i++) { - output.writeMessage(8, variable_.get(i)); - } - for (int i = 0; i < exclusiveGroup_.size(); i++) { - output.writeMessage(10, exclusiveGroup_.get(i)); - } - if (((bitField0_ & 0x00000020) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 11, processXml_); - } - if (((bitField0_ & 0x00000040) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, parentProcessInstanceId_); - } - for (int i = 0; i < completedNodeIds_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, completedNodeIds_.getRaw(i)); - } - for (int i = 0; i < iterationLevels_.size(); i++) { - output.writeMessage(14, iterationLevels_.get(i)); - } - if (((bitField0_ & 0x00000080) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 15, description_); - } - if (((bitField0_ & 0x00000100) != 0)) { - output.writeBool(16, signalCompletion_); - } - if (((bitField0_ & 0x00000200) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 17, deploymentId_); - } - if (((bitField0_ & 0x00000400) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 18, correlationKey_); - } - if (((bitField0_ & 0x00000800) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 19, slaTimerId_); - } - if (((bitField0_ & 0x00001000) != 0)) { - output.writeInt64(20, slaDueDate_); - } - if (((bitField0_ & 0x00002000) != 0)) { - output.writeInt32(21, slaCompliance_); - } - if (((bitField0_ & 0x00004000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 22, rootProcessInstanceId_); - } - if (((bitField0_ & 0x00008000) != 0)) { - output.writeInt64(23, startDate_); - } - if (((bitField0_ & 0x00010000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 24, rootProcessId_); - } - if (((bitField0_ & 0x00020000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 25, errorNodeId_); - } - if (((bitField0_ & 0x00040000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 26, errorMessage_); - } - if (((bitField0_ & 0x00080000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 27, referenceId_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, processType_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, processId_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, state_); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, nodeInstanceCounter_); - } - for (int i = 0; i < swimlaneContext_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, swimlaneContext_.get(i)); - } - for (int i = 0; i < nodeInstance_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, nodeInstance_.get(i)); - } - for (int i = 0; i < variable_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, variable_.get(i)); - } - for (int i = 0; i < exclusiveGroup_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, exclusiveGroup_.get(i)); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, processXml_); - } - if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, parentProcessInstanceId_); - } - { - int dataSize = 0; - for (int i = 0; i < completedNodeIds_.size(); i++) { - dataSize += computeStringSizeNoTag(completedNodeIds_.getRaw(i)); - } - size += dataSize; - size += 1 * getCompletedNodeIdsList().size(); - } - for (int i = 0; i < iterationLevels_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, iterationLevels_.get(i)); - } - if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, description_); - } - if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, signalCompletion_); - } - if (((bitField0_ & 0x00000200) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, deploymentId_); - } - if (((bitField0_ & 0x00000400) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, correlationKey_); - } - if (((bitField0_ & 0x00000800) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, slaTimerId_); - } - if (((bitField0_ & 0x00001000) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(20, slaDueDate_); - } - if (((bitField0_ & 0x00002000) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(21, slaCompliance_); - } - if (((bitField0_ & 0x00004000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, rootProcessInstanceId_); - } - if (((bitField0_ & 0x00008000) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(23, startDate_); - } - if (((bitField0_ & 0x00010000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, rootProcessId_); - } - if (((bitField0_ & 0x00020000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, errorNodeId_); - } - if (((bitField0_ & 0x00040000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, errorMessage_); - } - if (((bitField0_ & 0x00080000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, referenceId_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance) obj; - - if (hasProcessType() != other.hasProcessType()) - return false; - if (hasProcessType()) { - if (!getProcessType().equals(other.getProcessType())) - return false; - } - if (hasId() != other.hasId()) - return false; - if (hasId()) { - if (!getId().equals(other.getId())) - return false; - } - if (hasProcessId() != other.hasProcessId()) - return false; - if (hasProcessId()) { - if (!getProcessId().equals(other.getProcessId())) - return false; - } - if (hasState() != other.hasState()) - return false; - if (hasState()) { - if (getState() != other.getState()) - return false; - } - if (hasNodeInstanceCounter() != other.hasNodeInstanceCounter()) - return false; - if (hasNodeInstanceCounter()) { - if (getNodeInstanceCounter() != other.getNodeInstanceCounter()) - return false; - } - if (hasProcessXml() != other.hasProcessXml()) - return false; - if (hasProcessXml()) { - if (!getProcessXml().equals(other.getProcessXml())) - return false; - } - if (hasParentProcessInstanceId() != other.hasParentProcessInstanceId()) - return false; - if (hasParentProcessInstanceId()) { - if (!getParentProcessInstanceId().equals(other.getParentProcessInstanceId())) - return false; - } - if (hasDescription() != other.hasDescription()) - return false; - if (hasDescription()) { - if (!getDescription().equals(other.getDescription())) - return false; - } - if (hasSignalCompletion() != other.hasSignalCompletion()) - return false; - if (hasSignalCompletion()) { - if (getSignalCompletion() != other.getSignalCompletion()) - return false; - } - if (hasDeploymentId() != other.hasDeploymentId()) - return false; - if (hasDeploymentId()) { - if (!getDeploymentId().equals(other.getDeploymentId())) - return false; - } - if (hasCorrelationKey() != other.hasCorrelationKey()) - return false; - if (hasCorrelationKey()) { - if (!getCorrelationKey().equals(other.getCorrelationKey())) - return false; - } - if (hasSlaTimerId() != other.hasSlaTimerId()) - return false; - if (hasSlaTimerId()) { - if (!getSlaTimerId().equals(other.getSlaTimerId())) - return false; - } - if (hasSlaDueDate() != other.hasSlaDueDate()) - return false; - if (hasSlaDueDate()) { - if (getSlaDueDate() != other.getSlaDueDate()) - return false; - } - if (hasSlaCompliance() != other.hasSlaCompliance()) - return false; - if (hasSlaCompliance()) { - if (getSlaCompliance() != other.getSlaCompliance()) - return false; - } - if (hasRootProcessInstanceId() != other.hasRootProcessInstanceId()) - return false; - if (hasRootProcessInstanceId()) { - if (!getRootProcessInstanceId().equals(other.getRootProcessInstanceId())) - return false; - } - if (hasStartDate() != other.hasStartDate()) - return false; - if (hasStartDate()) { - if (getStartDate() != other.getStartDate()) - return false; - } - if (hasRootProcessId() != other.hasRootProcessId()) - return false; - if (hasRootProcessId()) { - if (!getRootProcessId().equals(other.getRootProcessId())) - return false; - } - if (hasErrorNodeId() != other.hasErrorNodeId()) - return false; - if (hasErrorNodeId()) { - if (!getErrorNodeId().equals(other.getErrorNodeId())) - return false; - } - if (hasErrorMessage() != other.hasErrorMessage()) - return false; - if (hasErrorMessage()) { - if (!getErrorMessage().equals(other.getErrorMessage())) - return false; - } - if (hasReferenceId() != other.hasReferenceId()) - return false; - if (hasReferenceId()) { - if (!getReferenceId().equals(other.getReferenceId())) - return false; - } - if (!getSwimlaneContextList().equals(other.getSwimlaneContextList())) - return false; - if (!getNodeInstanceList().equals(other.getNodeInstanceList())) - return false; - if (!getVariableList().equals(other.getVariableList())) - return false; - if (!getExclusiveGroupList().equals(other.getExclusiveGroupList())) - return false; - if (!getCompletedNodeIdsList().equals(other.getCompletedNodeIdsList())) - return false; - if (!getIterationLevelsList().equals(other.getIterationLevelsList())) - return false; - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasProcessType()) { - hash = (37 * hash) + PROCESS_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getProcessType().hashCode(); - } - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasProcessId()) { - hash = (37 * hash) + PROCESS_ID_FIELD_NUMBER; - hash = (53 * hash) + getProcessId().hashCode(); - } - if (hasState()) { - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + getState(); - } - if (hasNodeInstanceCounter()) { - hash = (37 * hash) + NODE_INSTANCE_COUNTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNodeInstanceCounter()); - } - if (hasProcessXml()) { - hash = (37 * hash) + PROCESS_XML_FIELD_NUMBER; - hash = (53 * hash) + getProcessXml().hashCode(); - } - if (hasParentProcessInstanceId()) { - hash = (37 * hash) + PARENT_PROCESS_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getParentProcessInstanceId().hashCode(); - } - if (hasDescription()) { - hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getDescription().hashCode(); - } - if (hasSignalCompletion()) { - hash = (37 * hash) + SIGNAL_COMPLETION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSignalCompletion()); - } - if (hasDeploymentId()) { - hash = (37 * hash) + DEPLOYMENTID_FIELD_NUMBER; - hash = (53 * hash) + getDeploymentId().hashCode(); - } - if (hasCorrelationKey()) { - hash = (37 * hash) + CORRELATION_KEY_FIELD_NUMBER; - hash = (53 * hash) + getCorrelationKey().hashCode(); - } - if (hasSlaTimerId()) { - hash = (37 * hash) + SLA_TIMER_ID_FIELD_NUMBER; - hash = (53 * hash) + getSlaTimerId().hashCode(); - } - if (hasSlaDueDate()) { - hash = (37 * hash) + SLA_DUE_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSlaDueDate()); - } - if (hasSlaCompliance()) { - hash = (37 * hash) + SLA_COMPLIANCE_FIELD_NUMBER; - hash = (53 * hash) + getSlaCompliance(); - } - if (hasRootProcessInstanceId()) { - hash = (37 * hash) + ROOT_PROCESS_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getRootProcessInstanceId().hashCode(); - } - if (hasStartDate()) { - hash = (37 * hash) + START_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartDate()); - } - if (hasRootProcessId()) { - hash = (37 * hash) + ROOT_PROCESS_ID_FIELD_NUMBER; - hash = (53 * hash) + getRootProcessId().hashCode(); - } - if (hasErrorNodeId()) { - hash = (37 * hash) + ERROR_NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + getErrorNodeId().hashCode(); - } - if (hasErrorMessage()) { - hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getErrorMessage().hashCode(); - } - if (hasReferenceId()) { - hash = (37 * hash) + REFERENCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getReferenceId().hashCode(); - } - if (getSwimlaneContextCount() > 0) { - hash = (37 * hash) + SWIMLANE_CONTEXT_FIELD_NUMBER; - hash = (53 * hash) + getSwimlaneContextList().hashCode(); - } - if (getNodeInstanceCount() > 0) { - hash = (37 * hash) + NODE_INSTANCE_FIELD_NUMBER; - hash = (53 * hash) + getNodeInstanceList().hashCode(); - } - if (getVariableCount() > 0) { - hash = (37 * hash) + VARIABLE_FIELD_NUMBER; - hash = (53 * hash) + getVariableList().hashCode(); - } - if (getExclusiveGroupCount() > 0) { - hash = (37 * hash) + EXCLUSIVE_GROUP_FIELD_NUMBER; - hash = (53 * hash) + getExclusiveGroupList().hashCode(); - } - if (getCompletedNodeIdsCount() > 0) { - hash = (37 * hash) + COMPLETEDNODEIDS_FIELD_NUMBER; - hash = (53 * hash) + getCompletedNodeIdsList().hashCode(); - } - if (getIterationLevelsCount() > 0) { - hash = (37 * hash) + ITERATIONLEVELS_FIELD_NUMBER; - hash = (53 * hash) + getIterationLevelsList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance parseFrom( - com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.ProcessInstance} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessInstance) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getSwimlaneContextFieldBuilder(); - getNodeInstanceFieldBuilder(); - getVariableFieldBuilder(); - getExclusiveGroupFieldBuilder(); - getIterationLevelsFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - processType_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - id_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - processId_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - state_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - nodeInstanceCounter_ = 0L; - bitField0_ = (bitField0_ & ~0x00000010); - processXml_ = ""; - bitField0_ = (bitField0_ & ~0x00000020); - parentProcessInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000040); - description_ = ""; - bitField0_ = (bitField0_ & ~0x00000080); - signalCompletion_ = true; - bitField0_ = (bitField0_ & ~0x00000100); - deploymentId_ = ""; - bitField0_ = (bitField0_ & ~0x00000200); - correlationKey_ = ""; - bitField0_ = (bitField0_ & ~0x00000400); - slaTimerId_ = ""; - bitField0_ = (bitField0_ & ~0x00000800); - slaDueDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00001000); - slaCompliance_ = 0; - bitField0_ = (bitField0_ & ~0x00002000); - rootProcessInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00004000); - startDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00008000); - rootProcessId_ = ""; - bitField0_ = (bitField0_ & ~0x00010000); - errorNodeId_ = ""; - bitField0_ = (bitField0_ & ~0x00020000); - errorMessage_ = ""; - bitField0_ = (bitField0_ & ~0x00040000); - referenceId_ = ""; - bitField0_ = (bitField0_ & ~0x00080000); - if (swimlaneContextBuilder_ == null) { - swimlaneContext_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00100000); - } else { - swimlaneContextBuilder_.clear(); - } - if (nodeInstanceBuilder_ == null) { - nodeInstance_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00200000); - } else { - nodeInstanceBuilder_.clear(); - } - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00400000); - } else { - variableBuilder_.clear(); - } - if (exclusiveGroupBuilder_ == null) { - exclusiveGroup_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00800000); - } else { - exclusiveGroupBuilder_.clear(); - } - completedNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x01000000); - if (iterationLevelsBuilder_ == null) { - iterationLevels_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x02000000); - } else { - iterationLevelsBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessInstance_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.processType_ = processType_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.id_ = id_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.processId_ = processId_; - if (((from_bitField0_ & 0x00000008) != 0)) { - result.state_ = state_; - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.nodeInstanceCounter_ = nodeInstanceCounter_; - to_bitField0_ |= 0x00000010; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - to_bitField0_ |= 0x00000020; - } - result.processXml_ = processXml_; - if (((from_bitField0_ & 0x00000040) != 0)) { - to_bitField0_ |= 0x00000040; - } - result.parentProcessInstanceId_ = parentProcessInstanceId_; - if (((from_bitField0_ & 0x00000080) != 0)) { - to_bitField0_ |= 0x00000080; - } - result.description_ = description_; - if (((from_bitField0_ & 0x00000100) != 0)) { - to_bitField0_ |= 0x00000100; - } - result.signalCompletion_ = signalCompletion_; - if (((from_bitField0_ & 0x00000200) != 0)) { - to_bitField0_ |= 0x00000200; - } - result.deploymentId_ = deploymentId_; - if (((from_bitField0_ & 0x00000400) != 0)) { - to_bitField0_ |= 0x00000400; - } - result.correlationKey_ = correlationKey_; - if (((from_bitField0_ & 0x00000800) != 0)) { - to_bitField0_ |= 0x00000800; - } - result.slaTimerId_ = slaTimerId_; - if (((from_bitField0_ & 0x00001000) != 0)) { - result.slaDueDate_ = slaDueDate_; - to_bitField0_ |= 0x00001000; - } - if (((from_bitField0_ & 0x00002000) != 0)) { - result.slaCompliance_ = slaCompliance_; - to_bitField0_ |= 0x00002000; - } - if (((from_bitField0_ & 0x00004000) != 0)) { - to_bitField0_ |= 0x00004000; - } - result.rootProcessInstanceId_ = rootProcessInstanceId_; - if (((from_bitField0_ & 0x00008000) != 0)) { - result.startDate_ = startDate_; - to_bitField0_ |= 0x00008000; - } - if (((from_bitField0_ & 0x00010000) != 0)) { - to_bitField0_ |= 0x00010000; - } - result.rootProcessId_ = rootProcessId_; - if (((from_bitField0_ & 0x00020000) != 0)) { - to_bitField0_ |= 0x00020000; - } - result.errorNodeId_ = errorNodeId_; - if (((from_bitField0_ & 0x00040000) != 0)) { - to_bitField0_ |= 0x00040000; - } - result.errorMessage_ = errorMessage_; - if (((from_bitField0_ & 0x00080000) != 0)) { - to_bitField0_ |= 0x00080000; - } - result.referenceId_ = referenceId_; - if (swimlaneContextBuilder_ == null) { - if (((bitField0_ & 0x00100000) != 0)) { - swimlaneContext_ = java.util.Collections.unmodifiableList(swimlaneContext_); - bitField0_ = (bitField0_ & ~0x00100000); - } - result.swimlaneContext_ = swimlaneContext_; - } else { - result.swimlaneContext_ = swimlaneContextBuilder_.build(); - } - if (nodeInstanceBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0)) { - nodeInstance_ = java.util.Collections.unmodifiableList(nodeInstance_); - bitField0_ = (bitField0_ & ~0x00200000); - } - result.nodeInstance_ = nodeInstance_; - } else { - result.nodeInstance_ = nodeInstanceBuilder_.build(); - } - if (variableBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - bitField0_ = (bitField0_ & ~0x00400000); - } - result.variable_ = variable_; - } else { - result.variable_ = variableBuilder_.build(); - } - if (exclusiveGroupBuilder_ == null) { - if (((bitField0_ & 0x00800000) != 0)) { - exclusiveGroup_ = java.util.Collections.unmodifiableList(exclusiveGroup_); - bitField0_ = (bitField0_ & ~0x00800000); - } - result.exclusiveGroup_ = exclusiveGroup_; - } else { - result.exclusiveGroup_ = exclusiveGroupBuilder_.build(); - } - if (((bitField0_ & 0x01000000) != 0)) { - completedNodeIds_ = completedNodeIds_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x01000000); - } - result.completedNodeIds_ = completedNodeIds_; - if (iterationLevelsBuilder_ == null) { - if (((bitField0_ & 0x02000000) != 0)) { - iterationLevels_ = java.util.Collections.unmodifiableList(iterationLevels_); - bitField0_ = (bitField0_ & ~0x02000000); - } - result.iterationLevels_ = iterationLevels_; - } else { - result.iterationLevels_ = iterationLevelsBuilder_.build(); - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance - .getDefaultInstance()) - return this; - if (other.hasProcessType()) { - bitField0_ |= 0x00000001; - processType_ = other.processType_; - onChanged(); - } - if (other.hasId()) { - bitField0_ |= 0x00000002; - id_ = other.id_; - onChanged(); - } - if (other.hasProcessId()) { - bitField0_ |= 0x00000004; - processId_ = other.processId_; - onChanged(); - } - if (other.hasState()) { - setState(other.getState()); - } - if (other.hasNodeInstanceCounter()) { - setNodeInstanceCounter(other.getNodeInstanceCounter()); - } - if (other.hasProcessXml()) { - bitField0_ |= 0x00000020; - processXml_ = other.processXml_; - onChanged(); - } - if (other.hasParentProcessInstanceId()) { - bitField0_ |= 0x00000040; - parentProcessInstanceId_ = other.parentProcessInstanceId_; - onChanged(); - } - if (other.hasDescription()) { - bitField0_ |= 0x00000080; - description_ = other.description_; - onChanged(); - } - if (other.hasSignalCompletion()) { - setSignalCompletion(other.getSignalCompletion()); - } - if (other.hasDeploymentId()) { - bitField0_ |= 0x00000200; - deploymentId_ = other.deploymentId_; - onChanged(); - } - if (other.hasCorrelationKey()) { - bitField0_ |= 0x00000400; - correlationKey_ = other.correlationKey_; - onChanged(); - } - if (other.hasSlaTimerId()) { - bitField0_ |= 0x00000800; - slaTimerId_ = other.slaTimerId_; - onChanged(); - } - if (other.hasSlaDueDate()) { - setSlaDueDate(other.getSlaDueDate()); - } - if (other.hasSlaCompliance()) { - setSlaCompliance(other.getSlaCompliance()); - } - if (other.hasRootProcessInstanceId()) { - bitField0_ |= 0x00004000; - rootProcessInstanceId_ = other.rootProcessInstanceId_; - onChanged(); - } - if (other.hasStartDate()) { - setStartDate(other.getStartDate()); - } - if (other.hasRootProcessId()) { - bitField0_ |= 0x00010000; - rootProcessId_ = other.rootProcessId_; - onChanged(); - } - if (other.hasErrorNodeId()) { - bitField0_ |= 0x00020000; - errorNodeId_ = other.errorNodeId_; - onChanged(); - } - if (other.hasErrorMessage()) { - bitField0_ |= 0x00040000; - errorMessage_ = other.errorMessage_; - onChanged(); - } - if (other.hasReferenceId()) { - bitField0_ |= 0x00080000; - referenceId_ = other.referenceId_; - onChanged(); - } - if (swimlaneContextBuilder_ == null) { - if (!other.swimlaneContext_.isEmpty()) { - if (swimlaneContext_.isEmpty()) { - swimlaneContext_ = other.swimlaneContext_; - bitField0_ = (bitField0_ & ~0x00100000); - } else { - ensureSwimlaneContextIsMutable(); - swimlaneContext_.addAll(other.swimlaneContext_); - } - onChanged(); - } - } else { - if (!other.swimlaneContext_.isEmpty()) { - if (swimlaneContextBuilder_.isEmpty()) { - swimlaneContextBuilder_.dispose(); - swimlaneContextBuilder_ = null; - swimlaneContext_ = other.swimlaneContext_; - bitField0_ = (bitField0_ & ~0x00100000); - swimlaneContextBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSwimlaneContextFieldBuilder() - : null; - } else { - swimlaneContextBuilder_.addAllMessages(other.swimlaneContext_); - } - } - } - if (nodeInstanceBuilder_ == null) { - if (!other.nodeInstance_.isEmpty()) { - if (nodeInstance_.isEmpty()) { - nodeInstance_ = other.nodeInstance_; - bitField0_ = (bitField0_ & ~0x00200000); - } else { - ensureNodeInstanceIsMutable(); - nodeInstance_.addAll(other.nodeInstance_); - } - onChanged(); - } - } else { - if (!other.nodeInstance_.isEmpty()) { - if (nodeInstanceBuilder_.isEmpty()) { - nodeInstanceBuilder_.dispose(); - nodeInstanceBuilder_ = null; - nodeInstance_ = other.nodeInstance_; - bitField0_ = (bitField0_ & ~0x00200000); - nodeInstanceBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getNodeInstanceFieldBuilder() - : null; - } else { - nodeInstanceBuilder_.addAllMessages(other.nodeInstance_); - } - } - } - if (variableBuilder_ == null) { - if (!other.variable_.isEmpty()) { - if (variable_.isEmpty()) { - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00400000); - } else { - ensureVariableIsMutable(); - variable_.addAll(other.variable_); - } - onChanged(); - } - } else { - if (!other.variable_.isEmpty()) { - if (variableBuilder_.isEmpty()) { - variableBuilder_.dispose(); - variableBuilder_ = null; - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00400000); - variableBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVariableFieldBuilder() - : null; - } else { - variableBuilder_.addAllMessages(other.variable_); - } - } - } - if (exclusiveGroupBuilder_ == null) { - if (!other.exclusiveGroup_.isEmpty()) { - if (exclusiveGroup_.isEmpty()) { - exclusiveGroup_ = other.exclusiveGroup_; - bitField0_ = (bitField0_ & ~0x00800000); - } else { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.addAll(other.exclusiveGroup_); - } - onChanged(); - } - } else { - if (!other.exclusiveGroup_.isEmpty()) { - if (exclusiveGroupBuilder_.isEmpty()) { - exclusiveGroupBuilder_.dispose(); - exclusiveGroupBuilder_ = null; - exclusiveGroup_ = other.exclusiveGroup_; - bitField0_ = (bitField0_ & ~0x00800000); - exclusiveGroupBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExclusiveGroupFieldBuilder() - : null; - } else { - exclusiveGroupBuilder_.addAllMessages(other.exclusiveGroup_); - } - } - } - if (!other.completedNodeIds_.isEmpty()) { - if (completedNodeIds_.isEmpty()) { - completedNodeIds_ = other.completedNodeIds_; - bitField0_ = (bitField0_ & ~0x01000000); - } else { - ensureCompletedNodeIdsIsMutable(); - completedNodeIds_.addAll(other.completedNodeIds_); - } - onChanged(); - } - if (iterationLevelsBuilder_ == null) { - if (!other.iterationLevels_.isEmpty()) { - if (iterationLevels_.isEmpty()) { - iterationLevels_ = other.iterationLevels_; - bitField0_ = (bitField0_ & ~0x02000000); - } else { - ensureIterationLevelsIsMutable(); - iterationLevels_.addAll(other.iterationLevels_); - } - onChanged(); - } - } else { - if (!other.iterationLevels_.isEmpty()) { - if (iterationLevelsBuilder_.isEmpty()) { - iterationLevelsBuilder_.dispose(); - iterationLevelsBuilder_ = null; - iterationLevels_ = other.iterationLevels_; - bitField0_ = (bitField0_ & ~0x02000000); - iterationLevelsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIterationLevelsFieldBuilder() - : null; - } else { - iterationLevelsBuilder_.addAllMessages(other.iterationLevels_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object processType_ = ""; - - /** - * optional string process_type = 1; - * - * @return Whether the processType field is set. - */ - public boolean hasProcessType() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string process_type = 1; - * - * @return The processType. - */ - public java.lang.String getProcessType() { - java.lang.Object ref = processType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processType_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string process_type = 1; - * - * @return The bytes for processType. - */ - public com.google.protobuf.ByteString getProcessTypeBytes() { - java.lang.Object ref = processType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - processType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string process_type = 1; - * - * @param value The processType to set. - * @return This builder for chaining. - */ - public Builder setProcessType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - processType_ = value; - onChanged(); - return this; - } - - /** - * optional string process_type = 1; - * - * @return This builder for chaining. - */ - public Builder clearProcessType() { - bitField0_ = (bitField0_ & ~0x00000001); - processType_ = getDefaultInstance().getProcessType(); - onChanged(); - return this; - } - - /** - * optional string process_type = 1; - * - * @param value The bytes for processType to set. - * @return This builder for chaining. - */ - public Builder setProcessTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - processType_ = value; - onChanged(); - return this; - } - - private java.lang.Object id_ = ""; - - /** - * optional string id = 2; - * - * @return Whether the id field is set. - */ - public boolean hasId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string id = 2; - * - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string id = 2; - * - * @return The bytes for id. - */ - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string id = 2; - * - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - id_ = value; - onChanged(); - return this; - } - - /** - * optional string id = 2; - * - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000002); - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - - /** - * optional string id = 2; - * - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - id_ = value; - onChanged(); - return this; - } - - private java.lang.Object processId_ = ""; - - /** - * optional string process_id = 3; - * - * @return Whether the processId field is set. - */ - public boolean hasProcessId() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional string process_id = 3; - * - * @return The processId. - */ - public java.lang.String getProcessId() { - java.lang.Object ref = processId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string process_id = 3; - * - * @return The bytes for processId. - */ - public com.google.protobuf.ByteString getProcessIdBytes() { - java.lang.Object ref = processId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - processId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string process_id = 3; - * - * @param value The processId to set. - * @return This builder for chaining. - */ - public Builder setProcessId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - processId_ = value; - onChanged(); - return this; - } - - /** - * optional string process_id = 3; - * - * @return This builder for chaining. - */ - public Builder clearProcessId() { - bitField0_ = (bitField0_ & ~0x00000004); - processId_ = getDefaultInstance().getProcessId(); - onChanged(); - return this; - } - - /** - * optional string process_id = 3; - * - * @param value The bytes for processId to set. - * @return This builder for chaining. - */ - public Builder setProcessIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - processId_ = value; - onChanged(); - return this; - } - - private int state_; - - /** - * optional int32 state = 4; - * - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int32 state = 4; - * - * @return The state. - */ - @java.lang.Override - public int getState() { - return state_; - } - - /** - * optional int32 state = 4; - * - * @param value The state to set. - * @return This builder for chaining. - */ - public Builder setState(int value) { - bitField0_ |= 0x00000008; - state_ = value; - onChanged(); - return this; - } - - /** - * optional int32 state = 4; - * - * @return This builder for chaining. - */ - public Builder clearState() { - bitField0_ = (bitField0_ & ~0x00000008); - state_ = 0; - onChanged(); - return this; - } - - private long nodeInstanceCounter_; - - /** - * optional int64 node_instance_counter = 5; - * - * @return Whether the nodeInstanceCounter field is set. - */ - @java.lang.Override - public boolean hasNodeInstanceCounter() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional int64 node_instance_counter = 5; - * - * @return The nodeInstanceCounter. - */ - @java.lang.Override - public long getNodeInstanceCounter() { - return nodeInstanceCounter_; - } - - /** - * optional int64 node_instance_counter = 5; - * - * @param value The nodeInstanceCounter to set. - * @return This builder for chaining. - */ - public Builder setNodeInstanceCounter(long value) { - bitField0_ |= 0x00000010; - nodeInstanceCounter_ = value; - onChanged(); - return this; - } - - /** - * optional int64 node_instance_counter = 5; - * - * @return This builder for chaining. - */ - public Builder clearNodeInstanceCounter() { - bitField0_ = (bitField0_ & ~0x00000010); - nodeInstanceCounter_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object processXml_ = ""; - - /** - * optional string process_xml = 11; - * - * @return Whether the processXml field is set. - */ - public boolean hasProcessXml() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional string process_xml = 11; - * - * @return The processXml. - */ - public java.lang.String getProcessXml() { - java.lang.Object ref = processXml_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processXml_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string process_xml = 11; - * - * @return The bytes for processXml. - */ - public com.google.protobuf.ByteString getProcessXmlBytes() { - java.lang.Object ref = processXml_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - processXml_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string process_xml = 11; - * - * @param value The processXml to set. - * @return This builder for chaining. - */ - public Builder setProcessXml(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; - processXml_ = value; - onChanged(); - return this; - } - - /** - * optional string process_xml = 11; - * - * @return This builder for chaining. - */ - public Builder clearProcessXml() { - bitField0_ = (bitField0_ & ~0x00000020); - processXml_ = getDefaultInstance().getProcessXml(); - onChanged(); - return this; - } - - /** - * optional string process_xml = 11; - * - * @param value The bytes for processXml to set. - * @return This builder for chaining. - */ - public Builder setProcessXmlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; - processXml_ = value; - onChanged(); - return this; - } - - private java.lang.Object parentProcessInstanceId_ = ""; - - /** - * optional string parent_process_instance_id = 12; - * - * @return Whether the parentProcessInstanceId field is set. - */ - public boolean hasParentProcessInstanceId() { - return ((bitField0_ & 0x00000040) != 0); - } - - /** - * optional string parent_process_instance_id = 12; - * - * @return The parentProcessInstanceId. - */ - public java.lang.String getParentProcessInstanceId() { - java.lang.Object ref = parentProcessInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - parentProcessInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string parent_process_instance_id = 12; - * - * @return The bytes for parentProcessInstanceId. - */ - public com.google.protobuf.ByteString getParentProcessInstanceIdBytes() { - java.lang.Object ref = parentProcessInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - parentProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string parent_process_instance_id = 12; - * - * @param value The parentProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setParentProcessInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; - parentProcessInstanceId_ = value; - onChanged(); - return this; - } - - /** - * optional string parent_process_instance_id = 12; - * - * @return This builder for chaining. - */ - public Builder clearParentProcessInstanceId() { - bitField0_ = (bitField0_ & ~0x00000040); - parentProcessInstanceId_ = getDefaultInstance().getParentProcessInstanceId(); - onChanged(); - return this; - } - - /** - * optional string parent_process_instance_id = 12; - * - * @param value The bytes for parentProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setParentProcessInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; - parentProcessInstanceId_ = value; - onChanged(); - return this; - } - - private java.lang.Object description_ = ""; - - /** - * optional string description = 15; - * - * @return Whether the description field is set. - */ - public boolean hasDescription() { - return ((bitField0_ & 0x00000080) != 0); - } - - /** - * optional string description = 15; - * - * @return The description. - */ - public java.lang.String getDescription() { - java.lang.Object ref = description_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - description_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string description = 15; - * - * @return The bytes for description. - */ - public com.google.protobuf.ByteString getDescriptionBytes() { - java.lang.Object ref = description_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - description_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string description = 15; - * - * @param value The description to set. - * @return This builder for chaining. - */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; - description_ = value; - onChanged(); - return this; - } - - /** - * optional string description = 15; - * - * @return This builder for chaining. - */ - public Builder clearDescription() { - bitField0_ = (bitField0_ & ~0x00000080); - description_ = getDefaultInstance().getDescription(); - onChanged(); - return this; - } - - /** - * optional string description = 15; - * - * @param value The bytes for description to set. - * @return This builder for chaining. - */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; - description_ = value; - onChanged(); - return this; - } - - private boolean signalCompletion_ = true; - - /** - * optional bool signal_completion = 16 [default = true]; - * - * @return Whether the signalCompletion field is set. - */ - @java.lang.Override - public boolean hasSignalCompletion() { - return ((bitField0_ & 0x00000100) != 0); - } - - /** - * optional bool signal_completion = 16 [default = true]; - * - * @return The signalCompletion. - */ - @java.lang.Override - public boolean getSignalCompletion() { - return signalCompletion_; - } - - /** - * optional bool signal_completion = 16 [default = true]; - * - * @param value The signalCompletion to set. - * @return This builder for chaining. - */ - public Builder setSignalCompletion(boolean value) { - bitField0_ |= 0x00000100; - signalCompletion_ = value; - onChanged(); - return this; - } - - /** - * optional bool signal_completion = 16 [default = true]; - * - * @return This builder for chaining. - */ - public Builder clearSignalCompletion() { - bitField0_ = (bitField0_ & ~0x00000100); - signalCompletion_ = true; - onChanged(); - return this; - } - - private java.lang.Object deploymentId_ = ""; - - /** - * optional string deploymentId = 17; - * - * @return Whether the deploymentId field is set. - */ - public boolean hasDeploymentId() { - return ((bitField0_ & 0x00000200) != 0); - } - - /** - * optional string deploymentId = 17; - * - * @return The deploymentId. - */ - public java.lang.String getDeploymentId() { - java.lang.Object ref = deploymentId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - deploymentId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string deploymentId = 17; - * - * @return The bytes for deploymentId. - */ - public com.google.protobuf.ByteString getDeploymentIdBytes() { - java.lang.Object ref = deploymentId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - deploymentId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string deploymentId = 17; - * - * @param value The deploymentId to set. - * @return This builder for chaining. - */ - public Builder setDeploymentId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; - deploymentId_ = value; - onChanged(); - return this; - } - - /** - * optional string deploymentId = 17; - * - * @return This builder for chaining. - */ - public Builder clearDeploymentId() { - bitField0_ = (bitField0_ & ~0x00000200); - deploymentId_ = getDefaultInstance().getDeploymentId(); - onChanged(); - return this; - } - - /** - * optional string deploymentId = 17; - * - * @param value The bytes for deploymentId to set. - * @return This builder for chaining. - */ - public Builder setDeploymentIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; - deploymentId_ = value; - onChanged(); - return this; - } - - private java.lang.Object correlationKey_ = ""; - - /** - * optional string correlation_key = 18; - * - * @return Whether the correlationKey field is set. - */ - public boolean hasCorrelationKey() { - return ((bitField0_ & 0x00000400) != 0); - } - - /** - * optional string correlation_key = 18; - * - * @return The correlationKey. - */ - public java.lang.String getCorrelationKey() { - java.lang.Object ref = correlationKey_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - correlationKey_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string correlation_key = 18; - * - * @return The bytes for correlationKey. - */ - public com.google.protobuf.ByteString getCorrelationKeyBytes() { - java.lang.Object ref = correlationKey_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - correlationKey_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string correlation_key = 18; - * - * @param value The correlationKey to set. - * @return This builder for chaining. - */ - public Builder setCorrelationKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; - correlationKey_ = value; - onChanged(); - return this; - } - - /** - * optional string correlation_key = 18; - * - * @return This builder for chaining. - */ - public Builder clearCorrelationKey() { - bitField0_ = (bitField0_ & ~0x00000400); - correlationKey_ = getDefaultInstance().getCorrelationKey(); - onChanged(); - return this; - } - - /** - * optional string correlation_key = 18; - * - * @param value The bytes for correlationKey to set. - * @return This builder for chaining. - */ - public Builder setCorrelationKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; - correlationKey_ = value; - onChanged(); - return this; - } - - private java.lang.Object slaTimerId_ = ""; - - /** - * optional string sla_timer_id = 19; - * - * @return Whether the slaTimerId field is set. - */ - public boolean hasSlaTimerId() { - return ((bitField0_ & 0x00000800) != 0); - } - - /** - * optional string sla_timer_id = 19; - * - * @return The slaTimerId. - */ - public java.lang.String getSlaTimerId() { - java.lang.Object ref = slaTimerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - slaTimerId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string sla_timer_id = 19; - * - * @return The bytes for slaTimerId. - */ - public com.google.protobuf.ByteString getSlaTimerIdBytes() { - java.lang.Object ref = slaTimerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - slaTimerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string sla_timer_id = 19; - * - * @param value The slaTimerId to set. - * @return This builder for chaining. - */ - public Builder setSlaTimerId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000800; - slaTimerId_ = value; - onChanged(); - return this; - } - - /** - * optional string sla_timer_id = 19; - * - * @return This builder for chaining. - */ - public Builder clearSlaTimerId() { - bitField0_ = (bitField0_ & ~0x00000800); - slaTimerId_ = getDefaultInstance().getSlaTimerId(); - onChanged(); - return this; - } - - /** - * optional string sla_timer_id = 19; - * - * @param value The bytes for slaTimerId to set. - * @return This builder for chaining. - */ - public Builder setSlaTimerIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000800; - slaTimerId_ = value; - onChanged(); - return this; - } - - private long slaDueDate_; - - /** - * optional int64 sla_due_date = 20; - * - * @return Whether the slaDueDate field is set. - */ - @java.lang.Override - public boolean hasSlaDueDate() { - return ((bitField0_ & 0x00001000) != 0); - } - - /** - * optional int64 sla_due_date = 20; - * - * @return The slaDueDate. - */ - @java.lang.Override - public long getSlaDueDate() { - return slaDueDate_; - } - - /** - * optional int64 sla_due_date = 20; - * - * @param value The slaDueDate to set. - * @return This builder for chaining. - */ - public Builder setSlaDueDate(long value) { - bitField0_ |= 0x00001000; - slaDueDate_ = value; - onChanged(); - return this; - } - - /** - * optional int64 sla_due_date = 20; - * - * @return This builder for chaining. - */ - public Builder clearSlaDueDate() { - bitField0_ = (bitField0_ & ~0x00001000); - slaDueDate_ = 0L; - onChanged(); - return this; - } - - private int slaCompliance_; - - /** - * optional int32 sla_compliance = 21; - * - * @return Whether the slaCompliance field is set. - */ - @java.lang.Override - public boolean hasSlaCompliance() { - return ((bitField0_ & 0x00002000) != 0); - } - - /** - * optional int32 sla_compliance = 21; - * - * @return The slaCompliance. - */ - @java.lang.Override - public int getSlaCompliance() { - return slaCompliance_; - } - - /** - * optional int32 sla_compliance = 21; - * - * @param value The slaCompliance to set. - * @return This builder for chaining. - */ - public Builder setSlaCompliance(int value) { - bitField0_ |= 0x00002000; - slaCompliance_ = value; - onChanged(); - return this; - } - - /** - * optional int32 sla_compliance = 21; - * - * @return This builder for chaining. - */ - public Builder clearSlaCompliance() { - bitField0_ = (bitField0_ & ~0x00002000); - slaCompliance_ = 0; - onChanged(); - return this; - } - - private java.lang.Object rootProcessInstanceId_ = ""; - - /** - * optional string root_process_instance_id = 22; - * - * @return Whether the rootProcessInstanceId field is set. - */ - public boolean hasRootProcessInstanceId() { - return ((bitField0_ & 0x00004000) != 0); - } - - /** - * optional string root_process_instance_id = 22; - * - * @return The rootProcessInstanceId. - */ - public java.lang.String getRootProcessInstanceId() { - java.lang.Object ref = rootProcessInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - rootProcessInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string root_process_instance_id = 22; - * - * @return The bytes for rootProcessInstanceId. - */ - public com.google.protobuf.ByteString getRootProcessInstanceIdBytes() { - java.lang.Object ref = rootProcessInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - rootProcessInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string root_process_instance_id = 22; - * - * @param value The rootProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setRootProcessInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00004000; - rootProcessInstanceId_ = value; - onChanged(); - return this; - } - - /** - * optional string root_process_instance_id = 22; - * - * @return This builder for chaining. - */ - public Builder clearRootProcessInstanceId() { - bitField0_ = (bitField0_ & ~0x00004000); - rootProcessInstanceId_ = getDefaultInstance().getRootProcessInstanceId(); - onChanged(); - return this; - } - - /** - * optional string root_process_instance_id = 22; - * - * @param value The bytes for rootProcessInstanceId to set. - * @return This builder for chaining. - */ - public Builder setRootProcessInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00004000; - rootProcessInstanceId_ = value; - onChanged(); - return this; - } - - private long startDate_; - - /** - * optional int64 start_date = 23; - * - * @return Whether the startDate field is set. - */ - @java.lang.Override - public boolean hasStartDate() { - return ((bitField0_ & 0x00008000) != 0); - } - - /** - * optional int64 start_date = 23; - * - * @return The startDate. - */ - @java.lang.Override - public long getStartDate() { - return startDate_; - } - - /** - * optional int64 start_date = 23; - * - * @param value The startDate to set. - * @return This builder for chaining. - */ - public Builder setStartDate(long value) { - bitField0_ |= 0x00008000; - startDate_ = value; - onChanged(); - return this; - } - - /** - * optional int64 start_date = 23; - * - * @return This builder for chaining. - */ - public Builder clearStartDate() { - bitField0_ = (bitField0_ & ~0x00008000); - startDate_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object rootProcessId_ = ""; - - /** - * optional string root_process_id = 24; - * - * @return Whether the rootProcessId field is set. - */ - public boolean hasRootProcessId() { - return ((bitField0_ & 0x00010000) != 0); - } - - /** - * optional string root_process_id = 24; - * - * @return The rootProcessId. - */ - public java.lang.String getRootProcessId() { - java.lang.Object ref = rootProcessId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - rootProcessId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string root_process_id = 24; - * - * @return The bytes for rootProcessId. - */ - public com.google.protobuf.ByteString getRootProcessIdBytes() { - java.lang.Object ref = rootProcessId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - rootProcessId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string root_process_id = 24; - * - * @param value The rootProcessId to set. - * @return This builder for chaining. - */ - public Builder setRootProcessId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00010000; - rootProcessId_ = value; - onChanged(); - return this; - } - - /** - * optional string root_process_id = 24; - * - * @return This builder for chaining. - */ - public Builder clearRootProcessId() { - bitField0_ = (bitField0_ & ~0x00010000); - rootProcessId_ = getDefaultInstance().getRootProcessId(); - onChanged(); - return this; - } - - /** - * optional string root_process_id = 24; - * - * @param value The bytes for rootProcessId to set. - * @return This builder for chaining. - */ - public Builder setRootProcessIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00010000; - rootProcessId_ = value; - onChanged(); - return this; - } - - private java.lang.Object errorNodeId_ = ""; - - /** - * optional string error_node_id = 25; - * - * @return Whether the errorNodeId field is set. - */ - public boolean hasErrorNodeId() { - return ((bitField0_ & 0x00020000) != 0); - } - - /** - * optional string error_node_id = 25; - * - * @return The errorNodeId. - */ - public java.lang.String getErrorNodeId() { - java.lang.Object ref = errorNodeId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorNodeId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string error_node_id = 25; - * - * @return The bytes for errorNodeId. - */ - public com.google.protobuf.ByteString getErrorNodeIdBytes() { - java.lang.Object ref = errorNodeId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - errorNodeId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string error_node_id = 25; - * - * @param value The errorNodeId to set. - * @return This builder for chaining. - */ - public Builder setErrorNodeId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00020000; - errorNodeId_ = value; - onChanged(); - return this; - } - - /** - * optional string error_node_id = 25; - * - * @return This builder for chaining. - */ - public Builder clearErrorNodeId() { - bitField0_ = (bitField0_ & ~0x00020000); - errorNodeId_ = getDefaultInstance().getErrorNodeId(); - onChanged(); - return this; - } - - /** - * optional string error_node_id = 25; - * - * @param value The bytes for errorNodeId to set. - * @return This builder for chaining. - */ - public Builder setErrorNodeIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00020000; - errorNodeId_ = value; - onChanged(); - return this; - } - - private java.lang.Object errorMessage_ = ""; - - /** - * optional string error_message = 26; - * - * @return Whether the errorMessage field is set. - */ - public boolean hasErrorMessage() { - return ((bitField0_ & 0x00040000) != 0); - } - - /** - * optional string error_message = 26; - * - * @return The errorMessage. - */ - public java.lang.String getErrorMessage() { - java.lang.Object ref = errorMessage_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - errorMessage_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string error_message = 26; - * - * @return The bytes for errorMessage. - */ - public com.google.protobuf.ByteString getErrorMessageBytes() { - java.lang.Object ref = errorMessage_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - errorMessage_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string error_message = 26; - * - * @param value The errorMessage to set. - * @return This builder for chaining. - */ - public Builder setErrorMessage(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00040000; - errorMessage_ = value; - onChanged(); - return this; - } - - /** - * optional string error_message = 26; - * - * @return This builder for chaining. - */ - public Builder clearErrorMessage() { - bitField0_ = (bitField0_ & ~0x00040000); - errorMessage_ = getDefaultInstance().getErrorMessage(); - onChanged(); - return this; - } - - /** - * optional string error_message = 26; - * - * @param value The bytes for errorMessage to set. - * @return This builder for chaining. - */ - public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00040000; - errorMessage_ = value; - onChanged(); - return this; - } - - private java.lang.Object referenceId_ = ""; - - /** - * optional string reference_id = 27; - * - * @return Whether the referenceId field is set. - */ - public boolean hasReferenceId() { - return ((bitField0_ & 0x00080000) != 0); - } - - /** - * optional string reference_id = 27; - * - * @return The referenceId. - */ - public java.lang.String getReferenceId() { - java.lang.Object ref = referenceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - referenceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string reference_id = 27; - * - * @return The bytes for referenceId. - */ - public com.google.protobuf.ByteString getReferenceIdBytes() { - java.lang.Object ref = referenceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - referenceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string reference_id = 27; - * - * @param value The referenceId to set. - * @return This builder for chaining. - */ - public Builder setReferenceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00080000; - referenceId_ = value; - onChanged(); - return this; - } - - /** - * optional string reference_id = 27; - * - * @return This builder for chaining. - */ - public Builder clearReferenceId() { - bitField0_ = (bitField0_ & ~0x00080000); - referenceId_ = getDefaultInstance().getReferenceId(); - onChanged(); - return this; - } - - /** - * optional string reference_id = 27; - * - * @param value The bytes for referenceId to set. - * @return This builder for chaining. - */ - public Builder setReferenceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00080000; - referenceId_ = value; - onChanged(); - return this; - } - - private java.util.List swimlaneContext_ = java.util.Collections - .emptyList(); - - private void ensureSwimlaneContextIsMutable() { - if (!((bitField0_ & 0x00100000) != 0)) { - swimlaneContext_ = new java.util.ArrayList( - swimlaneContext_); - bitField0_ |= 0x00100000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 swimlaneContextBuilder_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public java.util.List getSwimlaneContextList() { - if (swimlaneContextBuilder_ == null) { - return java.util.Collections.unmodifiableList(swimlaneContext_); - } else { - return swimlaneContextBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public int getSwimlaneContextCount() { - if (swimlaneContextBuilder_ == null) { - return swimlaneContext_.size(); - } else { - return swimlaneContextBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance getSwimlaneContext( - int index) { - if (swimlaneContextBuilder_ == null) { - return swimlaneContext_.get(index); - } else { - return swimlaneContextBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder setSwimlaneContext(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance value) { - if (swimlaneContextBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSwimlaneContextIsMutable(); - swimlaneContext_.set(index, value); - onChanged(); - } else { - swimlaneContextBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder setSwimlaneContext(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.Builder builderForValue) { - if (swimlaneContextBuilder_ == null) { - ensureSwimlaneContextIsMutable(); - swimlaneContext_.set(index, builderForValue.build()); - onChanged(); - } else { - swimlaneContextBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder addSwimlaneContext( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance value) { - if (swimlaneContextBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSwimlaneContextIsMutable(); - swimlaneContext_.add(value); - onChanged(); - } else { - swimlaneContextBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder addSwimlaneContext(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance value) { - if (swimlaneContextBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureSwimlaneContextIsMutable(); - swimlaneContext_.add(index, value); - onChanged(); - } else { - swimlaneContextBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder addSwimlaneContext( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.Builder builderForValue) { - if (swimlaneContextBuilder_ == null) { - ensureSwimlaneContextIsMutable(); - swimlaneContext_.add(builderForValue.build()); - onChanged(); - } else { - swimlaneContextBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder addSwimlaneContext(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.Builder builderForValue) { - if (swimlaneContextBuilder_ == null) { - ensureSwimlaneContextIsMutable(); - swimlaneContext_.add(index, builderForValue.build()); - onChanged(); - } else { - swimlaneContextBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder addAllSwimlaneContext( - java.lang.Iterable values) { - if (swimlaneContextBuilder_ == null) { - ensureSwimlaneContextIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, swimlaneContext_); - onChanged(); - } else { - swimlaneContextBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder clearSwimlaneContext() { - if (swimlaneContextBuilder_ == null) { - swimlaneContext_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00100000); - onChanged(); - } else { - swimlaneContextBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public Builder removeSwimlaneContext(int index) { - if (swimlaneContextBuilder_ == null) { - ensureSwimlaneContextIsMutable(); - swimlaneContext_.remove(index); - onChanged(); - } else { - swimlaneContextBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.Builder getSwimlaneContextBuilder( - int index) { - return getSwimlaneContextFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder getSwimlaneContextOrBuilder( - int index) { - if (swimlaneContextBuilder_ == null) { - return swimlaneContext_.get(index); - } else { - return swimlaneContextBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public java.util.List getSwimlaneContextOrBuilderList() { - if (swimlaneContextBuilder_ != null) { - return swimlaneContextBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(swimlaneContext_); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.Builder addSwimlaneContextBuilder() { - return getSwimlaneContextFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.Builder addSwimlaneContextBuilder( - int index) { - return getSwimlaneContextFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.SwimlaneContextInstance swimlane_context = 6; - */ - public java.util.List getSwimlaneContextBuilderList() { - return getSwimlaneContextFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getSwimlaneContextFieldBuilder() { - if (swimlaneContextBuilder_ == null) { - swimlaneContextBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - swimlaneContext_, ((bitField0_ & 0x00100000) != 0), getParentForChildren(), isClean()); - swimlaneContext_ = null; - } - return swimlaneContextBuilder_; - } - - private java.util.List nodeInstance_ = java.util.Collections - .emptyList(); - - private void ensureNodeInstanceIsMutable() { - if (!((bitField0_ & 0x00200000) != 0)) { - nodeInstance_ = new java.util.ArrayList( - nodeInstance_); - bitField0_ |= 0x00200000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 nodeInstanceBuilder_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public java.util.List getNodeInstanceList() { - if (nodeInstanceBuilder_ == null) { - return java.util.Collections.unmodifiableList(nodeInstance_); - } else { - return nodeInstanceBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public int getNodeInstanceCount() { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.size(); - } else { - return nodeInstanceBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance getNodeInstance( - int index) { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.get(index); - } else { - return nodeInstanceBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder setNodeInstance(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.set(index, value); - onChanged(); - } else { - nodeInstanceBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder setNodeInstance(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.set(index, builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder addNodeInstance( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.add(value); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder addNodeInstance(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance value) { - if (nodeInstanceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureNodeInstanceIsMutable(); - nodeInstance_.add(index, value); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder addNodeInstance( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.add(builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder addNodeInstance(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.add(index, builderForValue.build()); - onChanged(); - } else { - nodeInstanceBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder addAllNodeInstance( - java.lang.Iterable values) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, nodeInstance_); - onChanged(); - } else { - nodeInstanceBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder clearNodeInstance() { - if (nodeInstanceBuilder_ == null) { - nodeInstance_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00200000); - onChanged(); - } else { - nodeInstanceBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public Builder removeNodeInstance(int index) { - if (nodeInstanceBuilder_ == null) { - ensureNodeInstanceIsMutable(); - nodeInstance_.remove(index); - onChanged(); - } else { - nodeInstanceBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder getNodeInstanceBuilder( - int index) { - return getNodeInstanceFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceOrBuilder getNodeInstanceOrBuilder( - int index) { - if (nodeInstanceBuilder_ == null) { - return nodeInstance_.get(index); - } else { - return nodeInstanceBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public java.util.List getNodeInstanceOrBuilderList() { - if (nodeInstanceBuilder_ != null) { - return nodeInstanceBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(nodeInstance_); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder() { - return getNodeInstanceFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder addNodeInstanceBuilder( - int index) { - return getNodeInstanceFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7; - */ - public java.util.List getNodeInstanceBuilderList() { - return getNodeInstanceFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getNodeInstanceFieldBuilder() { - if (nodeInstanceBuilder_ == null) { - nodeInstanceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - nodeInstance_, ((bitField0_ & 0x00200000) != 0), getParentForChildren(), isClean()); - nodeInstance_ = null; - } - return nodeInstanceBuilder_; - } - - private java.util.List variable_ = java.util.Collections - .emptyList(); - - private void ensureVariableIsMutable() { - if (!((bitField0_ & 0x00400000) != 0)) { - variable_ = new java.util.ArrayList( - variable_); - bitField0_ |= 0x00400000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 variableBuilder_; - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public java.util.List getVariableList() { - if (variableBuilder_ == null) { - return java.util.Collections.unmodifiableList(variable_); - } else { - return variableBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public int getVariableCount() { - if (variableBuilder_ == null) { - return variable_.size(); - } else { - return variableBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public Builder setVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.set(index, value); - onChanged(); - } else { - variableBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public Builder setVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.set(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(value); - onChanged(); - } else { - variableBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public Builder addVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(index, value); - onChanged(); - } else { - variableBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public Builder addVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public Builder addAllVariable( - java.lang.Iterable values) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, variable_); - onChanged(); - } else { - variableBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public Builder clearVariable() { - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00400000); - onChanged(); - } else { - variableBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public Builder removeVariable(int index) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.remove(index); - onChanged(); - } else { - variableBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder getVariableBuilder( - int index) { - return getVariableFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public java.util.List getVariableOrBuilderList() { - if (variableBuilder_ != null) { - return variableBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variable_); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder addVariableBuilder() { - return getVariableFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder addVariableBuilder( - int index) { - return getVariableFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 8; - */ - public java.util.List getVariableBuilderList() { - return getVariableFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getVariableFieldBuilder() { - if (variableBuilder_ == null) { - variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - variable_, ((bitField0_ & 0x00400000) != 0), getParentForChildren(), isClean()); - variable_ = null; - } - return variableBuilder_; - } - - private java.util.List exclusiveGroup_ = java.util.Collections - .emptyList(); - - private void ensureExclusiveGroupIsMutable() { - if (!((bitField0_ & 0x00800000) != 0)) { - exclusiveGroup_ = new java.util.ArrayList( - exclusiveGroup_); - bitField0_ |= 0x00800000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 exclusiveGroupBuilder_; - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public java.util.List getExclusiveGroupList() { - if (exclusiveGroupBuilder_ == null) { - return java.util.Collections.unmodifiableList(exclusiveGroup_); - } else { - return exclusiveGroupBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public int getExclusiveGroupCount() { - if (exclusiveGroupBuilder_ == null) { - return exclusiveGroup_.size(); - } else { - return exclusiveGroupBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance getExclusiveGroup( - int index) { - if (exclusiveGroupBuilder_ == null) { - return exclusiveGroup_.get(index); - } else { - return exclusiveGroupBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder setExclusiveGroup(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance value) { - if (exclusiveGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.set(index, value); - onChanged(); - } else { - exclusiveGroupBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder setExclusiveGroup(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.set(index, builderForValue.build()); - onChanged(); - } else { - exclusiveGroupBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder addExclusiveGroup( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance value) { - if (exclusiveGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(value); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder addExclusiveGroup(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance value) { - if (exclusiveGroupBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(index, value); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder addExclusiveGroup( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(builderForValue.build()); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder addExclusiveGroup(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.add(index, builderForValue.build()); - onChanged(); - } else { - exclusiveGroupBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder addAllExclusiveGroup( - java.lang.Iterable values) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exclusiveGroup_); - onChanged(); - } else { - exclusiveGroupBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder clearExclusiveGroup() { - if (exclusiveGroupBuilder_ == null) { - exclusiveGroup_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00800000); - onChanged(); - } else { - exclusiveGroupBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public Builder removeExclusiveGroup(int index) { - if (exclusiveGroupBuilder_ == null) { - ensureExclusiveGroupIsMutable(); - exclusiveGroup_.remove(index); - onChanged(); - } else { - exclusiveGroupBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder getExclusiveGroupBuilder( - int index) { - return getExclusiveGroupFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder getExclusiveGroupOrBuilder( - int index) { - if (exclusiveGroupBuilder_ == null) { - return exclusiveGroup_.get(index); - } else { - return exclusiveGroupBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public java.util.List getExclusiveGroupOrBuilderList() { - if (exclusiveGroupBuilder_ != null) { - return exclusiveGroupBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(exclusiveGroup_); - } - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder addExclusiveGroupBuilder() { - return getExclusiveGroupFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder addExclusiveGroupBuilder( - int index) { - return getExclusiveGroupFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance - .getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10; - */ - public java.util.List getExclusiveGroupBuilderList() { - return getExclusiveGroupFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getExclusiveGroupFieldBuilder() { - if (exclusiveGroupBuilder_ == null) { - exclusiveGroupBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - exclusiveGroup_, ((bitField0_ & 0x00800000) != 0), getParentForChildren(), isClean()); - exclusiveGroup_ = null; - } - return exclusiveGroupBuilder_; - } - - private com.google.protobuf.LazyStringList completedNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureCompletedNodeIdsIsMutable() { - if (!((bitField0_ & 0x01000000) != 0)) { - completedNodeIds_ = new com.google.protobuf.LazyStringArrayList(completedNodeIds_); - bitField0_ |= 0x01000000; - } - } - - /** - * repeated string completedNodeIds = 13; - * - * @return A list containing the completedNodeIds. - */ - public com.google.protobuf.ProtocolStringList getCompletedNodeIdsList() { - return completedNodeIds_.getUnmodifiableView(); - } - - /** - * repeated string completedNodeIds = 13; - * - * @return The count of completedNodeIds. - */ - public int getCompletedNodeIdsCount() { - return completedNodeIds_.size(); - } - - /** - * repeated string completedNodeIds = 13; - * - * @param index The index of the element to return. - * @return The completedNodeIds at the given index. - */ - public java.lang.String getCompletedNodeIds(int index) { - return completedNodeIds_.get(index); - } - - /** - * repeated string completedNodeIds = 13; - * - * @param index The index of the value to return. - * @return The bytes of the completedNodeIds at the given index. - */ - public com.google.protobuf.ByteString getCompletedNodeIdsBytes(int index) { - return completedNodeIds_.getByteString(index); - } - - /** - * repeated string completedNodeIds = 13; - * - * @param index The index to set the value at. - * @param value The completedNodeIds to set. - * @return This builder for chaining. - */ - public Builder setCompletedNodeIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCompletedNodeIdsIsMutable(); - completedNodeIds_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string completedNodeIds = 13; - * - * @param value The completedNodeIds to add. - * @return This builder for chaining. - */ - public Builder addCompletedNodeIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCompletedNodeIdsIsMutable(); - completedNodeIds_.add(value); - onChanged(); - return this; - } - - /** - * repeated string completedNodeIds = 13; - * - * @param values The completedNodeIds to add. - * @return This builder for chaining. - */ - public Builder addAllCompletedNodeIds(java.lang.Iterable values) { - ensureCompletedNodeIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, completedNodeIds_); - onChanged(); - return this; - } - - /** - * repeated string completedNodeIds = 13; - * - * @return This builder for chaining. - */ - public Builder clearCompletedNodeIds() { - completedNodeIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x01000000); - onChanged(); - return this; - } - - /** - * repeated string completedNodeIds = 13; - * - * @param value The bytes of the completedNodeIds to add. - * @return This builder for chaining. - */ - public Builder addCompletedNodeIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureCompletedNodeIdsIsMutable(); - completedNodeIds_.add(value); - onChanged(); - return this; - } - - private java.util.List iterationLevels_ = java.util.Collections - .emptyList(); - - private void ensureIterationLevelsIsMutable() { - if (!((bitField0_ & 0x02000000) != 0)) { - iterationLevels_ = new java.util.ArrayList( - iterationLevels_); - bitField0_ |= 0x02000000; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 iterationLevelsBuilder_; - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public java.util.List getIterationLevelsList() { - if (iterationLevelsBuilder_ == null) { - return java.util.Collections.unmodifiableList(iterationLevels_); - } else { - return iterationLevelsBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public int getIterationLevelsCount() { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.size(); - } else { - return iterationLevelsBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel getIterationLevels( - int index) { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.get(index); - } else { - return iterationLevelsBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder setIterationLevels(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.set(index, value); - onChanged(); - } else { - iterationLevelsBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder setIterationLevels(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.set(index, builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder addIterationLevels( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.add(value); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder addIterationLevels(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel value) { - if (iterationLevelsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureIterationLevelsIsMutable(); - iterationLevels_.add(index, value); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder addIterationLevels( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.add(builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder addIterationLevels(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder builderForValue) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.add(index, builderForValue.build()); - onChanged(); - } else { - iterationLevelsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder addAllIterationLevels( - java.lang.Iterable values) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, iterationLevels_); - onChanged(); - } else { - iterationLevelsBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder clearIterationLevels() { - if (iterationLevelsBuilder_ == null) { - iterationLevels_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x02000000); - onChanged(); - } else { - iterationLevelsBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public Builder removeIterationLevels(int index) { - if (iterationLevelsBuilder_ == null) { - ensureIterationLevelsIsMutable(); - iterationLevels_.remove(index); - onChanged(); - } else { - iterationLevelsBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder getIterationLevelsBuilder( - int index) { - return getIterationLevelsFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevelOrBuilder getIterationLevelsOrBuilder( - int index) { - if (iterationLevelsBuilder_ == null) { - return iterationLevels_.get(index); - } else { - return iterationLevelsBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public java.util.List getIterationLevelsOrBuilderList() { - if (iterationLevelsBuilder_ != null) { - return iterationLevelsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(iterationLevels_); - } - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder addIterationLevelsBuilder() { - return getIterationLevelsFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder addIterationLevelsBuilder( - int index) { - return getIterationLevelsFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.IterationLevel iterationLevels = 14; - */ - public java.util.List getIterationLevelsBuilderList() { - return getIterationLevelsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getIterationLevelsFieldBuilder() { - if (iterationLevelsBuilder_ == null) { - iterationLevelsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - iterationLevels_, ((bitField0_ & 0x02000000) != 0), getParentForChildren(), isClean()); - iterationLevels_ = null; - } - return iterationLevelsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessInstance) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessInstance) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessInstance parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProcessInstance(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface VariableOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.Variable) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string name = 1; - * - * @return Whether the name field is set. - */ - boolean hasName(); - - /** - * optional string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - - /** - * optional string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - *
-		 * the actual object reference
-		 * 
- * - * optional int32 strategy_index = 2; - * - * @return Whether the strategyIndex field is set. - */ - boolean hasStrategyIndex(); - - /** - *
-		 * the actual object reference
-		 * 
- * - * optional int32 strategy_index = 2; - * - * @return The strategyIndex. - */ - int getStrategyIndex(); - - /** - * optional bytes value = 3; - * - * @return Whether the value field is set. - */ - boolean hasValue(); - - /** - * optional bytes value = 3; - * - * @return The value. - */ - com.google.protobuf.ByteString getValue(); - - /** - * optional string data_type = 4; - * - * @return Whether the dataType field is set. - */ - boolean hasDataType(); - - /** - * optional string data_type = 4; - * - * @return The dataType. - */ - java.lang.String getDataType(); - - /** - * optional string data_type = 4; - * - * @return The bytes for dataType. - */ - com.google.protobuf.ByteString getDataTypeBytes(); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Variable} - */ - public static final class Variable extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.Variable) - VariableOrBuilder { - private static final long serialVersionUID = 0L; - - // Use Variable.newBuilder() to construct. - private Variable(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Variable() { - name_ = ""; - value_ = com.google.protobuf.ByteString.EMPTY; - dataType_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Variable(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private Variable(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - name_ = bs; - break; - } - case 16: { - bitField0_ |= 0x00000002; - strategyIndex_ = input.readInt32(); - break; - } - case 26: { - bitField0_ |= 0x00000004; - value_ = input.readBytes(); - break; - } - case 34: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000008; - dataType_ = bs; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Variable_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Variable_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder.class); - } - - private int bitField0_; - public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; - - /** - * optional string name = 1; - * - * @return Whether the name field is set. - */ - @java.lang.Override - public boolean hasName() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string name = 1; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } - } - - /** - * optional string name = 1; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int STRATEGY_INDEX_FIELD_NUMBER = 2; - private int strategyIndex_; - - /** - *
-		 * the actual object reference
-		 * 
- * - * optional int32 strategy_index = 2; - * - * @return Whether the strategyIndex field is set. - */ - @java.lang.Override - public boolean hasStrategyIndex() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - *
-		 * the actual object reference
-		 * 
- * - * optional int32 strategy_index = 2; - * - * @return The strategyIndex. - */ - @java.lang.Override - public int getStrategyIndex() { - return strategyIndex_; - } - - public static final int VALUE_FIELD_NUMBER = 3; - private com.google.protobuf.ByteString value_; - - /** - * optional bytes value = 3; - * - * @return Whether the value field is set. - */ - @java.lang.Override - public boolean hasValue() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional bytes value = 3; - * - * @return The value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValue() { - return value_; - } - - public static final int DATA_TYPE_FIELD_NUMBER = 4; - private volatile java.lang.Object dataType_; - - /** - * optional string data_type = 4; - * - * @return Whether the dataType field is set. - */ - @java.lang.Override - public boolean hasDataType() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional string data_type = 4; - * - * @return The dataType. - */ - @java.lang.Override - public java.lang.String getDataType() { - java.lang.Object ref = dataType_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - dataType_ = s; - } - return s; - } - } - - /** - * optional string data_type = 4; - * - * @return The bytes for dataType. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDataTypeBytes() { - java.lang.Object ref = dataType_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dataType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt32(2, strategyIndex_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeBytes(3, value_); - } - if (((bitField0_ & 0x00000008) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dataType_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, strategyIndex_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, value_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, dataType_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable) obj; - - if (hasName() != other.hasName()) - return false; - if (hasName()) { - if (!getName().equals(other.getName())) - return false; - } - if (hasStrategyIndex() != other.hasStrategyIndex()) - return false; - if (hasStrategyIndex()) { - if (getStrategyIndex() != other.getStrategyIndex()) - return false; - } - if (hasValue() != other.hasValue()) - return false; - if (hasValue()) { - if (!getValue().equals(other.getValue())) - return false; - } - if (hasDataType() != other.hasDataType()) - return false; - if (hasDataType()) { - if (!getDataType().equals(other.getDataType())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasName()) { - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - } - if (hasStrategyIndex()) { - hash = (37 * hash) + STRATEGY_INDEX_FIELD_NUMBER; - hash = (53 * hash) + getStrategyIndex(); - } - if (hasValue()) { - hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + getValue().hashCode(); - } - if (hasDataType()) { - hash = (37 * hash) + DATA_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getDataType().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable parseFrom( - com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.Variable} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.Variable) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Variable_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Variable_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder.class); - } - - // Construct using org.jbpm.marshalling.impl.JBPMMessages.Variable.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - name_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - strategyIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - value_ = com.google.protobuf.ByteString.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); - dataType_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_Variable_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.name_ = name_; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.strategyIndex_ = strategyIndex_; - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.value_ = value_; - if (((from_bitField0_ & 0x00000008) != 0)) { - to_bitField0_ |= 0x00000008; - } - result.dataType_ = dataType_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.getDefaultInstance()) - return this; - if (other.hasName()) { - bitField0_ |= 0x00000001; - name_ = other.name_; - onChanged(); - } - if (other.hasStrategyIndex()) { - setStrategyIndex(other.getStrategyIndex()); - } - if (other.hasValue()) { - setValue(other.getValue()); - } - if (other.hasDataType()) { - bitField0_ |= 0x00000008; - dataType_ = other.dataType_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - - /** - * optional string name = 1; - * - * @return Whether the name field is set. - */ - public boolean hasName() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string name = 1; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string name = 1; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string name = 1; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - name_ = value; - onChanged(); - return this; - } - - /** - * optional string name = 1; - * - * @return This builder for chaining. - */ - public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000001); - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - - /** - * optional string name = 1; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - name_ = value; - onChanged(); - return this; - } - - private int strategyIndex_; - - /** - *
-			 * the actual object reference
-			 * 
- * - * optional int32 strategy_index = 2; - * - * @return Whether the strategyIndex field is set. - */ - @java.lang.Override - public boolean hasStrategyIndex() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - *
-			 * the actual object reference
-			 * 
- * - * optional int32 strategy_index = 2; - * - * @return The strategyIndex. - */ - @java.lang.Override - public int getStrategyIndex() { - return strategyIndex_; - } - - /** - *
-			 * the actual object reference
-			 * 
- * - * optional int32 strategy_index = 2; - * - * @param value The strategyIndex to set. - * @return This builder for chaining. - */ - public Builder setStrategyIndex(int value) { - bitField0_ |= 0x00000002; - strategyIndex_ = value; - onChanged(); - return this; - } - - /** - *
-			 * the actual object reference
-			 * 
- * - * optional int32 strategy_index = 2; - * - * @return This builder for chaining. - */ - public Builder clearStrategyIndex() { - bitField0_ = (bitField0_ & ~0x00000002); - strategyIndex_ = 0; - onChanged(); - return this; - } - - private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; - - /** - * optional bytes value = 3; - * - * @return Whether the value field is set. - */ - @java.lang.Override - public boolean hasValue() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional bytes value = 3; - * - * @return The value. - */ - @java.lang.Override - public com.google.protobuf.ByteString getValue() { - return value_; - } - - /** - * optional bytes value = 3; - * - * @param value The value to set. - * @return This builder for chaining. - */ - public Builder setValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - value_ = value; - onChanged(); - return this; - } - - /** - * optional bytes value = 3; - * - * @return This builder for chaining. - */ - public Builder clearValue() { - bitField0_ = (bitField0_ & ~0x00000004); - value_ = getDefaultInstance().getValue(); - onChanged(); - return this; - } - - private java.lang.Object dataType_ = ""; - - /** - * optional string data_type = 4; - * - * @return Whether the dataType field is set. - */ - public boolean hasDataType() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional string data_type = 4; - * - * @return The dataType. - */ - public java.lang.String getDataType() { - java.lang.Object ref = dataType_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - dataType_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string data_type = 4; - * - * @return The bytes for dataType. - */ - public com.google.protobuf.ByteString getDataTypeBytes() { - java.lang.Object ref = dataType_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - dataType_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string data_type = 4; - * - * @param value The dataType to set. - * @return This builder for chaining. - */ - public Builder setDataType(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - dataType_ = value; - onChanged(); - return this; - } - - /** - * optional string data_type = 4; - * - * @return This builder for chaining. - */ - public Builder clearDataType() { - bitField0_ = (bitField0_ & ~0x00000008); - dataType_ = getDefaultInstance().getDataType(); - onChanged(); - return this; - } - - /** - * optional string data_type = 4; - * - * @param value The bytes for dataType to set. - * @return This builder for chaining. - */ - public Builder setDataTypeBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - dataType_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.Variable) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.Variable) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Variable parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Variable(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface WorkItemOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.WorkItem) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string id = 1; - * - * @return Whether the id field is set. - */ - boolean hasId(); - - /** - * optional string id = 1; - * - * @return The id. - */ - java.lang.String getId(); - - /** - * optional string id = 1; - * - * @return The bytes for id. - */ - com.google.protobuf.ByteString getIdBytes(); - - /** - * optional string process_instances_id = 2; - * - * @return Whether the processInstancesId field is set. - */ - boolean hasProcessInstancesId(); - - /** - * optional string process_instances_id = 2; - * - * @return The processInstancesId. - */ - java.lang.String getProcessInstancesId(); - - /** - * optional string process_instances_id = 2; - * - * @return The bytes for processInstancesId. - */ - com.google.protobuf.ByteString getProcessInstancesIdBytes(); - - /** - * optional string name = 3; - * - * @return Whether the name field is set. - */ - boolean hasName(); - - /** - * optional string name = 3; - * - * @return The name. - */ - java.lang.String getName(); - - /** - * optional string name = 3; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * optional int32 state = 4; - * - * @return Whether the state field is set. - */ - boolean hasState(); - - /** - * optional int32 state = 4; - * - * @return The state. - */ - int getState(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - java.util.List getVariableList(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - int getVariableCount(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - java.util.List getVariableOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder(int index); - - /** - * optional string deployment_id = 6; - * - * @return Whether the deploymentId field is set. - */ - boolean hasDeploymentId(); - - /** - * optional string deployment_id = 6; - * - * @return The deploymentId. - */ - java.lang.String getDeploymentId(); - - /** - * optional string deployment_id = 6; - * - * @return The bytes for deploymentId. - */ - com.google.protobuf.ByteString getDeploymentIdBytes(); - - /** - * optional string node_instance_id = 7; - * - * @return Whether the nodeInstanceId field is set. - */ - boolean hasNodeInstanceId(); - - /** - * optional string node_instance_id = 7; - * - * @return The nodeInstanceId. - */ - java.lang.String getNodeInstanceId(); - - /** - * optional string node_instance_id = 7; - * - * @return The bytes for nodeInstanceId. - */ - com.google.protobuf.ByteString getNodeInstanceIdBytes(); - - /** - * optional int64 node_id = 8; - * - * @return Whether the nodeId field is set. - */ - boolean hasNodeId(); - - /** - * optional int64 node_id = 8; - * - * @return The nodeId. - */ - long getNodeId(); - - /** - * optional string phase_id = 9; - * - * @return Whether the phaseId field is set. - */ - boolean hasPhaseId(); - - /** - * optional string phase_id = 9; - * - * @return The phaseId. - */ - java.lang.String getPhaseId(); - - /** - * optional string phase_id = 9; - * - * @return The bytes for phaseId. - */ - com.google.protobuf.ByteString getPhaseIdBytes(); - - /** - * optional string phase_status = 10; - * - * @return Whether the phaseStatus field is set. - */ - boolean hasPhaseStatus(); - - /** - * optional string phase_status = 10; - * - * @return The phaseStatus. - */ - java.lang.String getPhaseStatus(); - - /** - * optional string phase_status = 10; - * - * @return The bytes for phaseStatus. - */ - com.google.protobuf.ByteString getPhaseStatusBytes(); - - /** - * optional int64 start_date = 11; - * - * @return Whether the startDate field is set. - */ - boolean hasStartDate(); - - /** - * optional int64 start_date = 11; - * - * @return The startDate. - */ - long getStartDate(); - - /** - * optional int64 complete_date = 12; - * - * @return Whether the completeDate field is set. - */ - boolean hasCompleteDate(); - - /** - * optional int64 complete_date = 12; - * - * @return The completeDate. - */ - long getCompleteDate(); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.WorkItem} - */ - public static final class WorkItem extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.WorkItem) - WorkItemOrBuilder { - private static final long serialVersionUID = 0L; - - // Use WorkItem.newBuilder() to construct. - private WorkItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private WorkItem() { - id_ = ""; - processInstancesId_ = ""; - name_ = ""; - variable_ = java.util.Collections.emptyList(); - deploymentId_ = ""; - nodeInstanceId_ = ""; - phaseId_ = ""; - phaseStatus_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new WorkItem(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private WorkItem(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - id_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - processInstancesId_ = bs; - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000004; - name_ = bs; - break; - } - case 32: { - bitField0_ |= 0x00000008; - state_ = input.readInt32(); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - variable_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - variable_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.PARSER, - extensionRegistry)); - break; - } - case 50: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000010; - deploymentId_ = bs; - break; - } - case 58: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000020; - nodeInstanceId_ = bs; - break; - } - case 64: { - bitField0_ |= 0x00000040; - nodeId_ = input.readInt64(); - break; - } - case 74: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000080; - phaseId_ = bs; - break; - } - case 82: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000100; - phaseStatus_ = bs; - break; - } - case 88: { - bitField0_ |= 0x00000200; - startDate_ = input.readInt64(); - break; - } - case 96: { - bitField0_ |= 0x00000400; - completeDate_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000010) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_WorkItem_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_WorkItem_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - - /** - * optional string id = 1; - * - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string id = 1; - * - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } - } - - /** - * optional string id = 1; - * - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PROCESS_INSTANCES_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object processInstancesId_; - - /** - * optional string process_instances_id = 2; - * - * @return Whether the processInstancesId field is set. - */ - @java.lang.Override - public boolean hasProcessInstancesId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string process_instances_id = 2; - * - * @return The processInstancesId. - */ - @java.lang.Override - public java.lang.String getProcessInstancesId() { - java.lang.Object ref = processInstancesId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstancesId_ = s; - } - return s; - } - } - - /** - * optional string process_instances_id = 2; - * - * @return The bytes for processInstancesId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getProcessInstancesIdBytes() { - java.lang.Object ref = processInstancesId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - processInstancesId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object name_; - - /** - * optional string name = 3; - * - * @return Whether the name field is set. - */ - @java.lang.Override - public boolean hasName() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional string name = 3; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } - } - - /** - * optional string name = 3; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int STATE_FIELD_NUMBER = 4; - private int state_; - - /** - * optional int32 state = 4; - * - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int32 state = 4; - * - * @return The state. - */ - @java.lang.Override - public int getState() { - return state_; - } - - public static final int VARIABLE_FIELD_NUMBER = 5; - private java.util.List variable_; - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - @java.lang.Override - public java.util.List getVariableList() { - return variable_; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - @java.lang.Override - public java.util.List getVariableOrBuilderList() { - return variable_; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - @java.lang.Override - public int getVariableCount() { - return variable_.size(); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index) { - return variable_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - return variable_.get(index); - } - - public static final int DEPLOYMENT_ID_FIELD_NUMBER = 6; - private volatile java.lang.Object deploymentId_; - - /** - * optional string deployment_id = 6; - * - * @return Whether the deploymentId field is set. - */ - @java.lang.Override - public boolean hasDeploymentId() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional string deployment_id = 6; - * - * @return The deploymentId. - */ - @java.lang.Override - public java.lang.String getDeploymentId() { - java.lang.Object ref = deploymentId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - deploymentId_ = s; - } - return s; - } - } - - /** - * optional string deployment_id = 6; - * - * @return The bytes for deploymentId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDeploymentIdBytes() { - java.lang.Object ref = deploymentId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - deploymentId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NODE_INSTANCE_ID_FIELD_NUMBER = 7; - private volatile java.lang.Object nodeInstanceId_; - - /** - * optional string node_instance_id = 7; - * - * @return Whether the nodeInstanceId field is set. - */ - @java.lang.Override - public boolean hasNodeInstanceId() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional string node_instance_id = 7; - * - * @return The nodeInstanceId. - */ - @java.lang.Override - public java.lang.String getNodeInstanceId() { - java.lang.Object ref = nodeInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - nodeInstanceId_ = s; - } - return s; - } - } - - /** - * optional string node_instance_id = 7; - * - * @return The bytes for nodeInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNodeInstanceIdBytes() { - java.lang.Object ref = nodeInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nodeInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NODE_ID_FIELD_NUMBER = 8; - private long nodeId_; - - /** - * optional int64 node_id = 8; - * - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000040) != 0); - } - - /** - * optional int64 node_id = 8; - * - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } - - public static final int PHASE_ID_FIELD_NUMBER = 9; - private volatile java.lang.Object phaseId_; - - /** - * optional string phase_id = 9; - * - * @return Whether the phaseId field is set. - */ - @java.lang.Override - public boolean hasPhaseId() { - return ((bitField0_ & 0x00000080) != 0); - } - - /** - * optional string phase_id = 9; - * - * @return The phaseId. - */ - @java.lang.Override - public java.lang.String getPhaseId() { - java.lang.Object ref = phaseId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseId_ = s; - } - return s; - } - } - - /** - * optional string phase_id = 9; - * - * @return The bytes for phaseId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPhaseIdBytes() { - java.lang.Object ref = phaseId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - phaseId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PHASE_STATUS_FIELD_NUMBER = 10; - private volatile java.lang.Object phaseStatus_; - - /** - * optional string phase_status = 10; - * - * @return Whether the phaseStatus field is set. - */ - @java.lang.Override - public boolean hasPhaseStatus() { - return ((bitField0_ & 0x00000100) != 0); - } - - /** - * optional string phase_status = 10; - * - * @return The phaseStatus. - */ - @java.lang.Override - public java.lang.String getPhaseStatus() { - java.lang.Object ref = phaseStatus_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseStatus_ = s; - } - return s; - } - } - - /** - * optional string phase_status = 10; - * - * @return The bytes for phaseStatus. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPhaseStatusBytes() { - java.lang.Object ref = phaseStatus_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - phaseStatus_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int START_DATE_FIELD_NUMBER = 11; - private long startDate_; - - /** - * optional int64 start_date = 11; - * - * @return Whether the startDate field is set. - */ - @java.lang.Override - public boolean hasStartDate() { - return ((bitField0_ & 0x00000200) != 0); - } - - /** - * optional int64 start_date = 11; - * - * @return The startDate. - */ - @java.lang.Override - public long getStartDate() { - return startDate_; - } - - public static final int COMPLETE_DATE_FIELD_NUMBER = 12; - private long completeDate_; - - /** - * optional int64 complete_date = 12; - * - * @return Whether the completeDate field is set. - */ - @java.lang.Override - public boolean hasCompleteDate() { - return ((bitField0_ & 0x00000400) != 0); - } - - /** - * optional int64 complete_date = 12; - * - * @return The completeDate. - */ - @java.lang.Override - public long getCompleteDate() { - return completeDate_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, processInstancesId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeInt32(4, state_); - } - for (int i = 0; i < variable_.size(); i++) { - output.writeMessage(5, variable_.get(i)); - } - if (((bitField0_ & 0x00000010) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, deploymentId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, nodeInstanceId_); - } - if (((bitField0_ & 0x00000040) != 0)) { - output.writeInt64(8, nodeId_); - } - if (((bitField0_ & 0x00000080) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, phaseId_); - } - if (((bitField0_ & 0x00000100) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, phaseStatus_); - } - if (((bitField0_ & 0x00000200) != 0)) { - output.writeInt64(11, startDate_); - } - if (((bitField0_ & 0x00000400) != 0)) { - output.writeInt64(12, completeDate_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, processInstancesId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, state_); - } - for (int i = 0; i < variable_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, variable_.get(i)); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, deploymentId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, nodeInstanceId_); - } - if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, nodeId_); - } - if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, phaseId_); - } - if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, phaseStatus_); - } - if (((bitField0_ & 0x00000200) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, startDate_); - } - if (((bitField0_ & 0x00000400) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, completeDate_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem) obj; - - if (hasId() != other.hasId()) - return false; - if (hasId()) { - if (!getId().equals(other.getId())) - return false; - } - if (hasProcessInstancesId() != other.hasProcessInstancesId()) - return false; - if (hasProcessInstancesId()) { - if (!getProcessInstancesId().equals(other.getProcessInstancesId())) - return false; - } - if (hasName() != other.hasName()) - return false; - if (hasName()) { - if (!getName().equals(other.getName())) - return false; - } - if (hasState() != other.hasState()) - return false; - if (hasState()) { - if (getState() != other.getState()) - return false; - } - if (!getVariableList().equals(other.getVariableList())) - return false; - if (hasDeploymentId() != other.hasDeploymentId()) - return false; - if (hasDeploymentId()) { - if (!getDeploymentId().equals(other.getDeploymentId())) - return false; - } - if (hasNodeInstanceId() != other.hasNodeInstanceId()) - return false; - if (hasNodeInstanceId()) { - if (!getNodeInstanceId().equals(other.getNodeInstanceId())) - return false; - } - if (hasNodeId() != other.hasNodeId()) - return false; - if (hasNodeId()) { - if (getNodeId() != other.getNodeId()) - return false; - } - if (hasPhaseId() != other.hasPhaseId()) - return false; - if (hasPhaseId()) { - if (!getPhaseId().equals(other.getPhaseId())) - return false; - } - if (hasPhaseStatus() != other.hasPhaseStatus()) - return false; - if (hasPhaseStatus()) { - if (!getPhaseStatus().equals(other.getPhaseStatus())) - return false; - } - if (hasStartDate() != other.hasStartDate()) - return false; - if (hasStartDate()) { - if (getStartDate() != other.getStartDate()) - return false; - } - if (hasCompleteDate() != other.hasCompleteDate()) - return false; - if (hasCompleteDate()) { - if (getCompleteDate() != other.getCompleteDate()) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasProcessInstancesId()) { - hash = (37 * hash) + PROCESS_INSTANCES_ID_FIELD_NUMBER; - hash = (53 * hash) + getProcessInstancesId().hashCode(); - } - if (hasName()) { - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - } - if (hasState()) { - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + getState(); - } - if (getVariableCount() > 0) { - hash = (37 * hash) + VARIABLE_FIELD_NUMBER; - hash = (53 * hash) + getVariableList().hashCode(); - } - if (hasDeploymentId()) { - hash = (37 * hash) + DEPLOYMENT_ID_FIELD_NUMBER; - hash = (53 * hash) + getDeploymentId().hashCode(); - } - if (hasNodeInstanceId()) { - hash = (37 * hash) + NODE_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getNodeInstanceId().hashCode(); - } - if (hasNodeId()) { - hash = (37 * hash) + NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNodeId()); - } - if (hasPhaseId()) { - hash = (37 * hash) + PHASE_ID_FIELD_NUMBER; - hash = (53 * hash) + getPhaseId().hashCode(); - } - if (hasPhaseStatus()) { - hash = (37 * hash) + PHASE_STATUS_FIELD_NUMBER; - hash = (53 * hash) + getPhaseStatus().hashCode(); - } - if (hasStartDate()) { - hash = (37 * hash) + START_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartDate()); - } - if (hasCompleteDate()) { - hash = (37 * hash) + COMPLETE_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCompleteDate()); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem parseFrom( - com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.WorkItem} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.WorkItem) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_WorkItem_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_WorkItem_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.Builder.class); - } - - // Construct using org.jbpm.marshalling.impl.JBPMMessages.WorkItem.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getVariableFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - processInstancesId_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - name_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - state_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - variableBuilder_.clear(); - } - deploymentId_ = ""; - bitField0_ = (bitField0_ & ~0x00000020); - nodeInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000040); - nodeId_ = 0L; - bitField0_ = (bitField0_ & ~0x00000080); - phaseId_ = ""; - bitField0_ = (bitField0_ & ~0x00000100); - phaseStatus_ = ""; - bitField0_ = (bitField0_ & ~0x00000200); - startDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000400); - completeDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000800); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_WorkItem_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.id_ = id_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.processInstancesId_ = processInstancesId_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.name_ = name_; - if (((from_bitField0_ & 0x00000008) != 0)) { - result.state_ = state_; - to_bitField0_ |= 0x00000008; - } - if (variableBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.variable_ = variable_; - } else { - result.variable_ = variableBuilder_.build(); - } - if (((from_bitField0_ & 0x00000020) != 0)) { - to_bitField0_ |= 0x00000010; - } - result.deploymentId_ = deploymentId_; - if (((from_bitField0_ & 0x00000040) != 0)) { - to_bitField0_ |= 0x00000020; - } - result.nodeInstanceId_ = nodeInstanceId_; - if (((from_bitField0_ & 0x00000080) != 0)) { - result.nodeId_ = nodeId_; - to_bitField0_ |= 0x00000040; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - to_bitField0_ |= 0x00000080; - } - result.phaseId_ = phaseId_; - if (((from_bitField0_ & 0x00000200) != 0)) { - to_bitField0_ |= 0x00000100; - } - result.phaseStatus_ = phaseStatus_; - if (((from_bitField0_ & 0x00000400) != 0)) { - result.startDate_ = startDate_; - to_bitField0_ |= 0x00000200; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.completeDate_ = completeDate_; - to_bitField0_ |= 0x00000400; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.getDefaultInstance()) - return this; - if (other.hasId()) { - bitField0_ |= 0x00000001; - id_ = other.id_; - onChanged(); - } - if (other.hasProcessInstancesId()) { - bitField0_ |= 0x00000002; - processInstancesId_ = other.processInstancesId_; - onChanged(); - } - if (other.hasName()) { - bitField0_ |= 0x00000004; - name_ = other.name_; - onChanged(); - } - if (other.hasState()) { - setState(other.getState()); - } - if (variableBuilder_ == null) { - if (!other.variable_.isEmpty()) { - if (variable_.isEmpty()) { - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureVariableIsMutable(); - variable_.addAll(other.variable_); - } - onChanged(); - } - } else { - if (!other.variable_.isEmpty()) { - if (variableBuilder_.isEmpty()) { - variableBuilder_.dispose(); - variableBuilder_ = null; - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000010); - variableBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVariableFieldBuilder() - : null; - } else { - variableBuilder_.addAllMessages(other.variable_); - } - } - } - if (other.hasDeploymentId()) { - bitField0_ |= 0x00000020; - deploymentId_ = other.deploymentId_; - onChanged(); - } - if (other.hasNodeInstanceId()) { - bitField0_ |= 0x00000040; - nodeInstanceId_ = other.nodeInstanceId_; - onChanged(); - } - if (other.hasNodeId()) { - setNodeId(other.getNodeId()); - } - if (other.hasPhaseId()) { - bitField0_ |= 0x00000100; - phaseId_ = other.phaseId_; - onChanged(); - } - if (other.hasPhaseStatus()) { - bitField0_ |= 0x00000200; - phaseStatus_ = other.phaseStatus_; - onChanged(); - } - if (other.hasStartDate()) { - setStartDate(other.getStartDate()); - } - if (other.hasCompleteDate()) { - setCompleteDate(other.getCompleteDate()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object id_ = ""; - - /** - * optional string id = 1; - * - * @return Whether the id field is set. - */ - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string id = 1; - * - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string id = 1; - * - * @return The bytes for id. - */ - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string id = 1; - * - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - - /** - * optional string id = 1; - * - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - - /** - * optional string id = 1; - * - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - - private java.lang.Object processInstancesId_ = ""; - - /** - * optional string process_instances_id = 2; - * - * @return Whether the processInstancesId field is set. - */ - public boolean hasProcessInstancesId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string process_instances_id = 2; - * - * @return The processInstancesId. - */ - public java.lang.String getProcessInstancesId() { - java.lang.Object ref = processInstancesId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstancesId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string process_instances_id = 2; - * - * @return The bytes for processInstancesId. - */ - public com.google.protobuf.ByteString getProcessInstancesIdBytes() { - java.lang.Object ref = processInstancesId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - processInstancesId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string process_instances_id = 2; - * - * @param value The processInstancesId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstancesId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - processInstancesId_ = value; - onChanged(); - return this; - } - - /** - * optional string process_instances_id = 2; - * - * @return This builder for chaining. - */ - public Builder clearProcessInstancesId() { - bitField0_ = (bitField0_ & ~0x00000002); - processInstancesId_ = getDefaultInstance().getProcessInstancesId(); - onChanged(); - return this; - } - - /** - * optional string process_instances_id = 2; - * - * @param value The bytes for processInstancesId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstancesIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - processInstancesId_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - - /** - * optional string name = 3; - * - * @return Whether the name field is set. - */ - public boolean hasName() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional string name = 3; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string name = 3; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string name = 3; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - name_ = value; - onChanged(); - return this; - } - - /** - * optional string name = 3; - * - * @return This builder for chaining. - */ - public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000004); - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - - /** - * optional string name = 3; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - name_ = value; - onChanged(); - return this; - } - - private int state_; - - /** - * optional int32 state = 4; - * - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int32 state = 4; - * - * @return The state. - */ - @java.lang.Override - public int getState() { - return state_; - } - - /** - * optional int32 state = 4; - * - * @param value The state to set. - * @return This builder for chaining. - */ - public Builder setState(int value) { - bitField0_ |= 0x00000008; - state_ = value; - onChanged(); - return this; - } - - /** - * optional int32 state = 4; - * - * @return This builder for chaining. - */ - public Builder clearState() { - bitField0_ = (bitField0_ & ~0x00000008); - state_ = 0; - onChanged(); - return this; - } - - private java.util.List variable_ = java.util.Collections - .emptyList(); - - private void ensureVariableIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - variable_ = new java.util.ArrayList( - variable_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 variableBuilder_; - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public java.util.List getVariableList() { - if (variableBuilder_ == null) { - return java.util.Collections.unmodifiableList(variable_); - } else { - return variableBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public int getVariableCount() { - if (variableBuilder_ == null) { - return variable_.size(); - } else { - return variableBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder setVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.set(index, value); - onChanged(); - } else { - variableBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder setVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.set(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(value); - onChanged(); - } else { - variableBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder addVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(index, value); - onChanged(); - } else { - variableBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder addVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder addAllVariable( - java.lang.Iterable values) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, variable_); - onChanged(); - } else { - variableBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder clearVariable() { - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - variableBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder removeVariable(int index) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.remove(index); - onChanged(); - } else { - variableBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder getVariableBuilder( - int index) { - return getVariableFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public java.util.List getVariableOrBuilderList() { - if (variableBuilder_ != null) { - return variableBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variable_); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder addVariableBuilder() { - return getVariableFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder addVariableBuilder( - int index) { - return getVariableFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public java.util.List getVariableBuilderList() { - return getVariableFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getVariableFieldBuilder() { - if (variableBuilder_ == null) { - variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - variable_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); - variable_ = null; - } - return variableBuilder_; - } - - private java.lang.Object deploymentId_ = ""; - - /** - * optional string deployment_id = 6; - * - * @return Whether the deploymentId field is set. - */ - public boolean hasDeploymentId() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional string deployment_id = 6; - * - * @return The deploymentId. - */ - public java.lang.String getDeploymentId() { - java.lang.Object ref = deploymentId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - deploymentId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string deployment_id = 6; - * - * @return The bytes for deploymentId. - */ - public com.google.protobuf.ByteString getDeploymentIdBytes() { - java.lang.Object ref = deploymentId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - deploymentId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string deployment_id = 6; - * - * @param value The deploymentId to set. - * @return This builder for chaining. - */ - public Builder setDeploymentId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; - deploymentId_ = value; - onChanged(); - return this; - } - - /** - * optional string deployment_id = 6; - * - * @return This builder for chaining. - */ - public Builder clearDeploymentId() { - bitField0_ = (bitField0_ & ~0x00000020); - deploymentId_ = getDefaultInstance().getDeploymentId(); - onChanged(); - return this; - } - - /** - * optional string deployment_id = 6; - * - * @param value The bytes for deploymentId to set. - * @return This builder for chaining. - */ - public Builder setDeploymentIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; - deploymentId_ = value; - onChanged(); - return this; - } - - private java.lang.Object nodeInstanceId_ = ""; - - /** - * optional string node_instance_id = 7; - * - * @return Whether the nodeInstanceId field is set. - */ - public boolean hasNodeInstanceId() { - return ((bitField0_ & 0x00000040) != 0); - } - - /** - * optional string node_instance_id = 7; - * - * @return The nodeInstanceId. - */ - public java.lang.String getNodeInstanceId() { - java.lang.Object ref = nodeInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - nodeInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string node_instance_id = 7; - * - * @return The bytes for nodeInstanceId. - */ - public com.google.protobuf.ByteString getNodeInstanceIdBytes() { - java.lang.Object ref = nodeInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - nodeInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string node_instance_id = 7; - * - * @param value The nodeInstanceId to set. - * @return This builder for chaining. - */ - public Builder setNodeInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; - nodeInstanceId_ = value; - onChanged(); - return this; - } - - /** - * optional string node_instance_id = 7; - * - * @return This builder for chaining. - */ - public Builder clearNodeInstanceId() { - bitField0_ = (bitField0_ & ~0x00000040); - nodeInstanceId_ = getDefaultInstance().getNodeInstanceId(); - onChanged(); - return this; - } - - /** - * optional string node_instance_id = 7; - * - * @param value The bytes for nodeInstanceId to set. - * @return This builder for chaining. - */ - public Builder setNodeInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; - nodeInstanceId_ = value; - onChanged(); - return this; - } - - private long nodeId_; - - /** - * optional int64 node_id = 8; - * - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000080) != 0); - } - - /** - * optional int64 node_id = 8; - * - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } - - /** - * optional int64 node_id = 8; - * - * @param value The nodeId to set. - * @return This builder for chaining. - */ - public Builder setNodeId(long value) { - bitField0_ |= 0x00000080; - nodeId_ = value; - onChanged(); - return this; - } - - /** - * optional int64 node_id = 8; - * - * @return This builder for chaining. - */ - public Builder clearNodeId() { - bitField0_ = (bitField0_ & ~0x00000080); - nodeId_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object phaseId_ = ""; - - /** - * optional string phase_id = 9; - * - * @return Whether the phaseId field is set. - */ - public boolean hasPhaseId() { - return ((bitField0_ & 0x00000100) != 0); - } - - /** - * optional string phase_id = 9; - * - * @return The phaseId. - */ - public java.lang.String getPhaseId() { - java.lang.Object ref = phaseId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string phase_id = 9; - * - * @return The bytes for phaseId. - */ - public com.google.protobuf.ByteString getPhaseIdBytes() { - java.lang.Object ref = phaseId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - phaseId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string phase_id = 9; - * - * @param value The phaseId to set. - * @return This builder for chaining. - */ - public Builder setPhaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; - phaseId_ = value; - onChanged(); - return this; - } - - /** - * optional string phase_id = 9; - * - * @return This builder for chaining. - */ - public Builder clearPhaseId() { - bitField0_ = (bitField0_ & ~0x00000100); - phaseId_ = getDefaultInstance().getPhaseId(); - onChanged(); - return this; - } - - /** - * optional string phase_id = 9; - * - * @param value The bytes for phaseId to set. - * @return This builder for chaining. - */ - public Builder setPhaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; - phaseId_ = value; - onChanged(); - return this; - } - - private java.lang.Object phaseStatus_ = ""; - - /** - * optional string phase_status = 10; - * - * @return Whether the phaseStatus field is set. - */ - public boolean hasPhaseStatus() { - return ((bitField0_ & 0x00000200) != 0); - } - - /** - * optional string phase_status = 10; - * - * @return The phaseStatus. - */ - public java.lang.String getPhaseStatus() { - java.lang.Object ref = phaseStatus_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseStatus_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string phase_status = 10; - * - * @return The bytes for phaseStatus. - */ - public com.google.protobuf.ByteString getPhaseStatusBytes() { - java.lang.Object ref = phaseStatus_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - phaseStatus_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string phase_status = 10; - * - * @param value The phaseStatus to set. - * @return This builder for chaining. - */ - public Builder setPhaseStatus(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; - phaseStatus_ = value; - onChanged(); - return this; - } - - /** - * optional string phase_status = 10; - * - * @return This builder for chaining. - */ - public Builder clearPhaseStatus() { - bitField0_ = (bitField0_ & ~0x00000200); - phaseStatus_ = getDefaultInstance().getPhaseStatus(); - onChanged(); - return this; - } - - /** - * optional string phase_status = 10; - * - * @param value The bytes for phaseStatus to set. - * @return This builder for chaining. - */ - public Builder setPhaseStatusBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; - phaseStatus_ = value; - onChanged(); - return this; - } - - private long startDate_; - - /** - * optional int64 start_date = 11; - * - * @return Whether the startDate field is set. - */ - @java.lang.Override - public boolean hasStartDate() { - return ((bitField0_ & 0x00000400) != 0); - } - - /** - * optional int64 start_date = 11; - * - * @return The startDate. - */ - @java.lang.Override - public long getStartDate() { - return startDate_; - } - - /** - * optional int64 start_date = 11; - * - * @param value The startDate to set. - * @return This builder for chaining. - */ - public Builder setStartDate(long value) { - bitField0_ |= 0x00000400; - startDate_ = value; - onChanged(); - return this; - } - - /** - * optional int64 start_date = 11; - * - * @return This builder for chaining. - */ - public Builder clearStartDate() { - bitField0_ = (bitField0_ & ~0x00000400); - startDate_ = 0L; - onChanged(); - return this; - } - - private long completeDate_; - - /** - * optional int64 complete_date = 12; - * - * @return Whether the completeDate field is set. - */ - @java.lang.Override - public boolean hasCompleteDate() { - return ((bitField0_ & 0x00000800) != 0); - } - - /** - * optional int64 complete_date = 12; - * - * @return The completeDate. - */ - @java.lang.Override - public long getCompleteDate() { - return completeDate_; - } - - /** - * optional int64 complete_date = 12; - * - * @param value The completeDate to set. - * @return This builder for chaining. - */ - public Builder setCompleteDate(long value) { - bitField0_ |= 0x00000800; - completeDate_ = value; - onChanged(); - return this; - } - - /** - * optional int64 complete_date = 12; - * - * @return This builder for chaining. - */ - public Builder clearCompleteDate() { - bitField0_ = (bitField0_ & ~0x00000800); - completeDate_ = 0L; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.WorkItem) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.WorkItem) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkItem parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkItem(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface HumanTaskWorkItemOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.HumanTaskWorkItem) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string id = 1; - * - * @return Whether the id field is set. - */ - boolean hasId(); - - /** - * optional string id = 1; - * - * @return The id. - */ - java.lang.String getId(); - - /** - * optional string id = 1; - * - * @return The bytes for id. - */ - com.google.protobuf.ByteString getIdBytes(); - - /** - * optional string process_instances_id = 2; - * - * @return Whether the processInstancesId field is set. - */ - boolean hasProcessInstancesId(); - - /** - * optional string process_instances_id = 2; - * - * @return The processInstancesId. - */ - java.lang.String getProcessInstancesId(); - - /** - * optional string process_instances_id = 2; - * - * @return The bytes for processInstancesId. - */ - com.google.protobuf.ByteString getProcessInstancesIdBytes(); - - /** - * optional string name = 3; - * - * @return Whether the name field is set. - */ - boolean hasName(); - - /** - * optional string name = 3; - * - * @return The name. - */ - java.lang.String getName(); - - /** - * optional string name = 3; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * optional int32 state = 4; - * - * @return Whether the state field is set. - */ - boolean hasState(); - - /** - * optional int32 state = 4; - * - * @return The state. - */ - int getState(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - java.util.List getVariableList(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - int getVariableCount(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - java.util.List getVariableOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder(int index); - - /** - * optional string deployment_id = 6; - * - * @return Whether the deploymentId field is set. - */ - boolean hasDeploymentId(); - - /** - * optional string deployment_id = 6; - * - * @return The deploymentId. - */ - java.lang.String getDeploymentId(); - - /** - * optional string deployment_id = 6; - * - * @return The bytes for deploymentId. - */ - com.google.protobuf.ByteString getDeploymentIdBytes(); - - /** - * optional string node_instance_id = 7; - * - * @return Whether the nodeInstanceId field is set. - */ - boolean hasNodeInstanceId(); - - /** - * optional string node_instance_id = 7; - * - * @return The nodeInstanceId. - */ - java.lang.String getNodeInstanceId(); - - /** - * optional string node_instance_id = 7; - * - * @return The bytes for nodeInstanceId. - */ - com.google.protobuf.ByteString getNodeInstanceIdBytes(); - - /** - * optional int64 node_id = 8; - * - * @return Whether the nodeId field is set. - */ - boolean hasNodeId(); - - /** - * optional int64 node_id = 8; - * - * @return The nodeId. - */ - long getNodeId(); - - /** - * optional string phase_id = 9; - * - * @return Whether the phaseId field is set. - */ - boolean hasPhaseId(); - - /** - * optional string phase_id = 9; - * - * @return The phaseId. - */ - java.lang.String getPhaseId(); - - /** - * optional string phase_id = 9; - * - * @return The bytes for phaseId. - */ - com.google.protobuf.ByteString getPhaseIdBytes(); - - /** - * optional string phase_status = 10; - * - * @return Whether the phaseStatus field is set. - */ - boolean hasPhaseStatus(); - - /** - * optional string phase_status = 10; - * - * @return The phaseStatus. - */ - java.lang.String getPhaseStatus(); - - /** - * optional string phase_status = 10; - * - * @return The bytes for phaseStatus. - */ - com.google.protobuf.ByteString getPhaseStatusBytes(); - - /** - * optional int64 start_date = 11; - * - * @return Whether the startDate field is set. - */ - boolean hasStartDate(); - - /** - * optional int64 start_date = 11; - * - * @return The startDate. - */ - long getStartDate(); - - /** - * optional int64 complete_date = 12; - * - * @return Whether the completeDate field is set. - */ - boolean hasCompleteDate(); - - /** - * optional int64 complete_date = 12; - * - * @return The completeDate. - */ - long getCompleteDate(); - - /** - * optional string task_name = 13; - * - * @return Whether the taskName field is set. - */ - boolean hasTaskName(); - - /** - * optional string task_name = 13; - * - * @return The taskName. - */ - java.lang.String getTaskName(); - - /** - * optional string task_name = 13; - * - * @return The bytes for taskName. - */ - com.google.protobuf.ByteString getTaskNameBytes(); - - /** - * optional string task_description = 14; - * - * @return Whether the taskDescription field is set. - */ - boolean hasTaskDescription(); - - /** - * optional string task_description = 14; - * - * @return The taskDescription. - */ - java.lang.String getTaskDescription(); - - /** - * optional string task_description = 14; - * - * @return The bytes for taskDescription. - */ - com.google.protobuf.ByteString getTaskDescriptionBytes(); - - /** - * optional string task_priority = 15; - * - * @return Whether the taskPriority field is set. - */ - boolean hasTaskPriority(); - - /** - * optional string task_priority = 15; - * - * @return The taskPriority. - */ - java.lang.String getTaskPriority(); - - /** - * optional string task_priority = 15; - * - * @return The bytes for taskPriority. - */ - com.google.protobuf.ByteString getTaskPriorityBytes(); - - /** - * optional string actual_owner = 16; - * - * @return Whether the actualOwner field is set. - */ - boolean hasActualOwner(); - - /** - * optional string actual_owner = 16; - * - * @return The actualOwner. - */ - java.lang.String getActualOwner(); - - /** - * optional string actual_owner = 16; - * - * @return The bytes for actualOwner. - */ - com.google.protobuf.ByteString getActualOwnerBytes(); - - /** - * repeated string pot_users = 17; - * - * @return A list containing the potUsers. - */ - java.util.List getPotUsersList(); - - /** - * repeated string pot_users = 17; - * - * @return The count of potUsers. - */ - int getPotUsersCount(); - - /** - * repeated string pot_users = 17; - * - * @param index The index of the element to return. - * @return The potUsers at the given index. - */ - java.lang.String getPotUsers(int index); - - /** - * repeated string pot_users = 17; - * - * @param index The index of the value to return. - * @return The bytes of the potUsers at the given index. - */ - com.google.protobuf.ByteString getPotUsersBytes(int index); - - /** - * repeated string pot_groups = 18; - * - * @return A list containing the potGroups. - */ - java.util.List getPotGroupsList(); - - /** - * repeated string pot_groups = 18; - * - * @return The count of potGroups. - */ - int getPotGroupsCount(); - - /** - * repeated string pot_groups = 18; - * - * @param index The index of the element to return. - * @return The potGroups at the given index. - */ - java.lang.String getPotGroups(int index); - - /** - * repeated string pot_groups = 18; - * - * @param index The index of the value to return. - * @return The bytes of the potGroups at the given index. - */ - com.google.protobuf.ByteString getPotGroupsBytes(int index); - - /** - * repeated string excluded_users = 19; - * - * @return A list containing the excludedUsers. - */ - java.util.List getExcludedUsersList(); - - /** - * repeated string excluded_users = 19; - * - * @return The count of excludedUsers. - */ - int getExcludedUsersCount(); - - /** - * repeated string excluded_users = 19; - * - * @param index The index of the element to return. - * @return The excludedUsers at the given index. - */ - java.lang.String getExcludedUsers(int index); - - /** - * repeated string excluded_users = 19; - * - * @param index The index of the value to return. - * @return The bytes of the excludedUsers at the given index. - */ - com.google.protobuf.ByteString getExcludedUsersBytes(int index); - - /** - * repeated string admin_users = 20; - * - * @return A list containing the adminUsers. - */ - java.util.List getAdminUsersList(); - - /** - * repeated string admin_users = 20; - * - * @return The count of adminUsers. - */ - int getAdminUsersCount(); - - /** - * repeated string admin_users = 20; - * - * @param index The index of the element to return. - * @return The adminUsers at the given index. - */ - java.lang.String getAdminUsers(int index); - - /** - * repeated string admin_users = 20; - * - * @param index The index of the value to return. - * @return The bytes of the adminUsers at the given index. - */ - com.google.protobuf.ByteString getAdminUsersBytes(int index); - - /** - * repeated string admin_groups = 21; - * - * @return A list containing the adminGroups. - */ - java.util.List getAdminGroupsList(); - - /** - * repeated string admin_groups = 21; - * - * @return The count of adminGroups. - */ - int getAdminGroupsCount(); - - /** - * repeated string admin_groups = 21; - * - * @param index The index of the element to return. - * @return The adminGroups at the given index. - */ - java.lang.String getAdminGroups(int index); - - /** - * repeated string admin_groups = 21; - * - * @param index The index of the value to return. - * @return The bytes of the adminGroups at the given index. - */ - com.google.protobuf.ByteString getAdminGroupsBytes(int index); - - /** - * optional string task_reference_name = 22; - * - * @return Whether the taskReferenceName field is set. - */ - boolean hasTaskReferenceName(); - - /** - * optional string task_reference_name = 22; - * - * @return The taskReferenceName. - */ - java.lang.String getTaskReferenceName(); - - /** - * optional string task_reference_name = 22; - * - * @return The bytes for taskReferenceName. - */ - com.google.protobuf.ByteString getTaskReferenceNameBytes(); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.HumanTaskWorkItem} - */ - public static final class HumanTaskWorkItem extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.HumanTaskWorkItem) - HumanTaskWorkItemOrBuilder { - private static final long serialVersionUID = 0L; - - // Use HumanTaskWorkItem.newBuilder() to construct. - private HumanTaskWorkItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private HumanTaskWorkItem() { - id_ = ""; - processInstancesId_ = ""; - name_ = ""; - variable_ = java.util.Collections.emptyList(); - deploymentId_ = ""; - nodeInstanceId_ = ""; - phaseId_ = ""; - phaseStatus_ = ""; - taskName_ = ""; - taskDescription_ = ""; - taskPriority_ = ""; - actualOwner_ = ""; - potUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - potGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - excludedUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - adminUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - adminGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - taskReferenceName_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new HumanTaskWorkItem(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private HumanTaskWorkItem(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - id_ = bs; - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - processInstancesId_ = bs; - break; - } - case 26: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000004; - name_ = bs; - break; - } - case 32: { - bitField0_ |= 0x00000008; - state_ = input.readInt32(); - break; - } - case 42: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - variable_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; - } - variable_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.PARSER, - extensionRegistry)); - break; - } - case 50: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000010; - deploymentId_ = bs; - break; - } - case 58: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000020; - nodeInstanceId_ = bs; - break; - } - case 64: { - bitField0_ |= 0x00000040; - nodeId_ = input.readInt64(); - break; - } - case 74: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000080; - phaseId_ = bs; - break; - } - case 82: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000100; - phaseStatus_ = bs; - break; - } - case 88: { - bitField0_ |= 0x00000200; - startDate_ = input.readInt64(); - break; - } - case 96: { - bitField0_ |= 0x00000400; - completeDate_ = input.readInt64(); - break; - } - case 106: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000800; - taskName_ = bs; - break; - } - case 114: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00001000; - taskDescription_ = bs; - break; - } - case 122: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00002000; - taskPriority_ = bs; - break; - } - case 130: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00004000; - actualOwner_ = bs; - break; - } - case 138: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00010000) != 0)) { - potUsers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00010000; - } - potUsers_.add(bs); - break; - } - case 146: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00020000) != 0)) { - potGroups_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00020000; - } - potGroups_.add(bs); - break; - } - case 154: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00040000) != 0)) { - excludedUsers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00040000; - } - excludedUsers_.add(bs); - break; - } - case 162: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00080000) != 0)) { - adminUsers_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00080000; - } - adminUsers_.add(bs); - break; - } - case 170: { - com.google.protobuf.ByteString bs = input.readBytes(); - if (!((mutable_bitField0_ & 0x00100000) != 0)) { - adminGroups_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00100000; - } - adminGroups_.add(bs); - break; - } - case 178: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00008000; - taskReferenceName_ = bs; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000010) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - } - if (((mutable_bitField0_ & 0x00010000) != 0)) { - potUsers_ = potUsers_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00020000) != 0)) { - potGroups_ = potGroups_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00040000) != 0)) { - excludedUsers_ = excludedUsers_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00080000) != 0)) { - adminUsers_ = adminUsers_.getUnmodifiableView(); - } - if (((mutable_bitField0_ & 0x00100000) != 0)) { - adminGroups_ = adminGroups_.getUnmodifiableView(); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_HumanTaskWorkItem_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_HumanTaskWorkItem_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - - /** - * optional string id = 1; - * - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string id = 1; - * - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } - } - - /** - * optional string id = 1; - * - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PROCESS_INSTANCES_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object processInstancesId_; - - /** - * optional string process_instances_id = 2; - * - * @return Whether the processInstancesId field is set. - */ - @java.lang.Override - public boolean hasProcessInstancesId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string process_instances_id = 2; - * - * @return The processInstancesId. - */ - @java.lang.Override - public java.lang.String getProcessInstancesId() { - java.lang.Object ref = processInstancesId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstancesId_ = s; - } - return s; - } - } - - /** - * optional string process_instances_id = 2; - * - * @return The bytes for processInstancesId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getProcessInstancesIdBytes() { - java.lang.Object ref = processInstancesId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - processInstancesId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NAME_FIELD_NUMBER = 3; - private volatile java.lang.Object name_; - - /** - * optional string name = 3; - * - * @return Whether the name field is set. - */ - @java.lang.Override - public boolean hasName() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional string name = 3; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } - } - - /** - * optional string name = 3; - * - * @return The bytes for name. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int STATE_FIELD_NUMBER = 4; - private int state_; - - /** - * optional int32 state = 4; - * - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int32 state = 4; - * - * @return The state. - */ - @java.lang.Override - public int getState() { - return state_; - } - - public static final int VARIABLE_FIELD_NUMBER = 5; - private java.util.List variable_; - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - @java.lang.Override - public java.util.List getVariableList() { - return variable_; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - @java.lang.Override - public java.util.List getVariableOrBuilderList() { - return variable_; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - @java.lang.Override - public int getVariableCount() { - return variable_.size(); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index) { - return variable_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - return variable_.get(index); - } - - public static final int DEPLOYMENT_ID_FIELD_NUMBER = 6; - private volatile java.lang.Object deploymentId_; - - /** - * optional string deployment_id = 6; - * - * @return Whether the deploymentId field is set. - */ - @java.lang.Override - public boolean hasDeploymentId() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional string deployment_id = 6; - * - * @return The deploymentId. - */ - @java.lang.Override - public java.lang.String getDeploymentId() { - java.lang.Object ref = deploymentId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - deploymentId_ = s; - } - return s; - } - } - - /** - * optional string deployment_id = 6; - * - * @return The bytes for deploymentId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getDeploymentIdBytes() { - java.lang.Object ref = deploymentId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - deploymentId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NODE_INSTANCE_ID_FIELD_NUMBER = 7; - private volatile java.lang.Object nodeInstanceId_; - - /** - * optional string node_instance_id = 7; - * - * @return Whether the nodeInstanceId field is set. - */ - @java.lang.Override - public boolean hasNodeInstanceId() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional string node_instance_id = 7; - * - * @return The nodeInstanceId. - */ - @java.lang.Override - public java.lang.String getNodeInstanceId() { - java.lang.Object ref = nodeInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - nodeInstanceId_ = s; - } - return s; - } - } - - /** - * optional string node_instance_id = 7; - * - * @return The bytes for nodeInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getNodeInstanceIdBytes() { - java.lang.Object ref = nodeInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - nodeInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int NODE_ID_FIELD_NUMBER = 8; - private long nodeId_; - - /** - * optional int64 node_id = 8; - * - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000040) != 0); - } - - /** - * optional int64 node_id = 8; - * - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } - - public static final int PHASE_ID_FIELD_NUMBER = 9; - private volatile java.lang.Object phaseId_; - - /** - * optional string phase_id = 9; - * - * @return Whether the phaseId field is set. - */ - @java.lang.Override - public boolean hasPhaseId() { - return ((bitField0_ & 0x00000080) != 0); - } - - /** - * optional string phase_id = 9; - * - * @return The phaseId. - */ - @java.lang.Override - public java.lang.String getPhaseId() { - java.lang.Object ref = phaseId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseId_ = s; - } - return s; - } - } - - /** - * optional string phase_id = 9; - * - * @return The bytes for phaseId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPhaseIdBytes() { - java.lang.Object ref = phaseId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - phaseId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PHASE_STATUS_FIELD_NUMBER = 10; - private volatile java.lang.Object phaseStatus_; - - /** - * optional string phase_status = 10; - * - * @return Whether the phaseStatus field is set. - */ - @java.lang.Override - public boolean hasPhaseStatus() { - return ((bitField0_ & 0x00000100) != 0); - } - - /** - * optional string phase_status = 10; - * - * @return The phaseStatus. - */ - @java.lang.Override - public java.lang.String getPhaseStatus() { - java.lang.Object ref = phaseStatus_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseStatus_ = s; - } - return s; - } - } - - /** - * optional string phase_status = 10; - * - * @return The bytes for phaseStatus. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPhaseStatusBytes() { - java.lang.Object ref = phaseStatus_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - phaseStatus_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int START_DATE_FIELD_NUMBER = 11; - private long startDate_; - - /** - * optional int64 start_date = 11; - * - * @return Whether the startDate field is set. - */ - @java.lang.Override - public boolean hasStartDate() { - return ((bitField0_ & 0x00000200) != 0); - } - - /** - * optional int64 start_date = 11; - * - * @return The startDate. - */ - @java.lang.Override - public long getStartDate() { - return startDate_; - } - - public static final int COMPLETE_DATE_FIELD_NUMBER = 12; - private long completeDate_; - - /** - * optional int64 complete_date = 12; - * - * @return Whether the completeDate field is set. - */ - @java.lang.Override - public boolean hasCompleteDate() { - return ((bitField0_ & 0x00000400) != 0); - } - - /** - * optional int64 complete_date = 12; - * - * @return The completeDate. - */ - @java.lang.Override - public long getCompleteDate() { - return completeDate_; - } - - public static final int TASK_NAME_FIELD_NUMBER = 13; - private volatile java.lang.Object taskName_; - - /** - * optional string task_name = 13; - * - * @return Whether the taskName field is set. - */ - @java.lang.Override - public boolean hasTaskName() { - return ((bitField0_ & 0x00000800) != 0); - } - - /** - * optional string task_name = 13; - * - * @return The taskName. - */ - @java.lang.Override - public java.lang.String getTaskName() { - java.lang.Object ref = taskName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskName_ = s; - } - return s; - } - } - - /** - * optional string task_name = 13; - * - * @return The bytes for taskName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTaskNameBytes() { - java.lang.Object ref = taskName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - taskName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TASK_DESCRIPTION_FIELD_NUMBER = 14; - private volatile java.lang.Object taskDescription_; - - /** - * optional string task_description = 14; - * - * @return Whether the taskDescription field is set. - */ - @java.lang.Override - public boolean hasTaskDescription() { - return ((bitField0_ & 0x00001000) != 0); - } - - /** - * optional string task_description = 14; - * - * @return The taskDescription. - */ - @java.lang.Override - public java.lang.String getTaskDescription() { - java.lang.Object ref = taskDescription_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskDescription_ = s; - } - return s; - } - } - - /** - * optional string task_description = 14; - * - * @return The bytes for taskDescription. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTaskDescriptionBytes() { - java.lang.Object ref = taskDescription_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - taskDescription_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int TASK_PRIORITY_FIELD_NUMBER = 15; - private volatile java.lang.Object taskPriority_; - - /** - * optional string task_priority = 15; - * - * @return Whether the taskPriority field is set. - */ - @java.lang.Override - public boolean hasTaskPriority() { - return ((bitField0_ & 0x00002000) != 0); - } - - /** - * optional string task_priority = 15; - * - * @return The taskPriority. - */ - @java.lang.Override - public java.lang.String getTaskPriority() { - java.lang.Object ref = taskPriority_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskPriority_ = s; - } - return s; - } - } - - /** - * optional string task_priority = 15; - * - * @return The bytes for taskPriority. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTaskPriorityBytes() { - java.lang.Object ref = taskPriority_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - taskPriority_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ACTUAL_OWNER_FIELD_NUMBER = 16; - private volatile java.lang.Object actualOwner_; - - /** - * optional string actual_owner = 16; - * - * @return Whether the actualOwner field is set. - */ - @java.lang.Override - public boolean hasActualOwner() { - return ((bitField0_ & 0x00004000) != 0); - } - - /** - * optional string actual_owner = 16; - * - * @return The actualOwner. - */ - @java.lang.Override - public java.lang.String getActualOwner() { - java.lang.Object ref = actualOwner_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - actualOwner_ = s; - } - return s; - } - } - - /** - * optional string actual_owner = 16; - * - * @return The bytes for actualOwner. - */ - @java.lang.Override - public com.google.protobuf.ByteString getActualOwnerBytes() { - java.lang.Object ref = actualOwner_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - actualOwner_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int POT_USERS_FIELD_NUMBER = 17; - private com.google.protobuf.LazyStringList potUsers_; - - /** - * repeated string pot_users = 17; - * - * @return A list containing the potUsers. - */ - public com.google.protobuf.ProtocolStringList getPotUsersList() { - return potUsers_; - } - - /** - * repeated string pot_users = 17; - * - * @return The count of potUsers. - */ - public int getPotUsersCount() { - return potUsers_.size(); - } - - /** - * repeated string pot_users = 17; - * - * @param index The index of the element to return. - * @return The potUsers at the given index. - */ - public java.lang.String getPotUsers(int index) { - return potUsers_.get(index); - } - - /** - * repeated string pot_users = 17; - * - * @param index The index of the value to return. - * @return The bytes of the potUsers at the given index. - */ - public com.google.protobuf.ByteString getPotUsersBytes(int index) { - return potUsers_.getByteString(index); - } - - public static final int POT_GROUPS_FIELD_NUMBER = 18; - private com.google.protobuf.LazyStringList potGroups_; - - /** - * repeated string pot_groups = 18; - * - * @return A list containing the potGroups. - */ - public com.google.protobuf.ProtocolStringList getPotGroupsList() { - return potGroups_; - } - - /** - * repeated string pot_groups = 18; - * - * @return The count of potGroups. - */ - public int getPotGroupsCount() { - return potGroups_.size(); - } - - /** - * repeated string pot_groups = 18; - * - * @param index The index of the element to return. - * @return The potGroups at the given index. - */ - public java.lang.String getPotGroups(int index) { - return potGroups_.get(index); - } - - /** - * repeated string pot_groups = 18; - * - * @param index The index of the value to return. - * @return The bytes of the potGroups at the given index. - */ - public com.google.protobuf.ByteString getPotGroupsBytes(int index) { - return potGroups_.getByteString(index); - } - - public static final int EXCLUDED_USERS_FIELD_NUMBER = 19; - private com.google.protobuf.LazyStringList excludedUsers_; - - /** - * repeated string excluded_users = 19; - * - * @return A list containing the excludedUsers. - */ - public com.google.protobuf.ProtocolStringList getExcludedUsersList() { - return excludedUsers_; - } - - /** - * repeated string excluded_users = 19; - * - * @return The count of excludedUsers. - */ - public int getExcludedUsersCount() { - return excludedUsers_.size(); - } - - /** - * repeated string excluded_users = 19; - * - * @param index The index of the element to return. - * @return The excludedUsers at the given index. - */ - public java.lang.String getExcludedUsers(int index) { - return excludedUsers_.get(index); - } - - /** - * repeated string excluded_users = 19; - * - * @param index The index of the value to return. - * @return The bytes of the excludedUsers at the given index. - */ - public com.google.protobuf.ByteString getExcludedUsersBytes(int index) { - return excludedUsers_.getByteString(index); - } - - public static final int ADMIN_USERS_FIELD_NUMBER = 20; - private com.google.protobuf.LazyStringList adminUsers_; - - /** - * repeated string admin_users = 20; - * - * @return A list containing the adminUsers. - */ - public com.google.protobuf.ProtocolStringList getAdminUsersList() { - return adminUsers_; - } - - /** - * repeated string admin_users = 20; - * - * @return The count of adminUsers. - */ - public int getAdminUsersCount() { - return adminUsers_.size(); - } - - /** - * repeated string admin_users = 20; - * - * @param index The index of the element to return. - * @return The adminUsers at the given index. - */ - public java.lang.String getAdminUsers(int index) { - return adminUsers_.get(index); - } - - /** - * repeated string admin_users = 20; - * - * @param index The index of the value to return. - * @return The bytes of the adminUsers at the given index. - */ - public com.google.protobuf.ByteString getAdminUsersBytes(int index) { - return adminUsers_.getByteString(index); - } - - public static final int ADMIN_GROUPS_FIELD_NUMBER = 21; - private com.google.protobuf.LazyStringList adminGroups_; - - /** - * repeated string admin_groups = 21; - * - * @return A list containing the adminGroups. - */ - public com.google.protobuf.ProtocolStringList getAdminGroupsList() { - return adminGroups_; - } - - /** - * repeated string admin_groups = 21; - * - * @return The count of adminGroups. - */ - public int getAdminGroupsCount() { - return adminGroups_.size(); - } - - /** - * repeated string admin_groups = 21; - * - * @param index The index of the element to return. - * @return The adminGroups at the given index. - */ - public java.lang.String getAdminGroups(int index) { - return adminGroups_.get(index); - } - - /** - * repeated string admin_groups = 21; - * - * @param index The index of the value to return. - * @return The bytes of the adminGroups at the given index. - */ - public com.google.protobuf.ByteString getAdminGroupsBytes(int index) { - return adminGroups_.getByteString(index); - } - - public static final int TASK_REFERENCE_NAME_FIELD_NUMBER = 22; - private volatile java.lang.Object taskReferenceName_; - - /** - * optional string task_reference_name = 22; - * - * @return Whether the taskReferenceName field is set. - */ - @java.lang.Override - public boolean hasTaskReferenceName() { - return ((bitField0_ & 0x00008000) != 0); - } - - /** - * optional string task_reference_name = 22; - * - * @return The taskReferenceName. - */ - @java.lang.Override - public java.lang.String getTaskReferenceName() { - java.lang.Object ref = taskReferenceName_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskReferenceName_ = s; - } - return s; - } - } - - /** - * optional string task_reference_name = 22; - * - * @return The bytes for taskReferenceName. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTaskReferenceNameBytes() { - java.lang.Object ref = taskReferenceName_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - taskReferenceName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, processInstancesId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeInt32(4, state_); - } - for (int i = 0; i < variable_.size(); i++) { - output.writeMessage(5, variable_.get(i)); - } - if (((bitField0_ & 0x00000010) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, deploymentId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, nodeInstanceId_); - } - if (((bitField0_ & 0x00000040) != 0)) { - output.writeInt64(8, nodeId_); - } - if (((bitField0_ & 0x00000080) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, phaseId_); - } - if (((bitField0_ & 0x00000100) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, phaseStatus_); - } - if (((bitField0_ & 0x00000200) != 0)) { - output.writeInt64(11, startDate_); - } - if (((bitField0_ & 0x00000400) != 0)) { - output.writeInt64(12, completeDate_); - } - if (((bitField0_ & 0x00000800) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, taskName_); - } - if (((bitField0_ & 0x00001000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 14, taskDescription_); - } - if (((bitField0_ & 0x00002000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 15, taskPriority_); - } - if (((bitField0_ & 0x00004000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 16, actualOwner_); - } - for (int i = 0; i < potUsers_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 17, potUsers_.getRaw(i)); - } - for (int i = 0; i < potGroups_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 18, potGroups_.getRaw(i)); - } - for (int i = 0; i < excludedUsers_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 19, excludedUsers_.getRaw(i)); - } - for (int i = 0; i < adminUsers_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 20, adminUsers_.getRaw(i)); - } - for (int i = 0; i < adminGroups_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 21, adminGroups_.getRaw(i)); - } - if (((bitField0_ & 0x00008000) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 22, taskReferenceName_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, processInstancesId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, state_); - } - for (int i = 0; i < variable_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, variable_.get(i)); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, deploymentId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, nodeInstanceId_); - } - if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, nodeId_); - } - if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, phaseId_); - } - if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, phaseStatus_); - } - if (((bitField0_ & 0x00000200) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(11, startDate_); - } - if (((bitField0_ & 0x00000400) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(12, completeDate_); - } - if (((bitField0_ & 0x00000800) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, taskName_); - } - if (((bitField0_ & 0x00001000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, taskDescription_); - } - if (((bitField0_ & 0x00002000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, taskPriority_); - } - if (((bitField0_ & 0x00004000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, actualOwner_); - } - { - int dataSize = 0; - for (int i = 0; i < potUsers_.size(); i++) { - dataSize += computeStringSizeNoTag(potUsers_.getRaw(i)); - } - size += dataSize; - size += 2 * getPotUsersList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < potGroups_.size(); i++) { - dataSize += computeStringSizeNoTag(potGroups_.getRaw(i)); - } - size += dataSize; - size += 2 * getPotGroupsList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < excludedUsers_.size(); i++) { - dataSize += computeStringSizeNoTag(excludedUsers_.getRaw(i)); - } - size += dataSize; - size += 2 * getExcludedUsersList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < adminUsers_.size(); i++) { - dataSize += computeStringSizeNoTag(adminUsers_.getRaw(i)); - } - size += dataSize; - size += 2 * getAdminUsersList().size(); - } - { - int dataSize = 0; - for (int i = 0; i < adminGroups_.size(); i++) { - dataSize += computeStringSizeNoTag(adminGroups_.getRaw(i)); - } - size += dataSize; - size += 2 * getAdminGroupsList().size(); - } - if (((bitField0_ & 0x00008000) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, taskReferenceName_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem) obj; - - if (hasId() != other.hasId()) - return false; - if (hasId()) { - if (!getId().equals(other.getId())) - return false; - } - if (hasProcessInstancesId() != other.hasProcessInstancesId()) - return false; - if (hasProcessInstancesId()) { - if (!getProcessInstancesId().equals(other.getProcessInstancesId())) - return false; - } - if (hasName() != other.hasName()) - return false; - if (hasName()) { - if (!getName().equals(other.getName())) - return false; - } - if (hasState() != other.hasState()) - return false; - if (hasState()) { - if (getState() != other.getState()) - return false; - } - if (!getVariableList().equals(other.getVariableList())) - return false; - if (hasDeploymentId() != other.hasDeploymentId()) - return false; - if (hasDeploymentId()) { - if (!getDeploymentId().equals(other.getDeploymentId())) - return false; - } - if (hasNodeInstanceId() != other.hasNodeInstanceId()) - return false; - if (hasNodeInstanceId()) { - if (!getNodeInstanceId().equals(other.getNodeInstanceId())) - return false; - } - if (hasNodeId() != other.hasNodeId()) - return false; - if (hasNodeId()) { - if (getNodeId() != other.getNodeId()) - return false; - } - if (hasPhaseId() != other.hasPhaseId()) - return false; - if (hasPhaseId()) { - if (!getPhaseId().equals(other.getPhaseId())) - return false; - } - if (hasPhaseStatus() != other.hasPhaseStatus()) - return false; - if (hasPhaseStatus()) { - if (!getPhaseStatus().equals(other.getPhaseStatus())) - return false; - } - if (hasStartDate() != other.hasStartDate()) - return false; - if (hasStartDate()) { - if (getStartDate() != other.getStartDate()) - return false; - } - if (hasCompleteDate() != other.hasCompleteDate()) - return false; - if (hasCompleteDate()) { - if (getCompleteDate() != other.getCompleteDate()) - return false; - } - if (hasTaskName() != other.hasTaskName()) - return false; - if (hasTaskName()) { - if (!getTaskName().equals(other.getTaskName())) - return false; - } - if (hasTaskDescription() != other.hasTaskDescription()) - return false; - if (hasTaskDescription()) { - if (!getTaskDescription().equals(other.getTaskDescription())) - return false; - } - if (hasTaskPriority() != other.hasTaskPriority()) - return false; - if (hasTaskPriority()) { - if (!getTaskPriority().equals(other.getTaskPriority())) - return false; - } - if (hasActualOwner() != other.hasActualOwner()) - return false; - if (hasActualOwner()) { - if (!getActualOwner().equals(other.getActualOwner())) - return false; - } - if (!getPotUsersList().equals(other.getPotUsersList())) - return false; - if (!getPotGroupsList().equals(other.getPotGroupsList())) - return false; - if (!getExcludedUsersList().equals(other.getExcludedUsersList())) - return false; - if (!getAdminUsersList().equals(other.getAdminUsersList())) - return false; - if (!getAdminGroupsList().equals(other.getAdminGroupsList())) - return false; - if (hasTaskReferenceName() != other.hasTaskReferenceName()) - return false; - if (hasTaskReferenceName()) { - if (!getTaskReferenceName().equals(other.getTaskReferenceName())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasProcessInstancesId()) { - hash = (37 * hash) + PROCESS_INSTANCES_ID_FIELD_NUMBER; - hash = (53 * hash) + getProcessInstancesId().hashCode(); - } - if (hasName()) { - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - } - if (hasState()) { - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + getState(); - } - if (getVariableCount() > 0) { - hash = (37 * hash) + VARIABLE_FIELD_NUMBER; - hash = (53 * hash) + getVariableList().hashCode(); - } - if (hasDeploymentId()) { - hash = (37 * hash) + DEPLOYMENT_ID_FIELD_NUMBER; - hash = (53 * hash) + getDeploymentId().hashCode(); - } - if (hasNodeInstanceId()) { - hash = (37 * hash) + NODE_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getNodeInstanceId().hashCode(); - } - if (hasNodeId()) { - hash = (37 * hash) + NODE_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getNodeId()); - } - if (hasPhaseId()) { - hash = (37 * hash) + PHASE_ID_FIELD_NUMBER; - hash = (53 * hash) + getPhaseId().hashCode(); - } - if (hasPhaseStatus()) { - hash = (37 * hash) + PHASE_STATUS_FIELD_NUMBER; - hash = (53 * hash) + getPhaseStatus().hashCode(); - } - if (hasStartDate()) { - hash = (37 * hash) + START_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartDate()); - } - if (hasCompleteDate()) { - hash = (37 * hash) + COMPLETE_DATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCompleteDate()); - } - if (hasTaskName()) { - hash = (37 * hash) + TASK_NAME_FIELD_NUMBER; - hash = (53 * hash) + getTaskName().hashCode(); - } - if (hasTaskDescription()) { - hash = (37 * hash) + TASK_DESCRIPTION_FIELD_NUMBER; - hash = (53 * hash) + getTaskDescription().hashCode(); - } - if (hasTaskPriority()) { - hash = (37 * hash) + TASK_PRIORITY_FIELD_NUMBER; - hash = (53 * hash) + getTaskPriority().hashCode(); - } - if (hasActualOwner()) { - hash = (37 * hash) + ACTUAL_OWNER_FIELD_NUMBER; - hash = (53 * hash) + getActualOwner().hashCode(); - } - if (getPotUsersCount() > 0) { - hash = (37 * hash) + POT_USERS_FIELD_NUMBER; - hash = (53 * hash) + getPotUsersList().hashCode(); - } - if (getPotGroupsCount() > 0) { - hash = (37 * hash) + POT_GROUPS_FIELD_NUMBER; - hash = (53 * hash) + getPotGroupsList().hashCode(); - } - if (getExcludedUsersCount() > 0) { - hash = (37 * hash) + EXCLUDED_USERS_FIELD_NUMBER; - hash = (53 * hash) + getExcludedUsersList().hashCode(); - } - if (getAdminUsersCount() > 0) { - hash = (37 * hash) + ADMIN_USERS_FIELD_NUMBER; - hash = (53 * hash) + getAdminUsersList().hashCode(); - } - if (getAdminGroupsCount() > 0) { - hash = (37 * hash) + ADMIN_GROUPS_FIELD_NUMBER; - hash = (53 * hash) + getAdminGroupsList().hashCode(); - } - if (hasTaskReferenceName()) { - hash = (37 * hash) + TASK_REFERENCE_NAME_FIELD_NUMBER; - hash = (53 * hash) + getTaskReferenceName().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem parseFrom( - com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.HumanTaskWorkItem} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.HumanTaskWorkItem) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItemOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_HumanTaskWorkItem_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_HumanTaskWorkItem_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.HumanTaskWorkItem.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getVariableFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - processInstancesId_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - name_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); - state_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - } else { - variableBuilder_.clear(); - } - deploymentId_ = ""; - bitField0_ = (bitField0_ & ~0x00000020); - nodeInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000040); - nodeId_ = 0L; - bitField0_ = (bitField0_ & ~0x00000080); - phaseId_ = ""; - bitField0_ = (bitField0_ & ~0x00000100); - phaseStatus_ = ""; - bitField0_ = (bitField0_ & ~0x00000200); - startDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000400); - completeDate_ = 0L; - bitField0_ = (bitField0_ & ~0x00000800); - taskName_ = ""; - bitField0_ = (bitField0_ & ~0x00001000); - taskDescription_ = ""; - bitField0_ = (bitField0_ & ~0x00002000); - taskPriority_ = ""; - bitField0_ = (bitField0_ & ~0x00004000); - actualOwner_ = ""; - bitField0_ = (bitField0_ & ~0x00008000); - potUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00010000); - potGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00020000); - excludedUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00040000); - adminUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00080000); - adminGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00100000); - taskReferenceName_ = ""; - bitField0_ = (bitField0_ & ~0x00200000); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_HumanTaskWorkItem_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.id_ = id_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.processInstancesId_ = processInstancesId_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.name_ = name_; - if (((from_bitField0_ & 0x00000008) != 0)) { - result.state_ = state_; - to_bitField0_ |= 0x00000008; - } - if (variableBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.variable_ = variable_; - } else { - result.variable_ = variableBuilder_.build(); - } - if (((from_bitField0_ & 0x00000020) != 0)) { - to_bitField0_ |= 0x00000010; - } - result.deploymentId_ = deploymentId_; - if (((from_bitField0_ & 0x00000040) != 0)) { - to_bitField0_ |= 0x00000020; - } - result.nodeInstanceId_ = nodeInstanceId_; - if (((from_bitField0_ & 0x00000080) != 0)) { - result.nodeId_ = nodeId_; - to_bitField0_ |= 0x00000040; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - to_bitField0_ |= 0x00000080; - } - result.phaseId_ = phaseId_; - if (((from_bitField0_ & 0x00000200) != 0)) { - to_bitField0_ |= 0x00000100; - } - result.phaseStatus_ = phaseStatus_; - if (((from_bitField0_ & 0x00000400) != 0)) { - result.startDate_ = startDate_; - to_bitField0_ |= 0x00000200; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.completeDate_ = completeDate_; - to_bitField0_ |= 0x00000400; - } - if (((from_bitField0_ & 0x00001000) != 0)) { - to_bitField0_ |= 0x00000800; - } - result.taskName_ = taskName_; - if (((from_bitField0_ & 0x00002000) != 0)) { - to_bitField0_ |= 0x00001000; - } - result.taskDescription_ = taskDescription_; - if (((from_bitField0_ & 0x00004000) != 0)) { - to_bitField0_ |= 0x00002000; - } - result.taskPriority_ = taskPriority_; - if (((from_bitField0_ & 0x00008000) != 0)) { - to_bitField0_ |= 0x00004000; - } - result.actualOwner_ = actualOwner_; - if (((bitField0_ & 0x00010000) != 0)) { - potUsers_ = potUsers_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00010000); - } - result.potUsers_ = potUsers_; - if (((bitField0_ & 0x00020000) != 0)) { - potGroups_ = potGroups_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00020000); - } - result.potGroups_ = potGroups_; - if (((bitField0_ & 0x00040000) != 0)) { - excludedUsers_ = excludedUsers_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00040000); - } - result.excludedUsers_ = excludedUsers_; - if (((bitField0_ & 0x00080000) != 0)) { - adminUsers_ = adminUsers_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00080000); - } - result.adminUsers_ = adminUsers_; - if (((bitField0_ & 0x00100000) != 0)) { - adminGroups_ = adminGroups_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00100000); - } - result.adminGroups_ = adminGroups_; - if (((from_bitField0_ & 0x00200000) != 0)) { - to_bitField0_ |= 0x00008000; - } - result.taskReferenceName_ = taskReferenceName_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem - .getDefaultInstance()) - return this; - if (other.hasId()) { - bitField0_ |= 0x00000001; - id_ = other.id_; - onChanged(); - } - if (other.hasProcessInstancesId()) { - bitField0_ |= 0x00000002; - processInstancesId_ = other.processInstancesId_; - onChanged(); - } - if (other.hasName()) { - bitField0_ |= 0x00000004; - name_ = other.name_; - onChanged(); - } - if (other.hasState()) { - setState(other.getState()); - } - if (variableBuilder_ == null) { - if (!other.variable_.isEmpty()) { - if (variable_.isEmpty()) { - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000010); - } else { - ensureVariableIsMutable(); - variable_.addAll(other.variable_); - } - onChanged(); - } - } else { - if (!other.variable_.isEmpty()) { - if (variableBuilder_.isEmpty()) { - variableBuilder_.dispose(); - variableBuilder_ = null; - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000010); - variableBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVariableFieldBuilder() - : null; - } else { - variableBuilder_.addAllMessages(other.variable_); - } - } - } - if (other.hasDeploymentId()) { - bitField0_ |= 0x00000020; - deploymentId_ = other.deploymentId_; - onChanged(); - } - if (other.hasNodeInstanceId()) { - bitField0_ |= 0x00000040; - nodeInstanceId_ = other.nodeInstanceId_; - onChanged(); - } - if (other.hasNodeId()) { - setNodeId(other.getNodeId()); - } - if (other.hasPhaseId()) { - bitField0_ |= 0x00000100; - phaseId_ = other.phaseId_; - onChanged(); - } - if (other.hasPhaseStatus()) { - bitField0_ |= 0x00000200; - phaseStatus_ = other.phaseStatus_; - onChanged(); - } - if (other.hasStartDate()) { - setStartDate(other.getStartDate()); - } - if (other.hasCompleteDate()) { - setCompleteDate(other.getCompleteDate()); - } - if (other.hasTaskName()) { - bitField0_ |= 0x00001000; - taskName_ = other.taskName_; - onChanged(); - } - if (other.hasTaskDescription()) { - bitField0_ |= 0x00002000; - taskDescription_ = other.taskDescription_; - onChanged(); - } - if (other.hasTaskPriority()) { - bitField0_ |= 0x00004000; - taskPriority_ = other.taskPriority_; - onChanged(); - } - if (other.hasActualOwner()) { - bitField0_ |= 0x00008000; - actualOwner_ = other.actualOwner_; - onChanged(); - } - if (!other.potUsers_.isEmpty()) { - if (potUsers_.isEmpty()) { - potUsers_ = other.potUsers_; - bitField0_ = (bitField0_ & ~0x00010000); - } else { - ensurePotUsersIsMutable(); - potUsers_.addAll(other.potUsers_); - } - onChanged(); - } - if (!other.potGroups_.isEmpty()) { - if (potGroups_.isEmpty()) { - potGroups_ = other.potGroups_; - bitField0_ = (bitField0_ & ~0x00020000); - } else { - ensurePotGroupsIsMutable(); - potGroups_.addAll(other.potGroups_); - } - onChanged(); - } - if (!other.excludedUsers_.isEmpty()) { - if (excludedUsers_.isEmpty()) { - excludedUsers_ = other.excludedUsers_; - bitField0_ = (bitField0_ & ~0x00040000); - } else { - ensureExcludedUsersIsMutable(); - excludedUsers_.addAll(other.excludedUsers_); - } - onChanged(); - } - if (!other.adminUsers_.isEmpty()) { - if (adminUsers_.isEmpty()) { - adminUsers_ = other.adminUsers_; - bitField0_ = (bitField0_ & ~0x00080000); - } else { - ensureAdminUsersIsMutable(); - adminUsers_.addAll(other.adminUsers_); - } - onChanged(); - } - if (!other.adminGroups_.isEmpty()) { - if (adminGroups_.isEmpty()) { - adminGroups_ = other.adminGroups_; - bitField0_ = (bitField0_ & ~0x00100000); - } else { - ensureAdminGroupsIsMutable(); - adminGroups_.addAll(other.adminGroups_); - } - onChanged(); - } - if (other.hasTaskReferenceName()) { - bitField0_ |= 0x00200000; - taskReferenceName_ = other.taskReferenceName_; - onChanged(); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object id_ = ""; - - /** - * optional string id = 1; - * - * @return Whether the id field is set. - */ - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string id = 1; - * - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string id = 1; - * - * @return The bytes for id. - */ - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string id = 1; - * - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - - /** - * optional string id = 1; - * - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - - /** - * optional string id = 1; - * - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - - private java.lang.Object processInstancesId_ = ""; - - /** - * optional string process_instances_id = 2; - * - * @return Whether the processInstancesId field is set. - */ - public boolean hasProcessInstancesId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string process_instances_id = 2; - * - * @return The processInstancesId. - */ - public java.lang.String getProcessInstancesId() { - java.lang.Object ref = processInstancesId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstancesId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string process_instances_id = 2; - * - * @return The bytes for processInstancesId. - */ - public com.google.protobuf.ByteString getProcessInstancesIdBytes() { - java.lang.Object ref = processInstancesId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - processInstancesId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string process_instances_id = 2; - * - * @param value The processInstancesId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstancesId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - processInstancesId_ = value; - onChanged(); - return this; - } - - /** - * optional string process_instances_id = 2; - * - * @return This builder for chaining. - */ - public Builder clearProcessInstancesId() { - bitField0_ = (bitField0_ & ~0x00000002); - processInstancesId_ = getDefaultInstance().getProcessInstancesId(); - onChanged(); - return this; - } - - /** - * optional string process_instances_id = 2; - * - * @param value The bytes for processInstancesId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstancesIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - processInstancesId_ = value; - onChanged(); - return this; - } - - private java.lang.Object name_ = ""; - - /** - * optional string name = 3; - * - * @return Whether the name field is set. - */ - public boolean hasName() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional string name = 3; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - name_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string name = 3; - * - * @return The bytes for name. - */ - public com.google.protobuf.ByteString getNameBytes() { - java.lang.Object ref = name_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string name = 3; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - name_ = value; - onChanged(); - return this; - } - - /** - * optional string name = 3; - * - * @return This builder for chaining. - */ - public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000004); - name_ = getDefaultInstance().getName(); - onChanged(); - return this; - } - - /** - * optional string name = 3; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; - name_ = value; - onChanged(); - return this; - } - - private int state_; - - /** - * optional int32 state = 4; - * - * @return Whether the state field is set. - */ - @java.lang.Override - public boolean hasState() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int32 state = 4; - * - * @return The state. - */ - @java.lang.Override - public int getState() { - return state_; - } - - /** - * optional int32 state = 4; - * - * @param value The state to set. - * @return This builder for chaining. - */ - public Builder setState(int value) { - bitField0_ |= 0x00000008; - state_ = value; - onChanged(); - return this; - } - - /** - * optional int32 state = 4; - * - * @return This builder for chaining. - */ - public Builder clearState() { - bitField0_ = (bitField0_ & ~0x00000008); - state_ = 0; - onChanged(); - return this; - } - - private java.util.List variable_ = java.util.Collections - .emptyList(); - - private void ensureVariableIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - variable_ = new java.util.ArrayList( - variable_); - bitField0_ |= 0x00000010; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 variableBuilder_; - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public java.util.List getVariableList() { - if (variableBuilder_ == null) { - return java.util.Collections.unmodifiableList(variable_); - } else { - return variableBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public int getVariableCount() { - if (variableBuilder_ == null) { - return variable_.size(); - } else { - return variableBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder setVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.set(index, value); - onChanged(); - } else { - variableBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder setVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.set(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(value); - onChanged(); - } else { - variableBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder addVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(index, value); - onChanged(); - } else { - variableBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder addVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder addAllVariable( - java.lang.Iterable values) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, variable_); - onChanged(); - } else { - variableBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder clearVariable() { - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - } else { - variableBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public Builder removeVariable(int index) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.remove(index); - onChanged(); - } else { - variableBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder getVariableBuilder( - int index) { - return getVariableFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public java.util.List getVariableOrBuilderList() { - if (variableBuilder_ != null) { - return variableBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variable_); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder addVariableBuilder() { - return getVariableFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder addVariableBuilder( - int index) { - return getVariableFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 5; - */ - public java.util.List getVariableBuilderList() { - return getVariableFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getVariableFieldBuilder() { - if (variableBuilder_ == null) { - variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - variable_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); - variable_ = null; - } - return variableBuilder_; - } - - private java.lang.Object deploymentId_ = ""; - - /** - * optional string deployment_id = 6; - * - * @return Whether the deploymentId field is set. - */ - public boolean hasDeploymentId() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional string deployment_id = 6; - * - * @return The deploymentId. - */ - public java.lang.String getDeploymentId() { - java.lang.Object ref = deploymentId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - deploymentId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string deployment_id = 6; - * - * @return The bytes for deploymentId. - */ - public com.google.protobuf.ByteString getDeploymentIdBytes() { - java.lang.Object ref = deploymentId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - deploymentId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string deployment_id = 6; - * - * @param value The deploymentId to set. - * @return This builder for chaining. - */ - public Builder setDeploymentId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; - deploymentId_ = value; - onChanged(); - return this; - } - - /** - * optional string deployment_id = 6; - * - * @return This builder for chaining. - */ - public Builder clearDeploymentId() { - bitField0_ = (bitField0_ & ~0x00000020); - deploymentId_ = getDefaultInstance().getDeploymentId(); - onChanged(); - return this; - } - - /** - * optional string deployment_id = 6; - * - * @param value The bytes for deploymentId to set. - * @return This builder for chaining. - */ - public Builder setDeploymentIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; - deploymentId_ = value; - onChanged(); - return this; - } - - private java.lang.Object nodeInstanceId_ = ""; - - /** - * optional string node_instance_id = 7; - * - * @return Whether the nodeInstanceId field is set. - */ - public boolean hasNodeInstanceId() { - return ((bitField0_ & 0x00000040) != 0); - } - - /** - * optional string node_instance_id = 7; - * - * @return The nodeInstanceId. - */ - public java.lang.String getNodeInstanceId() { - java.lang.Object ref = nodeInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - nodeInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string node_instance_id = 7; - * - * @return The bytes for nodeInstanceId. - */ - public com.google.protobuf.ByteString getNodeInstanceIdBytes() { - java.lang.Object ref = nodeInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - nodeInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string node_instance_id = 7; - * - * @param value The nodeInstanceId to set. - * @return This builder for chaining. - */ - public Builder setNodeInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; - nodeInstanceId_ = value; - onChanged(); - return this; - } - - /** - * optional string node_instance_id = 7; - * - * @return This builder for chaining. - */ - public Builder clearNodeInstanceId() { - bitField0_ = (bitField0_ & ~0x00000040); - nodeInstanceId_ = getDefaultInstance().getNodeInstanceId(); - onChanged(); - return this; - } - - /** - * optional string node_instance_id = 7; - * - * @param value The bytes for nodeInstanceId to set. - * @return This builder for chaining. - */ - public Builder setNodeInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; - nodeInstanceId_ = value; - onChanged(); - return this; - } - - private long nodeId_; - - /** - * optional int64 node_id = 8; - * - * @return Whether the nodeId field is set. - */ - @java.lang.Override - public boolean hasNodeId() { - return ((bitField0_ & 0x00000080) != 0); - } - - /** - * optional int64 node_id = 8; - * - * @return The nodeId. - */ - @java.lang.Override - public long getNodeId() { - return nodeId_; - } - - /** - * optional int64 node_id = 8; - * - * @param value The nodeId to set. - * @return This builder for chaining. - */ - public Builder setNodeId(long value) { - bitField0_ |= 0x00000080; - nodeId_ = value; - onChanged(); - return this; - } - - /** - * optional int64 node_id = 8; - * - * @return This builder for chaining. - */ - public Builder clearNodeId() { - bitField0_ = (bitField0_ & ~0x00000080); - nodeId_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object phaseId_ = ""; - - /** - * optional string phase_id = 9; - * - * @return Whether the phaseId field is set. - */ - public boolean hasPhaseId() { - return ((bitField0_ & 0x00000100) != 0); - } - - /** - * optional string phase_id = 9; - * - * @return The phaseId. - */ - public java.lang.String getPhaseId() { - java.lang.Object ref = phaseId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string phase_id = 9; - * - * @return The bytes for phaseId. - */ - public com.google.protobuf.ByteString getPhaseIdBytes() { - java.lang.Object ref = phaseId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - phaseId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string phase_id = 9; - * - * @param value The phaseId to set. - * @return This builder for chaining. - */ - public Builder setPhaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; - phaseId_ = value; - onChanged(); - return this; - } - - /** - * optional string phase_id = 9; - * - * @return This builder for chaining. - */ - public Builder clearPhaseId() { - bitField0_ = (bitField0_ & ~0x00000100); - phaseId_ = getDefaultInstance().getPhaseId(); - onChanged(); - return this; - } - - /** - * optional string phase_id = 9; - * - * @param value The bytes for phaseId to set. - * @return This builder for chaining. - */ - public Builder setPhaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; - phaseId_ = value; - onChanged(); - return this; - } - - private java.lang.Object phaseStatus_ = ""; - - /** - * optional string phase_status = 10; - * - * @return Whether the phaseStatus field is set. - */ - public boolean hasPhaseStatus() { - return ((bitField0_ & 0x00000200) != 0); - } - - /** - * optional string phase_status = 10; - * - * @return The phaseStatus. - */ - public java.lang.String getPhaseStatus() { - java.lang.Object ref = phaseStatus_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - phaseStatus_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string phase_status = 10; - * - * @return The bytes for phaseStatus. - */ - public com.google.protobuf.ByteString getPhaseStatusBytes() { - java.lang.Object ref = phaseStatus_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - phaseStatus_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string phase_status = 10; - * - * @param value The phaseStatus to set. - * @return This builder for chaining. - */ - public Builder setPhaseStatus(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; - phaseStatus_ = value; - onChanged(); - return this; - } - - /** - * optional string phase_status = 10; - * - * @return This builder for chaining. - */ - public Builder clearPhaseStatus() { - bitField0_ = (bitField0_ & ~0x00000200); - phaseStatus_ = getDefaultInstance().getPhaseStatus(); - onChanged(); - return this; - } - - /** - * optional string phase_status = 10; - * - * @param value The bytes for phaseStatus to set. - * @return This builder for chaining. - */ - public Builder setPhaseStatusBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; - phaseStatus_ = value; - onChanged(); - return this; - } - - private long startDate_; - - /** - * optional int64 start_date = 11; - * - * @return Whether the startDate field is set. - */ - @java.lang.Override - public boolean hasStartDate() { - return ((bitField0_ & 0x00000400) != 0); - } - - /** - * optional int64 start_date = 11; - * - * @return The startDate. - */ - @java.lang.Override - public long getStartDate() { - return startDate_; - } - - /** - * optional int64 start_date = 11; - * - * @param value The startDate to set. - * @return This builder for chaining. - */ - public Builder setStartDate(long value) { - bitField0_ |= 0x00000400; - startDate_ = value; - onChanged(); - return this; - } - - /** - * optional int64 start_date = 11; - * - * @return This builder for chaining. - */ - public Builder clearStartDate() { - bitField0_ = (bitField0_ & ~0x00000400); - startDate_ = 0L; - onChanged(); - return this; - } - - private long completeDate_; - - /** - * optional int64 complete_date = 12; - * - * @return Whether the completeDate field is set. - */ - @java.lang.Override - public boolean hasCompleteDate() { - return ((bitField0_ & 0x00000800) != 0); - } - - /** - * optional int64 complete_date = 12; - * - * @return The completeDate. - */ - @java.lang.Override - public long getCompleteDate() { - return completeDate_; - } - - /** - * optional int64 complete_date = 12; - * - * @param value The completeDate to set. - * @return This builder for chaining. - */ - public Builder setCompleteDate(long value) { - bitField0_ |= 0x00000800; - completeDate_ = value; - onChanged(); - return this; - } - - /** - * optional int64 complete_date = 12; - * - * @return This builder for chaining. - */ - public Builder clearCompleteDate() { - bitField0_ = (bitField0_ & ~0x00000800); - completeDate_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object taskName_ = ""; - - /** - * optional string task_name = 13; - * - * @return Whether the taskName field is set. - */ - public boolean hasTaskName() { - return ((bitField0_ & 0x00001000) != 0); - } - - /** - * optional string task_name = 13; - * - * @return The taskName. - */ - public java.lang.String getTaskName() { - java.lang.Object ref = taskName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskName_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string task_name = 13; - * - * @return The bytes for taskName. - */ - public com.google.protobuf.ByteString getTaskNameBytes() { - java.lang.Object ref = taskName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - taskName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string task_name = 13; - * - * @param value The taskName to set. - * @return This builder for chaining. - */ - public Builder setTaskName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00001000; - taskName_ = value; - onChanged(); - return this; - } - - /** - * optional string task_name = 13; - * - * @return This builder for chaining. - */ - public Builder clearTaskName() { - bitField0_ = (bitField0_ & ~0x00001000); - taskName_ = getDefaultInstance().getTaskName(); - onChanged(); - return this; - } - - /** - * optional string task_name = 13; - * - * @param value The bytes for taskName to set. - * @return This builder for chaining. - */ - public Builder setTaskNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00001000; - taskName_ = value; - onChanged(); - return this; - } - - private java.lang.Object taskDescription_ = ""; - - /** - * optional string task_description = 14; - * - * @return Whether the taskDescription field is set. - */ - public boolean hasTaskDescription() { - return ((bitField0_ & 0x00002000) != 0); - } - - /** - * optional string task_description = 14; - * - * @return The taskDescription. - */ - public java.lang.String getTaskDescription() { - java.lang.Object ref = taskDescription_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskDescription_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string task_description = 14; - * - * @return The bytes for taskDescription. - */ - public com.google.protobuf.ByteString getTaskDescriptionBytes() { - java.lang.Object ref = taskDescription_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - taskDescription_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string task_description = 14; - * - * @param value The taskDescription to set. - * @return This builder for chaining. - */ - public Builder setTaskDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00002000; - taskDescription_ = value; - onChanged(); - return this; - } - - /** - * optional string task_description = 14; - * - * @return This builder for chaining. - */ - public Builder clearTaskDescription() { - bitField0_ = (bitField0_ & ~0x00002000); - taskDescription_ = getDefaultInstance().getTaskDescription(); - onChanged(); - return this; - } - - /** - * optional string task_description = 14; - * - * @param value The bytes for taskDescription to set. - * @return This builder for chaining. - */ - public Builder setTaskDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00002000; - taskDescription_ = value; - onChanged(); - return this; - } - - private java.lang.Object taskPriority_ = ""; - - /** - * optional string task_priority = 15; - * - * @return Whether the taskPriority field is set. - */ - public boolean hasTaskPriority() { - return ((bitField0_ & 0x00004000) != 0); - } - - /** - * optional string task_priority = 15; - * - * @return The taskPriority. - */ - public java.lang.String getTaskPriority() { - java.lang.Object ref = taskPriority_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskPriority_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string task_priority = 15; - * - * @return The bytes for taskPriority. - */ - public com.google.protobuf.ByteString getTaskPriorityBytes() { - java.lang.Object ref = taskPriority_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - taskPriority_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string task_priority = 15; - * - * @param value The taskPriority to set. - * @return This builder for chaining. - */ - public Builder setTaskPriority(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00004000; - taskPriority_ = value; - onChanged(); - return this; - } - - /** - * optional string task_priority = 15; - * - * @return This builder for chaining. - */ - public Builder clearTaskPriority() { - bitField0_ = (bitField0_ & ~0x00004000); - taskPriority_ = getDefaultInstance().getTaskPriority(); - onChanged(); - return this; - } - - /** - * optional string task_priority = 15; - * - * @param value The bytes for taskPriority to set. - * @return This builder for chaining. - */ - public Builder setTaskPriorityBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00004000; - taskPriority_ = value; - onChanged(); - return this; - } - - private java.lang.Object actualOwner_ = ""; - - /** - * optional string actual_owner = 16; - * - * @return Whether the actualOwner field is set. - */ - public boolean hasActualOwner() { - return ((bitField0_ & 0x00008000) != 0); - } - - /** - * optional string actual_owner = 16; - * - * @return The actualOwner. - */ - public java.lang.String getActualOwner() { - java.lang.Object ref = actualOwner_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - actualOwner_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string actual_owner = 16; - * - * @return The bytes for actualOwner. - */ - public com.google.protobuf.ByteString getActualOwnerBytes() { - java.lang.Object ref = actualOwner_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - actualOwner_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string actual_owner = 16; - * - * @param value The actualOwner to set. - * @return This builder for chaining. - */ - public Builder setActualOwner(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00008000; - actualOwner_ = value; - onChanged(); - return this; - } - - /** - * optional string actual_owner = 16; - * - * @return This builder for chaining. - */ - public Builder clearActualOwner() { - bitField0_ = (bitField0_ & ~0x00008000); - actualOwner_ = getDefaultInstance().getActualOwner(); - onChanged(); - return this; - } - - /** - * optional string actual_owner = 16; - * - * @param value The bytes for actualOwner to set. - * @return This builder for chaining. - */ - public Builder setActualOwnerBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00008000; - actualOwner_ = value; - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList potUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensurePotUsersIsMutable() { - if (!((bitField0_ & 0x00010000) != 0)) { - potUsers_ = new com.google.protobuf.LazyStringArrayList(potUsers_); - bitField0_ |= 0x00010000; - } - } - - /** - * repeated string pot_users = 17; - * - * @return A list containing the potUsers. - */ - public com.google.protobuf.ProtocolStringList getPotUsersList() { - return potUsers_.getUnmodifiableView(); - } - - /** - * repeated string pot_users = 17; - * - * @return The count of potUsers. - */ - public int getPotUsersCount() { - return potUsers_.size(); - } - - /** - * repeated string pot_users = 17; - * - * @param index The index of the element to return. - * @return The potUsers at the given index. - */ - public java.lang.String getPotUsers(int index) { - return potUsers_.get(index); - } - - /** - * repeated string pot_users = 17; - * - * @param index The index of the value to return. - * @return The bytes of the potUsers at the given index. - */ - public com.google.protobuf.ByteString getPotUsersBytes(int index) { - return potUsers_.getByteString(index); - } - - /** - * repeated string pot_users = 17; - * - * @param index The index to set the value at. - * @param value The potUsers to set. - * @return This builder for chaining. - */ - public Builder setPotUsers(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePotUsersIsMutable(); - potUsers_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string pot_users = 17; - * - * @param value The potUsers to add. - * @return This builder for chaining. - */ - public Builder addPotUsers(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePotUsersIsMutable(); - potUsers_.add(value); - onChanged(); - return this; - } - - /** - * repeated string pot_users = 17; - * - * @param values The potUsers to add. - * @return This builder for chaining. - */ - public Builder addAllPotUsers(java.lang.Iterable values) { - ensurePotUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, potUsers_); - onChanged(); - return this; - } - - /** - * repeated string pot_users = 17; - * - * @return This builder for chaining. - */ - public Builder clearPotUsers() { - potUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00010000); - onChanged(); - return this; - } - - /** - * repeated string pot_users = 17; - * - * @param value The bytes of the potUsers to add. - * @return This builder for chaining. - */ - public Builder addPotUsersBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePotUsersIsMutable(); - potUsers_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList potGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensurePotGroupsIsMutable() { - if (!((bitField0_ & 0x00020000) != 0)) { - potGroups_ = new com.google.protobuf.LazyStringArrayList(potGroups_); - bitField0_ |= 0x00020000; - } - } - - /** - * repeated string pot_groups = 18; - * - * @return A list containing the potGroups. - */ - public com.google.protobuf.ProtocolStringList getPotGroupsList() { - return potGroups_.getUnmodifiableView(); - } - - /** - * repeated string pot_groups = 18; - * - * @return The count of potGroups. - */ - public int getPotGroupsCount() { - return potGroups_.size(); - } - - /** - * repeated string pot_groups = 18; - * - * @param index The index of the element to return. - * @return The potGroups at the given index. - */ - public java.lang.String getPotGroups(int index) { - return potGroups_.get(index); - } - - /** - * repeated string pot_groups = 18; - * - * @param index The index of the value to return. - * @return The bytes of the potGroups at the given index. - */ - public com.google.protobuf.ByteString getPotGroupsBytes(int index) { - return potGroups_.getByteString(index); - } - - /** - * repeated string pot_groups = 18; - * - * @param index The index to set the value at. - * @param value The potGroups to set. - * @return This builder for chaining. - */ - public Builder setPotGroups(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePotGroupsIsMutable(); - potGroups_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string pot_groups = 18; - * - * @param value The potGroups to add. - * @return This builder for chaining. - */ - public Builder addPotGroups(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePotGroupsIsMutable(); - potGroups_.add(value); - onChanged(); - return this; - } - - /** - * repeated string pot_groups = 18; - * - * @param values The potGroups to add. - * @return This builder for chaining. - */ - public Builder addAllPotGroups(java.lang.Iterable values) { - ensurePotGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, potGroups_); - onChanged(); - return this; - } - - /** - * repeated string pot_groups = 18; - * - * @return This builder for chaining. - */ - public Builder clearPotGroups() { - potGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00020000); - onChanged(); - return this; - } - - /** - * repeated string pot_groups = 18; - * - * @param value The bytes of the potGroups to add. - * @return This builder for chaining. - */ - public Builder addPotGroupsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePotGroupsIsMutable(); - potGroups_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList excludedUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureExcludedUsersIsMutable() { - if (!((bitField0_ & 0x00040000) != 0)) { - excludedUsers_ = new com.google.protobuf.LazyStringArrayList(excludedUsers_); - bitField0_ |= 0x00040000; - } - } - - /** - * repeated string excluded_users = 19; - * - * @return A list containing the excludedUsers. - */ - public com.google.protobuf.ProtocolStringList getExcludedUsersList() { - return excludedUsers_.getUnmodifiableView(); - } - - /** - * repeated string excluded_users = 19; - * - * @return The count of excludedUsers. - */ - public int getExcludedUsersCount() { - return excludedUsers_.size(); - } - - /** - * repeated string excluded_users = 19; - * - * @param index The index of the element to return. - * @return The excludedUsers at the given index. - */ - public java.lang.String getExcludedUsers(int index) { - return excludedUsers_.get(index); - } - - /** - * repeated string excluded_users = 19; - * - * @param index The index of the value to return. - * @return The bytes of the excludedUsers at the given index. - */ - public com.google.protobuf.ByteString getExcludedUsersBytes(int index) { - return excludedUsers_.getByteString(index); - } - - /** - * repeated string excluded_users = 19; - * - * @param index The index to set the value at. - * @param value The excludedUsers to set. - * @return This builder for chaining. - */ - public Builder setExcludedUsers(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExcludedUsersIsMutable(); - excludedUsers_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string excluded_users = 19; - * - * @param value The excludedUsers to add. - * @return This builder for chaining. - */ - public Builder addExcludedUsers(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExcludedUsersIsMutable(); - excludedUsers_.add(value); - onChanged(); - return this; - } - - /** - * repeated string excluded_users = 19; - * - * @param values The excludedUsers to add. - * @return This builder for chaining. - */ - public Builder addAllExcludedUsers(java.lang.Iterable values) { - ensureExcludedUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, excludedUsers_); - onChanged(); - return this; - } - - /** - * repeated string excluded_users = 19; - * - * @return This builder for chaining. - */ - public Builder clearExcludedUsers() { - excludedUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00040000); - onChanged(); - return this; - } - - /** - * repeated string excluded_users = 19; - * - * @param value The bytes of the excludedUsers to add. - * @return This builder for chaining. - */ - public Builder addExcludedUsersBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureExcludedUsersIsMutable(); - excludedUsers_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList adminUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureAdminUsersIsMutable() { - if (!((bitField0_ & 0x00080000) != 0)) { - adminUsers_ = new com.google.protobuf.LazyStringArrayList(adminUsers_); - bitField0_ |= 0x00080000; - } - } - - /** - * repeated string admin_users = 20; - * - * @return A list containing the adminUsers. - */ - public com.google.protobuf.ProtocolStringList getAdminUsersList() { - return adminUsers_.getUnmodifiableView(); - } - - /** - * repeated string admin_users = 20; - * - * @return The count of adminUsers. - */ - public int getAdminUsersCount() { - return adminUsers_.size(); - } - - /** - * repeated string admin_users = 20; - * - * @param index The index of the element to return. - * @return The adminUsers at the given index. - */ - public java.lang.String getAdminUsers(int index) { - return adminUsers_.get(index); - } - - /** - * repeated string admin_users = 20; - * - * @param index The index of the value to return. - * @return The bytes of the adminUsers at the given index. - */ - public com.google.protobuf.ByteString getAdminUsersBytes(int index) { - return adminUsers_.getByteString(index); - } - - /** - * repeated string admin_users = 20; - * - * @param index The index to set the value at. - * @param value The adminUsers to set. - * @return This builder for chaining. - */ - public Builder setAdminUsers(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string admin_users = 20; - * - * @param value The adminUsers to add. - * @return This builder for chaining. - */ - public Builder addAdminUsers(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.add(value); - onChanged(); - return this; - } - - /** - * repeated string admin_users = 20; - * - * @param values The adminUsers to add. - * @return This builder for chaining. - */ - public Builder addAllAdminUsers(java.lang.Iterable values) { - ensureAdminUsersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adminUsers_); - onChanged(); - return this; - } - - /** - * repeated string admin_users = 20; - * - * @return This builder for chaining. - */ - public Builder clearAdminUsers() { - adminUsers_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00080000); - onChanged(); - return this; - } - - /** - * repeated string admin_users = 20; - * - * @param value The bytes of the adminUsers to add. - * @return This builder for chaining. - */ - public Builder addAdminUsersBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminUsersIsMutable(); - adminUsers_.add(value); - onChanged(); - return this; - } - - private com.google.protobuf.LazyStringList adminGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - - private void ensureAdminGroupsIsMutable() { - if (!((bitField0_ & 0x00100000) != 0)) { - adminGroups_ = new com.google.protobuf.LazyStringArrayList(adminGroups_); - bitField0_ |= 0x00100000; - } - } - - /** - * repeated string admin_groups = 21; - * - * @return A list containing the adminGroups. - */ - public com.google.protobuf.ProtocolStringList getAdminGroupsList() { - return adminGroups_.getUnmodifiableView(); - } - - /** - * repeated string admin_groups = 21; - * - * @return The count of adminGroups. - */ - public int getAdminGroupsCount() { - return adminGroups_.size(); - } - - /** - * repeated string admin_groups = 21; - * - * @param index The index of the element to return. - * @return The adminGroups at the given index. - */ - public java.lang.String getAdminGroups(int index) { - return adminGroups_.get(index); - } - - /** - * repeated string admin_groups = 21; - * - * @param index The index of the value to return. - * @return The bytes of the adminGroups at the given index. - */ - public com.google.protobuf.ByteString getAdminGroupsBytes(int index) { - return adminGroups_.getByteString(index); - } - - /** - * repeated string admin_groups = 21; - * - * @param index The index to set the value at. - * @param value The adminGroups to set. - * @return This builder for chaining. - */ - public Builder setAdminGroups(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminGroupsIsMutable(); - adminGroups_.set(index, value); - onChanged(); - return this; - } - - /** - * repeated string admin_groups = 21; - * - * @param value The adminGroups to add. - * @return This builder for chaining. - */ - public Builder addAdminGroups(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminGroupsIsMutable(); - adminGroups_.add(value); - onChanged(); - return this; - } - - /** - * repeated string admin_groups = 21; - * - * @param values The adminGroups to add. - * @return This builder for chaining. - */ - public Builder addAllAdminGroups(java.lang.Iterable values) { - ensureAdminGroupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adminGroups_); - onChanged(); - return this; - } - - /** - * repeated string admin_groups = 21; - * - * @return This builder for chaining. - */ - public Builder clearAdminGroups() { - adminGroups_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00100000); - onChanged(); - return this; - } - - /** - * repeated string admin_groups = 21; - * - * @param value The bytes of the adminGroups to add. - * @return This builder for chaining. - */ - public Builder addAdminGroupsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureAdminGroupsIsMutable(); - adminGroups_.add(value); - onChanged(); - return this; - } - - private java.lang.Object taskReferenceName_ = ""; - - /** - * optional string task_reference_name = 22; - * - * @return Whether the taskReferenceName field is set. - */ - public boolean hasTaskReferenceName() { - return ((bitField0_ & 0x00200000) != 0); - } - - /** - * optional string task_reference_name = 22; - * - * @return The taskReferenceName. - */ - public java.lang.String getTaskReferenceName() { - java.lang.Object ref = taskReferenceName_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - taskReferenceName_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string task_reference_name = 22; - * - * @return The bytes for taskReferenceName. - */ - public com.google.protobuf.ByteString getTaskReferenceNameBytes() { - java.lang.Object ref = taskReferenceName_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - taskReferenceName_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string task_reference_name = 22; - * - * @param value The taskReferenceName to set. - * @return This builder for chaining. - */ - public Builder setTaskReferenceName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00200000; - taskReferenceName_ = value; - onChanged(); - return this; - } - - /** - * optional string task_reference_name = 22; - * - * @return This builder for chaining. - */ - public Builder clearTaskReferenceName() { - bitField0_ = (bitField0_ & ~0x00200000); - taskReferenceName_ = getDefaultInstance().getTaskReferenceName(); - onChanged(); - return this; - } - - /** - * optional string task_reference_name = 22; - * - * @param value The bytes for taskReferenceName to set. - * @return This builder for chaining. - */ - public Builder setTaskReferenceNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00200000; - taskReferenceName_ = value; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.HumanTaskWorkItem) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.HumanTaskWorkItem) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HumanTaskWorkItem parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new HumanTaskWorkItem(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.HumanTaskWorkItem getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface ProcessTimerOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessTimer) - com.google.protobuf.MessageOrBuilder { - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - * - * @return Whether the timer field is set. - */ - boolean hasTimer(); - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - * - * @return The timer. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance getTimer(); - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstanceOrBuilder getTimerOrBuilder(); - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - * - * @return Whether the trigger field is set. - */ - boolean hasTrigger(); - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - * - * @return The trigger. - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger getTrigger(); - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.TriggerOrBuilder getTriggerOrBuilder(); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.ProcessTimer} - */ - public static final class ProcessTimer extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessTimer) - ProcessTimerOrBuilder { - private static final long serialVersionUID = 0L; - - // Use ProcessTimer.newBuilder() to construct. - private ProcessTimer(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ProcessTimer() { - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ProcessTimer(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private ProcessTimer(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.Builder subBuilder = null; - if (((bitField0_ & 0x00000001) != 0)) { - subBuilder = timer_.toBuilder(); - } - timer_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(timer_); - timer_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000001; - break; - } - case 18: { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.Builder subBuilder = null; - if (((bitField0_ & 0x00000002) != 0)) { - subBuilder = trigger_.toBuilder(); - } - trigger_ = input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.PARSER, - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(trigger_); - trigger_ = subBuilder.buildPartial(); - } - bitField0_ |= 0x00000002; - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessTimer_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessTimer_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.Builder.class); - } - - public interface TimerInstanceOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.ProcessTimer.TimerInstance) - com.google.protobuf.MessageOrBuilder { - - /** - * optional int64 id = 1; - * - * @return Whether the id field is set. - */ - boolean hasId(); - - /** - * optional int64 id = 1; - * - * @return The id. - */ - long getId(); - - /** - * optional string timer_id = 2; - * - * @return Whether the timerId field is set. - */ - boolean hasTimerId(); - - /** - * optional string timer_id = 2; - * - * @return The timerId. - */ - java.lang.String getTimerId(); - - /** - * optional string timer_id = 2; - * - * @return The bytes for timerId. - */ - com.google.protobuf.ByteString getTimerIdBytes(); - - /** - * optional int64 delay = 3; - * - * @return Whether the delay field is set. - */ - boolean hasDelay(); - - /** - * optional int64 delay = 3; - * - * @return The delay. - */ - long getDelay(); - - /** - * optional int64 period = 4; - * - * @return Whether the period field is set. - */ - boolean hasPeriod(); - - /** - * optional int64 period = 4; - * - * @return The period. - */ - long getPeriod(); - - /** - * optional string process_instance_id = 5; - * - * @return Whether the processInstanceId field is set. - */ - boolean hasProcessInstanceId(); - - /** - * optional string process_instance_id = 5; - * - * @return The processInstanceId. - */ - java.lang.String getProcessInstanceId(); - - /** - * optional string process_instance_id = 5; - * - * @return The bytes for processInstanceId. - */ - com.google.protobuf.ByteString getProcessInstanceIdBytes(); - - /** - * optional int64 activated_time = 6; - * - * @return Whether the activatedTime field is set. - */ - boolean hasActivatedTime(); - - /** - * optional int64 activated_time = 6; - * - * @return The activatedTime. - */ - long getActivatedTime(); - - /** - * optional int64 last_triggered = 7; - * - * @return Whether the lastTriggered field is set. - */ - boolean hasLastTriggered(); - - /** - * optional int64 last_triggered = 7; - * - * @return The lastTriggered. - */ - long getLastTriggered(); - - /** - * optional int32 DEPRECATED_sessionId = 8; - * - * @return Whether the dEPRECATEDSessionId field is set. - */ - boolean hasDEPRECATEDSessionId(); - - /** - * optional int32 DEPRECATED_sessionId = 8; - * - * @return The dEPRECATEDSessionId. - */ - int getDEPRECATEDSessionId(); - - /** - * optional int64 sessionId = 9; - * - * @return Whether the sessionId field is set. - */ - boolean hasSessionId(); - - /** - * optional int64 sessionId = 9; - * - * @return The sessionId. - */ - long getSessionId(); - - /** - * optional int32 repeatLimit = 10; - * - * @return Whether the repeatLimit field is set. - */ - boolean hasRepeatLimit(); - - /** - * optional int32 repeatLimit = 10; - * - * @return The repeatLimit. - */ - int getRepeatLimit(); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.ProcessTimer.TimerInstance} - */ - public static final class TimerInstance extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.ProcessTimer.TimerInstance) - TimerInstanceOrBuilder { - private static final long serialVersionUID = 0L; - - // Use TimerInstance.newBuilder() to construct. - private TimerInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private TimerInstance() { - timerId_ = ""; - processInstanceId_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TimerInstance(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private TimerInstance(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: { - bitField0_ |= 0x00000001; - id_ = input.readInt64(); - break; - } - case 18: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000002; - timerId_ = bs; - break; - } - case 24: { - bitField0_ |= 0x00000004; - delay_ = input.readInt64(); - break; - } - case 32: { - bitField0_ |= 0x00000008; - period_ = input.readInt64(); - break; - } - case 42: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000010; - processInstanceId_ = bs; - break; - } - case 48: { - bitField0_ |= 0x00000020; - activatedTime_ = input.readInt64(); - break; - } - case 56: { - bitField0_ |= 0x00000040; - lastTriggered_ = input.readInt64(); - break; - } - case 64: { - bitField0_ |= 0x00000080; - dEPRECATEDSessionId_ = input.readInt32(); - break; - } - case 72: { - bitField0_ |= 0x00000100; - sessionId_ = input.readInt64(); - break; - } - case 80: { - bitField0_ |= 0x00000200; - repeatLimit_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessTimer_TimerInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessTimer_TimerInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private long id_; - - /** - * optional int64 id = 1; - * - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int64 id = 1; - * - * @return The id. - */ - @java.lang.Override - public long getId() { - return id_; - } - - public static final int TIMER_ID_FIELD_NUMBER = 2; - private volatile java.lang.Object timerId_; - - /** - * optional string timer_id = 2; - * - * @return Whether the timerId field is set. - */ - @java.lang.Override - public boolean hasTimerId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string timer_id = 2; - * - * @return The timerId. - */ - @java.lang.Override - public java.lang.String getTimerId() { - java.lang.Object ref = timerId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - timerId_ = s; - } - return s; - } - } - - /** - * optional string timer_id = 2; - * - * @return The bytes for timerId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getTimerIdBytes() { - java.lang.Object ref = timerId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - timerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int DELAY_FIELD_NUMBER = 3; - private long delay_; - - /** - * optional int64 delay = 3; - * - * @return Whether the delay field is set. - */ - @java.lang.Override - public boolean hasDelay() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional int64 delay = 3; - * - * @return The delay. - */ - @java.lang.Override - public long getDelay() { - return delay_; - } - - public static final int PERIOD_FIELD_NUMBER = 4; - private long period_; - - /** - * optional int64 period = 4; - * - * @return Whether the period field is set. - */ - @java.lang.Override - public boolean hasPeriod() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int64 period = 4; - * - * @return The period. - */ - @java.lang.Override - public long getPeriod() { - return period_; - } - - public static final int PROCESS_INSTANCE_ID_FIELD_NUMBER = 5; - private volatile java.lang.Object processInstanceId_; - - /** - * optional string process_instance_id = 5; - * - * @return Whether the processInstanceId field is set. - */ - @java.lang.Override - public boolean hasProcessInstanceId() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional string process_instance_id = 5; - * - * @return The processInstanceId. - */ - @java.lang.Override - public java.lang.String getProcessInstanceId() { - java.lang.Object ref = processInstanceId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstanceId_ = s; - } - return s; - } - } - - /** - * optional string process_instance_id = 5; - * - * @return The bytes for processInstanceId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getProcessInstanceIdBytes() { - java.lang.Object ref = processInstanceId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - processInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ACTIVATED_TIME_FIELD_NUMBER = 6; - private long activatedTime_; - - /** - * optional int64 activated_time = 6; - * - * @return Whether the activatedTime field is set. - */ - @java.lang.Override - public boolean hasActivatedTime() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional int64 activated_time = 6; - * - * @return The activatedTime. - */ - @java.lang.Override - public long getActivatedTime() { - return activatedTime_; - } - - public static final int LAST_TRIGGERED_FIELD_NUMBER = 7; - private long lastTriggered_; - - /** - * optional int64 last_triggered = 7; - * - * @return Whether the lastTriggered field is set. - */ - @java.lang.Override - public boolean hasLastTriggered() { - return ((bitField0_ & 0x00000040) != 0); - } - - /** - * optional int64 last_triggered = 7; - * - * @return The lastTriggered. - */ - @java.lang.Override - public long getLastTriggered() { - return lastTriggered_; - } - - public static final int DEPRECATED_SESSIONID_FIELD_NUMBER = 8; - private int dEPRECATEDSessionId_; - - /** - * optional int32 DEPRECATED_sessionId = 8; - * - * @return Whether the dEPRECATEDSessionId field is set. - */ - @java.lang.Override - public boolean hasDEPRECATEDSessionId() { - return ((bitField0_ & 0x00000080) != 0); - } - - /** - * optional int32 DEPRECATED_sessionId = 8; - * - * @return The dEPRECATEDSessionId. - */ - @java.lang.Override - public int getDEPRECATEDSessionId() { - return dEPRECATEDSessionId_; - } - - public static final int SESSIONID_FIELD_NUMBER = 9; - private long sessionId_; - - /** - * optional int64 sessionId = 9; - * - * @return Whether the sessionId field is set. - */ - @java.lang.Override - public boolean hasSessionId() { - return ((bitField0_ & 0x00000100) != 0); - } - - /** - * optional int64 sessionId = 9; - * - * @return The sessionId. - */ - @java.lang.Override - public long getSessionId() { - return sessionId_; - } - - public static final int REPEATLIMIT_FIELD_NUMBER = 10; - private int repeatLimit_; - - /** - * optional int32 repeatLimit = 10; - * - * @return Whether the repeatLimit field is set. - */ - @java.lang.Override - public boolean hasRepeatLimit() { - return ((bitField0_ & 0x00000200) != 0); - } - - /** - * optional int32 repeatLimit = 10; - * - * @return The repeatLimit. - */ - @java.lang.Override - public int getRepeatLimit() { - return repeatLimit_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeInt64(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, timerId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - output.writeInt64(3, delay_); - } - if (((bitField0_ & 0x00000008) != 0)) { - output.writeInt64(4, period_); - } - if (((bitField0_ & 0x00000010) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, processInstanceId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - output.writeInt64(6, activatedTime_); - } - if (((bitField0_ & 0x00000040) != 0)) { - output.writeInt64(7, lastTriggered_); - } - if (((bitField0_ & 0x00000080) != 0)) { - output.writeInt32(8, dEPRECATEDSessionId_); - } - if (((bitField0_ & 0x00000100) != 0)) { - output.writeInt64(9, sessionId_); - } - if (((bitField0_ & 0x00000200) != 0)) { - output.writeInt32(10, repeatLimit_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, timerId_); - } - if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, delay_); - } - if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, period_); - } - if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, processInstanceId_); - } - if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, activatedTime_); - } - if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, lastTriggered_); - } - if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, dEPRECATEDSessionId_); - } - if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(9, sessionId_); - } - if (((bitField0_ & 0x00000200) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, repeatLimit_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance) obj; - - if (hasId() != other.hasId()) - return false; - if (hasId()) { - if (getId() != other.getId()) - return false; - } - if (hasTimerId() != other.hasTimerId()) - return false; - if (hasTimerId()) { - if (!getTimerId().equals(other.getTimerId())) - return false; - } - if (hasDelay() != other.hasDelay()) - return false; - if (hasDelay()) { - if (getDelay() != other.getDelay()) - return false; - } - if (hasPeriod() != other.hasPeriod()) - return false; - if (hasPeriod()) { - if (getPeriod() != other.getPeriod()) - return false; - } - if (hasProcessInstanceId() != other.hasProcessInstanceId()) - return false; - if (hasProcessInstanceId()) { - if (!getProcessInstanceId().equals(other.getProcessInstanceId())) - return false; - } - if (hasActivatedTime() != other.hasActivatedTime()) - return false; - if (hasActivatedTime()) { - if (getActivatedTime() != other.getActivatedTime()) - return false; - } - if (hasLastTriggered() != other.hasLastTriggered()) - return false; - if (hasLastTriggered()) { - if (getLastTriggered() != other.getLastTriggered()) - return false; - } - if (hasDEPRECATEDSessionId() != other.hasDEPRECATEDSessionId()) - return false; - if (hasDEPRECATEDSessionId()) { - if (getDEPRECATEDSessionId() != other.getDEPRECATEDSessionId()) - return false; - } - if (hasSessionId() != other.hasSessionId()) - return false; - if (hasSessionId()) { - if (getSessionId() != other.getSessionId()) - return false; - } - if (hasRepeatLimit() != other.hasRepeatLimit()) - return false; - if (hasRepeatLimit()) { - if (getRepeatLimit() != other.getRepeatLimit()) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId()); - } - if (hasTimerId()) { - hash = (37 * hash) + TIMER_ID_FIELD_NUMBER; - hash = (53 * hash) + getTimerId().hashCode(); - } - if (hasDelay()) { - hash = (37 * hash) + DELAY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDelay()); - } - if (hasPeriod()) { - hash = (37 * hash) + PERIOD_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPeriod()); - } - if (hasProcessInstanceId()) { - hash = (37 * hash) + PROCESS_INSTANCE_ID_FIELD_NUMBER; - hash = (53 * hash) + getProcessInstanceId().hashCode(); - } - if (hasActivatedTime()) { - hash = (37 * hash) + ACTIVATED_TIME_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getActivatedTime()); - } - if (hasLastTriggered()) { - hash = (37 * hash) + LAST_TRIGGERED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLastTriggered()); - } - if (hasDEPRECATEDSessionId()) { - hash = (37 * hash) + DEPRECATED_SESSIONID_FIELD_NUMBER; - hash = (53 * hash) + getDEPRECATEDSessionId(); - } - if (hasSessionId()) { - hash = (37 * hash) + SESSIONID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSessionId()); - } - if (hasRepeatLimit()) { - hash = (37 * hash) + REPEATLIMIT_FIELD_NUMBER; - hash = (53 * hash) + getRepeatLimit(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.ProcessTimer.TimerInstance} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessTimer.TimerInstance) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessTimer_TimerInstance_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessTimer_TimerInstance_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = 0L; - bitField0_ = (bitField0_ & ~0x00000001); - timerId_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); - delay_ = 0L; - bitField0_ = (bitField0_ & ~0x00000004); - period_ = 0L; - bitField0_ = (bitField0_ & ~0x00000008); - processInstanceId_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); - activatedTime_ = 0L; - bitField0_ = (bitField0_ & ~0x00000020); - lastTriggered_ = 0L; - bitField0_ = (bitField0_ & ~0x00000040); - dEPRECATEDSessionId_ = 0; - bitField0_ = (bitField0_ & ~0x00000080); - sessionId_ = 0L; - bitField0_ = (bitField0_ & ~0x00000100); - repeatLimit_ = 0; - bitField0_ = (bitField0_ & ~0x00000200); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessTimer_TimerInstance_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.id_ = id_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.timerId_ = timerId_; - if (((from_bitField0_ & 0x00000004) != 0)) { - result.delay_ = delay_; - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.period_ = period_; - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - to_bitField0_ |= 0x00000010; - } - result.processInstanceId_ = processInstanceId_; - if (((from_bitField0_ & 0x00000020) != 0)) { - result.activatedTime_ = activatedTime_; - to_bitField0_ |= 0x00000020; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.lastTriggered_ = lastTriggered_; - to_bitField0_ |= 0x00000040; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.dEPRECATEDSessionId_ = dEPRECATEDSessionId_; - to_bitField0_ |= 0x00000080; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.sessionId_ = sessionId_; - to_bitField0_ |= 0x00000100; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.repeatLimit_ = repeatLimit_; - to_bitField0_ |= 0x00000200; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance - .getDefaultInstance()) - return this; - if (other.hasId()) { - setId(other.getId()); - } - if (other.hasTimerId()) { - bitField0_ |= 0x00000002; - timerId_ = other.timerId_; - onChanged(); - } - if (other.hasDelay()) { - setDelay(other.getDelay()); - } - if (other.hasPeriod()) { - setPeriod(other.getPeriod()); - } - if (other.hasProcessInstanceId()) { - bitField0_ |= 0x00000010; - processInstanceId_ = other.processInstanceId_; - onChanged(); - } - if (other.hasActivatedTime()) { - setActivatedTime(other.getActivatedTime()); - } - if (other.hasLastTriggered()) { - setLastTriggered(other.getLastTriggered()); - } - if (other.hasDEPRECATEDSessionId()) { - setDEPRECATEDSessionId(other.getDEPRECATEDSessionId()); - } - if (other.hasSessionId()) { - setSessionId(other.getSessionId()); - } - if (other.hasRepeatLimit()) { - setRepeatLimit(other.getRepeatLimit()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private long id_; - - /** - * optional int64 id = 1; - * - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional int64 id = 1; - * - * @return The id. - */ - @java.lang.Override - public long getId() { - return id_; - } - - /** - * optional int64 id = 1; - * - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId(long value) { - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - - /** - * optional int64 id = 1; - * - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object timerId_ = ""; - - /** - * optional string timer_id = 2; - * - * @return Whether the timerId field is set. - */ - public boolean hasTimerId() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional string timer_id = 2; - * - * @return The timerId. - */ - public java.lang.String getTimerId() { - java.lang.Object ref = timerId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - timerId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string timer_id = 2; - * - * @return The bytes for timerId. - */ - public com.google.protobuf.ByteString getTimerIdBytes() { - java.lang.Object ref = timerId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - timerId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string timer_id = 2; - * - * @param value The timerId to set. - * @return This builder for chaining. - */ - public Builder setTimerId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - timerId_ = value; - onChanged(); - return this; - } - - /** - * optional string timer_id = 2; - * - * @return This builder for chaining. - */ - public Builder clearTimerId() { - bitField0_ = (bitField0_ & ~0x00000002); - timerId_ = getDefaultInstance().getTimerId(); - onChanged(); - return this; - } - - /** - * optional string timer_id = 2; - * - * @param value The bytes for timerId to set. - * @return This builder for chaining. - */ - public Builder setTimerIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; - timerId_ = value; - onChanged(); - return this; - } - - private long delay_; - - /** - * optional int64 delay = 3; - * - * @return Whether the delay field is set. - */ - @java.lang.Override - public boolean hasDelay() { - return ((bitField0_ & 0x00000004) != 0); - } - - /** - * optional int64 delay = 3; - * - * @return The delay. - */ - @java.lang.Override - public long getDelay() { - return delay_; - } - - /** - * optional int64 delay = 3; - * - * @param value The delay to set. - * @return This builder for chaining. - */ - public Builder setDelay(long value) { - bitField0_ |= 0x00000004; - delay_ = value; - onChanged(); - return this; - } - - /** - * optional int64 delay = 3; - * - * @return This builder for chaining. - */ - public Builder clearDelay() { - bitField0_ = (bitField0_ & ~0x00000004); - delay_ = 0L; - onChanged(); - return this; - } - - private long period_; - - /** - * optional int64 period = 4; - * - * @return Whether the period field is set. - */ - @java.lang.Override - public boolean hasPeriod() { - return ((bitField0_ & 0x00000008) != 0); - } - - /** - * optional int64 period = 4; - * - * @return The period. - */ - @java.lang.Override - public long getPeriod() { - return period_; - } - - /** - * optional int64 period = 4; - * - * @param value The period to set. - * @return This builder for chaining. - */ - public Builder setPeriod(long value) { - bitField0_ |= 0x00000008; - period_ = value; - onChanged(); - return this; - } - - /** - * optional int64 period = 4; - * - * @return This builder for chaining. - */ - public Builder clearPeriod() { - bitField0_ = (bitField0_ & ~0x00000008); - period_ = 0L; - onChanged(); - return this; - } - - private java.lang.Object processInstanceId_ = ""; - - /** - * optional string process_instance_id = 5; - * - * @return Whether the processInstanceId field is set. - */ - public boolean hasProcessInstanceId() { - return ((bitField0_ & 0x00000010) != 0); - } - - /** - * optional string process_instance_id = 5; - * - * @return The processInstanceId. - */ - public java.lang.String getProcessInstanceId() { - java.lang.Object ref = processInstanceId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - processInstanceId_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string process_instance_id = 5; - * - * @return The bytes for processInstanceId. - */ - public com.google.protobuf.ByteString getProcessInstanceIdBytes() { - java.lang.Object ref = processInstanceId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - processInstanceId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string process_instance_id = 5; - * - * @param value The processInstanceId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - processInstanceId_ = value; - onChanged(); - return this; - } - - /** - * optional string process_instance_id = 5; - * - * @return This builder for chaining. - */ - public Builder clearProcessInstanceId() { - bitField0_ = (bitField0_ & ~0x00000010); - processInstanceId_ = getDefaultInstance().getProcessInstanceId(); - onChanged(); - return this; - } - - /** - * optional string process_instance_id = 5; - * - * @param value The bytes for processInstanceId to set. - * @return This builder for chaining. - */ - public Builder setProcessInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; - processInstanceId_ = value; - onChanged(); - return this; - } - - private long activatedTime_; - - /** - * optional int64 activated_time = 6; - * - * @return Whether the activatedTime field is set. - */ - @java.lang.Override - public boolean hasActivatedTime() { - return ((bitField0_ & 0x00000020) != 0); - } - - /** - * optional int64 activated_time = 6; - * - * @return The activatedTime. - */ - @java.lang.Override - public long getActivatedTime() { - return activatedTime_; - } - - /** - * optional int64 activated_time = 6; - * - * @param value The activatedTime to set. - * @return This builder for chaining. - */ - public Builder setActivatedTime(long value) { - bitField0_ |= 0x00000020; - activatedTime_ = value; - onChanged(); - return this; - } - - /** - * optional int64 activated_time = 6; - * - * @return This builder for chaining. - */ - public Builder clearActivatedTime() { - bitField0_ = (bitField0_ & ~0x00000020); - activatedTime_ = 0L; - onChanged(); - return this; - } - - private long lastTriggered_; - - /** - * optional int64 last_triggered = 7; - * - * @return Whether the lastTriggered field is set. - */ - @java.lang.Override - public boolean hasLastTriggered() { - return ((bitField0_ & 0x00000040) != 0); - } - - /** - * optional int64 last_triggered = 7; - * - * @return The lastTriggered. - */ - @java.lang.Override - public long getLastTriggered() { - return lastTriggered_; - } - - /** - * optional int64 last_triggered = 7; - * - * @param value The lastTriggered to set. - * @return This builder for chaining. - */ - public Builder setLastTriggered(long value) { - bitField0_ |= 0x00000040; - lastTriggered_ = value; - onChanged(); - return this; - } - - /** - * optional int64 last_triggered = 7; - * - * @return This builder for chaining. - */ - public Builder clearLastTriggered() { - bitField0_ = (bitField0_ & ~0x00000040); - lastTriggered_ = 0L; - onChanged(); - return this; - } - - private int dEPRECATEDSessionId_; - - /** - * optional int32 DEPRECATED_sessionId = 8; - * - * @return Whether the dEPRECATEDSessionId field is set. - */ - @java.lang.Override - public boolean hasDEPRECATEDSessionId() { - return ((bitField0_ & 0x00000080) != 0); - } - - /** - * optional int32 DEPRECATED_sessionId = 8; - * - * @return The dEPRECATEDSessionId. - */ - @java.lang.Override - public int getDEPRECATEDSessionId() { - return dEPRECATEDSessionId_; - } - - /** - * optional int32 DEPRECATED_sessionId = 8; - * - * @param value The dEPRECATEDSessionId to set. - * @return This builder for chaining. - */ - public Builder setDEPRECATEDSessionId(int value) { - bitField0_ |= 0x00000080; - dEPRECATEDSessionId_ = value; - onChanged(); - return this; - } - - /** - * optional int32 DEPRECATED_sessionId = 8; - * - * @return This builder for chaining. - */ - public Builder clearDEPRECATEDSessionId() { - bitField0_ = (bitField0_ & ~0x00000080); - dEPRECATEDSessionId_ = 0; - onChanged(); - return this; - } - - private long sessionId_; - - /** - * optional int64 sessionId = 9; - * - * @return Whether the sessionId field is set. - */ - @java.lang.Override - public boolean hasSessionId() { - return ((bitField0_ & 0x00000100) != 0); - } - - /** - * optional int64 sessionId = 9; - * - * @return The sessionId. - */ - @java.lang.Override - public long getSessionId() { - return sessionId_; - } - - /** - * optional int64 sessionId = 9; - * - * @param value The sessionId to set. - * @return This builder for chaining. - */ - public Builder setSessionId(long value) { - bitField0_ |= 0x00000100; - sessionId_ = value; - onChanged(); - return this; - } - - /** - * optional int64 sessionId = 9; - * - * @return This builder for chaining. - */ - public Builder clearSessionId() { - bitField0_ = (bitField0_ & ~0x00000100); - sessionId_ = 0L; - onChanged(); - return this; - } - - private int repeatLimit_; - - /** - * optional int32 repeatLimit = 10; - * - * @return Whether the repeatLimit field is set. - */ - @java.lang.Override - public boolean hasRepeatLimit() { - return ((bitField0_ & 0x00000200) != 0); - } - - /** - * optional int32 repeatLimit = 10; - * - * @return The repeatLimit. - */ - @java.lang.Override - public int getRepeatLimit() { - return repeatLimit_; - } - - /** - * optional int32 repeatLimit = 10; - * - * @param value The repeatLimit to set. - * @return This builder for chaining. - */ - public Builder setRepeatLimit(int value) { - bitField0_ |= 0x00000200; - repeatLimit_ = value; - onChanged(); - return this; - } - - /** - * optional int32 repeatLimit = 10; - * - * @return This builder for chaining. - */ - public Builder clearRepeatLimit() { - bitField0_ = (bitField0_ & ~0x00000200); - repeatLimit_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessTimer.TimerInstance) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessTimer.TimerInstance) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimerInstance parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new TimerInstance(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - private int bitField0_; - public static final int TIMER_FIELD_NUMBER = 1; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance timer_; - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - * - * @return Whether the timer field is set. - */ - @java.lang.Override - public boolean hasTimer() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - * - * @return The timer. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance getTimer() { - return timer_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance - .getDefaultInstance() - : timer_; - } - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstanceOrBuilder getTimerOrBuilder() { - return timer_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance - .getDefaultInstance() - : timer_; - } - - public static final int TRIGGER_FIELD_NUMBER = 2; - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger trigger_; - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - * - * @return Whether the trigger field is set. - */ - @java.lang.Override - public boolean hasTrigger() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - * - * @return The trigger. - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger getTrigger() { - return trigger_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.getDefaultInstance() - : trigger_; - } - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.TriggerOrBuilder getTriggerOrBuilder() { - return trigger_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.getDefaultInstance() - : trigger_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getTimer()); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeMessage(2, getTrigger()); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTimer()); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTrigger()); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer) obj; - - if (hasTimer() != other.hasTimer()) - return false; - if (hasTimer()) { - if (!getTimer().equals(other.getTimer())) - return false; - } - if (hasTrigger() != other.hasTrigger()) - return false; - if (hasTrigger()) { - if (!getTrigger().equals(other.getTrigger())) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasTimer()) { - hash = (37 * hash) + TIMER_FIELD_NUMBER; - hash = (53 * hash) + getTimer().hashCode(); - } - if (hasTrigger()) { - hash = (37 * hash) + TRIGGER_FIELD_NUMBER; - hash = (53 * hash) + getTrigger().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer parseFrom( - com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.ProcessTimer} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.ProcessTimer) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessTimer_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessTimer_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getTimerFieldBuilder(); - getTriggerFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (timerBuilder_ == null) { - timer_ = null; - } else { - timerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - if (triggerBuilder_ == null) { - trigger_ = null; - } else { - triggerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_ProcessTimer_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - if (timerBuilder_ == null) { - result.timer_ = timer_; - } else { - result.timer_ = timerBuilder_.build(); - } - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - if (triggerBuilder_ == null) { - result.trigger_ = trigger_; - } else { - result.trigger_ = triggerBuilder_.build(); - } - to_bitField0_ |= 0x00000002; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer - .getDefaultInstance()) - return this; - if (other.hasTimer()) { - mergeTimer(other.getTimer()); - } - if (other.hasTrigger()) { - mergeTrigger(other.getTrigger()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance timer_; - private com.google.protobuf.SingleFieldBuilderV3 timerBuilder_; - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - * - * @return Whether the timer field is set. - */ - public boolean hasTimer() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - * - * @return The timer. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance getTimer() { - if (timerBuilder_ == null) { - return timer_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance - .getDefaultInstance() - : timer_; - } else { - return timerBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - public Builder setTimer( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance value) { - if (timerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - timer_ = value; - onChanged(); - } else { - timerBuilder_.setMessage(value); - } - bitField0_ |= 0x00000001; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - public Builder setTimer( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.Builder builderForValue) { - if (timerBuilder_ == null) { - timer_ = builderForValue.build(); - onChanged(); - } else { - timerBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000001; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - public Builder mergeTimer( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance value) { - if (timerBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && timer_ != null - && timer_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance - .getDefaultInstance()) { - timer_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance - .newBuilder(timer_).mergeFrom(value).buildPartial(); - } else { - timer_ = value; - } - onChanged(); - } else { - timerBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000001; - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - public Builder clearTimer() { - if (timerBuilder_ == null) { - timer_ = null; - onChanged(); - } else { - timerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance.Builder getTimerBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getTimerFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstanceOrBuilder getTimerOrBuilder() { - if (timerBuilder_ != null) { - return timerBuilder_.getMessageOrBuilder(); - } else { - return timer_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.TimerInstance - .getDefaultInstance() - : timer_; - } - } - - /** - * optional .org.jbpm.marshalling.ProcessTimer.TimerInstance timer = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3 getTimerFieldBuilder() { - if (timerBuilder_ == null) { - timerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getTimer(), getParentForChildren(), isClean()); - timer_ = null; - } - return timerBuilder_; - } - - private io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger trigger_; - private com.google.protobuf.SingleFieldBuilderV3 triggerBuilder_; - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - * - * @return Whether the trigger field is set. - */ - public boolean hasTrigger() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - * - * @return The trigger. - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger getTrigger() { - if (triggerBuilder_ == null) { - return trigger_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.getDefaultInstance() - : trigger_; - } else { - return triggerBuilder_.getMessage(); - } - } - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - */ - public Builder setTrigger(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger value) { - if (triggerBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - trigger_ = value; - onChanged(); - } else { - triggerBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - */ - public Builder setTrigger( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.Builder builderForValue) { - if (triggerBuilder_ == null) { - trigger_ = builderForValue.build(); - onChanged(); - } else { - triggerBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - */ - public Builder mergeTrigger(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger value) { - if (triggerBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && trigger_ != null - && trigger_ != io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger - .getDefaultInstance()) { - trigger_ = io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger - .newBuilder(trigger_).mergeFrom(value).buildPartial(); - } else { - trigger_ = value; - } - onChanged(); - } else { - triggerBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - */ - public Builder clearTrigger() { - if (triggerBuilder_ == null) { - trigger_ = null; - onChanged(); - } else { - triggerBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.Builder getTriggerBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getTriggerFieldBuilder().getBuilder(); - } - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.TriggerOrBuilder getTriggerOrBuilder() { - if (triggerBuilder_ != null) { - return triggerBuilder_.getMessageOrBuilder(); - } else { - return trigger_ == null - ? io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Trigger.getDefaultInstance() - : trigger_; - } - } - - /** - * optional .org.jbpm.marshalling.Trigger trigger = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3 getTriggerFieldBuilder() { - if (triggerBuilder_ == null) { - triggerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3( - getTrigger(), getParentForChildren(), isClean()); - trigger_ = null; - } - return triggerBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.ProcessTimer) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.ProcessTimer) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProcessTimer parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProcessTimer(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface IterationLevelOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.IterationLevel) - com.google.protobuf.MessageOrBuilder { - - /** - * optional string id = 1; - * - * @return Whether the id field is set. - */ - boolean hasId(); - - /** - * optional string id = 1; - * - * @return The id. - */ - java.lang.String getId(); - - /** - * optional string id = 1; - * - * @return The bytes for id. - */ - com.google.protobuf.ByteString getIdBytes(); - - /** - * optional int32 level = 2; - * - * @return Whether the level field is set. - */ - boolean hasLevel(); - - /** - * optional int32 level = 2; - * - * @return The level. - */ - int getLevel(); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.IterationLevel} - */ - public static final class IterationLevel extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.IterationLevel) - IterationLevelOrBuilder { - private static final long serialVersionUID = 0L; - - // Use IterationLevel.newBuilder() to construct. - private IterationLevel(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private IterationLevel() { - id_ = ""; - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new IterationLevel(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private IterationLevel(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - com.google.protobuf.ByteString bs = input.readBytes(); - bitField0_ |= 0x00000001; - id_ = bs; - break; - } - case 16: { - bitField0_ |= 0x00000002; - level_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_IterationLevel_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_IterationLevel_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder.class); - } - - private int bitField0_; - public static final int ID_FIELD_NUMBER = 1; - private volatile java.lang.Object id_; - - /** - * optional string id = 1; - * - * @return Whether the id field is set. - */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string id = 1; - * - * @return The id. - */ - @java.lang.Override - public java.lang.String getId() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } - } - - /** - * optional string id = 1; - * - * @return The bytes for id. - */ - @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int LEVEL_FIELD_NUMBER = 2; - private int level_; - - /** - * optional int32 level = 2; - * - * @return Whether the level field is set. - */ - @java.lang.Override - public boolean hasLevel() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int32 level = 2; - * - * @return The level. - */ - @java.lang.Override - public int getLevel() { - return level_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt32(2, level_); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); - } - if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, level_); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel) obj; - - if (hasId() != other.hasId()) - return false; - if (hasId()) { - if (!getId().equals(other.getId())) - return false; - } - if (hasLevel() != other.hasLevel()) - return false; - if (hasLevel()) { - if (getLevel() != other.getLevel()) - return false; - } - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasId()) { - hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + getId().hashCode(); - } - if (hasLevel()) { - hash = (37 * hash) + LEVEL_FIELD_NUMBER; - hash = (53 * hash) + getLevel(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel parseFrom(byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel parseFrom( - com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.IterationLevel} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.IterationLevel) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevelOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_IterationLevel_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_IterationLevel_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.IterationLevel.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - id_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); - level_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_IterationLevel_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel.getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel( - this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.id_ = id_; - if (((from_bitField0_ & 0x00000002) != 0)) { - result.level_ = level_; - to_bitField0_ |= 0x00000002; - } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel) { - return mergeFrom((io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel - .getDefaultInstance()) - return this; - if (other.hasId()) { - bitField0_ |= 0x00000001; - id_ = other.id_; - onChanged(); - } - if (other.hasLevel()) { - setLevel(other.getLevel()); - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.lang.Object id_ = ""; - - /** - * optional string id = 1; - * - * @return Whether the id field is set. - */ - public boolean hasId() { - return ((bitField0_ & 0x00000001) != 0); - } - - /** - * optional string id = 1; - * - * @return The id. - */ - public java.lang.String getId() { - java.lang.Object ref = id_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - if (bs.isValidUtf8()) { - id_ = s; - } - return s; - } else { - return (java.lang.String) ref; - } - } - - /** - * optional string id = 1; - * - * @return The bytes for id. - */ - public com.google.protobuf.ByteString getIdBytes() { - java.lang.Object ref = id_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = com.google.protobuf.ByteString - .copyFromUtf8((java.lang.String) ref); - id_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - /** - * optional string id = 1; - * - * @param value The id to set. - * @return This builder for chaining. - */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - - /** - * optional string id = 1; - * - * @return This builder for chaining. - */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000001); - id_ = getDefaultInstance().getId(); - onChanged(); - return this; - } - - /** - * optional string id = 1; - * - * @param value The bytes for id to set. - * @return This builder for chaining. - */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; - id_ = value; - onChanged(); - return this; - } - - private int level_; - - /** - * optional int32 level = 2; - * - * @return Whether the level field is set. - */ - @java.lang.Override - public boolean hasLevel() { - return ((bitField0_ & 0x00000002) != 0); - } - - /** - * optional int32 level = 2; - * - * @return The level. - */ - @java.lang.Override - public int getLevel() { - return level_; - } - - /** - * optional int32 level = 2; - * - * @param value The level to set. - * @return This builder for chaining. - */ - public Builder setLevel(int value) { - bitField0_ |= 0x00000002; - level_ = value; - onChanged(); - return this; - } - - /** - * optional int32 level = 2; - * - * @return This builder for chaining. - */ - public Builder clearLevel() { - bitField0_ = (bitField0_ & ~0x00000002); - level_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.IterationLevel) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.IterationLevel) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IterationLevel parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IterationLevel(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.IterationLevel getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public interface VariableContainerOrBuilder extends - // @@protoc_insertion_point(interface_extends:org.jbpm.marshalling.VariableContainer) - com.google.protobuf.MessageOrBuilder { - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - java.util.List getVariableList(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - int getVariableCount(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - java.util.List getVariableOrBuilderList(); - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder(int index); - } - - /** - * Protobuf type {@code org.jbpm.marshalling.VariableContainer} - */ - public static final class VariableContainer extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:org.jbpm.marshalling.VariableContainer) - VariableContainerOrBuilder { - private static final long serialVersionUID = 0L; - - // Use VariableContainer.newBuilder() to construct. - private VariableContainer(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private VariableContainer() { - variable_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({ "unused" }) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new VariableContainer(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - private VariableContainer(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - this(); - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet - .newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - variable_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - variable_.add(input.readMessage( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.PARSER, - extensionRegistry)); - break; - } - default: { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); - } finally { - if (((mutable_bitField0_ & 0x00000001) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - } - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_VariableContainer_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_VariableContainer_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer.Builder.class); - } - - public static final int VARIABLE_FIELD_NUMBER = 1; - private java.util.List variable_; - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - @java.lang.Override - public java.util.List getVariableList() { - return variable_; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - @java.lang.Override - public java.util.List getVariableOrBuilderList() { - return variable_; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - @java.lang.Override - public int getVariableCount() { - return variable_.size(); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index) { - return variable_.get(index); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - return variable_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) - return true; - if (isInitialized == 0) - return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < variable_.size(); i++) { - output.writeMessage(1, variable_.get(i)); - } - unknownFields.writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) - return size; - - size = 0; - for (int i = 0; i < variable_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, variable_.get(i)); - } - size += unknownFields.getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer)) { - return super.equals(obj); - } - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer other = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer) obj; - - if (!getVariableList().equals(other.getVariableList())) - return false; - if (!unknownFields.equals(other.unknownFields)) - return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getVariableCount() > 0) { - hash = (37 * hash) + VARIABLE_FIELD_NUMBER; - hash = (53 * hash) + getVariableList().hashCode(); - } - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer parseFrom( - com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer parseFrom( - com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, - extensionRegistry); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer parseFrom( - com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - - /** - * Protobuf type {@code org.jbpm.marshalling.VariableContainer} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:org.jbpm.marshalling.VariableContainer) - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainerOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_VariableContainer_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_VariableContainer_fieldAccessorTable - .ensureFieldAccessorsInitialized( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer.Builder.class); - } - - // Construct using - // org.jbpm.marshalling.impl.JBPMMessages.VariableContainer.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); - } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); - } - - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getVariableFieldBuilder(); - } - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - variableBuilder_.clear(); - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.internal_static_org_jbpm_marshalling_VariableContainer_descriptor; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer getDefaultInstanceForType() { - return io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer - .getDefaultInstance(); - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer build() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer buildPartial() { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer result = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer( - this); - int from_bitField0_ = bitField0_; - if (variableBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - variable_ = java.util.Collections.unmodifiableList(variable_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.variable_ = variable_; - } else { - result.variable_ = variableBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer) { - return mergeFrom( - (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer other) { - if (other == io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer - .getDefaultInstance()) - return this; - if (variableBuilder_ == null) { - if (!other.variable_.isEmpty()) { - if (variable_.isEmpty()) { - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureVariableIsMutable(); - variable_.addAll(other.variable_); - } - onChanged(); - } - } else { - if (!other.variable_.isEmpty()) { - if (variableBuilder_.isEmpty()) { - variableBuilder_.dispose(); - variableBuilder_ = null; - variable_ = other.variable_; - bitField0_ = (bitField0_ & ~0x00000001); - variableBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVariableFieldBuilder() - : null; - } else { - variableBuilder_.addAllMessages(other.variable_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer) e - .getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List variable_ = java.util.Collections - .emptyList(); - - private void ensureVariableIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - variable_ = new java.util.ArrayList( - variable_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3 variableBuilder_; - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public java.util.List getVariableList() { - if (variableBuilder_ == null) { - return java.util.Collections.unmodifiableList(variable_); - } else { - return variableBuilder_.getMessageList(); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public int getVariableCount() { - if (variableBuilder_ == null) { - return variable_.size(); - } else { - return variableBuilder_.getCount(); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable getVariable(int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessage(index); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public Builder setVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.set(index, value); - onChanged(); - } else { - variableBuilder_.setMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public Builder setVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.set(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public Builder addVariable(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(value); - onChanged(); - } else { - variableBuilder_.addMessage(value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public Builder addVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable value) { - if (variableBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureVariableIsMutable(); - variable_.add(index, value); - onChanged(); - } else { - variableBuilder_.addMessage(index, value); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public Builder addVariable( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public Builder addVariable(int index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.add(index, builderForValue.build()); - onChanged(); - } else { - variableBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public Builder addAllVariable( - java.lang.Iterable values) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, variable_); - onChanged(); - } else { - variableBuilder_.addAllMessages(values); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public Builder clearVariable() { - if (variableBuilder_ == null) { - variable_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - variableBuilder_.clear(); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public Builder removeVariable(int index) { - if (variableBuilder_ == null) { - ensureVariableIsMutable(); - variable_.remove(index); - onChanged(); - } else { - variableBuilder_.remove(index); - } - return this; - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder getVariableBuilder( - int index) { - return getVariableFieldBuilder().getBuilder(index); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableOrBuilder getVariableOrBuilder( - int index) { - if (variableBuilder_ == null) { - return variable_.get(index); - } else { - return variableBuilder_.getMessageOrBuilder(index); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public java.util.List getVariableOrBuilderList() { - if (variableBuilder_ != null) { - return variableBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(variable_); - } - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder addVariableBuilder() { - return getVariableFieldBuilder().addBuilder( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.Builder addVariableBuilder( - int index) { - return getVariableFieldBuilder().addBuilder(index, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.Variable.getDefaultInstance()); - } - - /** - * repeated .org.jbpm.marshalling.Variable variable = 1; - */ - public java.util.List getVariableBuilderList() { - return getVariableFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3 getVariableFieldBuilder() { - if (variableBuilder_ == null) { - variableBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3( - variable_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - variable_ = null; - } - return variableBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:org.jbpm.marshalling.VariableContainer) - } - - // @@protoc_insertion_point(class_scope:org.jbpm.marshalling.VariableContainer) - private static final io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer DEFAULT_INSTANCE; - static { - DEFAULT_INSTANCE = new io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer(); - } - - public static io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - @java.lang.Deprecated - public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VariableContainer parsePartialFrom(com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new VariableContainer(input, extensionRegistry); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.VariableContainer getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - - } - - public static final int PROCESS_INSTANCE_FIELD_NUMBER = 10; - /** - * extend .org.jbpm.marshalling.ProcessData { ... } - */ - public static final com.google.protobuf.GeneratedMessage.GeneratedExtension> processInstance = com.google.protobuf.GeneratedMessage - .newFileScopedGeneratedExtension( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessInstance.getDefaultInstance()); - public static final int WORK_ITEM_FIELD_NUMBER = 11; - /** - * extend .org.jbpm.marshalling.ProcessData { ... } - */ - public static final com.google.protobuf.GeneratedMessage.GeneratedExtension> workItem = com.google.protobuf.GeneratedMessage - .newFileScopedGeneratedExtension(io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.WorkItem.getDefaultInstance()); - public static final int TIMER_ID_FIELD_NUMBER = 13; - /** - * extend .org.jbpm.marshalling.ProcessData { ... } - */ - public static final com.google.protobuf.GeneratedMessage.GeneratedExtension timerId = com.google.protobuf.GeneratedMessage - .newFileScopedGeneratedExtension(java.lang.Long.class, null); - public static final int PROCESS_TIMER_FIELD_NUMBER = 12; - /** - * extend .org.jbpm.marshalling.ProcessData { ... } - */ - public static final com.google.protobuf.GeneratedMessage.GeneratedExtension> processTimer = com.google.protobuf.GeneratedMessage - .newFileScopedGeneratedExtension( - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.class, - io.automatiko.engine.workflow.marshalling.impl.JBPMMessages.ProcessTimer.getDefaultInstance()); - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_Header_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_Header_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_Header_StrategyIndex_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_Header_StrategyIndex_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_Version_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_Version_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_Signature_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_Signature_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_Trigger_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_Trigger_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_Trigger_CronTrigger_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_Trigger_CronTrigger_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_Trigger_IntervalTrigger_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_Trigger_IntervalTrigger_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_Trigger_PointInTimeTrigger_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_Trigger_PointInTimeTrigger_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_Trigger_CompositeMaxDurationTrigger_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessData_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessData_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_SwimlaneContextInstance_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstance_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstance_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_ExclusiveGroupInstance_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_EventNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_StateNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_Variable_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_Variable_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_WorkItem_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_WorkItem_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_HumanTaskWorkItem_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_HumanTaskWorkItem_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessTimer_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessTimer_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_ProcessTimer_TimerInstance_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_ProcessTimer_TimerInstance_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_IterationLevel_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_IterationLevel_fieldAccessorTable; - private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_jbpm_marshalling_VariableContainer_descriptor; - private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_jbpm_marshalling_VariableContainer_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - static { - java.lang.String[] descriptorData = { "\n\'org/jbpm/marshalling/jbpmmessages.prot" - + "o\022\024org.jbpm.marshalling\"\373\001\n\006Header\022.\n\007ve" - + "rsion\030\001 \001(\0132\035.org.jbpm.marshalling.Versi" - + "on\0222\n\tsignature\030\004 \001(\0132\037.org.jbpm.marshal" - + "ling.Signature\022<\n\010strategy\030\t \003(\0132*.org.j" - + "bpm.marshalling.Header.StrategyIndex\022\017\n\007" - + "payload\030\n \001(\014\0327\n\rStrategyIndex\022\n\n\002id\030\001 \001" - + "(\005\022\014\n\004name\030\002 \001(\t\022\014\n\004data\030\003 \001(\014*\005\010d\020\310\001\"Q\n" - + "\007Version\022\025\n\rversion_major\030\001 \001(\005\022\025\n\rversi" - + "on_minor\030\002 \001(\005\022\030\n\020version_revision\030\003 \001(\005" - + "\"1\n\tSignature\022\021\n\tkey_alias\030\001 \001(\t\022\021\n\tsign" - + "ature\030\002 \001(\014\"\244\007\n\007Trigger\0227\n\004type\030\001 \001(\0162)." - + "org.jbpm.marshalling.Trigger.TriggerType" - + "\0227\n\004cron\030\002 \001(\0132).org.jbpm.marshalling.Tr" - + "igger.CronTrigger\022?\n\010interval\030\003 \001(\0132-.or" - + "g.jbpm.marshalling.Trigger.IntervalTrigg" - + "er\022=\n\003pit\030\004 \001(\01320.org.jbpm.marshalling.T" - + "rigger.PointInTimeTrigger\022G\n\004cmdt\030\005 \001(\0132" - + "9.org.jbpm.marshalling.Trigger.Composite" - + "MaxDurationTrigger\032\247\001\n\013CronTrigger\022\022\n\nst" - + "art_time\030\001 \001(\003\022\020\n\010end_time\030\002 \001(\003\022\024\n\014repe" - + "at_limit\030\003 \001(\005\022\024\n\014repeat_count\030\004 \001(\005\022\027\n\017" - + "cron_expression\030\005 \001(\t\022\026\n\016next_fire_time\030" - + "\006 \001(\003\022\025\n\rcalendar_name\030\007 \003(\t\032\242\001\n\017Interva" - + "lTrigger\022\022\n\nstart_time\030\001 \001(\003\022\020\n\010end_time" - + "\030\002 \001(\003\022\024\n\014repeat_limit\030\003 \001(\005\022\024\n\014repeat_c" - + "ount\030\004 \001(\005\022\026\n\016next_fire_time\030\006 \001(\003\022\016\n\006pe" - + "riod\030\007 \001(\003\022\025\n\rcalendar_name\030\010 \003(\t\032,\n\022Poi" - + "ntInTimeTrigger\022\026\n\016next_fire_time\030\001 \001(\003\032" - + "\212\001\n\033CompositeMaxDurationTrigger\022\034\n\024maxDu" - + "rationTimestamp\030\001 \001(\003\022\030\n\020timerCurrentDat" - + "e\030\002 \001(\003\0223\n\014timerTrigger\030\003 \001(\0132\035.org.jbpm" - + ".marshalling.Trigger\"T\n\013TriggerType\022\010\n\004C" - + "RON\020\000\022\014\n\010INTERVAL\020\001\022\021\n\rPOINT_IN_TIME\020\002\022\032" - + "\n\026COMPOSITE_MAX_DURATION\020\003\"\024\n\013ProcessDat" - + "a*\005\010\n\020\310\001\"\343 \n\017ProcessInstance\022\024\n\014process_" - + "type\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\022\n\nprocess_id\030\003 \001" - + "(\t\022\r\n\005state\030\004 \001(\005\022\035\n\025node_instance_count" - + "er\030\005 \001(\003\022\023\n\013process_xml\030\013 \001(\t\022\"\n\032parent_" - + "process_instance_id\030\014 \001(\t\022\023\n\013description" - + "\030\017 \001(\t\022\037\n\021signal_completion\030\020 \001(\010:\004true\022" - + "\024\n\014deploymentId\030\021 \001(\t\022\027\n\017correlation_key" - + "\030\022 \001(\t\022\024\n\014sla_timer_id\030\023 \001(\t\022\024\n\014sla_due_" - + "date\030\024 \001(\003\022\026\n\016sla_compliance\030\025 \001(\005\022 \n\030ro" - + "ot_process_instance_id\030\026 \001(\t\022\022\n\nstart_da" - + "te\030\027 \001(\003\022\027\n\017root_process_id\030\030 \001(\t\022\025\n\rerr" - + "or_node_id\030\031 \001(\t\022\025\n\rerror_message\030\032 \001(\t\022" - + "\024\n\014reference_id\030\033 \001(\t\022W\n\020swimlane_contex" - + "t\030\006 \003(\0132=.org.jbpm.marshalling.ProcessIn" - + "stance.SwimlaneContextInstance\022I\n\rnode_i" - + "nstance\030\007 \003(\01322.org.jbpm.marshalling.Pro" - + "cessInstance.NodeInstance\0220\n\010variable\030\010 " - + "\003(\0132\036.org.jbpm.marshalling.Variable\022U\n\017e" - + "xclusive_group\030\n \003(\0132<.org.jbpm.marshall" + "ing.ProcessInstance.ExclusiveGroupInstan" - + "ce\022\030\n\020completedNodeIds\030\r \003(\t\022=\n\017iteratio" - + "nLevels\030\016 \003(\0132$.org.jbpm.marshalling.Ite" - + "rationLevel\032=\n\027SwimlaneContextInstance\022\020" - + "\n\010swimlane\030\001 \001(\t\022\020\n\010actor_id\030\002 \001(\t\032\340\001\n\014N" - + "odeInstance\022\n\n\002id\030\001 \001(\t\022\017\n\007node_id\030\002 \001(\003" - + "\022J\n\007content\030\004 \001(\01329.org.jbpm.marshalling" - + ".ProcessInstance.NodeInstanceContent\022\r\n\005" - + "level\030\005 \001(\005\022\024\n\014sla_timer_id\030\006 \001(\t\022\024\n\014sla" - + "_due_date\030\007 \001(\003\022\026\n\016sla_compliance\030\010 \001(\005\022" - + "\024\n\014trigger_date\030\t \001(\003\0328\n\026ExclusiveGroupI" - + "nstance\022\036\n\026group_node_instance_id\030\001 \003(\t\032" - + "\323\024\n\023NodeInstanceContent\022D\n\004type\030\001 \001(\01626." - + "org.jbpm.marshalling.ProcessInstance.Nod" - + "eInstanceType\022W\n\010rule_set\030\002 \001(\0132E.org.jb" - + "pm.marshalling.ProcessInstance.NodeInsta" + "nceContent.RuleSetNode\022[\n\nhuman_task\030\003 \001" - + "(\0132G.org.jbpm.marshalling.ProcessInstanc" + "e.NodeInstanceContent.HumanTaskNode\022Y\n\tw" - + "ork_item\030\004 \001(\0132F.org.jbpm.marshalling.Pr" + "ocessInstance.NodeInstanceContent.WorkIt" - + "emNode\022]\n\013sub_process\030\005 \001(\0132H.org.jbpm.m" - + "arshalling.ProcessInstance.NodeInstanceC" - + "ontent.SubProcessNode\022Z\n\tmilestone\030\006 \001(\013" - + "2G.org.jbpm.marshalling.ProcessInstance." + "NodeInstanceContent.MilestoneNode\022R\n\005eve" - + "nt\030\007 \001(\0132C.org.jbpm.marshalling.ProcessI" - + "nstance.NodeInstanceContent.EventNode\022R\n" - + "\005timer\030\010 \001(\0132C.org.jbpm.marshalling.Proc" + "essInstance.NodeInstanceContent.TimerNod" - + "e\022P\n\004join\030\t \001(\0132B.org.jbpm.marshalling.P" - + "rocessInstance.NodeInstanceContent.JoinN" - + "ode\022R\n\005state\030\n \001(\0132C.org.jbpm.marshallin" - + "g.ProcessInstance.NodeInstanceContent.St" - + "ateNode\022a\n\tcomposite\030\013 \001(\0132N.org.jbpm.ma" - + "rshalling.ProcessInstance.NodeInstanceCo" + "ntent.CompositeContextNode\022W\n\010for_each\030\014" - + " \001(\0132E.org.jbpm.marshalling.ProcessInsta" + "nce.NodeInstanceContent.ForEachNode\022]\n\013a" - + "sync_event\030\r \001(\0132H.org.jbpm.marshalling." + "ProcessInstance.NodeInstanceContent.Asyn" - + "cEventNode\032\324\001\n\013RuleSetNode\022\031\n\021timer_inst" - + "ance_id\030\001 \003(\t\022d\n\010mapEntry\030\002 \003(\0132R.org.jb" - + "pm.marshalling.ProcessInstance.NodeInsta" + "nceContent.RuleSetNode.TextMapEntry\022\027\n\017r" - + "ule_flow_group\030\003 \001(\t\032+\n\014TextMapEntry\022\014\n\004" - + "name\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\032\247\001\n\rHumanTaskN" - + "ode\022\024\n\014work_item_id\030\001 \001(\t\022\031\n\021timer_insta" - + "nce_id\030\002 \003(\t\022*\n\"error_handling_process_i" - + "nstance_id\030\003 \001(\t\0229\n\010workitem\030\004 \001(\0132\'.org" - + ".jbpm.marshalling.HumanTaskWorkItem\032\235\001\n\014" - + "WorkItemNode\022\024\n\014work_item_id\030\001 \001(\t\022\031\n\021ti" - + "mer_instance_id\030\002 \003(\t\022*\n\"error_handling_" - + "process_instance_id\030\003 \001(\t\0220\n\010workitem\030\004 " - + "\001(\0132\036.org.jbpm.marshalling.WorkItem\032H\n\016S" - + "ubProcessNode\022\033\n\023process_instance_id\030\001 \001" - + "(\t\022\031\n\021timer_instance_id\030\002 \003(\t\032*\n\rMilesto" - + "neNode\022\031\n\021timer_instance_id\030\001 \003(\t\032\013\n\tEve" - + "ntNode\032\035\n\tTimerNode\022\020\n\010timer_id\030\001 \001(\t\032\234\001" - + "\n\010JoinNode\022_\n\007trigger\030\001 \003(\0132N.org.jbpm.m" - + "arshalling.ProcessInstance.NodeInstanceC" + "ontent.JoinNode.JoinTrigger\032/\n\013JoinTrigg" - + "er\022\017\n\007node_id\030\001 \001(\003\022\017\n\007counter\030\002 \001(\005\032&\n\t" - + "StateNode\022\031\n\021timer_instance_id\030\001 \003(\t\032\304\002\n" - + "\024CompositeContextNode\022\031\n\021timer_instance_" - + "id\030\002 \003(\t\0220\n\010variable\030\003 \003(\0132\036.org.jbpm.ma" - + "rshalling.Variable\022I\n\rnode_instance\030\004 \003(" - + "\01322.org.jbpm.marshalling.ProcessInstance" - + ".NodeInstance\022U\n\017exclusive_group\030\005 \003(\0132<" - + ".org.jbpm.marshalling.ProcessInstance.Ex" + "clusiveGroupInstance\022=\n\017iterationLevels\030" - + "\006 \003(\0132$.org.jbpm.marshalling.IterationLe" - + "vel\032\311\001\n\013ForEachNode\022I\n\rnode_instance\030\001 \003" - + "(\01322.org.jbpm.marshalling.ProcessInstanc" - + "e.NodeInstance\0220\n\010variable\030\002 \003(\0132\036.org.j" - + "bpm.marshalling.Variable\022=\n\017iterationLev" - + "els\030\003 \003(\0132$.org.jbpm.marshalling.Iterati" - + "onLevel\032$\n\016AsyncEventNode\022\022\n\nevent_type\030" - + "\001 \001(\t\"\276\002\n\020NodeInstanceType\022\021\n\rRULE_SET_N" - + "ODE\020\000\022\023\n\017HUMAN_TASK_NODE\020\001\022\022\n\016WORK_ITEM_" - + "NODE\020\002\022\023\n\017SUBPROCESS_NODE\020\003\022\022\n\016MILESTONE" - + "_NODE\020\004\022\016\n\nEVENT_NODE\020\005\022\016\n\nTIMER_NODE\020\006\022" - + "\r\n\tJOIN_NODE\020\007\022\016\n\nSTATE_NODE\020\010\022\032\n\026COMPOS" - + "ITE_CONTEXT_NODE\020\t\022\021\n\rFOR_EACH_NODE\020\n\022\020\n" - + "\014DYNAMIC_NODE\020\013\022\031\n\025EVENT_SUBPROCESS_NODE" - + "\020\014\022\024\n\020ASYNC_EVENT_NODE\020\r\022\024\n\020SUB_PROCESS_" - + "NODE\020\016\"R\n\010Variable\022\014\n\004name\030\001 \001(\t\022\026\n\016stra" - + "tegy_index\030\002 \001(\005\022\r\n\005value\030\003 \001(\014\022\021\n\tdata_" - + "type\030\004 \001(\t\"\230\002\n\010WorkItem\022\n\n\002id\030\001 \001(\t\022\034\n\024p" - + "rocess_instances_id\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022" - + "\r\n\005state\030\004 \001(\005\0220\n\010variable\030\005 \003(\0132\036.org.j" - + "bpm.marshalling.Variable\022\025\n\rdeployment_i" - + "d\030\006 \001(\t\022\030\n\020node_instance_id\030\007 \001(\t\022\017\n\007nod" - + "e_id\030\010 \001(\003\022\020\n\010phase_id\030\t \001(\t\022\024\n\014phase_st" - + "atus\030\n \001(\t\022\022\n\nstart_date\030\013 \001(\003\022\025\n\rcomple" - + "te_date\030\014 \001(\003\"\202\004\n\021HumanTaskWorkItem\022\n\n\002i" - + "d\030\001 \001(\t\022\034\n\024process_instances_id\030\002 \001(\t\022\014\n" - + "\004name\030\003 \001(\t\022\r\n\005state\030\004 \001(\005\0220\n\010variable\030\005" - + " \003(\0132\036.org.jbpm.marshalling.Variable\022\025\n\r" - + "deployment_id\030\006 \001(\t\022\030\n\020node_instance_id\030" - + "\007 \001(\t\022\017\n\007node_id\030\010 \001(\003\022\020\n\010phase_id\030\t \001(\t" - + "\022\024\n\014phase_status\030\n \001(\t\022\022\n\nstart_date\030\013 \001" - + "(\003\022\025\n\rcomplete_date\030\014 \001(\003\022\021\n\ttask_name\030\r" - + " \001(\t\022\030\n\020task_description\030\016 \001(\t\022\025\n\rtask_p" - + "riority\030\017 \001(\t\022\024\n\014actual_owner\030\020 \001(\t\022\021\n\tp" - + "ot_users\030\021 \003(\t\022\022\n\npot_groups\030\022 \003(\t\022\026\n\016ex" - + "cluded_users\030\023 \003(\t\022\023\n\013admin_users\030\024 \003(\t\022" - + "\024\n\014admin_groups\030\025 \003(\t\022\033\n\023task_reference_" - + "name\030\026 \001(\t\"\341\002\n\014ProcessTimer\022?\n\005timer\030\001 \001" - + "(\01320.org.jbpm.marshalling.ProcessTimer.T" - + "imerInstance\022.\n\007trigger\030\002 \001(\0132\035.org.jbpm" - + ".marshalling.Trigger\032\337\001\n\rTimerInstance\022\n" - + "\n\002id\030\001 \001(\003\022\020\n\010timer_id\030\002 \001(\t\022\r\n\005delay\030\003 " - + "\001(\003\022\016\n\006period\030\004 \001(\003\022\033\n\023process_instance_" - + "id\030\005 \001(\t\022\026\n\016activated_time\030\006 \001(\003\022\026\n\016last" - + "_triggered\030\007 \001(\003\022\034\n\024DEPRECATED_sessionId" - + "\030\010 \001(\005\022\021\n\tsessionId\030\t \001(\003\022\023\n\013repeatLimit" - + "\030\n \001(\005\"+\n\016IterationLevel\022\n\n\002id\030\001 \001(\t\022\r\n\005" - + "level\030\002 \001(\005\"E\n\021VariableContainer\0220\n\010vari" - + "able\030\001 \003(\0132\036.org.jbpm.marshalling.Variab" - + "le:b\n\020process_instance\022!.org.jbpm.marsha" - + "lling.ProcessData\030\n \003(\0132%.org.jbpm.marsh" + "alling.ProcessInstance:T\n\twork_item\022!.or" - + "g.jbpm.marshalling.ProcessData\030\013 \003(\0132\036.o" - + "rg.jbpm.marshalling.WorkItem:3\n\010timer_id" + "\022!.org.jbpm.marshalling.ProcessData\030\r \001(" - + "\003:\\\n\rprocess_timer\022!.org.jbpm.marshallin" - + "g.ProcessData\030\014 \003(\0132\".org.jbpm.marshalli" - + "ng.ProcessTimerB)\n\031org.jbpm.marshalling." + "implB\014JBPMMessages" }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_org_jbpm_marshalling_Header_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_org_jbpm_marshalling_Header_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_Header_descriptor, - new java.lang.String[] { "Version", "Signature", "Strategy", "Payload", }); - internal_static_org_jbpm_marshalling_Header_StrategyIndex_descriptor = internal_static_org_jbpm_marshalling_Header_descriptor - .getNestedTypes().get(0); - internal_static_org_jbpm_marshalling_Header_StrategyIndex_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_Header_StrategyIndex_descriptor, - new java.lang.String[] { "Id", "Name", "Data", }); - internal_static_org_jbpm_marshalling_Version_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_org_jbpm_marshalling_Version_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_Version_descriptor, - new java.lang.String[] { "VersionMajor", "VersionMinor", "VersionRevision", }); - internal_static_org_jbpm_marshalling_Signature_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_org_jbpm_marshalling_Signature_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_Signature_descriptor, - new java.lang.String[] { "KeyAlias", "Signature", }); - internal_static_org_jbpm_marshalling_Trigger_descriptor = getDescriptor().getMessageTypes().get(3); - internal_static_org_jbpm_marshalling_Trigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_Trigger_descriptor, - new java.lang.String[] { "Type", "Cron", "Interval", "Pit", "Cmdt", }); - internal_static_org_jbpm_marshalling_Trigger_CronTrigger_descriptor = internal_static_org_jbpm_marshalling_Trigger_descriptor - .getNestedTypes().get(0); - internal_static_org_jbpm_marshalling_Trigger_CronTrigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_Trigger_CronTrigger_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "RepeatLimit", "RepeatCount", "CronExpression", - "NextFireTime", "CalendarName", }); - internal_static_org_jbpm_marshalling_Trigger_IntervalTrigger_descriptor = internal_static_org_jbpm_marshalling_Trigger_descriptor - .getNestedTypes().get(1); - internal_static_org_jbpm_marshalling_Trigger_IntervalTrigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_Trigger_IntervalTrigger_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "RepeatLimit", "RepeatCount", "NextFireTime", "Period", - "CalendarName", }); - internal_static_org_jbpm_marshalling_Trigger_PointInTimeTrigger_descriptor = internal_static_org_jbpm_marshalling_Trigger_descriptor - .getNestedTypes().get(2); - internal_static_org_jbpm_marshalling_Trigger_PointInTimeTrigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_Trigger_PointInTimeTrigger_descriptor, - new java.lang.String[] { "NextFireTime", }); - internal_static_org_jbpm_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor = internal_static_org_jbpm_marshalling_Trigger_descriptor - .getNestedTypes().get(3); - internal_static_org_jbpm_marshalling_Trigger_CompositeMaxDurationTrigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_Trigger_CompositeMaxDurationTrigger_descriptor, - new java.lang.String[] { "MaxDurationTimestamp", "TimerCurrentDate", "TimerTrigger", }); - internal_static_org_jbpm_marshalling_ProcessData_descriptor = getDescriptor().getMessageTypes().get(4); - internal_static_org_jbpm_marshalling_ProcessData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessData_descriptor, new java.lang.String[] {}); - internal_static_org_jbpm_marshalling_ProcessInstance_descriptor = getDescriptor().getMessageTypes().get(5); - internal_static_org_jbpm_marshalling_ProcessInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_descriptor, - new java.lang.String[] { "ProcessType", "Id", "ProcessId", "State", "NodeInstanceCounter", "ProcessXml", - "ParentProcessInstanceId", "Description", "SignalCompletion", "DeploymentId", "CorrelationKey", - "SlaTimerId", "SlaDueDate", "SlaCompliance", "RootProcessInstanceId", "StartDate", - "RootProcessId", "ErrorNodeId", "ErrorMessage", "ReferenceId", "SwimlaneContext", - "NodeInstance", "Variable", "ExclusiveGroup", "CompletedNodeIds", "IterationLevels", }); - internal_static_org_jbpm_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_descriptor - .getNestedTypes().get(0); - internal_static_org_jbpm_marshalling_ProcessInstance_SwimlaneContextInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_SwimlaneContextInstance_descriptor, - new java.lang.String[] { "Swimlane", "ActorId", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstance_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_descriptor - .getNestedTypes().get(1); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstance_descriptor, - new java.lang.String[] { "Id", "NodeId", "Content", "Level", "SlaTimerId", "SlaDueDate", - "SlaCompliance", "TriggerDate", }); - internal_static_org_jbpm_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_descriptor - .getNestedTypes().get(2); - internal_static_org_jbpm_marshalling_ProcessInstance_ExclusiveGroupInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_ExclusiveGroupInstance_descriptor, - new java.lang.String[] { "GroupNodeInstanceId", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_descriptor - .getNestedTypes().get(3); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor, - new java.lang.String[] { "Type", "RuleSet", "HumanTask", "WorkItem", "SubProcess", "Milestone", "Event", - "Timer", "Join", "State", "Composite", "ForEach", "AsyncEvent", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor - .getNestedTypes().get(0); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor, - new java.lang.String[] { "TimerInstanceId", "MapEntry", "RuleFlowGroup", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_descriptor - .getNestedTypes().get(0); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_RuleSetNode_TextMapEntry_descriptor, - new java.lang.String[] { "Name", "Value", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor - .getNestedTypes().get(1); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_HumanTaskNode_descriptor, - new java.lang.String[] { "WorkItemId", "TimerInstanceId", "ErrorHandlingProcessInstanceId", - "Workitem", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor - .getNestedTypes().get(2); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_WorkItemNode_descriptor, - new java.lang.String[] { "WorkItemId", "TimerInstanceId", "ErrorHandlingProcessInstanceId", - "Workitem", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor - .getNestedTypes().get(3); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_SubProcessNode_descriptor, - new java.lang.String[] { "ProcessInstanceId", "TimerInstanceId", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor - .getNestedTypes().get(4); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_MilestoneNode_descriptor, - new java.lang.String[] { "TimerInstanceId", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor - .getNestedTypes().get(5); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_EventNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_EventNode_descriptor, - new java.lang.String[] {}); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor - .getNestedTypes().get(6); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_TimerNode_descriptor, - new java.lang.String[] { "TimerId", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor - .getNestedTypes().get(7); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor, - new java.lang.String[] { "Trigger", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_descriptor - .getNestedTypes().get(0); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_JoinNode_JoinTrigger_descriptor, - new java.lang.String[] { "NodeId", "Counter", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor - .getNestedTypes().get(8); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_StateNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_StateNode_descriptor, - new java.lang.String[] { "TimerInstanceId", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor - .getNestedTypes().get(9); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_CompositeContextNode_descriptor, - new java.lang.String[] { "TimerInstanceId", "Variable", "NodeInstance", "ExclusiveGroup", - "IterationLevels", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor - .getNestedTypes().get(10); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_ForEachNode_descriptor, - new java.lang.String[] { "NodeInstance", "Variable", "IterationLevels", }); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor = internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_descriptor - .getNestedTypes().get(11); - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessInstance_NodeInstanceContent_AsyncEventNode_descriptor, - new java.lang.String[] { "EventType", }); - internal_static_org_jbpm_marshalling_Variable_descriptor = getDescriptor().getMessageTypes().get(6); - internal_static_org_jbpm_marshalling_Variable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_Variable_descriptor, - new java.lang.String[] { "Name", "StrategyIndex", "Value", "DataType", }); - internal_static_org_jbpm_marshalling_WorkItem_descriptor = getDescriptor().getMessageTypes().get(7); - internal_static_org_jbpm_marshalling_WorkItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_WorkItem_descriptor, - new java.lang.String[] { "Id", "ProcessInstancesId", "Name", "State", "Variable", "DeploymentId", - "NodeInstanceId", "NodeId", "PhaseId", "PhaseStatus", "StartDate", "CompleteDate", }); - internal_static_org_jbpm_marshalling_HumanTaskWorkItem_descriptor = getDescriptor().getMessageTypes().get(8); - internal_static_org_jbpm_marshalling_HumanTaskWorkItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_HumanTaskWorkItem_descriptor, - new java.lang.String[] { "Id", "ProcessInstancesId", "Name", "State", "Variable", "DeploymentId", - "NodeInstanceId", "NodeId", "PhaseId", "PhaseStatus", "StartDate", "CompleteDate", "TaskName", - "TaskDescription", "TaskPriority", "ActualOwner", "PotUsers", "PotGroups", "ExcludedUsers", - "AdminUsers", "AdminGroups", "TaskReferenceName", }); - internal_static_org_jbpm_marshalling_ProcessTimer_descriptor = getDescriptor().getMessageTypes().get(9); - internal_static_org_jbpm_marshalling_ProcessTimer_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessTimer_descriptor, - new java.lang.String[] { "Timer", "Trigger", }); - internal_static_org_jbpm_marshalling_ProcessTimer_TimerInstance_descriptor = internal_static_org_jbpm_marshalling_ProcessTimer_descriptor - .getNestedTypes().get(0); - internal_static_org_jbpm_marshalling_ProcessTimer_TimerInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_ProcessTimer_TimerInstance_descriptor, - new java.lang.String[] { "Id", "TimerId", "Delay", "Period", "ProcessInstanceId", "ActivatedTime", - "LastTriggered", "DEPRECATEDSessionId", "SessionId", "RepeatLimit", }); - internal_static_org_jbpm_marshalling_IterationLevel_descriptor = getDescriptor().getMessageTypes().get(10); - internal_static_org_jbpm_marshalling_IterationLevel_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_IterationLevel_descriptor, - new java.lang.String[] { "Id", "Level", }); - internal_static_org_jbpm_marshalling_VariableContainer_descriptor = getDescriptor().getMessageTypes().get(11); - internal_static_org_jbpm_marshalling_VariableContainer_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_org_jbpm_marshalling_VariableContainer_descriptor, - new java.lang.String[] { "Variable", }); - processInstance.internalInit(descriptor.getExtensions().get(0)); - workItem.internalInit(descriptor.getExtensions().get(1)); - timerId.internalInit(descriptor.getExtensions().get(2)); - processTimer.internalInit(descriptor.getExtensions().get(3)); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/workflow/automatiko-workflow-core/src/main/resources/io/automatiko/marshalling/automatikomessages.proto b/workflow/automatiko-workflow-core/src/main/resources/io/automatiko/marshalling/automatikomessages.proto index 74a222005..d7c637efd 100755 --- a/workflow/automatiko-workflow-core/src/main/resources/io/automatiko/marshalling/automatikomessages.proto +++ b/workflow/automatiko-workflow-core/src/main/resources/io/automatiko/marshalling/automatikomessages.proto @@ -310,6 +310,7 @@ message Variable { optional int32 strategy_index = 2; optional bytes value = 3; optional string data_type = 4; + optional string data_types = 5; }