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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex> 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder> 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndex> 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.Header.StrategyIndexOrBuilder> 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.SwimlaneContextInstanceOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.VariableOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ExclusiveGroupInstanceOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.IterationLevelOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ProcessInstanchChildrenOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.TagOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.ErrorOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.FinishedSubProcessesOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTuple> 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.InstanceTupleOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder>
- 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry> 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 extends io.automatiko.engine.workflow.marshalling.impl.AutomatikoMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder>
- 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;
+ /**
+ *