io.temporal.api.schedule.v1.ScheduleAction Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: temporal/api/schedule/v1/message.proto
package io.temporal.api.schedule.v1;
/**
* Protobuf type {@code temporal.api.schedule.v1.ScheduleAction}
*/
@javax.annotation.Generated(value="protoc", comments="annotations:ScheduleAction.java.pb.meta")
public final class ScheduleAction extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:temporal.api.schedule.v1.ScheduleAction)
ScheduleActionOrBuilder {
private static final long serialVersionUID = 0L;
// Use ScheduleAction.newBuilder() to construct.
private ScheduleAction(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ScheduleAction() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ScheduleAction();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ScheduleAction(
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;
case 10: {
io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.Builder subBuilder = null;
if (actionCase_ == 1) {
subBuilder = ((io.temporal.api.workflow.v1.NewWorkflowExecutionInfo) action_).toBuilder();
}
action_ =
input.readMessage(io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.workflow.v1.NewWorkflowExecutionInfo) action_);
action_ = subBuilder.buildPartial();
}
actionCase_ = 1;
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.temporal.api.schedule.v1.MessageProto.internal_static_temporal_api_schedule_v1_ScheduleAction_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.temporal.api.schedule.v1.MessageProto.internal_static_temporal_api_schedule_v1_ScheduleAction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.temporal.api.schedule.v1.ScheduleAction.class, io.temporal.api.schedule.v1.ScheduleAction.Builder.class);
}
private int actionCase_ = 0;
private java.lang.Object action_;
public enum ActionCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
START_WORKFLOW(1),
ACTION_NOT_SET(0);
private final int value;
private ActionCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ActionCase valueOf(int value) {
return forNumber(value);
}
public static ActionCase forNumber(int value) {
switch (value) {
case 1: return START_WORKFLOW;
case 0: return ACTION_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ActionCase
getActionCase() {
return ActionCase.forNumber(
actionCase_);
}
public static final int START_WORKFLOW_FIELD_NUMBER = 1;
/**
*
* All fields of NewWorkflowExecutionInfo are valid except for:
* - workflow_id_reuse_policy
* - cron_schedule
* The workflow id of the started workflow may not match this exactly,
* it may have a timestamp appended for uniqueness.
*
*
* .temporal.api.workflow.v1.NewWorkflowExecutionInfo start_workflow = 1;
* @return Whether the startWorkflow field is set.
*/
public boolean hasStartWorkflow() {
return actionCase_ == 1;
}
/**
*
* All fields of NewWorkflowExecutionInfo are valid except for:
* - workflow_id_reuse_policy
* - cron_schedule
* The workflow id of the started workflow may not match this exactly,
* it may have a timestamp appended for uniqueness.
*
*
* .temporal.api.workflow.v1.NewWorkflowExecutionInfo start_workflow = 1;
* @return The startWorkflow.
*/
public io.temporal.api.workflow.v1.NewWorkflowExecutionInfo getStartWorkflow() {
if (actionCase_ == 1) {
return (io.temporal.api.workflow.v1.NewWorkflowExecutionInfo) action_;
}
return io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.getDefaultInstance();
}
/**
*
* All fields of NewWorkflowExecutionInfo are valid except for:
* - workflow_id_reuse_policy
* - cron_schedule
* The workflow id of the started workflow may not match this exactly,
* it may have a timestamp appended for uniqueness.
*
*
* .temporal.api.workflow.v1.NewWorkflowExecutionInfo start_workflow = 1;
*/
public io.temporal.api.workflow.v1.NewWorkflowExecutionInfoOrBuilder getStartWorkflowOrBuilder() {
if (actionCase_ == 1) {
return (io.temporal.api.workflow.v1.NewWorkflowExecutionInfo) action_;
}
return io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (actionCase_ == 1) {
output.writeMessage(1, (io.temporal.api.workflow.v1.NewWorkflowExecutionInfo) action_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (actionCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (io.temporal.api.workflow.v1.NewWorkflowExecutionInfo) action_);
}
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.temporal.api.schedule.v1.ScheduleAction)) {
return super.equals(obj);
}
io.temporal.api.schedule.v1.ScheduleAction other = (io.temporal.api.schedule.v1.ScheduleAction) obj;
if (!getActionCase().equals(other.getActionCase())) return false;
switch (actionCase_) {
case 1:
if (!getStartWorkflow()
.equals(other.getStartWorkflow())) return false;
break;
case 0:
default:
}
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();
switch (actionCase_) {
case 1:
hash = (37 * hash) + START_WORKFLOW_FIELD_NUMBER;
hash = (53 * hash) + getStartWorkflow().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.temporal.api.schedule.v1.ScheduleAction parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.schedule.v1.ScheduleAction parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.temporal.api.schedule.v1.ScheduleAction parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.schedule.v1.ScheduleAction parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.temporal.api.schedule.v1.ScheduleAction parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.schedule.v1.ScheduleAction parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.temporal.api.schedule.v1.ScheduleAction parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.temporal.api.schedule.v1.ScheduleAction 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.temporal.api.schedule.v1.ScheduleAction parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.temporal.api.schedule.v1.ScheduleAction 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.temporal.api.schedule.v1.ScheduleAction parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.temporal.api.schedule.v1.ScheduleAction 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.temporal.api.schedule.v1.ScheduleAction 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 temporal.api.schedule.v1.ScheduleAction}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:temporal.api.schedule.v1.ScheduleAction)
io.temporal.api.schedule.v1.ScheduleActionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.temporal.api.schedule.v1.MessageProto.internal_static_temporal_api_schedule_v1_ScheduleAction_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.temporal.api.schedule.v1.MessageProto.internal_static_temporal_api_schedule_v1_ScheduleAction_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.temporal.api.schedule.v1.ScheduleAction.class, io.temporal.api.schedule.v1.ScheduleAction.Builder.class);
}
// Construct using io.temporal.api.schedule.v1.ScheduleAction.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();
actionCase_ = 0;
action_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.temporal.api.schedule.v1.MessageProto.internal_static_temporal_api_schedule_v1_ScheduleAction_descriptor;
}
@java.lang.Override
public io.temporal.api.schedule.v1.ScheduleAction getDefaultInstanceForType() {
return io.temporal.api.schedule.v1.ScheduleAction.getDefaultInstance();
}
@java.lang.Override
public io.temporal.api.schedule.v1.ScheduleAction build() {
io.temporal.api.schedule.v1.ScheduleAction result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.temporal.api.schedule.v1.ScheduleAction buildPartial() {
io.temporal.api.schedule.v1.ScheduleAction result = new io.temporal.api.schedule.v1.ScheduleAction(this);
if (actionCase_ == 1) {
if (startWorkflowBuilder_ == null) {
result.action_ = action_;
} else {
result.action_ = startWorkflowBuilder_.build();
}
}
result.actionCase_ = actionCase_;
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.temporal.api.schedule.v1.ScheduleAction) {
return mergeFrom((io.temporal.api.schedule.v1.ScheduleAction)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.temporal.api.schedule.v1.ScheduleAction other) {
if (other == io.temporal.api.schedule.v1.ScheduleAction.getDefaultInstance()) return this;
switch (other.getActionCase()) {
case START_WORKFLOW: {
mergeStartWorkflow(other.getStartWorkflow());
break;
}
case ACTION_NOT_SET: {
break;
}
}
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.temporal.api.schedule.v1.ScheduleAction parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.temporal.api.schedule.v1.ScheduleAction) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int actionCase_ = 0;
private java.lang.Object action_;
public ActionCase
getActionCase() {
return ActionCase.forNumber(
actionCase_);
}
public Builder clearAction() {
actionCase_ = 0;
action_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.workflow.v1.NewWorkflowExecutionInfo, io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.Builder, io.temporal.api.workflow.v1.NewWorkflowExecutionInfoOrBuilder> startWorkflowBuilder_;
/**
*
* All fields of NewWorkflowExecutionInfo are valid except for:
* - workflow_id_reuse_policy
* - cron_schedule
* The workflow id of the started workflow may not match this exactly,
* it may have a timestamp appended for uniqueness.
*
*
* .temporal.api.workflow.v1.NewWorkflowExecutionInfo start_workflow = 1;
* @return Whether the startWorkflow field is set.
*/
public boolean hasStartWorkflow() {
return actionCase_ == 1;
}
/**
*
* All fields of NewWorkflowExecutionInfo are valid except for:
* - workflow_id_reuse_policy
* - cron_schedule
* The workflow id of the started workflow may not match this exactly,
* it may have a timestamp appended for uniqueness.
*
*
* .temporal.api.workflow.v1.NewWorkflowExecutionInfo start_workflow = 1;
* @return The startWorkflow.
*/
public io.temporal.api.workflow.v1.NewWorkflowExecutionInfo getStartWorkflow() {
if (startWorkflowBuilder_ == null) {
if (actionCase_ == 1) {
return (io.temporal.api.workflow.v1.NewWorkflowExecutionInfo) action_;
}
return io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.getDefaultInstance();
} else {
if (actionCase_ == 1) {
return startWorkflowBuilder_.getMessage();
}
return io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.getDefaultInstance();
}
}
/**
*
* All fields of NewWorkflowExecutionInfo are valid except for:
* - workflow_id_reuse_policy
* - cron_schedule
* The workflow id of the started workflow may not match this exactly,
* it may have a timestamp appended for uniqueness.
*
*
* .temporal.api.workflow.v1.NewWorkflowExecutionInfo start_workflow = 1;
*/
public Builder setStartWorkflow(io.temporal.api.workflow.v1.NewWorkflowExecutionInfo value) {
if (startWorkflowBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
action_ = value;
onChanged();
} else {
startWorkflowBuilder_.setMessage(value);
}
actionCase_ = 1;
return this;
}
/**
*
* All fields of NewWorkflowExecutionInfo are valid except for:
* - workflow_id_reuse_policy
* - cron_schedule
* The workflow id of the started workflow may not match this exactly,
* it may have a timestamp appended for uniqueness.
*
*
* .temporal.api.workflow.v1.NewWorkflowExecutionInfo start_workflow = 1;
*/
public Builder setStartWorkflow(
io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.Builder builderForValue) {
if (startWorkflowBuilder_ == null) {
action_ = builderForValue.build();
onChanged();
} else {
startWorkflowBuilder_.setMessage(builderForValue.build());
}
actionCase_ = 1;
return this;
}
/**
*
* All fields of NewWorkflowExecutionInfo are valid except for:
* - workflow_id_reuse_policy
* - cron_schedule
* The workflow id of the started workflow may not match this exactly,
* it may have a timestamp appended for uniqueness.
*
*
* .temporal.api.workflow.v1.NewWorkflowExecutionInfo start_workflow = 1;
*/
public Builder mergeStartWorkflow(io.temporal.api.workflow.v1.NewWorkflowExecutionInfo value) {
if (startWorkflowBuilder_ == null) {
if (actionCase_ == 1 &&
action_ != io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.getDefaultInstance()) {
action_ = io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.newBuilder((io.temporal.api.workflow.v1.NewWorkflowExecutionInfo) action_)
.mergeFrom(value).buildPartial();
} else {
action_ = value;
}
onChanged();
} else {
if (actionCase_ == 1) {
startWorkflowBuilder_.mergeFrom(value);
}
startWorkflowBuilder_.setMessage(value);
}
actionCase_ = 1;
return this;
}
/**
*
* All fields of NewWorkflowExecutionInfo are valid except for:
* - workflow_id_reuse_policy
* - cron_schedule
* The workflow id of the started workflow may not match this exactly,
* it may have a timestamp appended for uniqueness.
*
*
* .temporal.api.workflow.v1.NewWorkflowExecutionInfo start_workflow = 1;
*/
public Builder clearStartWorkflow() {
if (startWorkflowBuilder_ == null) {
if (actionCase_ == 1) {
actionCase_ = 0;
action_ = null;
onChanged();
}
} else {
if (actionCase_ == 1) {
actionCase_ = 0;
action_ = null;
}
startWorkflowBuilder_.clear();
}
return this;
}
/**
*
* All fields of NewWorkflowExecutionInfo are valid except for:
* - workflow_id_reuse_policy
* - cron_schedule
* The workflow id of the started workflow may not match this exactly,
* it may have a timestamp appended for uniqueness.
*
*
* .temporal.api.workflow.v1.NewWorkflowExecutionInfo start_workflow = 1;
*/
public io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.Builder getStartWorkflowBuilder() {
return getStartWorkflowFieldBuilder().getBuilder();
}
/**
*
* All fields of NewWorkflowExecutionInfo are valid except for:
* - workflow_id_reuse_policy
* - cron_schedule
* The workflow id of the started workflow may not match this exactly,
* it may have a timestamp appended for uniqueness.
*
*
* .temporal.api.workflow.v1.NewWorkflowExecutionInfo start_workflow = 1;
*/
public io.temporal.api.workflow.v1.NewWorkflowExecutionInfoOrBuilder getStartWorkflowOrBuilder() {
if ((actionCase_ == 1) && (startWorkflowBuilder_ != null)) {
return startWorkflowBuilder_.getMessageOrBuilder();
} else {
if (actionCase_ == 1) {
return (io.temporal.api.workflow.v1.NewWorkflowExecutionInfo) action_;
}
return io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.getDefaultInstance();
}
}
/**
*
* All fields of NewWorkflowExecutionInfo are valid except for:
* - workflow_id_reuse_policy
* - cron_schedule
* The workflow id of the started workflow may not match this exactly,
* it may have a timestamp appended for uniqueness.
*
*
* .temporal.api.workflow.v1.NewWorkflowExecutionInfo start_workflow = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.workflow.v1.NewWorkflowExecutionInfo, io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.Builder, io.temporal.api.workflow.v1.NewWorkflowExecutionInfoOrBuilder>
getStartWorkflowFieldBuilder() {
if (startWorkflowBuilder_ == null) {
if (!(actionCase_ == 1)) {
action_ = io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.getDefaultInstance();
}
startWorkflowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.workflow.v1.NewWorkflowExecutionInfo, io.temporal.api.workflow.v1.NewWorkflowExecutionInfo.Builder, io.temporal.api.workflow.v1.NewWorkflowExecutionInfoOrBuilder>(
(io.temporal.api.workflow.v1.NewWorkflowExecutionInfo) action_,
getParentForChildren(),
isClean());
action_ = null;
}
actionCase_ = 1;
onChanged();;
return startWorkflowBuilder_;
}
@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:temporal.api.schedule.v1.ScheduleAction)
}
// @@protoc_insertion_point(class_scope:temporal.api.schedule.v1.ScheduleAction)
private static final io.temporal.api.schedule.v1.ScheduleAction DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.temporal.api.schedule.v1.ScheduleAction();
}
public static io.temporal.api.schedule.v1.ScheduleAction getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ScheduleAction parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ScheduleAction(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.temporal.api.schedule.v1.ScheduleAction getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy