io.temporal.api.command.v1.Command Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: temporal/api/command/v1/message.proto
package io.temporal.api.command.v1;
/**
* Protobuf type {@code temporal.api.command.v1.Command}
*/
@javax.annotation.Generated(value="protoc", comments="annotations:Command.java.pb.meta")
public final class Command extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:temporal.api.command.v1.Command)
CommandOrBuilder {
private static final long serialVersionUID = 0L;
// Use Command.newBuilder() to construct.
private Command(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Command() {
commandType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Command();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Command(
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 8: {
int rawValue = input.readEnum();
commandType_ = rawValue;
break;
}
case 18: {
io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 2) {
subBuilder = ((io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 2;
break;
}
case 26: {
io.temporal.api.command.v1.StartTimerCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 3) {
subBuilder = ((io.temporal.api.command.v1.StartTimerCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.StartTimerCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.StartTimerCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 3;
break;
}
case 34: {
io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 4) {
subBuilder = ((io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 4;
break;
}
case 42: {
io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 5) {
subBuilder = ((io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 5;
break;
}
case 50: {
io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 6) {
subBuilder = ((io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 6;
break;
}
case 58: {
io.temporal.api.command.v1.CancelTimerCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 7) {
subBuilder = ((io.temporal.api.command.v1.CancelTimerCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.CancelTimerCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.CancelTimerCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 7;
break;
}
case 66: {
io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 8) {
subBuilder = ((io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 8;
break;
}
case 74: {
io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 9) {
subBuilder = ((io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 9;
break;
}
case 82: {
io.temporal.api.command.v1.RecordMarkerCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 10) {
subBuilder = ((io.temporal.api.command.v1.RecordMarkerCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.RecordMarkerCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.RecordMarkerCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 10;
break;
}
case 90: {
io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 11) {
subBuilder = ((io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 11;
break;
}
case 98: {
io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 12) {
subBuilder = ((io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 12;
break;
}
case 106: {
io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 13) {
subBuilder = ((io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 13;
break;
}
case 114: {
io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 14) {
subBuilder = ((io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 14;
break;
}
case 122: {
io.temporal.api.command.v1.ProtocolMessageCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 15) {
subBuilder = ((io.temporal.api.command.v1.ProtocolMessageCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.ProtocolMessageCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.ProtocolMessageCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 15;
break;
}
case 138: {
io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.Builder subBuilder = null;
if (attributesCase_ == 17) {
subBuilder = ((io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 17;
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.command.v1.MessageProto.internal_static_temporal_api_command_v1_Command_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.temporal.api.command.v1.MessageProto.internal_static_temporal_api_command_v1_Command_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.temporal.api.command.v1.Command.class, io.temporal.api.command.v1.Command.Builder.class);
}
private int attributesCase_ = 0;
private java.lang.Object attributes_;
public enum AttributesCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
SCHEDULE_ACTIVITY_TASK_COMMAND_ATTRIBUTES(2),
START_TIMER_COMMAND_ATTRIBUTES(3),
COMPLETE_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES(4),
FAIL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES(5),
REQUEST_CANCEL_ACTIVITY_TASK_COMMAND_ATTRIBUTES(6),
CANCEL_TIMER_COMMAND_ATTRIBUTES(7),
CANCEL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES(8),
REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES(9),
RECORD_MARKER_COMMAND_ATTRIBUTES(10),
CONTINUE_AS_NEW_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES(11),
START_CHILD_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES(12),
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES(13),
UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_COMMAND_ATTRIBUTES(14),
PROTOCOL_MESSAGE_COMMAND_ATTRIBUTES(15),
MODIFY_WORKFLOW_PROPERTIES_COMMAND_ATTRIBUTES(17),
ATTRIBUTES_NOT_SET(0);
private final int value;
private AttributesCase(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 AttributesCase valueOf(int value) {
return forNumber(value);
}
public static AttributesCase forNumber(int value) {
switch (value) {
case 2: return SCHEDULE_ACTIVITY_TASK_COMMAND_ATTRIBUTES;
case 3: return START_TIMER_COMMAND_ATTRIBUTES;
case 4: return COMPLETE_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES;
case 5: return FAIL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES;
case 6: return REQUEST_CANCEL_ACTIVITY_TASK_COMMAND_ATTRIBUTES;
case 7: return CANCEL_TIMER_COMMAND_ATTRIBUTES;
case 8: return CANCEL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES;
case 9: return REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES;
case 10: return RECORD_MARKER_COMMAND_ATTRIBUTES;
case 11: return CONTINUE_AS_NEW_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES;
case 12: return START_CHILD_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES;
case 13: return SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES;
case 14: return UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_COMMAND_ATTRIBUTES;
case 15: return PROTOCOL_MESSAGE_COMMAND_ATTRIBUTES;
case 17: return MODIFY_WORKFLOW_PROPERTIES_COMMAND_ATTRIBUTES;
case 0: return ATTRIBUTES_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public AttributesCase
getAttributesCase() {
return AttributesCase.forNumber(
attributesCase_);
}
public static final int COMMAND_TYPE_FIELD_NUMBER = 1;
private int commandType_;
/**
* .temporal.api.enums.v1.CommandType command_type = 1;
* @return The enum numeric value on the wire for commandType.
*/
public int getCommandTypeValue() {
return commandType_;
}
/**
* .temporal.api.enums.v1.CommandType command_type = 1;
* @return The commandType.
*/
public io.temporal.api.enums.v1.CommandType getCommandType() {
@SuppressWarnings("deprecation")
io.temporal.api.enums.v1.CommandType result = io.temporal.api.enums.v1.CommandType.valueOf(commandType_);
return result == null ? io.temporal.api.enums.v1.CommandType.UNRECOGNIZED : result;
}
public static final int SCHEDULE_ACTIVITY_TASK_COMMAND_ATTRIBUTES_FIELD_NUMBER = 2;
/**
* .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
* @return Whether the scheduleActivityTaskCommandAttributes field is set.
*/
public boolean hasScheduleActivityTaskCommandAttributes() {
return attributesCase_ == 2;
}
/**
* .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
* @return The scheduleActivityTaskCommandAttributes.
*/
public io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes getScheduleActivityTaskCommandAttributes() {
if (attributesCase_ == 2) {
return (io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
*/
public io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesOrBuilder getScheduleActivityTaskCommandAttributesOrBuilder() {
if (attributesCase_ == 2) {
return (io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.getDefaultInstance();
}
public static final int START_TIMER_COMMAND_ATTRIBUTES_FIELD_NUMBER = 3;
/**
* .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
* @return Whether the startTimerCommandAttributes field is set.
*/
public boolean hasStartTimerCommandAttributes() {
return attributesCase_ == 3;
}
/**
* .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
* @return The startTimerCommandAttributes.
*/
public io.temporal.api.command.v1.StartTimerCommandAttributes getStartTimerCommandAttributes() {
if (attributesCase_ == 3) {
return (io.temporal.api.command.v1.StartTimerCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.StartTimerCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
*/
public io.temporal.api.command.v1.StartTimerCommandAttributesOrBuilder getStartTimerCommandAttributesOrBuilder() {
if (attributesCase_ == 3) {
return (io.temporal.api.command.v1.StartTimerCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.StartTimerCommandAttributes.getDefaultInstance();
}
public static final int COMPLETE_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER = 4;
/**
* .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
* @return Whether the completeWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasCompleteWorkflowExecutionCommandAttributes() {
return attributesCase_ == 4;
}
/**
* .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
* @return The completeWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes getCompleteWorkflowExecutionCommandAttributes() {
if (attributesCase_ == 4) {
return (io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
*/
public io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesOrBuilder getCompleteWorkflowExecutionCommandAttributesOrBuilder() {
if (attributesCase_ == 4) {
return (io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.getDefaultInstance();
}
public static final int FAIL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER = 5;
/**
* .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
* @return Whether the failWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasFailWorkflowExecutionCommandAttributes() {
return attributesCase_ == 5;
}
/**
* .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
* @return The failWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes getFailWorkflowExecutionCommandAttributes() {
if (attributesCase_ == 5) {
return (io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
*/
public io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesOrBuilder getFailWorkflowExecutionCommandAttributesOrBuilder() {
if (attributesCase_ == 5) {
return (io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.getDefaultInstance();
}
public static final int REQUEST_CANCEL_ACTIVITY_TASK_COMMAND_ATTRIBUTES_FIELD_NUMBER = 6;
/**
* .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
* @return Whether the requestCancelActivityTaskCommandAttributes field is set.
*/
public boolean hasRequestCancelActivityTaskCommandAttributes() {
return attributesCase_ == 6;
}
/**
* .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
* @return The requestCancelActivityTaskCommandAttributes.
*/
public io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes getRequestCancelActivityTaskCommandAttributes() {
if (attributesCase_ == 6) {
return (io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
*/
public io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesOrBuilder getRequestCancelActivityTaskCommandAttributesOrBuilder() {
if (attributesCase_ == 6) {
return (io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.getDefaultInstance();
}
public static final int CANCEL_TIMER_COMMAND_ATTRIBUTES_FIELD_NUMBER = 7;
/**
* .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
* @return Whether the cancelTimerCommandAttributes field is set.
*/
public boolean hasCancelTimerCommandAttributes() {
return attributesCase_ == 7;
}
/**
* .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
* @return The cancelTimerCommandAttributes.
*/
public io.temporal.api.command.v1.CancelTimerCommandAttributes getCancelTimerCommandAttributes() {
if (attributesCase_ == 7) {
return (io.temporal.api.command.v1.CancelTimerCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.CancelTimerCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
*/
public io.temporal.api.command.v1.CancelTimerCommandAttributesOrBuilder getCancelTimerCommandAttributesOrBuilder() {
if (attributesCase_ == 7) {
return (io.temporal.api.command.v1.CancelTimerCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.CancelTimerCommandAttributes.getDefaultInstance();
}
public static final int CANCEL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER = 8;
/**
* .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
* @return Whether the cancelWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasCancelWorkflowExecutionCommandAttributes() {
return attributesCase_ == 8;
}
/**
* .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
* @return The cancelWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes getCancelWorkflowExecutionCommandAttributes() {
if (attributesCase_ == 8) {
return (io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
*/
public io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesOrBuilder getCancelWorkflowExecutionCommandAttributesOrBuilder() {
if (attributesCase_ == 8) {
return (io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.getDefaultInstance();
}
public static final int REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER = 9;
/**
* .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
* @return Whether the requestCancelExternalWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasRequestCancelExternalWorkflowExecutionCommandAttributes() {
return attributesCase_ == 9;
}
/**
* .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
* @return The requestCancelExternalWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes getRequestCancelExternalWorkflowExecutionCommandAttributes() {
if (attributesCase_ == 9) {
return (io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
*/
public io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesOrBuilder getRequestCancelExternalWorkflowExecutionCommandAttributesOrBuilder() {
if (attributesCase_ == 9) {
return (io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.getDefaultInstance();
}
public static final int RECORD_MARKER_COMMAND_ATTRIBUTES_FIELD_NUMBER = 10;
/**
* .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
* @return Whether the recordMarkerCommandAttributes field is set.
*/
public boolean hasRecordMarkerCommandAttributes() {
return attributesCase_ == 10;
}
/**
* .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
* @return The recordMarkerCommandAttributes.
*/
public io.temporal.api.command.v1.RecordMarkerCommandAttributes getRecordMarkerCommandAttributes() {
if (attributesCase_ == 10) {
return (io.temporal.api.command.v1.RecordMarkerCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.RecordMarkerCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
*/
public io.temporal.api.command.v1.RecordMarkerCommandAttributesOrBuilder getRecordMarkerCommandAttributesOrBuilder() {
if (attributesCase_ == 10) {
return (io.temporal.api.command.v1.RecordMarkerCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.RecordMarkerCommandAttributes.getDefaultInstance();
}
public static final int CONTINUE_AS_NEW_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER = 11;
/**
* .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
* @return Whether the continueAsNewWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasContinueAsNewWorkflowExecutionCommandAttributes() {
return attributesCase_ == 11;
}
/**
* .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
* @return The continueAsNewWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes getContinueAsNewWorkflowExecutionCommandAttributes() {
if (attributesCase_ == 11) {
return (io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
*/
public io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesOrBuilder getContinueAsNewWorkflowExecutionCommandAttributesOrBuilder() {
if (attributesCase_ == 11) {
return (io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.getDefaultInstance();
}
public static final int START_CHILD_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER = 12;
/**
* .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
* @return Whether the startChildWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasStartChildWorkflowExecutionCommandAttributes() {
return attributesCase_ == 12;
}
/**
* .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
* @return The startChildWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes getStartChildWorkflowExecutionCommandAttributes() {
if (attributesCase_ == 12) {
return (io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
*/
public io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesOrBuilder getStartChildWorkflowExecutionCommandAttributesOrBuilder() {
if (attributesCase_ == 12) {
return (io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.getDefaultInstance();
}
public static final int SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER = 13;
/**
* .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
* @return Whether the signalExternalWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasSignalExternalWorkflowExecutionCommandAttributes() {
return attributesCase_ == 13;
}
/**
* .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
* @return The signalExternalWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes getSignalExternalWorkflowExecutionCommandAttributes() {
if (attributesCase_ == 13) {
return (io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
*/
public io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesOrBuilder getSignalExternalWorkflowExecutionCommandAttributesOrBuilder() {
if (attributesCase_ == 13) {
return (io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.getDefaultInstance();
}
public static final int UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_COMMAND_ATTRIBUTES_FIELD_NUMBER = 14;
/**
* .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
* @return Whether the upsertWorkflowSearchAttributesCommandAttributes field is set.
*/
public boolean hasUpsertWorkflowSearchAttributesCommandAttributes() {
return attributesCase_ == 14;
}
/**
* .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
* @return The upsertWorkflowSearchAttributesCommandAttributes.
*/
public io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes getUpsertWorkflowSearchAttributesCommandAttributes() {
if (attributesCase_ == 14) {
return (io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
*/
public io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesOrBuilder getUpsertWorkflowSearchAttributesCommandAttributesOrBuilder() {
if (attributesCase_ == 14) {
return (io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.getDefaultInstance();
}
public static final int PROTOCOL_MESSAGE_COMMAND_ATTRIBUTES_FIELD_NUMBER = 15;
/**
* .temporal.api.command.v1.ProtocolMessageCommandAttributes protocol_message_command_attributes = 15;
* @return Whether the protocolMessageCommandAttributes field is set.
*/
public boolean hasProtocolMessageCommandAttributes() {
return attributesCase_ == 15;
}
/**
* .temporal.api.command.v1.ProtocolMessageCommandAttributes protocol_message_command_attributes = 15;
* @return The protocolMessageCommandAttributes.
*/
public io.temporal.api.command.v1.ProtocolMessageCommandAttributes getProtocolMessageCommandAttributes() {
if (attributesCase_ == 15) {
return (io.temporal.api.command.v1.ProtocolMessageCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ProtocolMessageCommandAttributes.getDefaultInstance();
}
/**
* .temporal.api.command.v1.ProtocolMessageCommandAttributes protocol_message_command_attributes = 15;
*/
public io.temporal.api.command.v1.ProtocolMessageCommandAttributesOrBuilder getProtocolMessageCommandAttributesOrBuilder() {
if (attributesCase_ == 15) {
return (io.temporal.api.command.v1.ProtocolMessageCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ProtocolMessageCommandAttributes.getDefaultInstance();
}
public static final int MODIFY_WORKFLOW_PROPERTIES_COMMAND_ATTRIBUTES_FIELD_NUMBER = 17;
/**
*
* 16 is available for use - it was used as part of a prototype that never made it into a release
*
*
* .temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes modify_workflow_properties_command_attributes = 17;
* @return Whether the modifyWorkflowPropertiesCommandAttributes field is set.
*/
public boolean hasModifyWorkflowPropertiesCommandAttributes() {
return attributesCase_ == 17;
}
/**
*
* 16 is available for use - it was used as part of a prototype that never made it into a release
*
*
* .temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes modify_workflow_properties_command_attributes = 17;
* @return The modifyWorkflowPropertiesCommandAttributes.
*/
public io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes getModifyWorkflowPropertiesCommandAttributes() {
if (attributesCase_ == 17) {
return (io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.getDefaultInstance();
}
/**
*
* 16 is available for use - it was used as part of a prototype that never made it into a release
*
*
* .temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes modify_workflow_properties_command_attributes = 17;
*/
public io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesOrBuilder getModifyWorkflowPropertiesCommandAttributesOrBuilder() {
if (attributesCase_ == 17) {
return (io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.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 (commandType_ != io.temporal.api.enums.v1.CommandType.COMMAND_TYPE_UNSPECIFIED.getNumber()) {
output.writeEnum(1, commandType_);
}
if (attributesCase_ == 2) {
output.writeMessage(2, (io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) attributes_);
}
if (attributesCase_ == 3) {
output.writeMessage(3, (io.temporal.api.command.v1.StartTimerCommandAttributes) attributes_);
}
if (attributesCase_ == 4) {
output.writeMessage(4, (io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 5) {
output.writeMessage(5, (io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 6) {
output.writeMessage(6, (io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) attributes_);
}
if (attributesCase_ == 7) {
output.writeMessage(7, (io.temporal.api.command.v1.CancelTimerCommandAttributes) attributes_);
}
if (attributesCase_ == 8) {
output.writeMessage(8, (io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 9) {
output.writeMessage(9, (io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 10) {
output.writeMessage(10, (io.temporal.api.command.v1.RecordMarkerCommandAttributes) attributes_);
}
if (attributesCase_ == 11) {
output.writeMessage(11, (io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 12) {
output.writeMessage(12, (io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 13) {
output.writeMessage(13, (io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 14) {
output.writeMessage(14, (io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) attributes_);
}
if (attributesCase_ == 15) {
output.writeMessage(15, (io.temporal.api.command.v1.ProtocolMessageCommandAttributes) attributes_);
}
if (attributesCase_ == 17) {
output.writeMessage(17, (io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) attributes_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (commandType_ != io.temporal.api.enums.v1.CommandType.COMMAND_TYPE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, commandType_);
}
if (attributesCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) attributes_);
}
if (attributesCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (io.temporal.api.command.v1.StartTimerCommandAttributes) attributes_);
}
if (attributesCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) attributes_);
}
if (attributesCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (io.temporal.api.command.v1.CancelTimerCommandAttributes) attributes_);
}
if (attributesCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (io.temporal.api.command.v1.RecordMarkerCommandAttributes) attributes_);
}
if (attributesCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) attributes_);
}
if (attributesCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) attributes_);
}
if (attributesCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (io.temporal.api.command.v1.ProtocolMessageCommandAttributes) attributes_);
}
if (attributesCase_ == 17) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, (io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) attributes_);
}
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.command.v1.Command)) {
return super.equals(obj);
}
io.temporal.api.command.v1.Command other = (io.temporal.api.command.v1.Command) obj;
if (commandType_ != other.commandType_) return false;
if (!getAttributesCase().equals(other.getAttributesCase())) return false;
switch (attributesCase_) {
case 2:
if (!getScheduleActivityTaskCommandAttributes()
.equals(other.getScheduleActivityTaskCommandAttributes())) return false;
break;
case 3:
if (!getStartTimerCommandAttributes()
.equals(other.getStartTimerCommandAttributes())) return false;
break;
case 4:
if (!getCompleteWorkflowExecutionCommandAttributes()
.equals(other.getCompleteWorkflowExecutionCommandAttributes())) return false;
break;
case 5:
if (!getFailWorkflowExecutionCommandAttributes()
.equals(other.getFailWorkflowExecutionCommandAttributes())) return false;
break;
case 6:
if (!getRequestCancelActivityTaskCommandAttributes()
.equals(other.getRequestCancelActivityTaskCommandAttributes())) return false;
break;
case 7:
if (!getCancelTimerCommandAttributes()
.equals(other.getCancelTimerCommandAttributes())) return false;
break;
case 8:
if (!getCancelWorkflowExecutionCommandAttributes()
.equals(other.getCancelWorkflowExecutionCommandAttributes())) return false;
break;
case 9:
if (!getRequestCancelExternalWorkflowExecutionCommandAttributes()
.equals(other.getRequestCancelExternalWorkflowExecutionCommandAttributes())) return false;
break;
case 10:
if (!getRecordMarkerCommandAttributes()
.equals(other.getRecordMarkerCommandAttributes())) return false;
break;
case 11:
if (!getContinueAsNewWorkflowExecutionCommandAttributes()
.equals(other.getContinueAsNewWorkflowExecutionCommandAttributes())) return false;
break;
case 12:
if (!getStartChildWorkflowExecutionCommandAttributes()
.equals(other.getStartChildWorkflowExecutionCommandAttributes())) return false;
break;
case 13:
if (!getSignalExternalWorkflowExecutionCommandAttributes()
.equals(other.getSignalExternalWorkflowExecutionCommandAttributes())) return false;
break;
case 14:
if (!getUpsertWorkflowSearchAttributesCommandAttributes()
.equals(other.getUpsertWorkflowSearchAttributesCommandAttributes())) return false;
break;
case 15:
if (!getProtocolMessageCommandAttributes()
.equals(other.getProtocolMessageCommandAttributes())) return false;
break;
case 17:
if (!getModifyWorkflowPropertiesCommandAttributes()
.equals(other.getModifyWorkflowPropertiesCommandAttributes())) 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();
hash = (37 * hash) + COMMAND_TYPE_FIELD_NUMBER;
hash = (53 * hash) + commandType_;
switch (attributesCase_) {
case 2:
hash = (37 * hash) + SCHEDULE_ACTIVITY_TASK_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getScheduleActivityTaskCommandAttributes().hashCode();
break;
case 3:
hash = (37 * hash) + START_TIMER_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getStartTimerCommandAttributes().hashCode();
break;
case 4:
hash = (37 * hash) + COMPLETE_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getCompleteWorkflowExecutionCommandAttributes().hashCode();
break;
case 5:
hash = (37 * hash) + FAIL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getFailWorkflowExecutionCommandAttributes().hashCode();
break;
case 6:
hash = (37 * hash) + REQUEST_CANCEL_ACTIVITY_TASK_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getRequestCancelActivityTaskCommandAttributes().hashCode();
break;
case 7:
hash = (37 * hash) + CANCEL_TIMER_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getCancelTimerCommandAttributes().hashCode();
break;
case 8:
hash = (37 * hash) + CANCEL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getCancelWorkflowExecutionCommandAttributes().hashCode();
break;
case 9:
hash = (37 * hash) + REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getRequestCancelExternalWorkflowExecutionCommandAttributes().hashCode();
break;
case 10:
hash = (37 * hash) + RECORD_MARKER_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getRecordMarkerCommandAttributes().hashCode();
break;
case 11:
hash = (37 * hash) + CONTINUE_AS_NEW_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getContinueAsNewWorkflowExecutionCommandAttributes().hashCode();
break;
case 12:
hash = (37 * hash) + START_CHILD_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getStartChildWorkflowExecutionCommandAttributes().hashCode();
break;
case 13:
hash = (37 * hash) + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getSignalExternalWorkflowExecutionCommandAttributes().hashCode();
break;
case 14:
hash = (37 * hash) + UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getUpsertWorkflowSearchAttributesCommandAttributes().hashCode();
break;
case 15:
hash = (37 * hash) + PROTOCOL_MESSAGE_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getProtocolMessageCommandAttributes().hashCode();
break;
case 17:
hash = (37 * hash) + MODIFY_WORKFLOW_PROPERTIES_COMMAND_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getModifyWorkflowPropertiesCommandAttributes().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.temporal.api.command.v1.Command parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.command.v1.Command 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.command.v1.Command parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.command.v1.Command 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.command.v1.Command parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.command.v1.Command parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.temporal.api.command.v1.Command parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.temporal.api.command.v1.Command 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.command.v1.Command parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.temporal.api.command.v1.Command 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.command.v1.Command parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.temporal.api.command.v1.Command 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.command.v1.Command 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.command.v1.Command}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:temporal.api.command.v1.Command)
io.temporal.api.command.v1.CommandOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.temporal.api.command.v1.MessageProto.internal_static_temporal_api_command_v1_Command_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.temporal.api.command.v1.MessageProto.internal_static_temporal_api_command_v1_Command_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.temporal.api.command.v1.Command.class, io.temporal.api.command.v1.Command.Builder.class);
}
// Construct using io.temporal.api.command.v1.Command.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();
commandType_ = 0;
attributesCase_ = 0;
attributes_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.temporal.api.command.v1.MessageProto.internal_static_temporal_api_command_v1_Command_descriptor;
}
@java.lang.Override
public io.temporal.api.command.v1.Command getDefaultInstanceForType() {
return io.temporal.api.command.v1.Command.getDefaultInstance();
}
@java.lang.Override
public io.temporal.api.command.v1.Command build() {
io.temporal.api.command.v1.Command result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.temporal.api.command.v1.Command buildPartial() {
io.temporal.api.command.v1.Command result = new io.temporal.api.command.v1.Command(this);
result.commandType_ = commandType_;
if (attributesCase_ == 2) {
if (scheduleActivityTaskCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = scheduleActivityTaskCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 3) {
if (startTimerCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = startTimerCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 4) {
if (completeWorkflowExecutionCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = completeWorkflowExecutionCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 5) {
if (failWorkflowExecutionCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = failWorkflowExecutionCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 6) {
if (requestCancelActivityTaskCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = requestCancelActivityTaskCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 7) {
if (cancelTimerCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = cancelTimerCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 8) {
if (cancelWorkflowExecutionCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = cancelWorkflowExecutionCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 9) {
if (requestCancelExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = requestCancelExternalWorkflowExecutionCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 10) {
if (recordMarkerCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = recordMarkerCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 11) {
if (continueAsNewWorkflowExecutionCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = continueAsNewWorkflowExecutionCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 12) {
if (startChildWorkflowExecutionCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = startChildWorkflowExecutionCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 13) {
if (signalExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = signalExternalWorkflowExecutionCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 14) {
if (upsertWorkflowSearchAttributesCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = upsertWorkflowSearchAttributesCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 15) {
if (protocolMessageCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = protocolMessageCommandAttributesBuilder_.build();
}
}
if (attributesCase_ == 17) {
if (modifyWorkflowPropertiesCommandAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = modifyWorkflowPropertiesCommandAttributesBuilder_.build();
}
}
result.attributesCase_ = attributesCase_;
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.command.v1.Command) {
return mergeFrom((io.temporal.api.command.v1.Command)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.temporal.api.command.v1.Command other) {
if (other == io.temporal.api.command.v1.Command.getDefaultInstance()) return this;
if (other.commandType_ != 0) {
setCommandTypeValue(other.getCommandTypeValue());
}
switch (other.getAttributesCase()) {
case SCHEDULE_ACTIVITY_TASK_COMMAND_ATTRIBUTES: {
mergeScheduleActivityTaskCommandAttributes(other.getScheduleActivityTaskCommandAttributes());
break;
}
case START_TIMER_COMMAND_ATTRIBUTES: {
mergeStartTimerCommandAttributes(other.getStartTimerCommandAttributes());
break;
}
case COMPLETE_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES: {
mergeCompleteWorkflowExecutionCommandAttributes(other.getCompleteWorkflowExecutionCommandAttributes());
break;
}
case FAIL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES: {
mergeFailWorkflowExecutionCommandAttributes(other.getFailWorkflowExecutionCommandAttributes());
break;
}
case REQUEST_CANCEL_ACTIVITY_TASK_COMMAND_ATTRIBUTES: {
mergeRequestCancelActivityTaskCommandAttributes(other.getRequestCancelActivityTaskCommandAttributes());
break;
}
case CANCEL_TIMER_COMMAND_ATTRIBUTES: {
mergeCancelTimerCommandAttributes(other.getCancelTimerCommandAttributes());
break;
}
case CANCEL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES: {
mergeCancelWorkflowExecutionCommandAttributes(other.getCancelWorkflowExecutionCommandAttributes());
break;
}
case REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES: {
mergeRequestCancelExternalWorkflowExecutionCommandAttributes(other.getRequestCancelExternalWorkflowExecutionCommandAttributes());
break;
}
case RECORD_MARKER_COMMAND_ATTRIBUTES: {
mergeRecordMarkerCommandAttributes(other.getRecordMarkerCommandAttributes());
break;
}
case CONTINUE_AS_NEW_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES: {
mergeContinueAsNewWorkflowExecutionCommandAttributes(other.getContinueAsNewWorkflowExecutionCommandAttributes());
break;
}
case START_CHILD_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES: {
mergeStartChildWorkflowExecutionCommandAttributes(other.getStartChildWorkflowExecutionCommandAttributes());
break;
}
case SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_COMMAND_ATTRIBUTES: {
mergeSignalExternalWorkflowExecutionCommandAttributes(other.getSignalExternalWorkflowExecutionCommandAttributes());
break;
}
case UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_COMMAND_ATTRIBUTES: {
mergeUpsertWorkflowSearchAttributesCommandAttributes(other.getUpsertWorkflowSearchAttributesCommandAttributes());
break;
}
case PROTOCOL_MESSAGE_COMMAND_ATTRIBUTES: {
mergeProtocolMessageCommandAttributes(other.getProtocolMessageCommandAttributes());
break;
}
case MODIFY_WORKFLOW_PROPERTIES_COMMAND_ATTRIBUTES: {
mergeModifyWorkflowPropertiesCommandAttributes(other.getModifyWorkflowPropertiesCommandAttributes());
break;
}
case ATTRIBUTES_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.command.v1.Command parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.temporal.api.command.v1.Command) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int attributesCase_ = 0;
private java.lang.Object attributes_;
public AttributesCase
getAttributesCase() {
return AttributesCase.forNumber(
attributesCase_);
}
public Builder clearAttributes() {
attributesCase_ = 0;
attributes_ = null;
onChanged();
return this;
}
private int commandType_ = 0;
/**
* .temporal.api.enums.v1.CommandType command_type = 1;
* @return The enum numeric value on the wire for commandType.
*/
public int getCommandTypeValue() {
return commandType_;
}
/**
* .temporal.api.enums.v1.CommandType command_type = 1;
* @param value The enum numeric value on the wire for commandType to set.
* @return This builder for chaining.
*/
public Builder setCommandTypeValue(int value) {
commandType_ = value;
onChanged();
return this;
}
/**
* .temporal.api.enums.v1.CommandType command_type = 1;
* @return The commandType.
*/
public io.temporal.api.enums.v1.CommandType getCommandType() {
@SuppressWarnings("deprecation")
io.temporal.api.enums.v1.CommandType result = io.temporal.api.enums.v1.CommandType.valueOf(commandType_);
return result == null ? io.temporal.api.enums.v1.CommandType.UNRECOGNIZED : result;
}
/**
* .temporal.api.enums.v1.CommandType command_type = 1;
* @param value The commandType to set.
* @return This builder for chaining.
*/
public Builder setCommandType(io.temporal.api.enums.v1.CommandType value) {
if (value == null) {
throw new NullPointerException();
}
commandType_ = value.getNumber();
onChanged();
return this;
}
/**
* .temporal.api.enums.v1.CommandType command_type = 1;
* @return This builder for chaining.
*/
public Builder clearCommandType() {
commandType_ = 0;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes, io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.Builder, io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesOrBuilder> scheduleActivityTaskCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
* @return Whether the scheduleActivityTaskCommandAttributes field is set.
*/
public boolean hasScheduleActivityTaskCommandAttributes() {
return attributesCase_ == 2;
}
/**
* .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
* @return The scheduleActivityTaskCommandAttributes.
*/
public io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes getScheduleActivityTaskCommandAttributes() {
if (scheduleActivityTaskCommandAttributesBuilder_ == null) {
if (attributesCase_ == 2) {
return (io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 2) {
return scheduleActivityTaskCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
*/
public Builder setScheduleActivityTaskCommandAttributes(io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes value) {
if (scheduleActivityTaskCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
scheduleActivityTaskCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 2;
return this;
}
/**
* .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
*/
public Builder setScheduleActivityTaskCommandAttributes(
io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.Builder builderForValue) {
if (scheduleActivityTaskCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
scheduleActivityTaskCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 2;
return this;
}
/**
* .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
*/
public Builder mergeScheduleActivityTaskCommandAttributes(io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes value) {
if (scheduleActivityTaskCommandAttributesBuilder_ == null) {
if (attributesCase_ == 2 &&
attributes_ != io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.newBuilder((io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 2) {
scheduleActivityTaskCommandAttributesBuilder_.mergeFrom(value);
}
scheduleActivityTaskCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 2;
return this;
}
/**
* .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
*/
public Builder clearScheduleActivityTaskCommandAttributes() {
if (scheduleActivityTaskCommandAttributesBuilder_ == null) {
if (attributesCase_ == 2) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 2) {
attributesCase_ = 0;
attributes_ = null;
}
scheduleActivityTaskCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
*/
public io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.Builder getScheduleActivityTaskCommandAttributesBuilder() {
return getScheduleActivityTaskCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
*/
public io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesOrBuilder getScheduleActivityTaskCommandAttributesOrBuilder() {
if ((attributesCase_ == 2) && (scheduleActivityTaskCommandAttributesBuilder_ != null)) {
return scheduleActivityTaskCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 2) {
return (io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.ScheduleActivityTaskCommandAttributes schedule_activity_task_command_attributes = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes, io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.Builder, io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesOrBuilder>
getScheduleActivityTaskCommandAttributesFieldBuilder() {
if (scheduleActivityTaskCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 2)) {
attributes_ = io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.getDefaultInstance();
}
scheduleActivityTaskCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes, io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes.Builder, io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.ScheduleActivityTaskCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 2;
onChanged();;
return scheduleActivityTaskCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.StartTimerCommandAttributes, io.temporal.api.command.v1.StartTimerCommandAttributes.Builder, io.temporal.api.command.v1.StartTimerCommandAttributesOrBuilder> startTimerCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
* @return Whether the startTimerCommandAttributes field is set.
*/
public boolean hasStartTimerCommandAttributes() {
return attributesCase_ == 3;
}
/**
* .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
* @return The startTimerCommandAttributes.
*/
public io.temporal.api.command.v1.StartTimerCommandAttributes getStartTimerCommandAttributes() {
if (startTimerCommandAttributesBuilder_ == null) {
if (attributesCase_ == 3) {
return (io.temporal.api.command.v1.StartTimerCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.StartTimerCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 3) {
return startTimerCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.StartTimerCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
*/
public Builder setStartTimerCommandAttributes(io.temporal.api.command.v1.StartTimerCommandAttributes value) {
if (startTimerCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
startTimerCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 3;
return this;
}
/**
* .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
*/
public Builder setStartTimerCommandAttributes(
io.temporal.api.command.v1.StartTimerCommandAttributes.Builder builderForValue) {
if (startTimerCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
startTimerCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 3;
return this;
}
/**
* .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
*/
public Builder mergeStartTimerCommandAttributes(io.temporal.api.command.v1.StartTimerCommandAttributes value) {
if (startTimerCommandAttributesBuilder_ == null) {
if (attributesCase_ == 3 &&
attributes_ != io.temporal.api.command.v1.StartTimerCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.StartTimerCommandAttributes.newBuilder((io.temporal.api.command.v1.StartTimerCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 3) {
startTimerCommandAttributesBuilder_.mergeFrom(value);
}
startTimerCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 3;
return this;
}
/**
* .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
*/
public Builder clearStartTimerCommandAttributes() {
if (startTimerCommandAttributesBuilder_ == null) {
if (attributesCase_ == 3) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 3) {
attributesCase_ = 0;
attributes_ = null;
}
startTimerCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
*/
public io.temporal.api.command.v1.StartTimerCommandAttributes.Builder getStartTimerCommandAttributesBuilder() {
return getStartTimerCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
*/
public io.temporal.api.command.v1.StartTimerCommandAttributesOrBuilder getStartTimerCommandAttributesOrBuilder() {
if ((attributesCase_ == 3) && (startTimerCommandAttributesBuilder_ != null)) {
return startTimerCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 3) {
return (io.temporal.api.command.v1.StartTimerCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.StartTimerCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.StartTimerCommandAttributes start_timer_command_attributes = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.StartTimerCommandAttributes, io.temporal.api.command.v1.StartTimerCommandAttributes.Builder, io.temporal.api.command.v1.StartTimerCommandAttributesOrBuilder>
getStartTimerCommandAttributesFieldBuilder() {
if (startTimerCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 3)) {
attributes_ = io.temporal.api.command.v1.StartTimerCommandAttributes.getDefaultInstance();
}
startTimerCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.StartTimerCommandAttributes, io.temporal.api.command.v1.StartTimerCommandAttributes.Builder, io.temporal.api.command.v1.StartTimerCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.StartTimerCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 3;
onChanged();;
return startTimerCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesOrBuilder> completeWorkflowExecutionCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
* @return Whether the completeWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasCompleteWorkflowExecutionCommandAttributes() {
return attributesCase_ == 4;
}
/**
* .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
* @return The completeWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes getCompleteWorkflowExecutionCommandAttributes() {
if (completeWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 4) {
return (io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 4) {
return completeWorkflowExecutionCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
*/
public Builder setCompleteWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes value) {
if (completeWorkflowExecutionCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
completeWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 4;
return this;
}
/**
* .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
*/
public Builder setCompleteWorkflowExecutionCommandAttributes(
io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.Builder builderForValue) {
if (completeWorkflowExecutionCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
completeWorkflowExecutionCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 4;
return this;
}
/**
* .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
*/
public Builder mergeCompleteWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes value) {
if (completeWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 4 &&
attributes_ != io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.newBuilder((io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 4) {
completeWorkflowExecutionCommandAttributesBuilder_.mergeFrom(value);
}
completeWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 4;
return this;
}
/**
* .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
*/
public Builder clearCompleteWorkflowExecutionCommandAttributes() {
if (completeWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 4) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 4) {
attributesCase_ = 0;
attributes_ = null;
}
completeWorkflowExecutionCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
*/
public io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.Builder getCompleteWorkflowExecutionCommandAttributesBuilder() {
return getCompleteWorkflowExecutionCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
*/
public io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesOrBuilder getCompleteWorkflowExecutionCommandAttributesOrBuilder() {
if ((attributesCase_ == 4) && (completeWorkflowExecutionCommandAttributesBuilder_ != null)) {
return completeWorkflowExecutionCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 4) {
return (io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes complete_workflow_execution_command_attributes = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesOrBuilder>
getCompleteWorkflowExecutionCommandAttributesFieldBuilder() {
if (completeWorkflowExecutionCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 4)) {
attributes_ = io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.getDefaultInstance();
}
completeWorkflowExecutionCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 4;
onChanged();;
return completeWorkflowExecutionCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesOrBuilder> failWorkflowExecutionCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
* @return Whether the failWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasFailWorkflowExecutionCommandAttributes() {
return attributesCase_ == 5;
}
/**
* .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
* @return The failWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes getFailWorkflowExecutionCommandAttributes() {
if (failWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 5) {
return (io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 5) {
return failWorkflowExecutionCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
*/
public Builder setFailWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes value) {
if (failWorkflowExecutionCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
failWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 5;
return this;
}
/**
* .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
*/
public Builder setFailWorkflowExecutionCommandAttributes(
io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.Builder builderForValue) {
if (failWorkflowExecutionCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
failWorkflowExecutionCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 5;
return this;
}
/**
* .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
*/
public Builder mergeFailWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes value) {
if (failWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 5 &&
attributes_ != io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.newBuilder((io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 5) {
failWorkflowExecutionCommandAttributesBuilder_.mergeFrom(value);
}
failWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 5;
return this;
}
/**
* .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
*/
public Builder clearFailWorkflowExecutionCommandAttributes() {
if (failWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 5) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 5) {
attributesCase_ = 0;
attributes_ = null;
}
failWorkflowExecutionCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
*/
public io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.Builder getFailWorkflowExecutionCommandAttributesBuilder() {
return getFailWorkflowExecutionCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
*/
public io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesOrBuilder getFailWorkflowExecutionCommandAttributesOrBuilder() {
if ((attributesCase_ == 5) && (failWorkflowExecutionCommandAttributesBuilder_ != null)) {
return failWorkflowExecutionCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 5) {
return (io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.FailWorkflowExecutionCommandAttributes fail_workflow_execution_command_attributes = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesOrBuilder>
getFailWorkflowExecutionCommandAttributesFieldBuilder() {
if (failWorkflowExecutionCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 5)) {
attributes_ = io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.getDefaultInstance();
}
failWorkflowExecutionCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 5;
onChanged();;
return failWorkflowExecutionCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes, io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.Builder, io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesOrBuilder> requestCancelActivityTaskCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
* @return Whether the requestCancelActivityTaskCommandAttributes field is set.
*/
public boolean hasRequestCancelActivityTaskCommandAttributes() {
return attributesCase_ == 6;
}
/**
* .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
* @return The requestCancelActivityTaskCommandAttributes.
*/
public io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes getRequestCancelActivityTaskCommandAttributes() {
if (requestCancelActivityTaskCommandAttributesBuilder_ == null) {
if (attributesCase_ == 6) {
return (io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 6) {
return requestCancelActivityTaskCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
*/
public Builder setRequestCancelActivityTaskCommandAttributes(io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes value) {
if (requestCancelActivityTaskCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
requestCancelActivityTaskCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 6;
return this;
}
/**
* .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
*/
public Builder setRequestCancelActivityTaskCommandAttributes(
io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.Builder builderForValue) {
if (requestCancelActivityTaskCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
requestCancelActivityTaskCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 6;
return this;
}
/**
* .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
*/
public Builder mergeRequestCancelActivityTaskCommandAttributes(io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes value) {
if (requestCancelActivityTaskCommandAttributesBuilder_ == null) {
if (attributesCase_ == 6 &&
attributes_ != io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.newBuilder((io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 6) {
requestCancelActivityTaskCommandAttributesBuilder_.mergeFrom(value);
}
requestCancelActivityTaskCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 6;
return this;
}
/**
* .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
*/
public Builder clearRequestCancelActivityTaskCommandAttributes() {
if (requestCancelActivityTaskCommandAttributesBuilder_ == null) {
if (attributesCase_ == 6) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 6) {
attributesCase_ = 0;
attributes_ = null;
}
requestCancelActivityTaskCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
*/
public io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.Builder getRequestCancelActivityTaskCommandAttributesBuilder() {
return getRequestCancelActivityTaskCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
*/
public io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesOrBuilder getRequestCancelActivityTaskCommandAttributesOrBuilder() {
if ((attributesCase_ == 6) && (requestCancelActivityTaskCommandAttributesBuilder_ != null)) {
return requestCancelActivityTaskCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 6) {
return (io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes request_cancel_activity_task_command_attributes = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes, io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.Builder, io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesOrBuilder>
getRequestCancelActivityTaskCommandAttributesFieldBuilder() {
if (requestCancelActivityTaskCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 6)) {
attributes_ = io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.getDefaultInstance();
}
requestCancelActivityTaskCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes, io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes.Builder, io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 6;
onChanged();;
return requestCancelActivityTaskCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.CancelTimerCommandAttributes, io.temporal.api.command.v1.CancelTimerCommandAttributes.Builder, io.temporal.api.command.v1.CancelTimerCommandAttributesOrBuilder> cancelTimerCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
* @return Whether the cancelTimerCommandAttributes field is set.
*/
public boolean hasCancelTimerCommandAttributes() {
return attributesCase_ == 7;
}
/**
* .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
* @return The cancelTimerCommandAttributes.
*/
public io.temporal.api.command.v1.CancelTimerCommandAttributes getCancelTimerCommandAttributes() {
if (cancelTimerCommandAttributesBuilder_ == null) {
if (attributesCase_ == 7) {
return (io.temporal.api.command.v1.CancelTimerCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.CancelTimerCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 7) {
return cancelTimerCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.CancelTimerCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
*/
public Builder setCancelTimerCommandAttributes(io.temporal.api.command.v1.CancelTimerCommandAttributes value) {
if (cancelTimerCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
cancelTimerCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 7;
return this;
}
/**
* .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
*/
public Builder setCancelTimerCommandAttributes(
io.temporal.api.command.v1.CancelTimerCommandAttributes.Builder builderForValue) {
if (cancelTimerCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
cancelTimerCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 7;
return this;
}
/**
* .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
*/
public Builder mergeCancelTimerCommandAttributes(io.temporal.api.command.v1.CancelTimerCommandAttributes value) {
if (cancelTimerCommandAttributesBuilder_ == null) {
if (attributesCase_ == 7 &&
attributes_ != io.temporal.api.command.v1.CancelTimerCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.CancelTimerCommandAttributes.newBuilder((io.temporal.api.command.v1.CancelTimerCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 7) {
cancelTimerCommandAttributesBuilder_.mergeFrom(value);
}
cancelTimerCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 7;
return this;
}
/**
* .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
*/
public Builder clearCancelTimerCommandAttributes() {
if (cancelTimerCommandAttributesBuilder_ == null) {
if (attributesCase_ == 7) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 7) {
attributesCase_ = 0;
attributes_ = null;
}
cancelTimerCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
*/
public io.temporal.api.command.v1.CancelTimerCommandAttributes.Builder getCancelTimerCommandAttributesBuilder() {
return getCancelTimerCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
*/
public io.temporal.api.command.v1.CancelTimerCommandAttributesOrBuilder getCancelTimerCommandAttributesOrBuilder() {
if ((attributesCase_ == 7) && (cancelTimerCommandAttributesBuilder_ != null)) {
return cancelTimerCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 7) {
return (io.temporal.api.command.v1.CancelTimerCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.CancelTimerCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.CancelTimerCommandAttributes cancel_timer_command_attributes = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.CancelTimerCommandAttributes, io.temporal.api.command.v1.CancelTimerCommandAttributes.Builder, io.temporal.api.command.v1.CancelTimerCommandAttributesOrBuilder>
getCancelTimerCommandAttributesFieldBuilder() {
if (cancelTimerCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 7)) {
attributes_ = io.temporal.api.command.v1.CancelTimerCommandAttributes.getDefaultInstance();
}
cancelTimerCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.CancelTimerCommandAttributes, io.temporal.api.command.v1.CancelTimerCommandAttributes.Builder, io.temporal.api.command.v1.CancelTimerCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.CancelTimerCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 7;
onChanged();;
return cancelTimerCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesOrBuilder> cancelWorkflowExecutionCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
* @return Whether the cancelWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasCancelWorkflowExecutionCommandAttributes() {
return attributesCase_ == 8;
}
/**
* .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
* @return The cancelWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes getCancelWorkflowExecutionCommandAttributes() {
if (cancelWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 8) {
return (io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 8) {
return cancelWorkflowExecutionCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
*/
public Builder setCancelWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes value) {
if (cancelWorkflowExecutionCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
cancelWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 8;
return this;
}
/**
* .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
*/
public Builder setCancelWorkflowExecutionCommandAttributes(
io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.Builder builderForValue) {
if (cancelWorkflowExecutionCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
cancelWorkflowExecutionCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 8;
return this;
}
/**
* .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
*/
public Builder mergeCancelWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes value) {
if (cancelWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 8 &&
attributes_ != io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.newBuilder((io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 8) {
cancelWorkflowExecutionCommandAttributesBuilder_.mergeFrom(value);
}
cancelWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 8;
return this;
}
/**
* .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
*/
public Builder clearCancelWorkflowExecutionCommandAttributes() {
if (cancelWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 8) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 8) {
attributesCase_ = 0;
attributes_ = null;
}
cancelWorkflowExecutionCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
*/
public io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.Builder getCancelWorkflowExecutionCommandAttributesBuilder() {
return getCancelWorkflowExecutionCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
*/
public io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesOrBuilder getCancelWorkflowExecutionCommandAttributesOrBuilder() {
if ((attributesCase_ == 8) && (cancelWorkflowExecutionCommandAttributesBuilder_ != null)) {
return cancelWorkflowExecutionCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 8) {
return (io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes cancel_workflow_execution_command_attributes = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesOrBuilder>
getCancelWorkflowExecutionCommandAttributesFieldBuilder() {
if (cancelWorkflowExecutionCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 8)) {
attributes_ = io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.getDefaultInstance();
}
cancelWorkflowExecutionCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 8;
onChanged();;
return cancelWorkflowExecutionCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesOrBuilder> requestCancelExternalWorkflowExecutionCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
* @return Whether the requestCancelExternalWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasRequestCancelExternalWorkflowExecutionCommandAttributes() {
return attributesCase_ == 9;
}
/**
* .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
* @return The requestCancelExternalWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes getRequestCancelExternalWorkflowExecutionCommandAttributes() {
if (requestCancelExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 9) {
return (io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 9) {
return requestCancelExternalWorkflowExecutionCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
*/
public Builder setRequestCancelExternalWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes value) {
if (requestCancelExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
requestCancelExternalWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 9;
return this;
}
/**
* .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
*/
public Builder setRequestCancelExternalWorkflowExecutionCommandAttributes(
io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.Builder builderForValue) {
if (requestCancelExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
requestCancelExternalWorkflowExecutionCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 9;
return this;
}
/**
* .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
*/
public Builder mergeRequestCancelExternalWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes value) {
if (requestCancelExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 9 &&
attributes_ != io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.newBuilder((io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 9) {
requestCancelExternalWorkflowExecutionCommandAttributesBuilder_.mergeFrom(value);
}
requestCancelExternalWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 9;
return this;
}
/**
* .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
*/
public Builder clearRequestCancelExternalWorkflowExecutionCommandAttributes() {
if (requestCancelExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 9) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 9) {
attributesCase_ = 0;
attributes_ = null;
}
requestCancelExternalWorkflowExecutionCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
*/
public io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.Builder getRequestCancelExternalWorkflowExecutionCommandAttributesBuilder() {
return getRequestCancelExternalWorkflowExecutionCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
*/
public io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesOrBuilder getRequestCancelExternalWorkflowExecutionCommandAttributesOrBuilder() {
if ((attributesCase_ == 9) && (requestCancelExternalWorkflowExecutionCommandAttributesBuilder_ != null)) {
return requestCancelExternalWorkflowExecutionCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 9) {
return (io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes request_cancel_external_workflow_execution_command_attributes = 9;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesOrBuilder>
getRequestCancelExternalWorkflowExecutionCommandAttributesFieldBuilder() {
if (requestCancelExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 9)) {
attributes_ = io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.getDefaultInstance();
}
requestCancelExternalWorkflowExecutionCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 9;
onChanged();;
return requestCancelExternalWorkflowExecutionCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.RecordMarkerCommandAttributes, io.temporal.api.command.v1.RecordMarkerCommandAttributes.Builder, io.temporal.api.command.v1.RecordMarkerCommandAttributesOrBuilder> recordMarkerCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
* @return Whether the recordMarkerCommandAttributes field is set.
*/
public boolean hasRecordMarkerCommandAttributes() {
return attributesCase_ == 10;
}
/**
* .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
* @return The recordMarkerCommandAttributes.
*/
public io.temporal.api.command.v1.RecordMarkerCommandAttributes getRecordMarkerCommandAttributes() {
if (recordMarkerCommandAttributesBuilder_ == null) {
if (attributesCase_ == 10) {
return (io.temporal.api.command.v1.RecordMarkerCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.RecordMarkerCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 10) {
return recordMarkerCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.RecordMarkerCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
*/
public Builder setRecordMarkerCommandAttributes(io.temporal.api.command.v1.RecordMarkerCommandAttributes value) {
if (recordMarkerCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
recordMarkerCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 10;
return this;
}
/**
* .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
*/
public Builder setRecordMarkerCommandAttributes(
io.temporal.api.command.v1.RecordMarkerCommandAttributes.Builder builderForValue) {
if (recordMarkerCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
recordMarkerCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 10;
return this;
}
/**
* .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
*/
public Builder mergeRecordMarkerCommandAttributes(io.temporal.api.command.v1.RecordMarkerCommandAttributes value) {
if (recordMarkerCommandAttributesBuilder_ == null) {
if (attributesCase_ == 10 &&
attributes_ != io.temporal.api.command.v1.RecordMarkerCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.RecordMarkerCommandAttributes.newBuilder((io.temporal.api.command.v1.RecordMarkerCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 10) {
recordMarkerCommandAttributesBuilder_.mergeFrom(value);
}
recordMarkerCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 10;
return this;
}
/**
* .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
*/
public Builder clearRecordMarkerCommandAttributes() {
if (recordMarkerCommandAttributesBuilder_ == null) {
if (attributesCase_ == 10) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 10) {
attributesCase_ = 0;
attributes_ = null;
}
recordMarkerCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
*/
public io.temporal.api.command.v1.RecordMarkerCommandAttributes.Builder getRecordMarkerCommandAttributesBuilder() {
return getRecordMarkerCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
*/
public io.temporal.api.command.v1.RecordMarkerCommandAttributesOrBuilder getRecordMarkerCommandAttributesOrBuilder() {
if ((attributesCase_ == 10) && (recordMarkerCommandAttributesBuilder_ != null)) {
return recordMarkerCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 10) {
return (io.temporal.api.command.v1.RecordMarkerCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.RecordMarkerCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.RecordMarkerCommandAttributes record_marker_command_attributes = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.RecordMarkerCommandAttributes, io.temporal.api.command.v1.RecordMarkerCommandAttributes.Builder, io.temporal.api.command.v1.RecordMarkerCommandAttributesOrBuilder>
getRecordMarkerCommandAttributesFieldBuilder() {
if (recordMarkerCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 10)) {
attributes_ = io.temporal.api.command.v1.RecordMarkerCommandAttributes.getDefaultInstance();
}
recordMarkerCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.RecordMarkerCommandAttributes, io.temporal.api.command.v1.RecordMarkerCommandAttributes.Builder, io.temporal.api.command.v1.RecordMarkerCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.RecordMarkerCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 10;
onChanged();;
return recordMarkerCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesOrBuilder> continueAsNewWorkflowExecutionCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
* @return Whether the continueAsNewWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasContinueAsNewWorkflowExecutionCommandAttributes() {
return attributesCase_ == 11;
}
/**
* .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
* @return The continueAsNewWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes getContinueAsNewWorkflowExecutionCommandAttributes() {
if (continueAsNewWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 11) {
return (io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 11) {
return continueAsNewWorkflowExecutionCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
*/
public Builder setContinueAsNewWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes value) {
if (continueAsNewWorkflowExecutionCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
continueAsNewWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 11;
return this;
}
/**
* .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
*/
public Builder setContinueAsNewWorkflowExecutionCommandAttributes(
io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.Builder builderForValue) {
if (continueAsNewWorkflowExecutionCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
continueAsNewWorkflowExecutionCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 11;
return this;
}
/**
* .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
*/
public Builder mergeContinueAsNewWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes value) {
if (continueAsNewWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 11 &&
attributes_ != io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.newBuilder((io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 11) {
continueAsNewWorkflowExecutionCommandAttributesBuilder_.mergeFrom(value);
}
continueAsNewWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 11;
return this;
}
/**
* .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
*/
public Builder clearContinueAsNewWorkflowExecutionCommandAttributes() {
if (continueAsNewWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 11) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 11) {
attributesCase_ = 0;
attributes_ = null;
}
continueAsNewWorkflowExecutionCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
*/
public io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.Builder getContinueAsNewWorkflowExecutionCommandAttributesBuilder() {
return getContinueAsNewWorkflowExecutionCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
*/
public io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesOrBuilder getContinueAsNewWorkflowExecutionCommandAttributesOrBuilder() {
if ((attributesCase_ == 11) && (continueAsNewWorkflowExecutionCommandAttributesBuilder_ != null)) {
return continueAsNewWorkflowExecutionCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 11) {
return (io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes continue_as_new_workflow_execution_command_attributes = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesOrBuilder>
getContinueAsNewWorkflowExecutionCommandAttributesFieldBuilder() {
if (continueAsNewWorkflowExecutionCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 11)) {
attributes_ = io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.getDefaultInstance();
}
continueAsNewWorkflowExecutionCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 11;
onChanged();;
return continueAsNewWorkflowExecutionCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesOrBuilder> startChildWorkflowExecutionCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
* @return Whether the startChildWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasStartChildWorkflowExecutionCommandAttributes() {
return attributesCase_ == 12;
}
/**
* .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
* @return The startChildWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes getStartChildWorkflowExecutionCommandAttributes() {
if (startChildWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 12) {
return (io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 12) {
return startChildWorkflowExecutionCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
*/
public Builder setStartChildWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes value) {
if (startChildWorkflowExecutionCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
startChildWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 12;
return this;
}
/**
* .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
*/
public Builder setStartChildWorkflowExecutionCommandAttributes(
io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.Builder builderForValue) {
if (startChildWorkflowExecutionCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
startChildWorkflowExecutionCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 12;
return this;
}
/**
* .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
*/
public Builder mergeStartChildWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes value) {
if (startChildWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 12 &&
attributes_ != io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.newBuilder((io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 12) {
startChildWorkflowExecutionCommandAttributesBuilder_.mergeFrom(value);
}
startChildWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 12;
return this;
}
/**
* .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
*/
public Builder clearStartChildWorkflowExecutionCommandAttributes() {
if (startChildWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 12) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 12) {
attributesCase_ = 0;
attributes_ = null;
}
startChildWorkflowExecutionCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
*/
public io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.Builder getStartChildWorkflowExecutionCommandAttributesBuilder() {
return getStartChildWorkflowExecutionCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
*/
public io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesOrBuilder getStartChildWorkflowExecutionCommandAttributesOrBuilder() {
if ((attributesCase_ == 12) && (startChildWorkflowExecutionCommandAttributesBuilder_ != null)) {
return startChildWorkflowExecutionCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 12) {
return (io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes start_child_workflow_execution_command_attributes = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesOrBuilder>
getStartChildWorkflowExecutionCommandAttributesFieldBuilder() {
if (startChildWorkflowExecutionCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 12)) {
attributes_ = io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.getDefaultInstance();
}
startChildWorkflowExecutionCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 12;
onChanged();;
return startChildWorkflowExecutionCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesOrBuilder> signalExternalWorkflowExecutionCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
* @return Whether the signalExternalWorkflowExecutionCommandAttributes field is set.
*/
public boolean hasSignalExternalWorkflowExecutionCommandAttributes() {
return attributesCase_ == 13;
}
/**
* .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
* @return The signalExternalWorkflowExecutionCommandAttributes.
*/
public io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes getSignalExternalWorkflowExecutionCommandAttributes() {
if (signalExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 13) {
return (io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 13) {
return signalExternalWorkflowExecutionCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
*/
public Builder setSignalExternalWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes value) {
if (signalExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
signalExternalWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 13;
return this;
}
/**
* .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
*/
public Builder setSignalExternalWorkflowExecutionCommandAttributes(
io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.Builder builderForValue) {
if (signalExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
signalExternalWorkflowExecutionCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 13;
return this;
}
/**
* .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
*/
public Builder mergeSignalExternalWorkflowExecutionCommandAttributes(io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes value) {
if (signalExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 13 &&
attributes_ != io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.newBuilder((io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 13) {
signalExternalWorkflowExecutionCommandAttributesBuilder_.mergeFrom(value);
}
signalExternalWorkflowExecutionCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 13;
return this;
}
/**
* .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
*/
public Builder clearSignalExternalWorkflowExecutionCommandAttributes() {
if (signalExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
if (attributesCase_ == 13) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 13) {
attributesCase_ = 0;
attributes_ = null;
}
signalExternalWorkflowExecutionCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
*/
public io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.Builder getSignalExternalWorkflowExecutionCommandAttributesBuilder() {
return getSignalExternalWorkflowExecutionCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
*/
public io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesOrBuilder getSignalExternalWorkflowExecutionCommandAttributesOrBuilder() {
if ((attributesCase_ == 13) && (signalExternalWorkflowExecutionCommandAttributesBuilder_ != null)) {
return signalExternalWorkflowExecutionCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 13) {
return (io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes signal_external_workflow_execution_command_attributes = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesOrBuilder>
getSignalExternalWorkflowExecutionCommandAttributesFieldBuilder() {
if (signalExternalWorkflowExecutionCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 13)) {
attributes_ = io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.getDefaultInstance();
}
signalExternalWorkflowExecutionCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes, io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes.Builder, io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 13;
onChanged();;
return signalExternalWorkflowExecutionCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes, io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.Builder, io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesOrBuilder> upsertWorkflowSearchAttributesCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
* @return Whether the upsertWorkflowSearchAttributesCommandAttributes field is set.
*/
public boolean hasUpsertWorkflowSearchAttributesCommandAttributes() {
return attributesCase_ == 14;
}
/**
* .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
* @return The upsertWorkflowSearchAttributesCommandAttributes.
*/
public io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes getUpsertWorkflowSearchAttributesCommandAttributes() {
if (upsertWorkflowSearchAttributesCommandAttributesBuilder_ == null) {
if (attributesCase_ == 14) {
return (io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 14) {
return upsertWorkflowSearchAttributesCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
*/
public Builder setUpsertWorkflowSearchAttributesCommandAttributes(io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes value) {
if (upsertWorkflowSearchAttributesCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
upsertWorkflowSearchAttributesCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 14;
return this;
}
/**
* .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
*/
public Builder setUpsertWorkflowSearchAttributesCommandAttributes(
io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.Builder builderForValue) {
if (upsertWorkflowSearchAttributesCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
upsertWorkflowSearchAttributesCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 14;
return this;
}
/**
* .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
*/
public Builder mergeUpsertWorkflowSearchAttributesCommandAttributes(io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes value) {
if (upsertWorkflowSearchAttributesCommandAttributesBuilder_ == null) {
if (attributesCase_ == 14 &&
attributes_ != io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.newBuilder((io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 14) {
upsertWorkflowSearchAttributesCommandAttributesBuilder_.mergeFrom(value);
}
upsertWorkflowSearchAttributesCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 14;
return this;
}
/**
* .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
*/
public Builder clearUpsertWorkflowSearchAttributesCommandAttributes() {
if (upsertWorkflowSearchAttributesCommandAttributesBuilder_ == null) {
if (attributesCase_ == 14) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 14) {
attributesCase_ = 0;
attributes_ = null;
}
upsertWorkflowSearchAttributesCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
*/
public io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.Builder getUpsertWorkflowSearchAttributesCommandAttributesBuilder() {
return getUpsertWorkflowSearchAttributesCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
*/
public io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesOrBuilder getUpsertWorkflowSearchAttributesCommandAttributesOrBuilder() {
if ((attributesCase_ == 14) && (upsertWorkflowSearchAttributesCommandAttributesBuilder_ != null)) {
return upsertWorkflowSearchAttributesCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 14) {
return (io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes upsert_workflow_search_attributes_command_attributes = 14;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes, io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.Builder, io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesOrBuilder>
getUpsertWorkflowSearchAttributesCommandAttributesFieldBuilder() {
if (upsertWorkflowSearchAttributesCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 14)) {
attributes_ = io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.getDefaultInstance();
}
upsertWorkflowSearchAttributesCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes, io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes.Builder, io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 14;
onChanged();;
return upsertWorkflowSearchAttributesCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.ProtocolMessageCommandAttributes, io.temporal.api.command.v1.ProtocolMessageCommandAttributes.Builder, io.temporal.api.command.v1.ProtocolMessageCommandAttributesOrBuilder> protocolMessageCommandAttributesBuilder_;
/**
* .temporal.api.command.v1.ProtocolMessageCommandAttributes protocol_message_command_attributes = 15;
* @return Whether the protocolMessageCommandAttributes field is set.
*/
public boolean hasProtocolMessageCommandAttributes() {
return attributesCase_ == 15;
}
/**
* .temporal.api.command.v1.ProtocolMessageCommandAttributes protocol_message_command_attributes = 15;
* @return The protocolMessageCommandAttributes.
*/
public io.temporal.api.command.v1.ProtocolMessageCommandAttributes getProtocolMessageCommandAttributes() {
if (protocolMessageCommandAttributesBuilder_ == null) {
if (attributesCase_ == 15) {
return (io.temporal.api.command.v1.ProtocolMessageCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ProtocolMessageCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 15) {
return protocolMessageCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.ProtocolMessageCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.ProtocolMessageCommandAttributes protocol_message_command_attributes = 15;
*/
public Builder setProtocolMessageCommandAttributes(io.temporal.api.command.v1.ProtocolMessageCommandAttributes value) {
if (protocolMessageCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
protocolMessageCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 15;
return this;
}
/**
* .temporal.api.command.v1.ProtocolMessageCommandAttributes protocol_message_command_attributes = 15;
*/
public Builder setProtocolMessageCommandAttributes(
io.temporal.api.command.v1.ProtocolMessageCommandAttributes.Builder builderForValue) {
if (protocolMessageCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
protocolMessageCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 15;
return this;
}
/**
* .temporal.api.command.v1.ProtocolMessageCommandAttributes protocol_message_command_attributes = 15;
*/
public Builder mergeProtocolMessageCommandAttributes(io.temporal.api.command.v1.ProtocolMessageCommandAttributes value) {
if (protocolMessageCommandAttributesBuilder_ == null) {
if (attributesCase_ == 15 &&
attributes_ != io.temporal.api.command.v1.ProtocolMessageCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.ProtocolMessageCommandAttributes.newBuilder((io.temporal.api.command.v1.ProtocolMessageCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 15) {
protocolMessageCommandAttributesBuilder_.mergeFrom(value);
}
protocolMessageCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 15;
return this;
}
/**
* .temporal.api.command.v1.ProtocolMessageCommandAttributes protocol_message_command_attributes = 15;
*/
public Builder clearProtocolMessageCommandAttributes() {
if (protocolMessageCommandAttributesBuilder_ == null) {
if (attributesCase_ == 15) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 15) {
attributesCase_ = 0;
attributes_ = null;
}
protocolMessageCommandAttributesBuilder_.clear();
}
return this;
}
/**
* .temporal.api.command.v1.ProtocolMessageCommandAttributes protocol_message_command_attributes = 15;
*/
public io.temporal.api.command.v1.ProtocolMessageCommandAttributes.Builder getProtocolMessageCommandAttributesBuilder() {
return getProtocolMessageCommandAttributesFieldBuilder().getBuilder();
}
/**
* .temporal.api.command.v1.ProtocolMessageCommandAttributes protocol_message_command_attributes = 15;
*/
public io.temporal.api.command.v1.ProtocolMessageCommandAttributesOrBuilder getProtocolMessageCommandAttributesOrBuilder() {
if ((attributesCase_ == 15) && (protocolMessageCommandAttributesBuilder_ != null)) {
return protocolMessageCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 15) {
return (io.temporal.api.command.v1.ProtocolMessageCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ProtocolMessageCommandAttributes.getDefaultInstance();
}
}
/**
* .temporal.api.command.v1.ProtocolMessageCommandAttributes protocol_message_command_attributes = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.ProtocolMessageCommandAttributes, io.temporal.api.command.v1.ProtocolMessageCommandAttributes.Builder, io.temporal.api.command.v1.ProtocolMessageCommandAttributesOrBuilder>
getProtocolMessageCommandAttributesFieldBuilder() {
if (protocolMessageCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 15)) {
attributes_ = io.temporal.api.command.v1.ProtocolMessageCommandAttributes.getDefaultInstance();
}
protocolMessageCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.ProtocolMessageCommandAttributes, io.temporal.api.command.v1.ProtocolMessageCommandAttributes.Builder, io.temporal.api.command.v1.ProtocolMessageCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.ProtocolMessageCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 15;
onChanged();;
return protocolMessageCommandAttributesBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes, io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.Builder, io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesOrBuilder> modifyWorkflowPropertiesCommandAttributesBuilder_;
/**
*
* 16 is available for use - it was used as part of a prototype that never made it into a release
*
*
* .temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes modify_workflow_properties_command_attributes = 17;
* @return Whether the modifyWorkflowPropertiesCommandAttributes field is set.
*/
public boolean hasModifyWorkflowPropertiesCommandAttributes() {
return attributesCase_ == 17;
}
/**
*
* 16 is available for use - it was used as part of a prototype that never made it into a release
*
*
* .temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes modify_workflow_properties_command_attributes = 17;
* @return The modifyWorkflowPropertiesCommandAttributes.
*/
public io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes getModifyWorkflowPropertiesCommandAttributes() {
if (modifyWorkflowPropertiesCommandAttributesBuilder_ == null) {
if (attributesCase_ == 17) {
return (io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.getDefaultInstance();
} else {
if (attributesCase_ == 17) {
return modifyWorkflowPropertiesCommandAttributesBuilder_.getMessage();
}
return io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.getDefaultInstance();
}
}
/**
*
* 16 is available for use - it was used as part of a prototype that never made it into a release
*
*
* .temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes modify_workflow_properties_command_attributes = 17;
*/
public Builder setModifyWorkflowPropertiesCommandAttributes(io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes value) {
if (modifyWorkflowPropertiesCommandAttributesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
attributes_ = value;
onChanged();
} else {
modifyWorkflowPropertiesCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 17;
return this;
}
/**
*
* 16 is available for use - it was used as part of a prototype that never made it into a release
*
*
* .temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes modify_workflow_properties_command_attributes = 17;
*/
public Builder setModifyWorkflowPropertiesCommandAttributes(
io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.Builder builderForValue) {
if (modifyWorkflowPropertiesCommandAttributesBuilder_ == null) {
attributes_ = builderForValue.build();
onChanged();
} else {
modifyWorkflowPropertiesCommandAttributesBuilder_.setMessage(builderForValue.build());
}
attributesCase_ = 17;
return this;
}
/**
*
* 16 is available for use - it was used as part of a prototype that never made it into a release
*
*
* .temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes modify_workflow_properties_command_attributes = 17;
*/
public Builder mergeModifyWorkflowPropertiesCommandAttributes(io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes value) {
if (modifyWorkflowPropertiesCommandAttributesBuilder_ == null) {
if (attributesCase_ == 17 &&
attributes_ != io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.getDefaultInstance()) {
attributes_ = io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.newBuilder((io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) attributes_)
.mergeFrom(value).buildPartial();
} else {
attributes_ = value;
}
onChanged();
} else {
if (attributesCase_ == 17) {
modifyWorkflowPropertiesCommandAttributesBuilder_.mergeFrom(value);
}
modifyWorkflowPropertiesCommandAttributesBuilder_.setMessage(value);
}
attributesCase_ = 17;
return this;
}
/**
*
* 16 is available for use - it was used as part of a prototype that never made it into a release
*
*
* .temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes modify_workflow_properties_command_attributes = 17;
*/
public Builder clearModifyWorkflowPropertiesCommandAttributes() {
if (modifyWorkflowPropertiesCommandAttributesBuilder_ == null) {
if (attributesCase_ == 17) {
attributesCase_ = 0;
attributes_ = null;
onChanged();
}
} else {
if (attributesCase_ == 17) {
attributesCase_ = 0;
attributes_ = null;
}
modifyWorkflowPropertiesCommandAttributesBuilder_.clear();
}
return this;
}
/**
*
* 16 is available for use - it was used as part of a prototype that never made it into a release
*
*
* .temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes modify_workflow_properties_command_attributes = 17;
*/
public io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.Builder getModifyWorkflowPropertiesCommandAttributesBuilder() {
return getModifyWorkflowPropertiesCommandAttributesFieldBuilder().getBuilder();
}
/**
*
* 16 is available for use - it was used as part of a prototype that never made it into a release
*
*
* .temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes modify_workflow_properties_command_attributes = 17;
*/
public io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesOrBuilder getModifyWorkflowPropertiesCommandAttributesOrBuilder() {
if ((attributesCase_ == 17) && (modifyWorkflowPropertiesCommandAttributesBuilder_ != null)) {
return modifyWorkflowPropertiesCommandAttributesBuilder_.getMessageOrBuilder();
} else {
if (attributesCase_ == 17) {
return (io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) attributes_;
}
return io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.getDefaultInstance();
}
}
/**
*
* 16 is available for use - it was used as part of a prototype that never made it into a release
*
*
* .temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes modify_workflow_properties_command_attributes = 17;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes, io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.Builder, io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesOrBuilder>
getModifyWorkflowPropertiesCommandAttributesFieldBuilder() {
if (modifyWorkflowPropertiesCommandAttributesBuilder_ == null) {
if (!(attributesCase_ == 17)) {
attributes_ = io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.getDefaultInstance();
}
modifyWorkflowPropertiesCommandAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes, io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes.Builder, io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesOrBuilder>(
(io.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes) attributes_,
getParentForChildren(),
isClean());
attributes_ = null;
}
attributesCase_ = 17;
onChanged();;
return modifyWorkflowPropertiesCommandAttributesBuilder_;
}
@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.command.v1.Command)
}
// @@protoc_insertion_point(class_scope:temporal.api.command.v1.Command)
private static final io.temporal.api.command.v1.Command DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.temporal.api.command.v1.Command();
}
public static io.temporal.api.command.v1.Command getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Command parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Command(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.command.v1.Command getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy