Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: temporal/api/history/v1/message.proto
package io.temporal.api.history.v1;
/**
*
* History events are the method by which Temporal SDKs advance (or recreate) workflow state.
* See the `EventType` enum for more info about what each event is for.
*
*
* Protobuf type {@code temporal.api.history.v1.HistoryEvent}
*/
@javax.annotation.Generated(value="protoc", comments="annotations:HistoryEvent.java.pb.meta")
public final class HistoryEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:temporal.api.history.v1.HistoryEvent)
HistoryEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use HistoryEvent.newBuilder() to construct.
private HistoryEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private HistoryEvent() {
eventType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HistoryEvent();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HistoryEvent(
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: {
eventId_ = input.readInt64();
break;
}
case 18: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (eventTime_ != null) {
subBuilder = eventTime_.toBuilder();
}
eventTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(eventTime_);
eventTime_ = subBuilder.buildPartial();
}
break;
}
case 24: {
int rawValue = input.readEnum();
eventType_ = rawValue;
break;
}
case 32: {
version_ = input.readInt64();
break;
}
case 40: {
taskId_ = input.readInt64();
break;
}
case 50: {
io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 6) {
subBuilder = ((io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 6;
break;
}
case 58: {
io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 7) {
subBuilder = ((io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 7;
break;
}
case 66: {
io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 8) {
subBuilder = ((io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 8;
break;
}
case 74: {
io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 9) {
subBuilder = ((io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 9;
break;
}
case 82: {
io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 10) {
subBuilder = ((io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 10;
break;
}
case 90: {
io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 11) {
subBuilder = ((io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 11;
break;
}
case 98: {
io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 12) {
subBuilder = ((io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 12;
break;
}
case 106: {
io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 13) {
subBuilder = ((io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 13;
break;
}
case 114: {
io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 14) {
subBuilder = ((io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 14;
break;
}
case 122: {
io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 15) {
subBuilder = ((io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 15;
break;
}
case 130: {
io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 16) {
subBuilder = ((io.temporal.api.history.v1.ActivityTaskStartedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ActivityTaskStartedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 16;
break;
}
case 138: {
io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 17) {
subBuilder = ((io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 17;
break;
}
case 146: {
io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 18) {
subBuilder = ((io.temporal.api.history.v1.ActivityTaskFailedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ActivityTaskFailedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 18;
break;
}
case 154: {
io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 19) {
subBuilder = ((io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 19;
break;
}
case 162: {
io.temporal.api.history.v1.TimerStartedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 20) {
subBuilder = ((io.temporal.api.history.v1.TimerStartedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.TimerStartedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.TimerStartedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 20;
break;
}
case 170: {
io.temporal.api.history.v1.TimerFiredEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 21) {
subBuilder = ((io.temporal.api.history.v1.TimerFiredEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.TimerFiredEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.TimerFiredEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 21;
break;
}
case 178: {
io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 22) {
subBuilder = ((io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 22;
break;
}
case 186: {
io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 23) {
subBuilder = ((io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 23;
break;
}
case 194: {
io.temporal.api.history.v1.TimerCanceledEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 24) {
subBuilder = ((io.temporal.api.history.v1.TimerCanceledEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.TimerCanceledEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.TimerCanceledEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 24;
break;
}
case 202: {
io.temporal.api.history.v1.MarkerRecordedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 25) {
subBuilder = ((io.temporal.api.history.v1.MarkerRecordedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.MarkerRecordedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.MarkerRecordedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 25;
break;
}
case 210: {
io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 26) {
subBuilder = ((io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 26;
break;
}
case 218: {
io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 27) {
subBuilder = ((io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 27;
break;
}
case 226: {
io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 28) {
subBuilder = ((io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 28;
break;
}
case 234: {
io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 29) {
subBuilder = ((io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 29;
break;
}
case 242: {
io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 30) {
subBuilder = ((io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 30;
break;
}
case 250: {
io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 31) {
subBuilder = ((io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 31;
break;
}
case 258: {
io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 32) {
subBuilder = ((io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 32;
break;
}
case 266: {
io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 33) {
subBuilder = ((io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 33;
break;
}
case 274: {
io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 34) {
subBuilder = ((io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 34;
break;
}
case 282: {
io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 35) {
subBuilder = ((io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 35;
break;
}
case 290: {
io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 36) {
subBuilder = ((io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 36;
break;
}
case 298: {
io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 37) {
subBuilder = ((io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 37;
break;
}
case 306: {
io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 38) {
subBuilder = ((io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 38;
break;
}
case 314: {
io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 39) {
subBuilder = ((io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 39;
break;
}
case 322: {
io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 40) {
subBuilder = ((io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 40;
break;
}
case 330: {
io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 41) {
subBuilder = ((io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 41;
break;
}
case 338: {
io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 42) {
subBuilder = ((io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 42;
break;
}
case 346: {
io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 43) {
subBuilder = ((io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 43;
break;
}
case 354: {
io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 44) {
subBuilder = ((io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 44;
break;
}
case 362: {
io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 45) {
subBuilder = ((io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 45;
break;
}
case 370: {
io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 46) {
subBuilder = ((io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 46;
break;
}
case 378: {
io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 47) {
subBuilder = ((io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 47;
break;
}
case 386: {
io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 48) {
subBuilder = ((io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 48;
break;
}
case 394: {
io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 49) {
subBuilder = ((io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 49;
break;
}
case 402: {
io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 50) {
subBuilder = ((io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 50;
break;
}
case 410: {
io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.Builder subBuilder = null;
if (attributesCase_ == 51) {
subBuilder = ((io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) attributes_).toBuilder();
}
attributes_ =
input.readMessage(io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) attributes_);
attributes_ = subBuilder.buildPartial();
}
attributesCase_ = 51;
break;
}
case 2400: {
workerMayIgnore_ = input.readBool();
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.history.v1.MessageProto.internal_static_temporal_api_history_v1_HistoryEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.temporal.api.history.v1.MessageProto.internal_static_temporal_api_history_v1_HistoryEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.temporal.api.history.v1.HistoryEvent.class, io.temporal.api.history.v1.HistoryEvent.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 {
WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES(6),
WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES(7),
WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES(8),
WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES(9),
WORKFLOW_TASK_SCHEDULED_EVENT_ATTRIBUTES(10),
WORKFLOW_TASK_STARTED_EVENT_ATTRIBUTES(11),
WORKFLOW_TASK_COMPLETED_EVENT_ATTRIBUTES(12),
WORKFLOW_TASK_TIMED_OUT_EVENT_ATTRIBUTES(13),
WORKFLOW_TASK_FAILED_EVENT_ATTRIBUTES(14),
ACTIVITY_TASK_SCHEDULED_EVENT_ATTRIBUTES(15),
ACTIVITY_TASK_STARTED_EVENT_ATTRIBUTES(16),
ACTIVITY_TASK_COMPLETED_EVENT_ATTRIBUTES(17),
ACTIVITY_TASK_FAILED_EVENT_ATTRIBUTES(18),
ACTIVITY_TASK_TIMED_OUT_EVENT_ATTRIBUTES(19),
TIMER_STARTED_EVENT_ATTRIBUTES(20),
TIMER_FIRED_EVENT_ATTRIBUTES(21),
ACTIVITY_TASK_CANCEL_REQUESTED_EVENT_ATTRIBUTES(22),
ACTIVITY_TASK_CANCELED_EVENT_ATTRIBUTES(23),
TIMER_CANCELED_EVENT_ATTRIBUTES(24),
MARKER_RECORDED_EVENT_ATTRIBUTES(25),
WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES(26),
WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES(27),
WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES(28),
WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES(29),
REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES(30),
REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES(31),
EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES(32),
WORKFLOW_EXECUTION_CONTINUED_AS_NEW_EVENT_ATTRIBUTES(33),
START_CHILD_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES(34),
START_CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES(35),
CHILD_WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES(36),
CHILD_WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES(37),
CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES(38),
CHILD_WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES(39),
CHILD_WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES(40),
CHILD_WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES(41),
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES(42),
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES(43),
EXTERNAL_WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES(44),
UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_EVENT_ATTRIBUTES(45),
WORKFLOW_EXECUTION_UPDATE_ACCEPTED_EVENT_ATTRIBUTES(46),
WORKFLOW_EXECUTION_UPDATE_REJECTED_EVENT_ATTRIBUTES(47),
WORKFLOW_EXECUTION_UPDATE_COMPLETED_EVENT_ATTRIBUTES(48),
WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY_EVENT_ATTRIBUTES(49),
ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY_EVENT_ATTRIBUTES(50),
WORKFLOW_PROPERTIES_MODIFIED_EVENT_ATTRIBUTES(51),
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 6: return WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES;
case 7: return WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES;
case 8: return WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES;
case 9: return WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES;
case 10: return WORKFLOW_TASK_SCHEDULED_EVENT_ATTRIBUTES;
case 11: return WORKFLOW_TASK_STARTED_EVENT_ATTRIBUTES;
case 12: return WORKFLOW_TASK_COMPLETED_EVENT_ATTRIBUTES;
case 13: return WORKFLOW_TASK_TIMED_OUT_EVENT_ATTRIBUTES;
case 14: return WORKFLOW_TASK_FAILED_EVENT_ATTRIBUTES;
case 15: return ACTIVITY_TASK_SCHEDULED_EVENT_ATTRIBUTES;
case 16: return ACTIVITY_TASK_STARTED_EVENT_ATTRIBUTES;
case 17: return ACTIVITY_TASK_COMPLETED_EVENT_ATTRIBUTES;
case 18: return ACTIVITY_TASK_FAILED_EVENT_ATTRIBUTES;
case 19: return ACTIVITY_TASK_TIMED_OUT_EVENT_ATTRIBUTES;
case 20: return TIMER_STARTED_EVENT_ATTRIBUTES;
case 21: return TIMER_FIRED_EVENT_ATTRIBUTES;
case 22: return ACTIVITY_TASK_CANCEL_REQUESTED_EVENT_ATTRIBUTES;
case 23: return ACTIVITY_TASK_CANCELED_EVENT_ATTRIBUTES;
case 24: return TIMER_CANCELED_EVENT_ATTRIBUTES;
case 25: return MARKER_RECORDED_EVENT_ATTRIBUTES;
case 26: return WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES;
case 27: return WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES;
case 28: return WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES;
case 29: return WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES;
case 30: return REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES;
case 31: return REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES;
case 32: return EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES;
case 33: return WORKFLOW_EXECUTION_CONTINUED_AS_NEW_EVENT_ATTRIBUTES;
case 34: return START_CHILD_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES;
case 35: return START_CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES;
case 36: return CHILD_WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES;
case 37: return CHILD_WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES;
case 38: return CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES;
case 39: return CHILD_WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES;
case 40: return CHILD_WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES;
case 41: return CHILD_WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES;
case 42: return SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES;
case 43: return SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES;
case 44: return EXTERNAL_WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES;
case 45: return UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_EVENT_ATTRIBUTES;
case 46: return WORKFLOW_EXECUTION_UPDATE_ACCEPTED_EVENT_ATTRIBUTES;
case 47: return WORKFLOW_EXECUTION_UPDATE_REJECTED_EVENT_ATTRIBUTES;
case 48: return WORKFLOW_EXECUTION_UPDATE_COMPLETED_EVENT_ATTRIBUTES;
case 49: return WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY_EVENT_ATTRIBUTES;
case 50: return ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY_EVENT_ATTRIBUTES;
case 51: return WORKFLOW_PROPERTIES_MODIFIED_EVENT_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 EVENT_ID_FIELD_NUMBER = 1;
private long eventId_;
/**
*
* Monotonically increasing event number, starts at 1.
*
*
* int64 event_id = 1;
* @return The eventId.
*/
public long getEventId() {
return eventId_;
}
public static final int EVENT_TIME_FIELD_NUMBER = 2;
private com.google.protobuf.Timestamp eventTime_;
/**
* .google.protobuf.Timestamp event_time = 2 [(.gogoproto.stdtime) = true];
* @return Whether the eventTime field is set.
*/
public boolean hasEventTime() {
return eventTime_ != null;
}
/**
* .google.protobuf.Timestamp event_time = 2 [(.gogoproto.stdtime) = true];
* @return The eventTime.
*/
public com.google.protobuf.Timestamp getEventTime() {
return eventTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : eventTime_;
}
/**
* .google.protobuf.Timestamp event_time = 2 [(.gogoproto.stdtime) = true];
*/
public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
return getEventTime();
}
public static final int EVENT_TYPE_FIELD_NUMBER = 3;
private int eventType_;
/**
* .temporal.api.enums.v1.EventType event_type = 3;
* @return The enum numeric value on the wire for eventType.
*/
public int getEventTypeValue() {
return eventType_;
}
/**
* .temporal.api.enums.v1.EventType event_type = 3;
* @return The eventType.
*/
public io.temporal.api.enums.v1.EventType getEventType() {
@SuppressWarnings("deprecation")
io.temporal.api.enums.v1.EventType result = io.temporal.api.enums.v1.EventType.valueOf(eventType_);
return result == null ? io.temporal.api.enums.v1.EventType.UNRECOGNIZED : result;
}
public static final int VERSION_FIELD_NUMBER = 4;
private long version_;
/**
*
* TODO: What is this? Appears unused by SDKs
*
*
* int64 version = 4;
* @return The version.
*/
public long getVersion() {
return version_;
}
public static final int TASK_ID_FIELD_NUMBER = 5;
private long taskId_;
/**
*
* TODO: What is this? Appears unused by SDKs
*
*
* int64 task_id = 5;
* @return The taskId.
*/
public long getTaskId() {
return taskId_;
}
public static final int WORKER_MAY_IGNORE_FIELD_NUMBER = 300;
private boolean workerMayIgnore_;
/**
*
* Set to true when the SDK may ignore the event as it does not impact workflow state or
* information in any way that the SDK need be concerned with. If an SDK encounters an event
* type which it does not understand, it must error unless this is true. If it is true, it's
* acceptable for the event type and/or attributes to be uninterpretable.
*
*
* bool worker_may_ignore = 300;
* @return The workerMayIgnore.
*/
public boolean getWorkerMayIgnore() {
return workerMayIgnore_;
}
public static final int WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER = 6;
/**
* .temporal.api.history.v1.WorkflowExecutionStartedEventAttributes workflow_execution_started_event_attributes = 6;
* @return Whether the workflowExecutionStartedEventAttributes field is set.
*/
public boolean hasWorkflowExecutionStartedEventAttributes() {
return attributesCase_ == 6;
}
/**
* .temporal.api.history.v1.WorkflowExecutionStartedEventAttributes workflow_execution_started_event_attributes = 6;
* @return The workflowExecutionStartedEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes getWorkflowExecutionStartedEventAttributes() {
if (attributesCase_ == 6) {
return (io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowExecutionStartedEventAttributes workflow_execution_started_event_attributes = 6;
*/
public io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesOrBuilder getWorkflowExecutionStartedEventAttributesOrBuilder() {
if (attributesCase_ == 6) {
return (io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER = 7;
/**
* .temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes workflow_execution_completed_event_attributes = 7;
* @return Whether the workflowExecutionCompletedEventAttributes field is set.
*/
public boolean hasWorkflowExecutionCompletedEventAttributes() {
return attributesCase_ == 7;
}
/**
* .temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes workflow_execution_completed_event_attributes = 7;
* @return The workflowExecutionCompletedEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes getWorkflowExecutionCompletedEventAttributes() {
if (attributesCase_ == 7) {
return (io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes workflow_execution_completed_event_attributes = 7;
*/
public io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesOrBuilder getWorkflowExecutionCompletedEventAttributesOrBuilder() {
if (attributesCase_ == 7) {
return (io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER = 8;
/**
* .temporal.api.history.v1.WorkflowExecutionFailedEventAttributes workflow_execution_failed_event_attributes = 8;
* @return Whether the workflowExecutionFailedEventAttributes field is set.
*/
public boolean hasWorkflowExecutionFailedEventAttributes() {
return attributesCase_ == 8;
}
/**
* .temporal.api.history.v1.WorkflowExecutionFailedEventAttributes workflow_execution_failed_event_attributes = 8;
* @return The workflowExecutionFailedEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes getWorkflowExecutionFailedEventAttributes() {
if (attributesCase_ == 8) {
return (io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowExecutionFailedEventAttributes workflow_execution_failed_event_attributes = 8;
*/
public io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesOrBuilder getWorkflowExecutionFailedEventAttributesOrBuilder() {
if (attributesCase_ == 8) {
return (io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER = 9;
/**
* .temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes workflow_execution_timed_out_event_attributes = 9;
* @return Whether the workflowExecutionTimedOutEventAttributes field is set.
*/
public boolean hasWorkflowExecutionTimedOutEventAttributes() {
return attributesCase_ == 9;
}
/**
* .temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes workflow_execution_timed_out_event_attributes = 9;
* @return The workflowExecutionTimedOutEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes getWorkflowExecutionTimedOutEventAttributes() {
if (attributesCase_ == 9) {
return (io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes workflow_execution_timed_out_event_attributes = 9;
*/
public io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesOrBuilder getWorkflowExecutionTimedOutEventAttributesOrBuilder() {
if (attributesCase_ == 9) {
return (io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_TASK_SCHEDULED_EVENT_ATTRIBUTES_FIELD_NUMBER = 10;
/**
* .temporal.api.history.v1.WorkflowTaskScheduledEventAttributes workflow_task_scheduled_event_attributes = 10;
* @return Whether the workflowTaskScheduledEventAttributes field is set.
*/
public boolean hasWorkflowTaskScheduledEventAttributes() {
return attributesCase_ == 10;
}
/**
* .temporal.api.history.v1.WorkflowTaskScheduledEventAttributes workflow_task_scheduled_event_attributes = 10;
* @return The workflowTaskScheduledEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes getWorkflowTaskScheduledEventAttributes() {
if (attributesCase_ == 10) {
return (io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowTaskScheduledEventAttributes workflow_task_scheduled_event_attributes = 10;
*/
public io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesOrBuilder getWorkflowTaskScheduledEventAttributesOrBuilder() {
if (attributesCase_ == 10) {
return (io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_TASK_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER = 11;
/**
* .temporal.api.history.v1.WorkflowTaskStartedEventAttributes workflow_task_started_event_attributes = 11;
* @return Whether the workflowTaskStartedEventAttributes field is set.
*/
public boolean hasWorkflowTaskStartedEventAttributes() {
return attributesCase_ == 11;
}
/**
* .temporal.api.history.v1.WorkflowTaskStartedEventAttributes workflow_task_started_event_attributes = 11;
* @return The workflowTaskStartedEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes getWorkflowTaskStartedEventAttributes() {
if (attributesCase_ == 11) {
return (io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowTaskStartedEventAttributes workflow_task_started_event_attributes = 11;
*/
public io.temporal.api.history.v1.WorkflowTaskStartedEventAttributesOrBuilder getWorkflowTaskStartedEventAttributesOrBuilder() {
if (attributesCase_ == 11) {
return (io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_TASK_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER = 12;
/**
* .temporal.api.history.v1.WorkflowTaskCompletedEventAttributes workflow_task_completed_event_attributes = 12;
* @return Whether the workflowTaskCompletedEventAttributes field is set.
*/
public boolean hasWorkflowTaskCompletedEventAttributes() {
return attributesCase_ == 12;
}
/**
* .temporal.api.history.v1.WorkflowTaskCompletedEventAttributes workflow_task_completed_event_attributes = 12;
* @return The workflowTaskCompletedEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes getWorkflowTaskCompletedEventAttributes() {
if (attributesCase_ == 12) {
return (io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowTaskCompletedEventAttributes workflow_task_completed_event_attributes = 12;
*/
public io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesOrBuilder getWorkflowTaskCompletedEventAttributesOrBuilder() {
if (attributesCase_ == 12) {
return (io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_TASK_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER = 13;
/**
* .temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes workflow_task_timed_out_event_attributes = 13;
* @return Whether the workflowTaskTimedOutEventAttributes field is set.
*/
public boolean hasWorkflowTaskTimedOutEventAttributes() {
return attributesCase_ == 13;
}
/**
* .temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes workflow_task_timed_out_event_attributes = 13;
* @return The workflowTaskTimedOutEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes getWorkflowTaskTimedOutEventAttributes() {
if (attributesCase_ == 13) {
return (io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes workflow_task_timed_out_event_attributes = 13;
*/
public io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesOrBuilder getWorkflowTaskTimedOutEventAttributesOrBuilder() {
if (attributesCase_ == 13) {
return (io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_TASK_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER = 14;
/**
* .temporal.api.history.v1.WorkflowTaskFailedEventAttributes workflow_task_failed_event_attributes = 14;
* @return Whether the workflowTaskFailedEventAttributes field is set.
*/
public boolean hasWorkflowTaskFailedEventAttributes() {
return attributesCase_ == 14;
}
/**
* .temporal.api.history.v1.WorkflowTaskFailedEventAttributes workflow_task_failed_event_attributes = 14;
* @return The workflowTaskFailedEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes getWorkflowTaskFailedEventAttributes() {
if (attributesCase_ == 14) {
return (io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowTaskFailedEventAttributes workflow_task_failed_event_attributes = 14;
*/
public io.temporal.api.history.v1.WorkflowTaskFailedEventAttributesOrBuilder getWorkflowTaskFailedEventAttributesOrBuilder() {
if (attributesCase_ == 14) {
return (io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.getDefaultInstance();
}
public static final int ACTIVITY_TASK_SCHEDULED_EVENT_ATTRIBUTES_FIELD_NUMBER = 15;
/**
* .temporal.api.history.v1.ActivityTaskScheduledEventAttributes activity_task_scheduled_event_attributes = 15;
* @return Whether the activityTaskScheduledEventAttributes field is set.
*/
public boolean hasActivityTaskScheduledEventAttributes() {
return attributesCase_ == 15;
}
/**
* .temporal.api.history.v1.ActivityTaskScheduledEventAttributes activity_task_scheduled_event_attributes = 15;
* @return The activityTaskScheduledEventAttributes.
*/
public io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes getActivityTaskScheduledEventAttributes() {
if (attributesCase_ == 15) {
return (io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ActivityTaskScheduledEventAttributes activity_task_scheduled_event_attributes = 15;
*/
public io.temporal.api.history.v1.ActivityTaskScheduledEventAttributesOrBuilder getActivityTaskScheduledEventAttributesOrBuilder() {
if (attributesCase_ == 15) {
return (io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.getDefaultInstance();
}
public static final int ACTIVITY_TASK_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER = 16;
/**
* .temporal.api.history.v1.ActivityTaskStartedEventAttributes activity_task_started_event_attributes = 16;
* @return Whether the activityTaskStartedEventAttributes field is set.
*/
public boolean hasActivityTaskStartedEventAttributes() {
return attributesCase_ == 16;
}
/**
* .temporal.api.history.v1.ActivityTaskStartedEventAttributes activity_task_started_event_attributes = 16;
* @return The activityTaskStartedEventAttributes.
*/
public io.temporal.api.history.v1.ActivityTaskStartedEventAttributes getActivityTaskStartedEventAttributes() {
if (attributesCase_ == 16) {
return (io.temporal.api.history.v1.ActivityTaskStartedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ActivityTaskStartedEventAttributes activity_task_started_event_attributes = 16;
*/
public io.temporal.api.history.v1.ActivityTaskStartedEventAttributesOrBuilder getActivityTaskStartedEventAttributesOrBuilder() {
if (attributesCase_ == 16) {
return (io.temporal.api.history.v1.ActivityTaskStartedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.getDefaultInstance();
}
public static final int ACTIVITY_TASK_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER = 17;
/**
* .temporal.api.history.v1.ActivityTaskCompletedEventAttributes activity_task_completed_event_attributes = 17;
* @return Whether the activityTaskCompletedEventAttributes field is set.
*/
public boolean hasActivityTaskCompletedEventAttributes() {
return attributesCase_ == 17;
}
/**
* .temporal.api.history.v1.ActivityTaskCompletedEventAttributes activity_task_completed_event_attributes = 17;
* @return The activityTaskCompletedEventAttributes.
*/
public io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes getActivityTaskCompletedEventAttributes() {
if (attributesCase_ == 17) {
return (io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ActivityTaskCompletedEventAttributes activity_task_completed_event_attributes = 17;
*/
public io.temporal.api.history.v1.ActivityTaskCompletedEventAttributesOrBuilder getActivityTaskCompletedEventAttributesOrBuilder() {
if (attributesCase_ == 17) {
return (io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.getDefaultInstance();
}
public static final int ACTIVITY_TASK_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER = 18;
/**
* .temporal.api.history.v1.ActivityTaskFailedEventAttributes activity_task_failed_event_attributes = 18;
* @return Whether the activityTaskFailedEventAttributes field is set.
*/
public boolean hasActivityTaskFailedEventAttributes() {
return attributesCase_ == 18;
}
/**
* .temporal.api.history.v1.ActivityTaskFailedEventAttributes activity_task_failed_event_attributes = 18;
* @return The activityTaskFailedEventAttributes.
*/
public io.temporal.api.history.v1.ActivityTaskFailedEventAttributes getActivityTaskFailedEventAttributes() {
if (attributesCase_ == 18) {
return (io.temporal.api.history.v1.ActivityTaskFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ActivityTaskFailedEventAttributes activity_task_failed_event_attributes = 18;
*/
public io.temporal.api.history.v1.ActivityTaskFailedEventAttributesOrBuilder getActivityTaskFailedEventAttributesOrBuilder() {
if (attributesCase_ == 18) {
return (io.temporal.api.history.v1.ActivityTaskFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.getDefaultInstance();
}
public static final int ACTIVITY_TASK_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER = 19;
/**
* .temporal.api.history.v1.ActivityTaskTimedOutEventAttributes activity_task_timed_out_event_attributes = 19;
* @return Whether the activityTaskTimedOutEventAttributes field is set.
*/
public boolean hasActivityTaskTimedOutEventAttributes() {
return attributesCase_ == 19;
}
/**
* .temporal.api.history.v1.ActivityTaskTimedOutEventAttributes activity_task_timed_out_event_attributes = 19;
* @return The activityTaskTimedOutEventAttributes.
*/
public io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes getActivityTaskTimedOutEventAttributes() {
if (attributesCase_ == 19) {
return (io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ActivityTaskTimedOutEventAttributes activity_task_timed_out_event_attributes = 19;
*/
public io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesOrBuilder getActivityTaskTimedOutEventAttributesOrBuilder() {
if (attributesCase_ == 19) {
return (io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.getDefaultInstance();
}
public static final int TIMER_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER = 20;
/**
* .temporal.api.history.v1.TimerStartedEventAttributes timer_started_event_attributes = 20;
* @return Whether the timerStartedEventAttributes field is set.
*/
public boolean hasTimerStartedEventAttributes() {
return attributesCase_ == 20;
}
/**
* .temporal.api.history.v1.TimerStartedEventAttributes timer_started_event_attributes = 20;
* @return The timerStartedEventAttributes.
*/
public io.temporal.api.history.v1.TimerStartedEventAttributes getTimerStartedEventAttributes() {
if (attributesCase_ == 20) {
return (io.temporal.api.history.v1.TimerStartedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.TimerStartedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.TimerStartedEventAttributes timer_started_event_attributes = 20;
*/
public io.temporal.api.history.v1.TimerStartedEventAttributesOrBuilder getTimerStartedEventAttributesOrBuilder() {
if (attributesCase_ == 20) {
return (io.temporal.api.history.v1.TimerStartedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.TimerStartedEventAttributes.getDefaultInstance();
}
public static final int TIMER_FIRED_EVENT_ATTRIBUTES_FIELD_NUMBER = 21;
/**
* .temporal.api.history.v1.TimerFiredEventAttributes timer_fired_event_attributes = 21;
* @return Whether the timerFiredEventAttributes field is set.
*/
public boolean hasTimerFiredEventAttributes() {
return attributesCase_ == 21;
}
/**
* .temporal.api.history.v1.TimerFiredEventAttributes timer_fired_event_attributes = 21;
* @return The timerFiredEventAttributes.
*/
public io.temporal.api.history.v1.TimerFiredEventAttributes getTimerFiredEventAttributes() {
if (attributesCase_ == 21) {
return (io.temporal.api.history.v1.TimerFiredEventAttributes) attributes_;
}
return io.temporal.api.history.v1.TimerFiredEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.TimerFiredEventAttributes timer_fired_event_attributes = 21;
*/
public io.temporal.api.history.v1.TimerFiredEventAttributesOrBuilder getTimerFiredEventAttributesOrBuilder() {
if (attributesCase_ == 21) {
return (io.temporal.api.history.v1.TimerFiredEventAttributes) attributes_;
}
return io.temporal.api.history.v1.TimerFiredEventAttributes.getDefaultInstance();
}
public static final int ACTIVITY_TASK_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER = 22;
/**
* .temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes activity_task_cancel_requested_event_attributes = 22;
* @return Whether the activityTaskCancelRequestedEventAttributes field is set.
*/
public boolean hasActivityTaskCancelRequestedEventAttributes() {
return attributesCase_ == 22;
}
/**
* .temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes activity_task_cancel_requested_event_attributes = 22;
* @return The activityTaskCancelRequestedEventAttributes.
*/
public io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes getActivityTaskCancelRequestedEventAttributes() {
if (attributesCase_ == 22) {
return (io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes activity_task_cancel_requested_event_attributes = 22;
*/
public io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesOrBuilder getActivityTaskCancelRequestedEventAttributesOrBuilder() {
if (attributesCase_ == 22) {
return (io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.getDefaultInstance();
}
public static final int ACTIVITY_TASK_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER = 23;
/**
* .temporal.api.history.v1.ActivityTaskCanceledEventAttributes activity_task_canceled_event_attributes = 23;
* @return Whether the activityTaskCanceledEventAttributes field is set.
*/
public boolean hasActivityTaskCanceledEventAttributes() {
return attributesCase_ == 23;
}
/**
* .temporal.api.history.v1.ActivityTaskCanceledEventAttributes activity_task_canceled_event_attributes = 23;
* @return The activityTaskCanceledEventAttributes.
*/
public io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes getActivityTaskCanceledEventAttributes() {
if (attributesCase_ == 23) {
return (io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ActivityTaskCanceledEventAttributes activity_task_canceled_event_attributes = 23;
*/
public io.temporal.api.history.v1.ActivityTaskCanceledEventAttributesOrBuilder getActivityTaskCanceledEventAttributesOrBuilder() {
if (attributesCase_ == 23) {
return (io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.getDefaultInstance();
}
public static final int TIMER_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER = 24;
/**
* .temporal.api.history.v1.TimerCanceledEventAttributes timer_canceled_event_attributes = 24;
* @return Whether the timerCanceledEventAttributes field is set.
*/
public boolean hasTimerCanceledEventAttributes() {
return attributesCase_ == 24;
}
/**
* .temporal.api.history.v1.TimerCanceledEventAttributes timer_canceled_event_attributes = 24;
* @return The timerCanceledEventAttributes.
*/
public io.temporal.api.history.v1.TimerCanceledEventAttributes getTimerCanceledEventAttributes() {
if (attributesCase_ == 24) {
return (io.temporal.api.history.v1.TimerCanceledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.TimerCanceledEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.TimerCanceledEventAttributes timer_canceled_event_attributes = 24;
*/
public io.temporal.api.history.v1.TimerCanceledEventAttributesOrBuilder getTimerCanceledEventAttributesOrBuilder() {
if (attributesCase_ == 24) {
return (io.temporal.api.history.v1.TimerCanceledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.TimerCanceledEventAttributes.getDefaultInstance();
}
public static final int MARKER_RECORDED_EVENT_ATTRIBUTES_FIELD_NUMBER = 25;
/**
* .temporal.api.history.v1.MarkerRecordedEventAttributes marker_recorded_event_attributes = 25;
* @return Whether the markerRecordedEventAttributes field is set.
*/
public boolean hasMarkerRecordedEventAttributes() {
return attributesCase_ == 25;
}
/**
* .temporal.api.history.v1.MarkerRecordedEventAttributes marker_recorded_event_attributes = 25;
* @return The markerRecordedEventAttributes.
*/
public io.temporal.api.history.v1.MarkerRecordedEventAttributes getMarkerRecordedEventAttributes() {
if (attributesCase_ == 25) {
return (io.temporal.api.history.v1.MarkerRecordedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.MarkerRecordedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.MarkerRecordedEventAttributes marker_recorded_event_attributes = 25;
*/
public io.temporal.api.history.v1.MarkerRecordedEventAttributesOrBuilder getMarkerRecordedEventAttributesOrBuilder() {
if (attributesCase_ == 25) {
return (io.temporal.api.history.v1.MarkerRecordedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.MarkerRecordedEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES_FIELD_NUMBER = 26;
/**
* .temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes workflow_execution_signaled_event_attributes = 26;
* @return Whether the workflowExecutionSignaledEventAttributes field is set.
*/
public boolean hasWorkflowExecutionSignaledEventAttributes() {
return attributesCase_ == 26;
}
/**
* .temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes workflow_execution_signaled_event_attributes = 26;
* @return The workflowExecutionSignaledEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes getWorkflowExecutionSignaledEventAttributes() {
if (attributesCase_ == 26) {
return (io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes workflow_execution_signaled_event_attributes = 26;
*/
public io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesOrBuilder getWorkflowExecutionSignaledEventAttributesOrBuilder() {
if (attributesCase_ == 26) {
return (io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES_FIELD_NUMBER = 27;
/**
* .temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes workflow_execution_terminated_event_attributes = 27;
* @return Whether the workflowExecutionTerminatedEventAttributes field is set.
*/
public boolean hasWorkflowExecutionTerminatedEventAttributes() {
return attributesCase_ == 27;
}
/**
* .temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes workflow_execution_terminated_event_attributes = 27;
* @return The workflowExecutionTerminatedEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes getWorkflowExecutionTerminatedEventAttributes() {
if (attributesCase_ == 27) {
return (io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes workflow_execution_terminated_event_attributes = 27;
*/
public io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesOrBuilder getWorkflowExecutionTerminatedEventAttributesOrBuilder() {
if (attributesCase_ == 27) {
return (io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER = 28;
/**
* .temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes workflow_execution_cancel_requested_event_attributes = 28;
* @return Whether the workflowExecutionCancelRequestedEventAttributes field is set.
*/
public boolean hasWorkflowExecutionCancelRequestedEventAttributes() {
return attributesCase_ == 28;
}
/**
* .temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes workflow_execution_cancel_requested_event_attributes = 28;
* @return The workflowExecutionCancelRequestedEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes getWorkflowExecutionCancelRequestedEventAttributes() {
if (attributesCase_ == 28) {
return (io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes workflow_execution_cancel_requested_event_attributes = 28;
*/
public io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesOrBuilder getWorkflowExecutionCancelRequestedEventAttributesOrBuilder() {
if (attributesCase_ == 28) {
return (io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER = 29;
/**
* .temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes workflow_execution_canceled_event_attributes = 29;
* @return Whether the workflowExecutionCanceledEventAttributes field is set.
*/
public boolean hasWorkflowExecutionCanceledEventAttributes() {
return attributesCase_ == 29;
}
/**
* .temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes workflow_execution_canceled_event_attributes = 29;
* @return The workflowExecutionCanceledEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes getWorkflowExecutionCanceledEventAttributes() {
if (attributesCase_ == 29) {
return (io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes workflow_execution_canceled_event_attributes = 29;
*/
public io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesOrBuilder getWorkflowExecutionCanceledEventAttributesOrBuilder() {
if (attributesCase_ == 29) {
return (io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.getDefaultInstance();
}
public static final int REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER = 30;
/**
* .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes request_cancel_external_workflow_execution_initiated_event_attributes = 30;
* @return Whether the requestCancelExternalWorkflowExecutionInitiatedEventAttributes field is set.
*/
public boolean hasRequestCancelExternalWorkflowExecutionInitiatedEventAttributes() {
return attributesCase_ == 30;
}
/**
* .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes request_cancel_external_workflow_execution_initiated_event_attributes = 30;
* @return The requestCancelExternalWorkflowExecutionInitiatedEventAttributes.
*/
public io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes getRequestCancelExternalWorkflowExecutionInitiatedEventAttributes() {
if (attributesCase_ == 30) {
return (io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes request_cancel_external_workflow_execution_initiated_event_attributes = 30;
*/
public io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesOrBuilder getRequestCancelExternalWorkflowExecutionInitiatedEventAttributesOrBuilder() {
if (attributesCase_ == 30) {
return (io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.getDefaultInstance();
}
public static final int REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER = 31;
/**
* .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes request_cancel_external_workflow_execution_failed_event_attributes = 31;
* @return Whether the requestCancelExternalWorkflowExecutionFailedEventAttributes field is set.
*/
public boolean hasRequestCancelExternalWorkflowExecutionFailedEventAttributes() {
return attributesCase_ == 31;
}
/**
* .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes request_cancel_external_workflow_execution_failed_event_attributes = 31;
* @return The requestCancelExternalWorkflowExecutionFailedEventAttributes.
*/
public io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes getRequestCancelExternalWorkflowExecutionFailedEventAttributes() {
if (attributesCase_ == 31) {
return (io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes request_cancel_external_workflow_execution_failed_event_attributes = 31;
*/
public io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesOrBuilder getRequestCancelExternalWorkflowExecutionFailedEventAttributesOrBuilder() {
if (attributesCase_ == 31) {
return (io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.getDefaultInstance();
}
public static final int EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER = 32;
/**
* .temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes external_workflow_execution_cancel_requested_event_attributes = 32;
* @return Whether the externalWorkflowExecutionCancelRequestedEventAttributes field is set.
*/
public boolean hasExternalWorkflowExecutionCancelRequestedEventAttributes() {
return attributesCase_ == 32;
}
/**
* .temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes external_workflow_execution_cancel_requested_event_attributes = 32;
* @return The externalWorkflowExecutionCancelRequestedEventAttributes.
*/
public io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes getExternalWorkflowExecutionCancelRequestedEventAttributes() {
if (attributesCase_ == 32) {
return (io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes external_workflow_execution_cancel_requested_event_attributes = 32;
*/
public io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder getExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder() {
if (attributesCase_ == 32) {
return (io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_EXECUTION_CONTINUED_AS_NEW_EVENT_ATTRIBUTES_FIELD_NUMBER = 33;
/**
* .temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes workflow_execution_continued_as_new_event_attributes = 33;
* @return Whether the workflowExecutionContinuedAsNewEventAttributes field is set.
*/
public boolean hasWorkflowExecutionContinuedAsNewEventAttributes() {
return attributesCase_ == 33;
}
/**
* .temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes workflow_execution_continued_as_new_event_attributes = 33;
* @return The workflowExecutionContinuedAsNewEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes getWorkflowExecutionContinuedAsNewEventAttributes() {
if (attributesCase_ == 33) {
return (io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes workflow_execution_continued_as_new_event_attributes = 33;
*/
public io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesOrBuilder getWorkflowExecutionContinuedAsNewEventAttributesOrBuilder() {
if (attributesCase_ == 33) {
return (io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.getDefaultInstance();
}
public static final int START_CHILD_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER = 34;
/**
* .temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes start_child_workflow_execution_initiated_event_attributes = 34;
* @return Whether the startChildWorkflowExecutionInitiatedEventAttributes field is set.
*/
public boolean hasStartChildWorkflowExecutionInitiatedEventAttributes() {
return attributesCase_ == 34;
}
/**
* .temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes start_child_workflow_execution_initiated_event_attributes = 34;
* @return The startChildWorkflowExecutionInitiatedEventAttributes.
*/
public io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes getStartChildWorkflowExecutionInitiatedEventAttributes() {
if (attributesCase_ == 34) {
return (io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes start_child_workflow_execution_initiated_event_attributes = 34;
*/
public io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesOrBuilder getStartChildWorkflowExecutionInitiatedEventAttributesOrBuilder() {
if (attributesCase_ == 34) {
return (io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.getDefaultInstance();
}
public static final int START_CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER = 35;
/**
* .temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes start_child_workflow_execution_failed_event_attributes = 35;
* @return Whether the startChildWorkflowExecutionFailedEventAttributes field is set.
*/
public boolean hasStartChildWorkflowExecutionFailedEventAttributes() {
return attributesCase_ == 35;
}
/**
* .temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes start_child_workflow_execution_failed_event_attributes = 35;
* @return The startChildWorkflowExecutionFailedEventAttributes.
*/
public io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes getStartChildWorkflowExecutionFailedEventAttributes() {
if (attributesCase_ == 35) {
return (io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes start_child_workflow_execution_failed_event_attributes = 35;
*/
public io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesOrBuilder getStartChildWorkflowExecutionFailedEventAttributesOrBuilder() {
if (attributesCase_ == 35) {
return (io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.getDefaultInstance();
}
public static final int CHILD_WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER = 36;
/**
* .temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes child_workflow_execution_started_event_attributes = 36;
* @return Whether the childWorkflowExecutionStartedEventAttributes field is set.
*/
public boolean hasChildWorkflowExecutionStartedEventAttributes() {
return attributesCase_ == 36;
}
/**
* .temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes child_workflow_execution_started_event_attributes = 36;
* @return The childWorkflowExecutionStartedEventAttributes.
*/
public io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes getChildWorkflowExecutionStartedEventAttributes() {
if (attributesCase_ == 36) {
return (io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes child_workflow_execution_started_event_attributes = 36;
*/
public io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesOrBuilder getChildWorkflowExecutionStartedEventAttributesOrBuilder() {
if (attributesCase_ == 36) {
return (io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.getDefaultInstance();
}
public static final int CHILD_WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER = 37;
/**
* .temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes child_workflow_execution_completed_event_attributes = 37;
* @return Whether the childWorkflowExecutionCompletedEventAttributes field is set.
*/
public boolean hasChildWorkflowExecutionCompletedEventAttributes() {
return attributesCase_ == 37;
}
/**
* .temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes child_workflow_execution_completed_event_attributes = 37;
* @return The childWorkflowExecutionCompletedEventAttributes.
*/
public io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes getChildWorkflowExecutionCompletedEventAttributes() {
if (attributesCase_ == 37) {
return (io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes child_workflow_execution_completed_event_attributes = 37;
*/
public io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesOrBuilder getChildWorkflowExecutionCompletedEventAttributesOrBuilder() {
if (attributesCase_ == 37) {
return (io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.getDefaultInstance();
}
public static final int CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER = 38;
/**
* .temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes child_workflow_execution_failed_event_attributes = 38;
* @return Whether the childWorkflowExecutionFailedEventAttributes field is set.
*/
public boolean hasChildWorkflowExecutionFailedEventAttributes() {
return attributesCase_ == 38;
}
/**
* .temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes child_workflow_execution_failed_event_attributes = 38;
* @return The childWorkflowExecutionFailedEventAttributes.
*/
public io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes getChildWorkflowExecutionFailedEventAttributes() {
if (attributesCase_ == 38) {
return (io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes child_workflow_execution_failed_event_attributes = 38;
*/
public io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesOrBuilder getChildWorkflowExecutionFailedEventAttributesOrBuilder() {
if (attributesCase_ == 38) {
return (io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.getDefaultInstance();
}
public static final int CHILD_WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER = 39;
/**
* .temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes child_workflow_execution_canceled_event_attributes = 39;
* @return Whether the childWorkflowExecutionCanceledEventAttributes field is set.
*/
public boolean hasChildWorkflowExecutionCanceledEventAttributes() {
return attributesCase_ == 39;
}
/**
* .temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes child_workflow_execution_canceled_event_attributes = 39;
* @return The childWorkflowExecutionCanceledEventAttributes.
*/
public io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes getChildWorkflowExecutionCanceledEventAttributes() {
if (attributesCase_ == 39) {
return (io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes child_workflow_execution_canceled_event_attributes = 39;
*/
public io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesOrBuilder getChildWorkflowExecutionCanceledEventAttributesOrBuilder() {
if (attributesCase_ == 39) {
return (io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.getDefaultInstance();
}
public static final int CHILD_WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER = 40;
/**
* .temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes child_workflow_execution_timed_out_event_attributes = 40;
* @return Whether the childWorkflowExecutionTimedOutEventAttributes field is set.
*/
public boolean hasChildWorkflowExecutionTimedOutEventAttributes() {
return attributesCase_ == 40;
}
/**
* .temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes child_workflow_execution_timed_out_event_attributes = 40;
* @return The childWorkflowExecutionTimedOutEventAttributes.
*/
public io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes getChildWorkflowExecutionTimedOutEventAttributes() {
if (attributesCase_ == 40) {
return (io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes child_workflow_execution_timed_out_event_attributes = 40;
*/
public io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesOrBuilder getChildWorkflowExecutionTimedOutEventAttributesOrBuilder() {
if (attributesCase_ == 40) {
return (io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.getDefaultInstance();
}
public static final int CHILD_WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES_FIELD_NUMBER = 41;
/**
* .temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes child_workflow_execution_terminated_event_attributes = 41;
* @return Whether the childWorkflowExecutionTerminatedEventAttributes field is set.
*/
public boolean hasChildWorkflowExecutionTerminatedEventAttributes() {
return attributesCase_ == 41;
}
/**
* .temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes child_workflow_execution_terminated_event_attributes = 41;
* @return The childWorkflowExecutionTerminatedEventAttributes.
*/
public io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes getChildWorkflowExecutionTerminatedEventAttributes() {
if (attributesCase_ == 41) {
return (io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes child_workflow_execution_terminated_event_attributes = 41;
*/
public io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesOrBuilder getChildWorkflowExecutionTerminatedEventAttributesOrBuilder() {
if (attributesCase_ == 41) {
return (io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.getDefaultInstance();
}
public static final int SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER = 42;
/**
* .temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes signal_external_workflow_execution_initiated_event_attributes = 42;
* @return Whether the signalExternalWorkflowExecutionInitiatedEventAttributes field is set.
*/
public boolean hasSignalExternalWorkflowExecutionInitiatedEventAttributes() {
return attributesCase_ == 42;
}
/**
* .temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes signal_external_workflow_execution_initiated_event_attributes = 42;
* @return The signalExternalWorkflowExecutionInitiatedEventAttributes.
*/
public io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes getSignalExternalWorkflowExecutionInitiatedEventAttributes() {
if (attributesCase_ == 42) {
return (io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes signal_external_workflow_execution_initiated_event_attributes = 42;
*/
public io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesOrBuilder getSignalExternalWorkflowExecutionInitiatedEventAttributesOrBuilder() {
if (attributesCase_ == 42) {
return (io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.getDefaultInstance();
}
public static final int SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER = 43;
/**
* .temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes signal_external_workflow_execution_failed_event_attributes = 43;
* @return Whether the signalExternalWorkflowExecutionFailedEventAttributes field is set.
*/
public boolean hasSignalExternalWorkflowExecutionFailedEventAttributes() {
return attributesCase_ == 43;
}
/**
* .temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes signal_external_workflow_execution_failed_event_attributes = 43;
* @return The signalExternalWorkflowExecutionFailedEventAttributes.
*/
public io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes getSignalExternalWorkflowExecutionFailedEventAttributes() {
if (attributesCase_ == 43) {
return (io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes signal_external_workflow_execution_failed_event_attributes = 43;
*/
public io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesOrBuilder getSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder() {
if (attributesCase_ == 43) {
return (io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.getDefaultInstance();
}
public static final int EXTERNAL_WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES_FIELD_NUMBER = 44;
/**
* .temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes external_workflow_execution_signaled_event_attributes = 44;
* @return Whether the externalWorkflowExecutionSignaledEventAttributes field is set.
*/
public boolean hasExternalWorkflowExecutionSignaledEventAttributes() {
return attributesCase_ == 44;
}
/**
* .temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes external_workflow_execution_signaled_event_attributes = 44;
* @return The externalWorkflowExecutionSignaledEventAttributes.
*/
public io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes getExternalWorkflowExecutionSignaledEventAttributes() {
if (attributesCase_ == 44) {
return (io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes external_workflow_execution_signaled_event_attributes = 44;
*/
public io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesOrBuilder getExternalWorkflowExecutionSignaledEventAttributesOrBuilder() {
if (attributesCase_ == 44) {
return (io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.getDefaultInstance();
}
public static final int UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_EVENT_ATTRIBUTES_FIELD_NUMBER = 45;
/**
* .temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes upsert_workflow_search_attributes_event_attributes = 45;
* @return Whether the upsertWorkflowSearchAttributesEventAttributes field is set.
*/
public boolean hasUpsertWorkflowSearchAttributesEventAttributes() {
return attributesCase_ == 45;
}
/**
* .temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes upsert_workflow_search_attributes_event_attributes = 45;
* @return The upsertWorkflowSearchAttributesEventAttributes.
*/
public io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes getUpsertWorkflowSearchAttributesEventAttributes() {
if (attributesCase_ == 45) {
return (io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) attributes_;
}
return io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes upsert_workflow_search_attributes_event_attributes = 45;
*/
public io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesOrBuilder getUpsertWorkflowSearchAttributesEventAttributesOrBuilder() {
if (attributesCase_ == 45) {
return (io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) attributes_;
}
return io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_EXECUTION_UPDATE_ACCEPTED_EVENT_ATTRIBUTES_FIELD_NUMBER = 46;
/**
* .temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes workflow_execution_update_accepted_event_attributes = 46;
* @return Whether the workflowExecutionUpdateAcceptedEventAttributes field is set.
*/
public boolean hasWorkflowExecutionUpdateAcceptedEventAttributes() {
return attributesCase_ == 46;
}
/**
* .temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes workflow_execution_update_accepted_event_attributes = 46;
* @return The workflowExecutionUpdateAcceptedEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes getWorkflowExecutionUpdateAcceptedEventAttributes() {
if (attributesCase_ == 46) {
return (io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes workflow_execution_update_accepted_event_attributes = 46;
*/
public io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesOrBuilder getWorkflowExecutionUpdateAcceptedEventAttributesOrBuilder() {
if (attributesCase_ == 46) {
return (io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_EXECUTION_UPDATE_REJECTED_EVENT_ATTRIBUTES_FIELD_NUMBER = 47;
/**
* .temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes workflow_execution_update_rejected_event_attributes = 47;
* @return Whether the workflowExecutionUpdateRejectedEventAttributes field is set.
*/
public boolean hasWorkflowExecutionUpdateRejectedEventAttributes() {
return attributesCase_ == 47;
}
/**
* .temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes workflow_execution_update_rejected_event_attributes = 47;
* @return The workflowExecutionUpdateRejectedEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes getWorkflowExecutionUpdateRejectedEventAttributes() {
if (attributesCase_ == 47) {
return (io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes workflow_execution_update_rejected_event_attributes = 47;
*/
public io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesOrBuilder getWorkflowExecutionUpdateRejectedEventAttributesOrBuilder() {
if (attributesCase_ == 47) {
return (io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_EXECUTION_UPDATE_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER = 48;
/**
* .temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes workflow_execution_update_completed_event_attributes = 48;
* @return Whether the workflowExecutionUpdateCompletedEventAttributes field is set.
*/
public boolean hasWorkflowExecutionUpdateCompletedEventAttributes() {
return attributesCase_ == 48;
}
/**
* .temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes workflow_execution_update_completed_event_attributes = 48;
* @return The workflowExecutionUpdateCompletedEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes getWorkflowExecutionUpdateCompletedEventAttributes() {
if (attributesCase_ == 48) {
return (io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes workflow_execution_update_completed_event_attributes = 48;
*/
public io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesOrBuilder getWorkflowExecutionUpdateCompletedEventAttributesOrBuilder() {
if (attributesCase_ == 48) {
return (io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY_EVENT_ATTRIBUTES_FIELD_NUMBER = 49;
/**
* .temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes workflow_properties_modified_externally_event_attributes = 49;
* @return Whether the workflowPropertiesModifiedExternallyEventAttributes field is set.
*/
public boolean hasWorkflowPropertiesModifiedExternallyEventAttributes() {
return attributesCase_ == 49;
}
/**
* .temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes workflow_properties_modified_externally_event_attributes = 49;
* @return The workflowPropertiesModifiedExternallyEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes getWorkflowPropertiesModifiedExternallyEventAttributes() {
if (attributesCase_ == 49) {
return (io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes workflow_properties_modified_externally_event_attributes = 49;
*/
public io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesOrBuilder getWorkflowPropertiesModifiedExternallyEventAttributesOrBuilder() {
if (attributesCase_ == 49) {
return (io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.getDefaultInstance();
}
public static final int ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY_EVENT_ATTRIBUTES_FIELD_NUMBER = 50;
/**
* .temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes activity_properties_modified_externally_event_attributes = 50;
* @return Whether the activityPropertiesModifiedExternallyEventAttributes field is set.
*/
public boolean hasActivityPropertiesModifiedExternallyEventAttributes() {
return attributesCase_ == 50;
}
/**
* .temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes activity_properties_modified_externally_event_attributes = 50;
* @return The activityPropertiesModifiedExternallyEventAttributes.
*/
public io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes getActivityPropertiesModifiedExternallyEventAttributes() {
if (attributesCase_ == 50) {
return (io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes activity_properties_modified_externally_event_attributes = 50;
*/
public io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesOrBuilder getActivityPropertiesModifiedExternallyEventAttributesOrBuilder() {
if (attributesCase_ == 50) {
return (io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) attributes_;
}
return io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.getDefaultInstance();
}
public static final int WORKFLOW_PROPERTIES_MODIFIED_EVENT_ATTRIBUTES_FIELD_NUMBER = 51;
/**
* .temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes workflow_properties_modified_event_attributes = 51;
* @return Whether the workflowPropertiesModifiedEventAttributes field is set.
*/
public boolean hasWorkflowPropertiesModifiedEventAttributes() {
return attributesCase_ == 51;
}
/**
* .temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes workflow_properties_modified_event_attributes = 51;
* @return The workflowPropertiesModifiedEventAttributes.
*/
public io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes getWorkflowPropertiesModifiedEventAttributes() {
if (attributesCase_ == 51) {
return (io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.getDefaultInstance();
}
/**
* .temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes workflow_properties_modified_event_attributes = 51;
*/
public io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesOrBuilder getWorkflowPropertiesModifiedEventAttributesOrBuilder() {
if (attributesCase_ == 51) {
return (io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) attributes_;
}
return io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.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 (eventId_ != 0L) {
output.writeInt64(1, eventId_);
}
if (eventTime_ != null) {
output.writeMessage(2, getEventTime());
}
if (eventType_ != io.temporal.api.enums.v1.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) {
output.writeEnum(3, eventType_);
}
if (version_ != 0L) {
output.writeInt64(4, version_);
}
if (taskId_ != 0L) {
output.writeInt64(5, taskId_);
}
if (attributesCase_ == 6) {
output.writeMessage(6, (io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) attributes_);
}
if (attributesCase_ == 7) {
output.writeMessage(7, (io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) attributes_);
}
if (attributesCase_ == 8) {
output.writeMessage(8, (io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) attributes_);
}
if (attributesCase_ == 9) {
output.writeMessage(9, (io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) attributes_);
}
if (attributesCase_ == 10) {
output.writeMessage(10, (io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) attributes_);
}
if (attributesCase_ == 11) {
output.writeMessage(11, (io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes) attributes_);
}
if (attributesCase_ == 12) {
output.writeMessage(12, (io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) attributes_);
}
if (attributesCase_ == 13) {
output.writeMessage(13, (io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) attributes_);
}
if (attributesCase_ == 14) {
output.writeMessage(14, (io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes) attributes_);
}
if (attributesCase_ == 15) {
output.writeMessage(15, (io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes) attributes_);
}
if (attributesCase_ == 16) {
output.writeMessage(16, (io.temporal.api.history.v1.ActivityTaskStartedEventAttributes) attributes_);
}
if (attributesCase_ == 17) {
output.writeMessage(17, (io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes) attributes_);
}
if (attributesCase_ == 18) {
output.writeMessage(18, (io.temporal.api.history.v1.ActivityTaskFailedEventAttributes) attributes_);
}
if (attributesCase_ == 19) {
output.writeMessage(19, (io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) attributes_);
}
if (attributesCase_ == 20) {
output.writeMessage(20, (io.temporal.api.history.v1.TimerStartedEventAttributes) attributes_);
}
if (attributesCase_ == 21) {
output.writeMessage(21, (io.temporal.api.history.v1.TimerFiredEventAttributes) attributes_);
}
if (attributesCase_ == 22) {
output.writeMessage(22, (io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) attributes_);
}
if (attributesCase_ == 23) {
output.writeMessage(23, (io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes) attributes_);
}
if (attributesCase_ == 24) {
output.writeMessage(24, (io.temporal.api.history.v1.TimerCanceledEventAttributes) attributes_);
}
if (attributesCase_ == 25) {
output.writeMessage(25, (io.temporal.api.history.v1.MarkerRecordedEventAttributes) attributes_);
}
if (attributesCase_ == 26) {
output.writeMessage(26, (io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) attributes_);
}
if (attributesCase_ == 27) {
output.writeMessage(27, (io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) attributes_);
}
if (attributesCase_ == 28) {
output.writeMessage(28, (io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) attributes_);
}
if (attributesCase_ == 29) {
output.writeMessage(29, (io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) attributes_);
}
if (attributesCase_ == 30) {
output.writeMessage(30, (io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) attributes_);
}
if (attributesCase_ == 31) {
output.writeMessage(31, (io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) attributes_);
}
if (attributesCase_ == 32) {
output.writeMessage(32, (io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) attributes_);
}
if (attributesCase_ == 33) {
output.writeMessage(33, (io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) attributes_);
}
if (attributesCase_ == 34) {
output.writeMessage(34, (io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) attributes_);
}
if (attributesCase_ == 35) {
output.writeMessage(35, (io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) attributes_);
}
if (attributesCase_ == 36) {
output.writeMessage(36, (io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) attributes_);
}
if (attributesCase_ == 37) {
output.writeMessage(37, (io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) attributes_);
}
if (attributesCase_ == 38) {
output.writeMessage(38, (io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) attributes_);
}
if (attributesCase_ == 39) {
output.writeMessage(39, (io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) attributes_);
}
if (attributesCase_ == 40) {
output.writeMessage(40, (io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) attributes_);
}
if (attributesCase_ == 41) {
output.writeMessage(41, (io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) attributes_);
}
if (attributesCase_ == 42) {
output.writeMessage(42, (io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) attributes_);
}
if (attributesCase_ == 43) {
output.writeMessage(43, (io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) attributes_);
}
if (attributesCase_ == 44) {
output.writeMessage(44, (io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) attributes_);
}
if (attributesCase_ == 45) {
output.writeMessage(45, (io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) attributes_);
}
if (attributesCase_ == 46) {
output.writeMessage(46, (io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) attributes_);
}
if (attributesCase_ == 47) {
output.writeMessage(47, (io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) attributes_);
}
if (attributesCase_ == 48) {
output.writeMessage(48, (io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) attributes_);
}
if (attributesCase_ == 49) {
output.writeMessage(49, (io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) attributes_);
}
if (attributesCase_ == 50) {
output.writeMessage(50, (io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) attributes_);
}
if (attributesCase_ == 51) {
output.writeMessage(51, (io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) attributes_);
}
if (workerMayIgnore_ != false) {
output.writeBool(300, workerMayIgnore_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (eventId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, eventId_);
}
if (eventTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getEventTime());
}
if (eventType_ != io.temporal.api.enums.v1.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, eventType_);
}
if (version_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, version_);
}
if (taskId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, taskId_);
}
if (attributesCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, (io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) attributes_);
}
if (attributesCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, (io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) attributes_);
}
if (attributesCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, (io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) attributes_);
}
if (attributesCase_ == 9) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, (io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) attributes_);
}
if (attributesCase_ == 10) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, (io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) attributes_);
}
if (attributesCase_ == 11) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, (io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes) attributes_);
}
if (attributesCase_ == 12) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, (io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) attributes_);
}
if (attributesCase_ == 13) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, (io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) attributes_);
}
if (attributesCase_ == 14) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, (io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes) attributes_);
}
if (attributesCase_ == 15) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, (io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes) attributes_);
}
if (attributesCase_ == 16) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, (io.temporal.api.history.v1.ActivityTaskStartedEventAttributes) attributes_);
}
if (attributesCase_ == 17) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, (io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes) attributes_);
}
if (attributesCase_ == 18) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, (io.temporal.api.history.v1.ActivityTaskFailedEventAttributes) attributes_);
}
if (attributesCase_ == 19) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, (io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) attributes_);
}
if (attributesCase_ == 20) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(20, (io.temporal.api.history.v1.TimerStartedEventAttributes) attributes_);
}
if (attributesCase_ == 21) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, (io.temporal.api.history.v1.TimerFiredEventAttributes) attributes_);
}
if (attributesCase_ == 22) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, (io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) attributes_);
}
if (attributesCase_ == 23) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(23, (io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes) attributes_);
}
if (attributesCase_ == 24) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(24, (io.temporal.api.history.v1.TimerCanceledEventAttributes) attributes_);
}
if (attributesCase_ == 25) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(25, (io.temporal.api.history.v1.MarkerRecordedEventAttributes) attributes_);
}
if (attributesCase_ == 26) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(26, (io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) attributes_);
}
if (attributesCase_ == 27) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(27, (io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) attributes_);
}
if (attributesCase_ == 28) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(28, (io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) attributes_);
}
if (attributesCase_ == 29) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(29, (io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) attributes_);
}
if (attributesCase_ == 30) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(30, (io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) attributes_);
}
if (attributesCase_ == 31) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(31, (io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) attributes_);
}
if (attributesCase_ == 32) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(32, (io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) attributes_);
}
if (attributesCase_ == 33) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(33, (io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) attributes_);
}
if (attributesCase_ == 34) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(34, (io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) attributes_);
}
if (attributesCase_ == 35) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(35, (io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) attributes_);
}
if (attributesCase_ == 36) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(36, (io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) attributes_);
}
if (attributesCase_ == 37) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(37, (io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) attributes_);
}
if (attributesCase_ == 38) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(38, (io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) attributes_);
}
if (attributesCase_ == 39) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(39, (io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) attributes_);
}
if (attributesCase_ == 40) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(40, (io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) attributes_);
}
if (attributesCase_ == 41) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(41, (io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) attributes_);
}
if (attributesCase_ == 42) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(42, (io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) attributes_);
}
if (attributesCase_ == 43) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(43, (io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) attributes_);
}
if (attributesCase_ == 44) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(44, (io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) attributes_);
}
if (attributesCase_ == 45) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(45, (io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) attributes_);
}
if (attributesCase_ == 46) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(46, (io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) attributes_);
}
if (attributesCase_ == 47) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(47, (io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) attributes_);
}
if (attributesCase_ == 48) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(48, (io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) attributes_);
}
if (attributesCase_ == 49) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(49, (io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) attributes_);
}
if (attributesCase_ == 50) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(50, (io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) attributes_);
}
if (attributesCase_ == 51) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(51, (io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) attributes_);
}
if (workerMayIgnore_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(300, workerMayIgnore_);
}
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.history.v1.HistoryEvent)) {
return super.equals(obj);
}
io.temporal.api.history.v1.HistoryEvent other = (io.temporal.api.history.v1.HistoryEvent) obj;
if (getEventId()
!= other.getEventId()) return false;
if (hasEventTime() != other.hasEventTime()) return false;
if (hasEventTime()) {
if (!getEventTime()
.equals(other.getEventTime())) return false;
}
if (eventType_ != other.eventType_) return false;
if (getVersion()
!= other.getVersion()) return false;
if (getTaskId()
!= other.getTaskId()) return false;
if (getWorkerMayIgnore()
!= other.getWorkerMayIgnore()) return false;
if (!getAttributesCase().equals(other.getAttributesCase())) return false;
switch (attributesCase_) {
case 6:
if (!getWorkflowExecutionStartedEventAttributes()
.equals(other.getWorkflowExecutionStartedEventAttributes())) return false;
break;
case 7:
if (!getWorkflowExecutionCompletedEventAttributes()
.equals(other.getWorkflowExecutionCompletedEventAttributes())) return false;
break;
case 8:
if (!getWorkflowExecutionFailedEventAttributes()
.equals(other.getWorkflowExecutionFailedEventAttributes())) return false;
break;
case 9:
if (!getWorkflowExecutionTimedOutEventAttributes()
.equals(other.getWorkflowExecutionTimedOutEventAttributes())) return false;
break;
case 10:
if (!getWorkflowTaskScheduledEventAttributes()
.equals(other.getWorkflowTaskScheduledEventAttributes())) return false;
break;
case 11:
if (!getWorkflowTaskStartedEventAttributes()
.equals(other.getWorkflowTaskStartedEventAttributes())) return false;
break;
case 12:
if (!getWorkflowTaskCompletedEventAttributes()
.equals(other.getWorkflowTaskCompletedEventAttributes())) return false;
break;
case 13:
if (!getWorkflowTaskTimedOutEventAttributes()
.equals(other.getWorkflowTaskTimedOutEventAttributes())) return false;
break;
case 14:
if (!getWorkflowTaskFailedEventAttributes()
.equals(other.getWorkflowTaskFailedEventAttributes())) return false;
break;
case 15:
if (!getActivityTaskScheduledEventAttributes()
.equals(other.getActivityTaskScheduledEventAttributes())) return false;
break;
case 16:
if (!getActivityTaskStartedEventAttributes()
.equals(other.getActivityTaskStartedEventAttributes())) return false;
break;
case 17:
if (!getActivityTaskCompletedEventAttributes()
.equals(other.getActivityTaskCompletedEventAttributes())) return false;
break;
case 18:
if (!getActivityTaskFailedEventAttributes()
.equals(other.getActivityTaskFailedEventAttributes())) return false;
break;
case 19:
if (!getActivityTaskTimedOutEventAttributes()
.equals(other.getActivityTaskTimedOutEventAttributes())) return false;
break;
case 20:
if (!getTimerStartedEventAttributes()
.equals(other.getTimerStartedEventAttributes())) return false;
break;
case 21:
if (!getTimerFiredEventAttributes()
.equals(other.getTimerFiredEventAttributes())) return false;
break;
case 22:
if (!getActivityTaskCancelRequestedEventAttributes()
.equals(other.getActivityTaskCancelRequestedEventAttributes())) return false;
break;
case 23:
if (!getActivityTaskCanceledEventAttributes()
.equals(other.getActivityTaskCanceledEventAttributes())) return false;
break;
case 24:
if (!getTimerCanceledEventAttributes()
.equals(other.getTimerCanceledEventAttributes())) return false;
break;
case 25:
if (!getMarkerRecordedEventAttributes()
.equals(other.getMarkerRecordedEventAttributes())) return false;
break;
case 26:
if (!getWorkflowExecutionSignaledEventAttributes()
.equals(other.getWorkflowExecutionSignaledEventAttributes())) return false;
break;
case 27:
if (!getWorkflowExecutionTerminatedEventAttributes()
.equals(other.getWorkflowExecutionTerminatedEventAttributes())) return false;
break;
case 28:
if (!getWorkflowExecutionCancelRequestedEventAttributes()
.equals(other.getWorkflowExecutionCancelRequestedEventAttributes())) return false;
break;
case 29:
if (!getWorkflowExecutionCanceledEventAttributes()
.equals(other.getWorkflowExecutionCanceledEventAttributes())) return false;
break;
case 30:
if (!getRequestCancelExternalWorkflowExecutionInitiatedEventAttributes()
.equals(other.getRequestCancelExternalWorkflowExecutionInitiatedEventAttributes())) return false;
break;
case 31:
if (!getRequestCancelExternalWorkflowExecutionFailedEventAttributes()
.equals(other.getRequestCancelExternalWorkflowExecutionFailedEventAttributes())) return false;
break;
case 32:
if (!getExternalWorkflowExecutionCancelRequestedEventAttributes()
.equals(other.getExternalWorkflowExecutionCancelRequestedEventAttributes())) return false;
break;
case 33:
if (!getWorkflowExecutionContinuedAsNewEventAttributes()
.equals(other.getWorkflowExecutionContinuedAsNewEventAttributes())) return false;
break;
case 34:
if (!getStartChildWorkflowExecutionInitiatedEventAttributes()
.equals(other.getStartChildWorkflowExecutionInitiatedEventAttributes())) return false;
break;
case 35:
if (!getStartChildWorkflowExecutionFailedEventAttributes()
.equals(other.getStartChildWorkflowExecutionFailedEventAttributes())) return false;
break;
case 36:
if (!getChildWorkflowExecutionStartedEventAttributes()
.equals(other.getChildWorkflowExecutionStartedEventAttributes())) return false;
break;
case 37:
if (!getChildWorkflowExecutionCompletedEventAttributes()
.equals(other.getChildWorkflowExecutionCompletedEventAttributes())) return false;
break;
case 38:
if (!getChildWorkflowExecutionFailedEventAttributes()
.equals(other.getChildWorkflowExecutionFailedEventAttributes())) return false;
break;
case 39:
if (!getChildWorkflowExecutionCanceledEventAttributes()
.equals(other.getChildWorkflowExecutionCanceledEventAttributes())) return false;
break;
case 40:
if (!getChildWorkflowExecutionTimedOutEventAttributes()
.equals(other.getChildWorkflowExecutionTimedOutEventAttributes())) return false;
break;
case 41:
if (!getChildWorkflowExecutionTerminatedEventAttributes()
.equals(other.getChildWorkflowExecutionTerminatedEventAttributes())) return false;
break;
case 42:
if (!getSignalExternalWorkflowExecutionInitiatedEventAttributes()
.equals(other.getSignalExternalWorkflowExecutionInitiatedEventAttributes())) return false;
break;
case 43:
if (!getSignalExternalWorkflowExecutionFailedEventAttributes()
.equals(other.getSignalExternalWorkflowExecutionFailedEventAttributes())) return false;
break;
case 44:
if (!getExternalWorkflowExecutionSignaledEventAttributes()
.equals(other.getExternalWorkflowExecutionSignaledEventAttributes())) return false;
break;
case 45:
if (!getUpsertWorkflowSearchAttributesEventAttributes()
.equals(other.getUpsertWorkflowSearchAttributesEventAttributes())) return false;
break;
case 46:
if (!getWorkflowExecutionUpdateAcceptedEventAttributes()
.equals(other.getWorkflowExecutionUpdateAcceptedEventAttributes())) return false;
break;
case 47:
if (!getWorkflowExecutionUpdateRejectedEventAttributes()
.equals(other.getWorkflowExecutionUpdateRejectedEventAttributes())) return false;
break;
case 48:
if (!getWorkflowExecutionUpdateCompletedEventAttributes()
.equals(other.getWorkflowExecutionUpdateCompletedEventAttributes())) return false;
break;
case 49:
if (!getWorkflowPropertiesModifiedExternallyEventAttributes()
.equals(other.getWorkflowPropertiesModifiedExternallyEventAttributes())) return false;
break;
case 50:
if (!getActivityPropertiesModifiedExternallyEventAttributes()
.equals(other.getActivityPropertiesModifiedExternallyEventAttributes())) return false;
break;
case 51:
if (!getWorkflowPropertiesModifiedEventAttributes()
.equals(other.getWorkflowPropertiesModifiedEventAttributes())) 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) + EVENT_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEventId());
if (hasEventTime()) {
hash = (37 * hash) + EVENT_TIME_FIELD_NUMBER;
hash = (53 * hash) + getEventTime().hashCode();
}
hash = (37 * hash) + EVENT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + eventType_;
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getVersion());
hash = (37 * hash) + TASK_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTaskId());
hash = (37 * hash) + WORKER_MAY_IGNORE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getWorkerMayIgnore());
switch (attributesCase_) {
case 6:
hash = (37 * hash) + WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecutionStartedEventAttributes().hashCode();
break;
case 7:
hash = (37 * hash) + WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecutionCompletedEventAttributes().hashCode();
break;
case 8:
hash = (37 * hash) + WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecutionFailedEventAttributes().hashCode();
break;
case 9:
hash = (37 * hash) + WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecutionTimedOutEventAttributes().hashCode();
break;
case 10:
hash = (37 * hash) + WORKFLOW_TASK_SCHEDULED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowTaskScheduledEventAttributes().hashCode();
break;
case 11:
hash = (37 * hash) + WORKFLOW_TASK_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowTaskStartedEventAttributes().hashCode();
break;
case 12:
hash = (37 * hash) + WORKFLOW_TASK_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowTaskCompletedEventAttributes().hashCode();
break;
case 13:
hash = (37 * hash) + WORKFLOW_TASK_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowTaskTimedOutEventAttributes().hashCode();
break;
case 14:
hash = (37 * hash) + WORKFLOW_TASK_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowTaskFailedEventAttributes().hashCode();
break;
case 15:
hash = (37 * hash) + ACTIVITY_TASK_SCHEDULED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getActivityTaskScheduledEventAttributes().hashCode();
break;
case 16:
hash = (37 * hash) + ACTIVITY_TASK_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getActivityTaskStartedEventAttributes().hashCode();
break;
case 17:
hash = (37 * hash) + ACTIVITY_TASK_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getActivityTaskCompletedEventAttributes().hashCode();
break;
case 18:
hash = (37 * hash) + ACTIVITY_TASK_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getActivityTaskFailedEventAttributes().hashCode();
break;
case 19:
hash = (37 * hash) + ACTIVITY_TASK_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getActivityTaskTimedOutEventAttributes().hashCode();
break;
case 20:
hash = (37 * hash) + TIMER_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getTimerStartedEventAttributes().hashCode();
break;
case 21:
hash = (37 * hash) + TIMER_FIRED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getTimerFiredEventAttributes().hashCode();
break;
case 22:
hash = (37 * hash) + ACTIVITY_TASK_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getActivityTaskCancelRequestedEventAttributes().hashCode();
break;
case 23:
hash = (37 * hash) + ACTIVITY_TASK_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getActivityTaskCanceledEventAttributes().hashCode();
break;
case 24:
hash = (37 * hash) + TIMER_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getTimerCanceledEventAttributes().hashCode();
break;
case 25:
hash = (37 * hash) + MARKER_RECORDED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getMarkerRecordedEventAttributes().hashCode();
break;
case 26:
hash = (37 * hash) + WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecutionSignaledEventAttributes().hashCode();
break;
case 27:
hash = (37 * hash) + WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecutionTerminatedEventAttributes().hashCode();
break;
case 28:
hash = (37 * hash) + WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecutionCancelRequestedEventAttributes().hashCode();
break;
case 29:
hash = (37 * hash) + WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecutionCanceledEventAttributes().hashCode();
break;
case 30:
hash = (37 * hash) + REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getRequestCancelExternalWorkflowExecutionInitiatedEventAttributes().hashCode();
break;
case 31:
hash = (37 * hash) + REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getRequestCancelExternalWorkflowExecutionFailedEventAttributes().hashCode();
break;
case 32:
hash = (37 * hash) + EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getExternalWorkflowExecutionCancelRequestedEventAttributes().hashCode();
break;
case 33:
hash = (37 * hash) + WORKFLOW_EXECUTION_CONTINUED_AS_NEW_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecutionContinuedAsNewEventAttributes().hashCode();
break;
case 34:
hash = (37 * hash) + START_CHILD_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getStartChildWorkflowExecutionInitiatedEventAttributes().hashCode();
break;
case 35:
hash = (37 * hash) + START_CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getStartChildWorkflowExecutionFailedEventAttributes().hashCode();
break;
case 36:
hash = (37 * hash) + CHILD_WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getChildWorkflowExecutionStartedEventAttributes().hashCode();
break;
case 37:
hash = (37 * hash) + CHILD_WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getChildWorkflowExecutionCompletedEventAttributes().hashCode();
break;
case 38:
hash = (37 * hash) + CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getChildWorkflowExecutionFailedEventAttributes().hashCode();
break;
case 39:
hash = (37 * hash) + CHILD_WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getChildWorkflowExecutionCanceledEventAttributes().hashCode();
break;
case 40:
hash = (37 * hash) + CHILD_WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getChildWorkflowExecutionTimedOutEventAttributes().hashCode();
break;
case 41:
hash = (37 * hash) + CHILD_WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getChildWorkflowExecutionTerminatedEventAttributes().hashCode();
break;
case 42:
hash = (37 * hash) + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getSignalExternalWorkflowExecutionInitiatedEventAttributes().hashCode();
break;
case 43:
hash = (37 * hash) + SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getSignalExternalWorkflowExecutionFailedEventAttributes().hashCode();
break;
case 44:
hash = (37 * hash) + EXTERNAL_WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getExternalWorkflowExecutionSignaledEventAttributes().hashCode();
break;
case 45:
hash = (37 * hash) + UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getUpsertWorkflowSearchAttributesEventAttributes().hashCode();
break;
case 46:
hash = (37 * hash) + WORKFLOW_EXECUTION_UPDATE_ACCEPTED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecutionUpdateAcceptedEventAttributes().hashCode();
break;
case 47:
hash = (37 * hash) + WORKFLOW_EXECUTION_UPDATE_REJECTED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecutionUpdateRejectedEventAttributes().hashCode();
break;
case 48:
hash = (37 * hash) + WORKFLOW_EXECUTION_UPDATE_COMPLETED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowExecutionUpdateCompletedEventAttributes().hashCode();
break;
case 49:
hash = (37 * hash) + WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowPropertiesModifiedExternallyEventAttributes().hashCode();
break;
case 50:
hash = (37 * hash) + ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getActivityPropertiesModifiedExternallyEventAttributes().hashCode();
break;
case 51:
hash = (37 * hash) + WORKFLOW_PROPERTIES_MODIFIED_EVENT_ATTRIBUTES_FIELD_NUMBER;
hash = (53 * hash) + getWorkflowPropertiesModifiedEventAttributes().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.temporal.api.history.v1.HistoryEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.history.v1.HistoryEvent 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.history.v1.HistoryEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.history.v1.HistoryEvent 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.history.v1.HistoryEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.history.v1.HistoryEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.temporal.api.history.v1.HistoryEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.temporal.api.history.v1.HistoryEvent 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.history.v1.HistoryEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.temporal.api.history.v1.HistoryEvent 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.history.v1.HistoryEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.temporal.api.history.v1.HistoryEvent 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.history.v1.HistoryEvent 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;
}
/**
*
* History events are the method by which Temporal SDKs advance (or recreate) workflow state.
* See the `EventType` enum for more info about what each event is for.
*
*
* Protobuf type {@code temporal.api.history.v1.HistoryEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:temporal.api.history.v1.HistoryEvent)
io.temporal.api.history.v1.HistoryEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.temporal.api.history.v1.MessageProto.internal_static_temporal_api_history_v1_HistoryEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.temporal.api.history.v1.MessageProto.internal_static_temporal_api_history_v1_HistoryEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.temporal.api.history.v1.HistoryEvent.class, io.temporal.api.history.v1.HistoryEvent.Builder.class);
}
// Construct using io.temporal.api.history.v1.HistoryEvent.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();
eventId_ = 0L;
if (eventTimeBuilder_ == null) {
eventTime_ = null;
} else {
eventTime_ = null;
eventTimeBuilder_ = null;
}
eventType_ = 0;
version_ = 0L;
taskId_ = 0L;
workerMayIgnore_ = false;
attributesCase_ = 0;
attributes_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.temporal.api.history.v1.MessageProto.internal_static_temporal_api_history_v1_HistoryEvent_descriptor;
}
@java.lang.Override
public io.temporal.api.history.v1.HistoryEvent getDefaultInstanceForType() {
return io.temporal.api.history.v1.HistoryEvent.getDefaultInstance();
}
@java.lang.Override
public io.temporal.api.history.v1.HistoryEvent build() {
io.temporal.api.history.v1.HistoryEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.temporal.api.history.v1.HistoryEvent buildPartial() {
io.temporal.api.history.v1.HistoryEvent result = new io.temporal.api.history.v1.HistoryEvent(this);
result.eventId_ = eventId_;
if (eventTimeBuilder_ == null) {
result.eventTime_ = eventTime_;
} else {
result.eventTime_ = eventTimeBuilder_.build();
}
result.eventType_ = eventType_;
result.version_ = version_;
result.taskId_ = taskId_;
result.workerMayIgnore_ = workerMayIgnore_;
if (attributesCase_ == 6) {
if (workflowExecutionStartedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowExecutionStartedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 7) {
if (workflowExecutionCompletedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowExecutionCompletedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 8) {
if (workflowExecutionFailedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowExecutionFailedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 9) {
if (workflowExecutionTimedOutEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowExecutionTimedOutEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 10) {
if (workflowTaskScheduledEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowTaskScheduledEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 11) {
if (workflowTaskStartedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowTaskStartedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 12) {
if (workflowTaskCompletedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowTaskCompletedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 13) {
if (workflowTaskTimedOutEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowTaskTimedOutEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 14) {
if (workflowTaskFailedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowTaskFailedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 15) {
if (activityTaskScheduledEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = activityTaskScheduledEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 16) {
if (activityTaskStartedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = activityTaskStartedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 17) {
if (activityTaskCompletedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = activityTaskCompletedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 18) {
if (activityTaskFailedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = activityTaskFailedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 19) {
if (activityTaskTimedOutEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = activityTaskTimedOutEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 20) {
if (timerStartedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = timerStartedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 21) {
if (timerFiredEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = timerFiredEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 22) {
if (activityTaskCancelRequestedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = activityTaskCancelRequestedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 23) {
if (activityTaskCanceledEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = activityTaskCanceledEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 24) {
if (timerCanceledEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = timerCanceledEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 25) {
if (markerRecordedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = markerRecordedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 26) {
if (workflowExecutionSignaledEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowExecutionSignaledEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 27) {
if (workflowExecutionTerminatedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowExecutionTerminatedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 28) {
if (workflowExecutionCancelRequestedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowExecutionCancelRequestedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 29) {
if (workflowExecutionCanceledEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowExecutionCanceledEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 30) {
if (requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 31) {
if (requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 32) {
if (externalWorkflowExecutionCancelRequestedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = externalWorkflowExecutionCancelRequestedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 33) {
if (workflowExecutionContinuedAsNewEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowExecutionContinuedAsNewEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 34) {
if (startChildWorkflowExecutionInitiatedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = startChildWorkflowExecutionInitiatedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 35) {
if (startChildWorkflowExecutionFailedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = startChildWorkflowExecutionFailedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 36) {
if (childWorkflowExecutionStartedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = childWorkflowExecutionStartedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 37) {
if (childWorkflowExecutionCompletedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = childWorkflowExecutionCompletedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 38) {
if (childWorkflowExecutionFailedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = childWorkflowExecutionFailedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 39) {
if (childWorkflowExecutionCanceledEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = childWorkflowExecutionCanceledEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 40) {
if (childWorkflowExecutionTimedOutEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = childWorkflowExecutionTimedOutEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 41) {
if (childWorkflowExecutionTerminatedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = childWorkflowExecutionTerminatedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 42) {
if (signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 43) {
if (signalExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = signalExternalWorkflowExecutionFailedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 44) {
if (externalWorkflowExecutionSignaledEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = externalWorkflowExecutionSignaledEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 45) {
if (upsertWorkflowSearchAttributesEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = upsertWorkflowSearchAttributesEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 46) {
if (workflowExecutionUpdateAcceptedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowExecutionUpdateAcceptedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 47) {
if (workflowExecutionUpdateRejectedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowExecutionUpdateRejectedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 48) {
if (workflowExecutionUpdateCompletedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowExecutionUpdateCompletedEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 49) {
if (workflowPropertiesModifiedExternallyEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowPropertiesModifiedExternallyEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 50) {
if (activityPropertiesModifiedExternallyEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = activityPropertiesModifiedExternallyEventAttributesBuilder_.build();
}
}
if (attributesCase_ == 51) {
if (workflowPropertiesModifiedEventAttributesBuilder_ == null) {
result.attributes_ = attributes_;
} else {
result.attributes_ = workflowPropertiesModifiedEventAttributesBuilder_.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.history.v1.HistoryEvent) {
return mergeFrom((io.temporal.api.history.v1.HistoryEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.temporal.api.history.v1.HistoryEvent other) {
if (other == io.temporal.api.history.v1.HistoryEvent.getDefaultInstance()) return this;
if (other.getEventId() != 0L) {
setEventId(other.getEventId());
}
if (other.hasEventTime()) {
mergeEventTime(other.getEventTime());
}
if (other.eventType_ != 0) {
setEventTypeValue(other.getEventTypeValue());
}
if (other.getVersion() != 0L) {
setVersion(other.getVersion());
}
if (other.getTaskId() != 0L) {
setTaskId(other.getTaskId());
}
if (other.getWorkerMayIgnore() != false) {
setWorkerMayIgnore(other.getWorkerMayIgnore());
}
switch (other.getAttributesCase()) {
case WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES: {
mergeWorkflowExecutionStartedEventAttributes(other.getWorkflowExecutionStartedEventAttributes());
break;
}
case WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES: {
mergeWorkflowExecutionCompletedEventAttributes(other.getWorkflowExecutionCompletedEventAttributes());
break;
}
case WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES: {
mergeWorkflowExecutionFailedEventAttributes(other.getWorkflowExecutionFailedEventAttributes());
break;
}
case WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES: {
mergeWorkflowExecutionTimedOutEventAttributes(other.getWorkflowExecutionTimedOutEventAttributes());
break;
}
case WORKFLOW_TASK_SCHEDULED_EVENT_ATTRIBUTES: {
mergeWorkflowTaskScheduledEventAttributes(other.getWorkflowTaskScheduledEventAttributes());
break;
}
case WORKFLOW_TASK_STARTED_EVENT_ATTRIBUTES: {
mergeWorkflowTaskStartedEventAttributes(other.getWorkflowTaskStartedEventAttributes());
break;
}
case WORKFLOW_TASK_COMPLETED_EVENT_ATTRIBUTES: {
mergeWorkflowTaskCompletedEventAttributes(other.getWorkflowTaskCompletedEventAttributes());
break;
}
case WORKFLOW_TASK_TIMED_OUT_EVENT_ATTRIBUTES: {
mergeWorkflowTaskTimedOutEventAttributes(other.getWorkflowTaskTimedOutEventAttributes());
break;
}
case WORKFLOW_TASK_FAILED_EVENT_ATTRIBUTES: {
mergeWorkflowTaskFailedEventAttributes(other.getWorkflowTaskFailedEventAttributes());
break;
}
case ACTIVITY_TASK_SCHEDULED_EVENT_ATTRIBUTES: {
mergeActivityTaskScheduledEventAttributes(other.getActivityTaskScheduledEventAttributes());
break;
}
case ACTIVITY_TASK_STARTED_EVENT_ATTRIBUTES: {
mergeActivityTaskStartedEventAttributes(other.getActivityTaskStartedEventAttributes());
break;
}
case ACTIVITY_TASK_COMPLETED_EVENT_ATTRIBUTES: {
mergeActivityTaskCompletedEventAttributes(other.getActivityTaskCompletedEventAttributes());
break;
}
case ACTIVITY_TASK_FAILED_EVENT_ATTRIBUTES: {
mergeActivityTaskFailedEventAttributes(other.getActivityTaskFailedEventAttributes());
break;
}
case ACTIVITY_TASK_TIMED_OUT_EVENT_ATTRIBUTES: {
mergeActivityTaskTimedOutEventAttributes(other.getActivityTaskTimedOutEventAttributes());
break;
}
case TIMER_STARTED_EVENT_ATTRIBUTES: {
mergeTimerStartedEventAttributes(other.getTimerStartedEventAttributes());
break;
}
case TIMER_FIRED_EVENT_ATTRIBUTES: {
mergeTimerFiredEventAttributes(other.getTimerFiredEventAttributes());
break;
}
case ACTIVITY_TASK_CANCEL_REQUESTED_EVENT_ATTRIBUTES: {
mergeActivityTaskCancelRequestedEventAttributes(other.getActivityTaskCancelRequestedEventAttributes());
break;
}
case ACTIVITY_TASK_CANCELED_EVENT_ATTRIBUTES: {
mergeActivityTaskCanceledEventAttributes(other.getActivityTaskCanceledEventAttributes());
break;
}
case TIMER_CANCELED_EVENT_ATTRIBUTES: {
mergeTimerCanceledEventAttributes(other.getTimerCanceledEventAttributes());
break;
}
case MARKER_RECORDED_EVENT_ATTRIBUTES: {
mergeMarkerRecordedEventAttributes(other.getMarkerRecordedEventAttributes());
break;
}
case WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES: {
mergeWorkflowExecutionSignaledEventAttributes(other.getWorkflowExecutionSignaledEventAttributes());
break;
}
case WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES: {
mergeWorkflowExecutionTerminatedEventAttributes(other.getWorkflowExecutionTerminatedEventAttributes());
break;
}
case WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES: {
mergeWorkflowExecutionCancelRequestedEventAttributes(other.getWorkflowExecutionCancelRequestedEventAttributes());
break;
}
case WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES: {
mergeWorkflowExecutionCanceledEventAttributes(other.getWorkflowExecutionCanceledEventAttributes());
break;
}
case REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES: {
mergeRequestCancelExternalWorkflowExecutionInitiatedEventAttributes(other.getRequestCancelExternalWorkflowExecutionInitiatedEventAttributes());
break;
}
case REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES: {
mergeRequestCancelExternalWorkflowExecutionFailedEventAttributes(other.getRequestCancelExternalWorkflowExecutionFailedEventAttributes());
break;
}
case EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED_EVENT_ATTRIBUTES: {
mergeExternalWorkflowExecutionCancelRequestedEventAttributes(other.getExternalWorkflowExecutionCancelRequestedEventAttributes());
break;
}
case WORKFLOW_EXECUTION_CONTINUED_AS_NEW_EVENT_ATTRIBUTES: {
mergeWorkflowExecutionContinuedAsNewEventAttributes(other.getWorkflowExecutionContinuedAsNewEventAttributes());
break;
}
case START_CHILD_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES: {
mergeStartChildWorkflowExecutionInitiatedEventAttributes(other.getStartChildWorkflowExecutionInitiatedEventAttributes());
break;
}
case START_CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES: {
mergeStartChildWorkflowExecutionFailedEventAttributes(other.getStartChildWorkflowExecutionFailedEventAttributes());
break;
}
case CHILD_WORKFLOW_EXECUTION_STARTED_EVENT_ATTRIBUTES: {
mergeChildWorkflowExecutionStartedEventAttributes(other.getChildWorkflowExecutionStartedEventAttributes());
break;
}
case CHILD_WORKFLOW_EXECUTION_COMPLETED_EVENT_ATTRIBUTES: {
mergeChildWorkflowExecutionCompletedEventAttributes(other.getChildWorkflowExecutionCompletedEventAttributes());
break;
}
case CHILD_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES: {
mergeChildWorkflowExecutionFailedEventAttributes(other.getChildWorkflowExecutionFailedEventAttributes());
break;
}
case CHILD_WORKFLOW_EXECUTION_CANCELED_EVENT_ATTRIBUTES: {
mergeChildWorkflowExecutionCanceledEventAttributes(other.getChildWorkflowExecutionCanceledEventAttributes());
break;
}
case CHILD_WORKFLOW_EXECUTION_TIMED_OUT_EVENT_ATTRIBUTES: {
mergeChildWorkflowExecutionTimedOutEventAttributes(other.getChildWorkflowExecutionTimedOutEventAttributes());
break;
}
case CHILD_WORKFLOW_EXECUTION_TERMINATED_EVENT_ATTRIBUTES: {
mergeChildWorkflowExecutionTerminatedEventAttributes(other.getChildWorkflowExecutionTerminatedEventAttributes());
break;
}
case SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED_EVENT_ATTRIBUTES: {
mergeSignalExternalWorkflowExecutionInitiatedEventAttributes(other.getSignalExternalWorkflowExecutionInitiatedEventAttributes());
break;
}
case SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_EVENT_ATTRIBUTES: {
mergeSignalExternalWorkflowExecutionFailedEventAttributes(other.getSignalExternalWorkflowExecutionFailedEventAttributes());
break;
}
case EXTERNAL_WORKFLOW_EXECUTION_SIGNALED_EVENT_ATTRIBUTES: {
mergeExternalWorkflowExecutionSignaledEventAttributes(other.getExternalWorkflowExecutionSignaledEventAttributes());
break;
}
case UPSERT_WORKFLOW_SEARCH_ATTRIBUTES_EVENT_ATTRIBUTES: {
mergeUpsertWorkflowSearchAttributesEventAttributes(other.getUpsertWorkflowSearchAttributesEventAttributes());
break;
}
case WORKFLOW_EXECUTION_UPDATE_ACCEPTED_EVENT_ATTRIBUTES: {
mergeWorkflowExecutionUpdateAcceptedEventAttributes(other.getWorkflowExecutionUpdateAcceptedEventAttributes());
break;
}
case WORKFLOW_EXECUTION_UPDATE_REJECTED_EVENT_ATTRIBUTES: {
mergeWorkflowExecutionUpdateRejectedEventAttributes(other.getWorkflowExecutionUpdateRejectedEventAttributes());
break;
}
case WORKFLOW_EXECUTION_UPDATE_COMPLETED_EVENT_ATTRIBUTES: {
mergeWorkflowExecutionUpdateCompletedEventAttributes(other.getWorkflowExecutionUpdateCompletedEventAttributes());
break;
}
case WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY_EVENT_ATTRIBUTES: {
mergeWorkflowPropertiesModifiedExternallyEventAttributes(other.getWorkflowPropertiesModifiedExternallyEventAttributes());
break;
}
case ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY_EVENT_ATTRIBUTES: {
mergeActivityPropertiesModifiedExternallyEventAttributes(other.getActivityPropertiesModifiedExternallyEventAttributes());
break;
}
case WORKFLOW_PROPERTIES_MODIFIED_EVENT_ATTRIBUTES: {
mergeWorkflowPropertiesModifiedEventAttributes(other.getWorkflowPropertiesModifiedEventAttributes());
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.history.v1.HistoryEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.temporal.api.history.v1.HistoryEvent) 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 long eventId_ ;
/**
*
* Monotonically increasing event number, starts at 1.
*
*
* int64 event_id = 1;
* @return The eventId.
*/
public long getEventId() {
return eventId_;
}
/**
*
* Monotonically increasing event number, starts at 1.
*
*
* int64 event_id = 1;
* @param value The eventId to set.
* @return This builder for chaining.
*/
public Builder setEventId(long value) {
eventId_ = value;
onChanged();
return this;
}
/**
*
* Monotonically increasing event number, starts at 1.
*
*
* int64 event_id = 1;
* @return This builder for chaining.
*/
public Builder clearEventId() {
eventId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Timestamp eventTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> eventTimeBuilder_;
/**
* .google.protobuf.Timestamp event_time = 2 [(.gogoproto.stdtime) = true];
* @return Whether the eventTime field is set.
*/
public boolean hasEventTime() {
return eventTimeBuilder_ != null || eventTime_ != null;
}
/**
* .google.protobuf.Timestamp event_time = 2 [(.gogoproto.stdtime) = true];
* @return The eventTime.
*/
public com.google.protobuf.Timestamp getEventTime() {
if (eventTimeBuilder_ == null) {
return eventTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : eventTime_;
} else {
return eventTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp event_time = 2 [(.gogoproto.stdtime) = true];
*/
public Builder setEventTime(com.google.protobuf.Timestamp value) {
if (eventTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
eventTime_ = value;
onChanged();
} else {
eventTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp event_time = 2 [(.gogoproto.stdtime) = true];
*/
public Builder setEventTime(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (eventTimeBuilder_ == null) {
eventTime_ = builderForValue.build();
onChanged();
} else {
eventTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp event_time = 2 [(.gogoproto.stdtime) = true];
*/
public Builder mergeEventTime(com.google.protobuf.Timestamp value) {
if (eventTimeBuilder_ == null) {
if (eventTime_ != null) {
eventTime_ =
com.google.protobuf.Timestamp.newBuilder(eventTime_).mergeFrom(value).buildPartial();
} else {
eventTime_ = value;
}
onChanged();
} else {
eventTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp event_time = 2 [(.gogoproto.stdtime) = true];
*/
public Builder clearEventTime() {
if (eventTimeBuilder_ == null) {
eventTime_ = null;
onChanged();
} else {
eventTime_ = null;
eventTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp event_time = 2 [(.gogoproto.stdtime) = true];
*/
public com.google.protobuf.Timestamp.Builder getEventTimeBuilder() {
onChanged();
return getEventTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp event_time = 2 [(.gogoproto.stdtime) = true];
*/
public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
if (eventTimeBuilder_ != null) {
return eventTimeBuilder_.getMessageOrBuilder();
} else {
return eventTime_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : eventTime_;
}
}
/**
* .google.protobuf.Timestamp event_time = 2 [(.gogoproto.stdtime) = true];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getEventTimeFieldBuilder() {
if (eventTimeBuilder_ == null) {
eventTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getEventTime(),
getParentForChildren(),
isClean());
eventTime_ = null;
}
return eventTimeBuilder_;
}
private int eventType_ = 0;
/**
* .temporal.api.enums.v1.EventType event_type = 3;
* @return The enum numeric value on the wire for eventType.
*/
public int getEventTypeValue() {
return eventType_;
}
/**
* .temporal.api.enums.v1.EventType event_type = 3;
* @param value The enum numeric value on the wire for eventType to set.
* @return This builder for chaining.
*/
public Builder setEventTypeValue(int value) {
eventType_ = value;
onChanged();
return this;
}
/**
* .temporal.api.enums.v1.EventType event_type = 3;
* @return The eventType.
*/
public io.temporal.api.enums.v1.EventType getEventType() {
@SuppressWarnings("deprecation")
io.temporal.api.enums.v1.EventType result = io.temporal.api.enums.v1.EventType.valueOf(eventType_);
return result == null ? io.temporal.api.enums.v1.EventType.UNRECOGNIZED : result;
}
/**
* .temporal.api.enums.v1.EventType event_type = 3;
* @param value The eventType to set.
* @return This builder for chaining.
*/
public Builder setEventType(io.temporal.api.enums.v1.EventType value) {
if (value == null) {
throw new NullPointerException();
}
eventType_ = value.getNumber();
onChanged();
return this;
}
/**
* .temporal.api.enums.v1.EventType event_type = 3;
* @return This builder for chaining.
*/
public Builder clearEventType() {
eventType_ = 0;
onChanged();
return this;
}
private long version_ ;
/**
*
* TODO: What is this? Appears unused by SDKs
*
*
* int64 version = 4;
* @return The version.
*/
public long getVersion() {
return version_;
}
/**
*
* TODO: What is this? Appears unused by SDKs
*
*
* int64 version = 4;
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(long value) {
version_ = value;
onChanged();
return this;
}
/**
*
* TODO: What is this? Appears unused by SDKs
*
*
* int64 version = 4;
* @return This builder for chaining.
*/
public Builder clearVersion() {
version_ = 0L;
onChanged();
return this;
}
private long taskId_ ;
/**
*
* TODO: What is this? Appears unused by SDKs
*
*
* int64 task_id = 5;
* @return The taskId.
*/
public long getTaskId() {
return taskId_;
}
/**
*
* TODO: What is this? Appears unused by SDKs
*
*
* int64 task_id = 5;
* @param value The taskId to set.
* @return This builder for chaining.
*/
public Builder setTaskId(long value) {
taskId_ = value;
onChanged();
return this;
}
/**
*
* TODO: What is this? Appears unused by SDKs
*
*
* int64 task_id = 5;
* @return This builder for chaining.
*/
public Builder clearTaskId() {
taskId_ = 0L;
onChanged();
return this;
}
private boolean workerMayIgnore_ ;
/**
*
* Set to true when the SDK may ignore the event as it does not impact workflow state or
* information in any way that the SDK need be concerned with. If an SDK encounters an event
* type which it does not understand, it must error unless this is true. If it is true, it's
* acceptable for the event type and/or attributes to be uninterpretable.
*
*
* bool worker_may_ignore = 300;
* @return The workerMayIgnore.
*/
public boolean getWorkerMayIgnore() {
return workerMayIgnore_;
}
/**
*
* Set to true when the SDK may ignore the event as it does not impact workflow state or
* information in any way that the SDK need be concerned with. If an SDK encounters an event
* type which it does not understand, it must error unless this is true. If it is true, it's
* acceptable for the event type and/or attributes to be uninterpretable.
*
*
* bool worker_may_ignore = 300;
* @param value The workerMayIgnore to set.
* @return This builder for chaining.
*/
public Builder setWorkerMayIgnore(boolean value) {
workerMayIgnore_ = value;
onChanged();
return this;
}
/**
*
* Set to true when the SDK may ignore the event as it does not impact workflow state or
* information in any way that the SDK need be concerned with. If an SDK encounters an event
* type which it does not understand, it must error unless this is true. If it is true, it's
* acceptable for the event type and/or attributes to be uninterpretable.
*