All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.temporal.api.history.v1.HistoryEvent Maven / Gradle / Ivy

There is a newer version: 1.24.3
Show newest version
// 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.
     * 
* * bool worker_may_ignore = 300; * @return This builder for chaining. */ public Builder clearWorkerMayIgnore() { workerMayIgnore_ = false; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesOrBuilder> workflowExecutionStartedEventAttributesBuilder_; /** * .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 (workflowExecutionStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 6) { return (io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 6) { return workflowExecutionStartedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowExecutionStartedEventAttributes workflow_execution_started_event_attributes = 6; */ public Builder setWorkflowExecutionStartedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes value) { if (workflowExecutionStartedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowExecutionStartedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 6; return this; } /** * .temporal.api.history.v1.WorkflowExecutionStartedEventAttributes workflow_execution_started_event_attributes = 6; */ public Builder setWorkflowExecutionStartedEventAttributes( io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.Builder builderForValue) { if (workflowExecutionStartedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowExecutionStartedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 6; return this; } /** * .temporal.api.history.v1.WorkflowExecutionStartedEventAttributes workflow_execution_started_event_attributes = 6; */ public Builder mergeWorkflowExecutionStartedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes value) { if (workflowExecutionStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 6 && attributes_ != io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 6) { workflowExecutionStartedEventAttributesBuilder_.mergeFrom(value); } workflowExecutionStartedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 6; return this; } /** * .temporal.api.history.v1.WorkflowExecutionStartedEventAttributes workflow_execution_started_event_attributes = 6; */ public Builder clearWorkflowExecutionStartedEventAttributes() { if (workflowExecutionStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 6) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 6) { attributesCase_ = 0; attributes_ = null; } workflowExecutionStartedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowExecutionStartedEventAttributes workflow_execution_started_event_attributes = 6; */ public io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.Builder getWorkflowExecutionStartedEventAttributesBuilder() { return getWorkflowExecutionStartedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowExecutionStartedEventAttributes workflow_execution_started_event_attributes = 6; */ public io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesOrBuilder getWorkflowExecutionStartedEventAttributesOrBuilder() { if ((attributesCase_ == 6) && (workflowExecutionStartedEventAttributesBuilder_ != null)) { return workflowExecutionStartedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesOrBuilder> getWorkflowExecutionStartedEventAttributesFieldBuilder() { if (workflowExecutionStartedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 6)) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.getDefaultInstance(); } workflowExecutionStartedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowExecutionStartedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 6; onChanged();; return workflowExecutionStartedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesOrBuilder> workflowExecutionCompletedEventAttributesBuilder_; /** * .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 (workflowExecutionCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 7) { return (io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 7) { return workflowExecutionCompletedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes workflow_execution_completed_event_attributes = 7; */ public Builder setWorkflowExecutionCompletedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes value) { if (workflowExecutionCompletedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowExecutionCompletedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 7; return this; } /** * .temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes workflow_execution_completed_event_attributes = 7; */ public Builder setWorkflowExecutionCompletedEventAttributes( io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.Builder builderForValue) { if (workflowExecutionCompletedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowExecutionCompletedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 7; return this; } /** * .temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes workflow_execution_completed_event_attributes = 7; */ public Builder mergeWorkflowExecutionCompletedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes value) { if (workflowExecutionCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 7 && attributes_ != io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 7) { workflowExecutionCompletedEventAttributesBuilder_.mergeFrom(value); } workflowExecutionCompletedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 7; return this; } /** * .temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes workflow_execution_completed_event_attributes = 7; */ public Builder clearWorkflowExecutionCompletedEventAttributes() { if (workflowExecutionCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 7) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 7) { attributesCase_ = 0; attributes_ = null; } workflowExecutionCompletedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes workflow_execution_completed_event_attributes = 7; */ public io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.Builder getWorkflowExecutionCompletedEventAttributesBuilder() { return getWorkflowExecutionCompletedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes workflow_execution_completed_event_attributes = 7; */ public io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesOrBuilder getWorkflowExecutionCompletedEventAttributesOrBuilder() { if ((attributesCase_ == 7) && (workflowExecutionCompletedEventAttributesBuilder_ != null)) { return workflowExecutionCompletedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesOrBuilder> getWorkflowExecutionCompletedEventAttributesFieldBuilder() { if (workflowExecutionCompletedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 7)) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.getDefaultInstance(); } workflowExecutionCompletedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 7; onChanged();; return workflowExecutionCompletedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesOrBuilder> workflowExecutionFailedEventAttributesBuilder_; /** * .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 (workflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 8) { return (io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 8) { return workflowExecutionFailedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowExecutionFailedEventAttributes workflow_execution_failed_event_attributes = 8; */ public Builder setWorkflowExecutionFailedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes value) { if (workflowExecutionFailedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowExecutionFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 8; return this; } /** * .temporal.api.history.v1.WorkflowExecutionFailedEventAttributes workflow_execution_failed_event_attributes = 8; */ public Builder setWorkflowExecutionFailedEventAttributes( io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.Builder builderForValue) { if (workflowExecutionFailedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowExecutionFailedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 8; return this; } /** * .temporal.api.history.v1.WorkflowExecutionFailedEventAttributes workflow_execution_failed_event_attributes = 8; */ public Builder mergeWorkflowExecutionFailedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes value) { if (workflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 8 && attributes_ != io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 8) { workflowExecutionFailedEventAttributesBuilder_.mergeFrom(value); } workflowExecutionFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 8; return this; } /** * .temporal.api.history.v1.WorkflowExecutionFailedEventAttributes workflow_execution_failed_event_attributes = 8; */ public Builder clearWorkflowExecutionFailedEventAttributes() { if (workflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 8) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 8) { attributesCase_ = 0; attributes_ = null; } workflowExecutionFailedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowExecutionFailedEventAttributes workflow_execution_failed_event_attributes = 8; */ public io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.Builder getWorkflowExecutionFailedEventAttributesBuilder() { return getWorkflowExecutionFailedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowExecutionFailedEventAttributes workflow_execution_failed_event_attributes = 8; */ public io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesOrBuilder getWorkflowExecutionFailedEventAttributesOrBuilder() { if ((attributesCase_ == 8) && (workflowExecutionFailedEventAttributesBuilder_ != null)) { return workflowExecutionFailedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesOrBuilder> getWorkflowExecutionFailedEventAttributesFieldBuilder() { if (workflowExecutionFailedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 8)) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.getDefaultInstance(); } workflowExecutionFailedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowExecutionFailedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 8; onChanged();; return workflowExecutionFailedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes, io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesOrBuilder> workflowExecutionTimedOutEventAttributesBuilder_; /** * .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 (workflowExecutionTimedOutEventAttributesBuilder_ == null) { if (attributesCase_ == 9) { return (io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 9) { return workflowExecutionTimedOutEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes workflow_execution_timed_out_event_attributes = 9; */ public Builder setWorkflowExecutionTimedOutEventAttributes(io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes value) { if (workflowExecutionTimedOutEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowExecutionTimedOutEventAttributesBuilder_.setMessage(value); } attributesCase_ = 9; return this; } /** * .temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes workflow_execution_timed_out_event_attributes = 9; */ public Builder setWorkflowExecutionTimedOutEventAttributes( io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.Builder builderForValue) { if (workflowExecutionTimedOutEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowExecutionTimedOutEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 9; return this; } /** * .temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes workflow_execution_timed_out_event_attributes = 9; */ public Builder mergeWorkflowExecutionTimedOutEventAttributes(io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes value) { if (workflowExecutionTimedOutEventAttributesBuilder_ == null) { if (attributesCase_ == 9 && attributes_ != io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 9) { workflowExecutionTimedOutEventAttributesBuilder_.mergeFrom(value); } workflowExecutionTimedOutEventAttributesBuilder_.setMessage(value); } attributesCase_ = 9; return this; } /** * .temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes workflow_execution_timed_out_event_attributes = 9; */ public Builder clearWorkflowExecutionTimedOutEventAttributes() { if (workflowExecutionTimedOutEventAttributesBuilder_ == null) { if (attributesCase_ == 9) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 9) { attributesCase_ = 0; attributes_ = null; } workflowExecutionTimedOutEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes workflow_execution_timed_out_event_attributes = 9; */ public io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.Builder getWorkflowExecutionTimedOutEventAttributesBuilder() { return getWorkflowExecutionTimedOutEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes workflow_execution_timed_out_event_attributes = 9; */ public io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesOrBuilder getWorkflowExecutionTimedOutEventAttributesOrBuilder() { if ((attributesCase_ == 9) && (workflowExecutionTimedOutEventAttributesBuilder_ != null)) { return workflowExecutionTimedOutEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes, io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesOrBuilder> getWorkflowExecutionTimedOutEventAttributesFieldBuilder() { if (workflowExecutionTimedOutEventAttributesBuilder_ == null) { if (!(attributesCase_ == 9)) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.getDefaultInstance(); } workflowExecutionTimedOutEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes, io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 9; onChanged();; return workflowExecutionTimedOutEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes, io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesOrBuilder> workflowTaskScheduledEventAttributesBuilder_; /** * .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 (workflowTaskScheduledEventAttributesBuilder_ == null) { if (attributesCase_ == 10) { return (io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 10) { return workflowTaskScheduledEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowTaskScheduledEventAttributes workflow_task_scheduled_event_attributes = 10; */ public Builder setWorkflowTaskScheduledEventAttributes(io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes value) { if (workflowTaskScheduledEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowTaskScheduledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 10; return this; } /** * .temporal.api.history.v1.WorkflowTaskScheduledEventAttributes workflow_task_scheduled_event_attributes = 10; */ public Builder setWorkflowTaskScheduledEventAttributes( io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.Builder builderForValue) { if (workflowTaskScheduledEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowTaskScheduledEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 10; return this; } /** * .temporal.api.history.v1.WorkflowTaskScheduledEventAttributes workflow_task_scheduled_event_attributes = 10; */ public Builder mergeWorkflowTaskScheduledEventAttributes(io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes value) { if (workflowTaskScheduledEventAttributesBuilder_ == null) { if (attributesCase_ == 10 && attributes_ != io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 10) { workflowTaskScheduledEventAttributesBuilder_.mergeFrom(value); } workflowTaskScheduledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 10; return this; } /** * .temporal.api.history.v1.WorkflowTaskScheduledEventAttributes workflow_task_scheduled_event_attributes = 10; */ public Builder clearWorkflowTaskScheduledEventAttributes() { if (workflowTaskScheduledEventAttributesBuilder_ == null) { if (attributesCase_ == 10) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 10) { attributesCase_ = 0; attributes_ = null; } workflowTaskScheduledEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowTaskScheduledEventAttributes workflow_task_scheduled_event_attributes = 10; */ public io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.Builder getWorkflowTaskScheduledEventAttributesBuilder() { return getWorkflowTaskScheduledEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowTaskScheduledEventAttributes workflow_task_scheduled_event_attributes = 10; */ public io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesOrBuilder getWorkflowTaskScheduledEventAttributesOrBuilder() { if ((attributesCase_ == 10) && (workflowTaskScheduledEventAttributesBuilder_ != null)) { return workflowTaskScheduledEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes, io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesOrBuilder> getWorkflowTaskScheduledEventAttributesFieldBuilder() { if (workflowTaskScheduledEventAttributesBuilder_ == null) { if (!(attributesCase_ == 10)) { attributes_ = io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.getDefaultInstance(); } workflowTaskScheduledEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes, io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowTaskScheduledEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 10; onChanged();; return workflowTaskScheduledEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes, io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskStartedEventAttributesOrBuilder> workflowTaskStartedEventAttributesBuilder_; /** * .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 (workflowTaskStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 11) { return (io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 11) { return workflowTaskStartedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowTaskStartedEventAttributes workflow_task_started_event_attributes = 11; */ public Builder setWorkflowTaskStartedEventAttributes(io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes value) { if (workflowTaskStartedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowTaskStartedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 11; return this; } /** * .temporal.api.history.v1.WorkflowTaskStartedEventAttributes workflow_task_started_event_attributes = 11; */ public Builder setWorkflowTaskStartedEventAttributes( io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.Builder builderForValue) { if (workflowTaskStartedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowTaskStartedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 11; return this; } /** * .temporal.api.history.v1.WorkflowTaskStartedEventAttributes workflow_task_started_event_attributes = 11; */ public Builder mergeWorkflowTaskStartedEventAttributes(io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes value) { if (workflowTaskStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 11 && attributes_ != io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 11) { workflowTaskStartedEventAttributesBuilder_.mergeFrom(value); } workflowTaskStartedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 11; return this; } /** * .temporal.api.history.v1.WorkflowTaskStartedEventAttributes workflow_task_started_event_attributes = 11; */ public Builder clearWorkflowTaskStartedEventAttributes() { if (workflowTaskStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 11) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 11) { attributesCase_ = 0; attributes_ = null; } workflowTaskStartedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowTaskStartedEventAttributes workflow_task_started_event_attributes = 11; */ public io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.Builder getWorkflowTaskStartedEventAttributesBuilder() { return getWorkflowTaskStartedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowTaskStartedEventAttributes workflow_task_started_event_attributes = 11; */ public io.temporal.api.history.v1.WorkflowTaskStartedEventAttributesOrBuilder getWorkflowTaskStartedEventAttributesOrBuilder() { if ((attributesCase_ == 11) && (workflowTaskStartedEventAttributesBuilder_ != null)) { return workflowTaskStartedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes, io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskStartedEventAttributesOrBuilder> getWorkflowTaskStartedEventAttributesFieldBuilder() { if (workflowTaskStartedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 11)) { attributes_ = io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.getDefaultInstance(); } workflowTaskStartedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes, io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskStartedEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowTaskStartedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 11; onChanged();; return workflowTaskStartedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes, io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesOrBuilder> workflowTaskCompletedEventAttributesBuilder_; /** * .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 (workflowTaskCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 12) { return (io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 12) { return workflowTaskCompletedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowTaskCompletedEventAttributes workflow_task_completed_event_attributes = 12; */ public Builder setWorkflowTaskCompletedEventAttributes(io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes value) { if (workflowTaskCompletedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowTaskCompletedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 12; return this; } /** * .temporal.api.history.v1.WorkflowTaskCompletedEventAttributes workflow_task_completed_event_attributes = 12; */ public Builder setWorkflowTaskCompletedEventAttributes( io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.Builder builderForValue) { if (workflowTaskCompletedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowTaskCompletedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 12; return this; } /** * .temporal.api.history.v1.WorkflowTaskCompletedEventAttributes workflow_task_completed_event_attributes = 12; */ public Builder mergeWorkflowTaskCompletedEventAttributes(io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes value) { if (workflowTaskCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 12 && attributes_ != io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 12) { workflowTaskCompletedEventAttributesBuilder_.mergeFrom(value); } workflowTaskCompletedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 12; return this; } /** * .temporal.api.history.v1.WorkflowTaskCompletedEventAttributes workflow_task_completed_event_attributes = 12; */ public Builder clearWorkflowTaskCompletedEventAttributes() { if (workflowTaskCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 12) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 12) { attributesCase_ = 0; attributes_ = null; } workflowTaskCompletedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowTaskCompletedEventAttributes workflow_task_completed_event_attributes = 12; */ public io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.Builder getWorkflowTaskCompletedEventAttributesBuilder() { return getWorkflowTaskCompletedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowTaskCompletedEventAttributes workflow_task_completed_event_attributes = 12; */ public io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesOrBuilder getWorkflowTaskCompletedEventAttributesOrBuilder() { if ((attributesCase_ == 12) && (workflowTaskCompletedEventAttributesBuilder_ != null)) { return workflowTaskCompletedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes, io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesOrBuilder> getWorkflowTaskCompletedEventAttributesFieldBuilder() { if (workflowTaskCompletedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 12)) { attributes_ = io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.getDefaultInstance(); } workflowTaskCompletedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes, io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowTaskCompletedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 12; onChanged();; return workflowTaskCompletedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes, io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesOrBuilder> workflowTaskTimedOutEventAttributesBuilder_; /** * .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 (workflowTaskTimedOutEventAttributesBuilder_ == null) { if (attributesCase_ == 13) { return (io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 13) { return workflowTaskTimedOutEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes workflow_task_timed_out_event_attributes = 13; */ public Builder setWorkflowTaskTimedOutEventAttributes(io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes value) { if (workflowTaskTimedOutEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowTaskTimedOutEventAttributesBuilder_.setMessage(value); } attributesCase_ = 13; return this; } /** * .temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes workflow_task_timed_out_event_attributes = 13; */ public Builder setWorkflowTaskTimedOutEventAttributes( io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.Builder builderForValue) { if (workflowTaskTimedOutEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowTaskTimedOutEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 13; return this; } /** * .temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes workflow_task_timed_out_event_attributes = 13; */ public Builder mergeWorkflowTaskTimedOutEventAttributes(io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes value) { if (workflowTaskTimedOutEventAttributesBuilder_ == null) { if (attributesCase_ == 13 && attributes_ != io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 13) { workflowTaskTimedOutEventAttributesBuilder_.mergeFrom(value); } workflowTaskTimedOutEventAttributesBuilder_.setMessage(value); } attributesCase_ = 13; return this; } /** * .temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes workflow_task_timed_out_event_attributes = 13; */ public Builder clearWorkflowTaskTimedOutEventAttributes() { if (workflowTaskTimedOutEventAttributesBuilder_ == null) { if (attributesCase_ == 13) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 13) { attributesCase_ = 0; attributes_ = null; } workflowTaskTimedOutEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes workflow_task_timed_out_event_attributes = 13; */ public io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.Builder getWorkflowTaskTimedOutEventAttributesBuilder() { return getWorkflowTaskTimedOutEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes workflow_task_timed_out_event_attributes = 13; */ public io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesOrBuilder getWorkflowTaskTimedOutEventAttributesOrBuilder() { if ((attributesCase_ == 13) && (workflowTaskTimedOutEventAttributesBuilder_ != null)) { return workflowTaskTimedOutEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes, io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesOrBuilder> getWorkflowTaskTimedOutEventAttributesFieldBuilder() { if (workflowTaskTimedOutEventAttributesBuilder_ == null) { if (!(attributesCase_ == 13)) { attributes_ = io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.getDefaultInstance(); } workflowTaskTimedOutEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes, io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 13; onChanged();; return workflowTaskTimedOutEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes, io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskFailedEventAttributesOrBuilder> workflowTaskFailedEventAttributesBuilder_; /** * .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 (workflowTaskFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 14) { return (io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 14) { return workflowTaskFailedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowTaskFailedEventAttributes workflow_task_failed_event_attributes = 14; */ public Builder setWorkflowTaskFailedEventAttributes(io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes value) { if (workflowTaskFailedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowTaskFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 14; return this; } /** * .temporal.api.history.v1.WorkflowTaskFailedEventAttributes workflow_task_failed_event_attributes = 14; */ public Builder setWorkflowTaskFailedEventAttributes( io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.Builder builderForValue) { if (workflowTaskFailedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowTaskFailedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 14; return this; } /** * .temporal.api.history.v1.WorkflowTaskFailedEventAttributes workflow_task_failed_event_attributes = 14; */ public Builder mergeWorkflowTaskFailedEventAttributes(io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes value) { if (workflowTaskFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 14 && attributes_ != io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 14) { workflowTaskFailedEventAttributesBuilder_.mergeFrom(value); } workflowTaskFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 14; return this; } /** * .temporal.api.history.v1.WorkflowTaskFailedEventAttributes workflow_task_failed_event_attributes = 14; */ public Builder clearWorkflowTaskFailedEventAttributes() { if (workflowTaskFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 14) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 14) { attributesCase_ = 0; attributes_ = null; } workflowTaskFailedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowTaskFailedEventAttributes workflow_task_failed_event_attributes = 14; */ public io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.Builder getWorkflowTaskFailedEventAttributesBuilder() { return getWorkflowTaskFailedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowTaskFailedEventAttributes workflow_task_failed_event_attributes = 14; */ public io.temporal.api.history.v1.WorkflowTaskFailedEventAttributesOrBuilder getWorkflowTaskFailedEventAttributesOrBuilder() { if ((attributesCase_ == 14) && (workflowTaskFailedEventAttributesBuilder_ != null)) { return workflowTaskFailedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes, io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskFailedEventAttributesOrBuilder> getWorkflowTaskFailedEventAttributesFieldBuilder() { if (workflowTaskFailedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 14)) { attributes_ = io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.getDefaultInstance(); } workflowTaskFailedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes, io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowTaskFailedEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowTaskFailedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 14; onChanged();; return workflowTaskFailedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes, io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskScheduledEventAttributesOrBuilder> activityTaskScheduledEventAttributesBuilder_; /** * .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 (activityTaskScheduledEventAttributesBuilder_ == null) { if (attributesCase_ == 15) { return (io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes) attributes_; } return io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 15) { return activityTaskScheduledEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ActivityTaskScheduledEventAttributes activity_task_scheduled_event_attributes = 15; */ public Builder setActivityTaskScheduledEventAttributes(io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes value) { if (activityTaskScheduledEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { activityTaskScheduledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 15; return this; } /** * .temporal.api.history.v1.ActivityTaskScheduledEventAttributes activity_task_scheduled_event_attributes = 15; */ public Builder setActivityTaskScheduledEventAttributes( io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.Builder builderForValue) { if (activityTaskScheduledEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { activityTaskScheduledEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 15; return this; } /** * .temporal.api.history.v1.ActivityTaskScheduledEventAttributes activity_task_scheduled_event_attributes = 15; */ public Builder mergeActivityTaskScheduledEventAttributes(io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes value) { if (activityTaskScheduledEventAttributesBuilder_ == null) { if (attributesCase_ == 15 && attributes_ != io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.newBuilder((io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 15) { activityTaskScheduledEventAttributesBuilder_.mergeFrom(value); } activityTaskScheduledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 15; return this; } /** * .temporal.api.history.v1.ActivityTaskScheduledEventAttributes activity_task_scheduled_event_attributes = 15; */ public Builder clearActivityTaskScheduledEventAttributes() { if (activityTaskScheduledEventAttributesBuilder_ == null) { if (attributesCase_ == 15) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 15) { attributesCase_ = 0; attributes_ = null; } activityTaskScheduledEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ActivityTaskScheduledEventAttributes activity_task_scheduled_event_attributes = 15; */ public io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.Builder getActivityTaskScheduledEventAttributesBuilder() { return getActivityTaskScheduledEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ActivityTaskScheduledEventAttributes activity_task_scheduled_event_attributes = 15; */ public io.temporal.api.history.v1.ActivityTaskScheduledEventAttributesOrBuilder getActivityTaskScheduledEventAttributesOrBuilder() { if ((attributesCase_ == 15) && (activityTaskScheduledEventAttributesBuilder_ != null)) { return activityTaskScheduledEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes, io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskScheduledEventAttributesOrBuilder> getActivityTaskScheduledEventAttributesFieldBuilder() { if (activityTaskScheduledEventAttributesBuilder_ == null) { if (!(attributesCase_ == 15)) { attributes_ = io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.getDefaultInstance(); } activityTaskScheduledEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes, io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskScheduledEventAttributesOrBuilder>( (io.temporal.api.history.v1.ActivityTaskScheduledEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 15; onChanged();; return activityTaskScheduledEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskStartedEventAttributes, io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskStartedEventAttributesOrBuilder> activityTaskStartedEventAttributesBuilder_; /** * .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 (activityTaskStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 16) { return (io.temporal.api.history.v1.ActivityTaskStartedEventAttributes) attributes_; } return io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 16) { return activityTaskStartedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ActivityTaskStartedEventAttributes activity_task_started_event_attributes = 16; */ public Builder setActivityTaskStartedEventAttributes(io.temporal.api.history.v1.ActivityTaskStartedEventAttributes value) { if (activityTaskStartedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { activityTaskStartedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 16; return this; } /** * .temporal.api.history.v1.ActivityTaskStartedEventAttributes activity_task_started_event_attributes = 16; */ public Builder setActivityTaskStartedEventAttributes( io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.Builder builderForValue) { if (activityTaskStartedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { activityTaskStartedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 16; return this; } /** * .temporal.api.history.v1.ActivityTaskStartedEventAttributes activity_task_started_event_attributes = 16; */ public Builder mergeActivityTaskStartedEventAttributes(io.temporal.api.history.v1.ActivityTaskStartedEventAttributes value) { if (activityTaskStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 16 && attributes_ != io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.newBuilder((io.temporal.api.history.v1.ActivityTaskStartedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 16) { activityTaskStartedEventAttributesBuilder_.mergeFrom(value); } activityTaskStartedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 16; return this; } /** * .temporal.api.history.v1.ActivityTaskStartedEventAttributes activity_task_started_event_attributes = 16; */ public Builder clearActivityTaskStartedEventAttributes() { if (activityTaskStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 16) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 16) { attributesCase_ = 0; attributes_ = null; } activityTaskStartedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ActivityTaskStartedEventAttributes activity_task_started_event_attributes = 16; */ public io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.Builder getActivityTaskStartedEventAttributesBuilder() { return getActivityTaskStartedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ActivityTaskStartedEventAttributes activity_task_started_event_attributes = 16; */ public io.temporal.api.history.v1.ActivityTaskStartedEventAttributesOrBuilder getActivityTaskStartedEventAttributesOrBuilder() { if ((attributesCase_ == 16) && (activityTaskStartedEventAttributesBuilder_ != null)) { return activityTaskStartedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskStartedEventAttributes, io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskStartedEventAttributesOrBuilder> getActivityTaskStartedEventAttributesFieldBuilder() { if (activityTaskStartedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 16)) { attributes_ = io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.getDefaultInstance(); } activityTaskStartedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskStartedEventAttributes, io.temporal.api.history.v1.ActivityTaskStartedEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskStartedEventAttributesOrBuilder>( (io.temporal.api.history.v1.ActivityTaskStartedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 16; onChanged();; return activityTaskStartedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes, io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskCompletedEventAttributesOrBuilder> activityTaskCompletedEventAttributesBuilder_; /** * .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 (activityTaskCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 17) { return (io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes) attributes_; } return io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 17) { return activityTaskCompletedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ActivityTaskCompletedEventAttributes activity_task_completed_event_attributes = 17; */ public Builder setActivityTaskCompletedEventAttributes(io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes value) { if (activityTaskCompletedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { activityTaskCompletedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 17; return this; } /** * .temporal.api.history.v1.ActivityTaskCompletedEventAttributes activity_task_completed_event_attributes = 17; */ public Builder setActivityTaskCompletedEventAttributes( io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.Builder builderForValue) { if (activityTaskCompletedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { activityTaskCompletedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 17; return this; } /** * .temporal.api.history.v1.ActivityTaskCompletedEventAttributes activity_task_completed_event_attributes = 17; */ public Builder mergeActivityTaskCompletedEventAttributes(io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes value) { if (activityTaskCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 17 && attributes_ != io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.newBuilder((io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 17) { activityTaskCompletedEventAttributesBuilder_.mergeFrom(value); } activityTaskCompletedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 17; return this; } /** * .temporal.api.history.v1.ActivityTaskCompletedEventAttributes activity_task_completed_event_attributes = 17; */ public Builder clearActivityTaskCompletedEventAttributes() { if (activityTaskCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 17) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 17) { attributesCase_ = 0; attributes_ = null; } activityTaskCompletedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ActivityTaskCompletedEventAttributes activity_task_completed_event_attributes = 17; */ public io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.Builder getActivityTaskCompletedEventAttributesBuilder() { return getActivityTaskCompletedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ActivityTaskCompletedEventAttributes activity_task_completed_event_attributes = 17; */ public io.temporal.api.history.v1.ActivityTaskCompletedEventAttributesOrBuilder getActivityTaskCompletedEventAttributesOrBuilder() { if ((attributesCase_ == 17) && (activityTaskCompletedEventAttributesBuilder_ != null)) { return activityTaskCompletedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes, io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskCompletedEventAttributesOrBuilder> getActivityTaskCompletedEventAttributesFieldBuilder() { if (activityTaskCompletedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 17)) { attributes_ = io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.getDefaultInstance(); } activityTaskCompletedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes, io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskCompletedEventAttributesOrBuilder>( (io.temporal.api.history.v1.ActivityTaskCompletedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 17; onChanged();; return activityTaskCompletedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskFailedEventAttributes, io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskFailedEventAttributesOrBuilder> activityTaskFailedEventAttributesBuilder_; /** * .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 (activityTaskFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 18) { return (io.temporal.api.history.v1.ActivityTaskFailedEventAttributes) attributes_; } return io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 18) { return activityTaskFailedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ActivityTaskFailedEventAttributes activity_task_failed_event_attributes = 18; */ public Builder setActivityTaskFailedEventAttributes(io.temporal.api.history.v1.ActivityTaskFailedEventAttributes value) { if (activityTaskFailedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { activityTaskFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 18; return this; } /** * .temporal.api.history.v1.ActivityTaskFailedEventAttributes activity_task_failed_event_attributes = 18; */ public Builder setActivityTaskFailedEventAttributes( io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.Builder builderForValue) { if (activityTaskFailedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { activityTaskFailedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 18; return this; } /** * .temporal.api.history.v1.ActivityTaskFailedEventAttributes activity_task_failed_event_attributes = 18; */ public Builder mergeActivityTaskFailedEventAttributes(io.temporal.api.history.v1.ActivityTaskFailedEventAttributes value) { if (activityTaskFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 18 && attributes_ != io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.newBuilder((io.temporal.api.history.v1.ActivityTaskFailedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 18) { activityTaskFailedEventAttributesBuilder_.mergeFrom(value); } activityTaskFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 18; return this; } /** * .temporal.api.history.v1.ActivityTaskFailedEventAttributes activity_task_failed_event_attributes = 18; */ public Builder clearActivityTaskFailedEventAttributes() { if (activityTaskFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 18) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 18) { attributesCase_ = 0; attributes_ = null; } activityTaskFailedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ActivityTaskFailedEventAttributes activity_task_failed_event_attributes = 18; */ public io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.Builder getActivityTaskFailedEventAttributesBuilder() { return getActivityTaskFailedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ActivityTaskFailedEventAttributes activity_task_failed_event_attributes = 18; */ public io.temporal.api.history.v1.ActivityTaskFailedEventAttributesOrBuilder getActivityTaskFailedEventAttributesOrBuilder() { if ((attributesCase_ == 18) && (activityTaskFailedEventAttributesBuilder_ != null)) { return activityTaskFailedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskFailedEventAttributes, io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskFailedEventAttributesOrBuilder> getActivityTaskFailedEventAttributesFieldBuilder() { if (activityTaskFailedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 18)) { attributes_ = io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.getDefaultInstance(); } activityTaskFailedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskFailedEventAttributes, io.temporal.api.history.v1.ActivityTaskFailedEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskFailedEventAttributesOrBuilder>( (io.temporal.api.history.v1.ActivityTaskFailedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 18; onChanged();; return activityTaskFailedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes, io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesOrBuilder> activityTaskTimedOutEventAttributesBuilder_; /** * .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 (activityTaskTimedOutEventAttributesBuilder_ == null) { if (attributesCase_ == 19) { return (io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) attributes_; } return io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 19) { return activityTaskTimedOutEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ActivityTaskTimedOutEventAttributes activity_task_timed_out_event_attributes = 19; */ public Builder setActivityTaskTimedOutEventAttributes(io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes value) { if (activityTaskTimedOutEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { activityTaskTimedOutEventAttributesBuilder_.setMessage(value); } attributesCase_ = 19; return this; } /** * .temporal.api.history.v1.ActivityTaskTimedOutEventAttributes activity_task_timed_out_event_attributes = 19; */ public Builder setActivityTaskTimedOutEventAttributes( io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.Builder builderForValue) { if (activityTaskTimedOutEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { activityTaskTimedOutEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 19; return this; } /** * .temporal.api.history.v1.ActivityTaskTimedOutEventAttributes activity_task_timed_out_event_attributes = 19; */ public Builder mergeActivityTaskTimedOutEventAttributes(io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes value) { if (activityTaskTimedOutEventAttributesBuilder_ == null) { if (attributesCase_ == 19 && attributes_ != io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.newBuilder((io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 19) { activityTaskTimedOutEventAttributesBuilder_.mergeFrom(value); } activityTaskTimedOutEventAttributesBuilder_.setMessage(value); } attributesCase_ = 19; return this; } /** * .temporal.api.history.v1.ActivityTaskTimedOutEventAttributes activity_task_timed_out_event_attributes = 19; */ public Builder clearActivityTaskTimedOutEventAttributes() { if (activityTaskTimedOutEventAttributesBuilder_ == null) { if (attributesCase_ == 19) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 19) { attributesCase_ = 0; attributes_ = null; } activityTaskTimedOutEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ActivityTaskTimedOutEventAttributes activity_task_timed_out_event_attributes = 19; */ public io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.Builder getActivityTaskTimedOutEventAttributesBuilder() { return getActivityTaskTimedOutEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ActivityTaskTimedOutEventAttributes activity_task_timed_out_event_attributes = 19; */ public io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesOrBuilder getActivityTaskTimedOutEventAttributesOrBuilder() { if ((attributesCase_ == 19) && (activityTaskTimedOutEventAttributesBuilder_ != null)) { return activityTaskTimedOutEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes, io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesOrBuilder> getActivityTaskTimedOutEventAttributesFieldBuilder() { if (activityTaskTimedOutEventAttributesBuilder_ == null) { if (!(attributesCase_ == 19)) { attributes_ = io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.getDefaultInstance(); } activityTaskTimedOutEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes, io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesOrBuilder>( (io.temporal.api.history.v1.ActivityTaskTimedOutEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 19; onChanged();; return activityTaskTimedOutEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.TimerStartedEventAttributes, io.temporal.api.history.v1.TimerStartedEventAttributes.Builder, io.temporal.api.history.v1.TimerStartedEventAttributesOrBuilder> timerStartedEventAttributesBuilder_; /** * .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 (timerStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 20) { return (io.temporal.api.history.v1.TimerStartedEventAttributes) attributes_; } return io.temporal.api.history.v1.TimerStartedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 20) { return timerStartedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.TimerStartedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.TimerStartedEventAttributes timer_started_event_attributes = 20; */ public Builder setTimerStartedEventAttributes(io.temporal.api.history.v1.TimerStartedEventAttributes value) { if (timerStartedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { timerStartedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 20; return this; } /** * .temporal.api.history.v1.TimerStartedEventAttributes timer_started_event_attributes = 20; */ public Builder setTimerStartedEventAttributes( io.temporal.api.history.v1.TimerStartedEventAttributes.Builder builderForValue) { if (timerStartedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { timerStartedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 20; return this; } /** * .temporal.api.history.v1.TimerStartedEventAttributes timer_started_event_attributes = 20; */ public Builder mergeTimerStartedEventAttributes(io.temporal.api.history.v1.TimerStartedEventAttributes value) { if (timerStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 20 && attributes_ != io.temporal.api.history.v1.TimerStartedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.TimerStartedEventAttributes.newBuilder((io.temporal.api.history.v1.TimerStartedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 20) { timerStartedEventAttributesBuilder_.mergeFrom(value); } timerStartedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 20; return this; } /** * .temporal.api.history.v1.TimerStartedEventAttributes timer_started_event_attributes = 20; */ public Builder clearTimerStartedEventAttributes() { if (timerStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 20) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 20) { attributesCase_ = 0; attributes_ = null; } timerStartedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.TimerStartedEventAttributes timer_started_event_attributes = 20; */ public io.temporal.api.history.v1.TimerStartedEventAttributes.Builder getTimerStartedEventAttributesBuilder() { return getTimerStartedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.TimerStartedEventAttributes timer_started_event_attributes = 20; */ public io.temporal.api.history.v1.TimerStartedEventAttributesOrBuilder getTimerStartedEventAttributesOrBuilder() { if ((attributesCase_ == 20) && (timerStartedEventAttributesBuilder_ != null)) { return timerStartedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.TimerStartedEventAttributes, io.temporal.api.history.v1.TimerStartedEventAttributes.Builder, io.temporal.api.history.v1.TimerStartedEventAttributesOrBuilder> getTimerStartedEventAttributesFieldBuilder() { if (timerStartedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 20)) { attributes_ = io.temporal.api.history.v1.TimerStartedEventAttributes.getDefaultInstance(); } timerStartedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.TimerStartedEventAttributes, io.temporal.api.history.v1.TimerStartedEventAttributes.Builder, io.temporal.api.history.v1.TimerStartedEventAttributesOrBuilder>( (io.temporal.api.history.v1.TimerStartedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 20; onChanged();; return timerStartedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.TimerFiredEventAttributes, io.temporal.api.history.v1.TimerFiredEventAttributes.Builder, io.temporal.api.history.v1.TimerFiredEventAttributesOrBuilder> timerFiredEventAttributesBuilder_; /** * .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 (timerFiredEventAttributesBuilder_ == null) { if (attributesCase_ == 21) { return (io.temporal.api.history.v1.TimerFiredEventAttributes) attributes_; } return io.temporal.api.history.v1.TimerFiredEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 21) { return timerFiredEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.TimerFiredEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.TimerFiredEventAttributes timer_fired_event_attributes = 21; */ public Builder setTimerFiredEventAttributes(io.temporal.api.history.v1.TimerFiredEventAttributes value) { if (timerFiredEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { timerFiredEventAttributesBuilder_.setMessage(value); } attributesCase_ = 21; return this; } /** * .temporal.api.history.v1.TimerFiredEventAttributes timer_fired_event_attributes = 21; */ public Builder setTimerFiredEventAttributes( io.temporal.api.history.v1.TimerFiredEventAttributes.Builder builderForValue) { if (timerFiredEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { timerFiredEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 21; return this; } /** * .temporal.api.history.v1.TimerFiredEventAttributes timer_fired_event_attributes = 21; */ public Builder mergeTimerFiredEventAttributes(io.temporal.api.history.v1.TimerFiredEventAttributes value) { if (timerFiredEventAttributesBuilder_ == null) { if (attributesCase_ == 21 && attributes_ != io.temporal.api.history.v1.TimerFiredEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.TimerFiredEventAttributes.newBuilder((io.temporal.api.history.v1.TimerFiredEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 21) { timerFiredEventAttributesBuilder_.mergeFrom(value); } timerFiredEventAttributesBuilder_.setMessage(value); } attributesCase_ = 21; return this; } /** * .temporal.api.history.v1.TimerFiredEventAttributes timer_fired_event_attributes = 21; */ public Builder clearTimerFiredEventAttributes() { if (timerFiredEventAttributesBuilder_ == null) { if (attributesCase_ == 21) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 21) { attributesCase_ = 0; attributes_ = null; } timerFiredEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.TimerFiredEventAttributes timer_fired_event_attributes = 21; */ public io.temporal.api.history.v1.TimerFiredEventAttributes.Builder getTimerFiredEventAttributesBuilder() { return getTimerFiredEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.TimerFiredEventAttributes timer_fired_event_attributes = 21; */ public io.temporal.api.history.v1.TimerFiredEventAttributesOrBuilder getTimerFiredEventAttributesOrBuilder() { if ((attributesCase_ == 21) && (timerFiredEventAttributesBuilder_ != null)) { return timerFiredEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.TimerFiredEventAttributes, io.temporal.api.history.v1.TimerFiredEventAttributes.Builder, io.temporal.api.history.v1.TimerFiredEventAttributesOrBuilder> getTimerFiredEventAttributesFieldBuilder() { if (timerFiredEventAttributesBuilder_ == null) { if (!(attributesCase_ == 21)) { attributes_ = io.temporal.api.history.v1.TimerFiredEventAttributes.getDefaultInstance(); } timerFiredEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.TimerFiredEventAttributes, io.temporal.api.history.v1.TimerFiredEventAttributes.Builder, io.temporal.api.history.v1.TimerFiredEventAttributesOrBuilder>( (io.temporal.api.history.v1.TimerFiredEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 21; onChanged();; return timerFiredEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes, io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesOrBuilder> activityTaskCancelRequestedEventAttributesBuilder_; /** * .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 (activityTaskCancelRequestedEventAttributesBuilder_ == null) { if (attributesCase_ == 22) { return (io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) attributes_; } return io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 22) { return activityTaskCancelRequestedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes activity_task_cancel_requested_event_attributes = 22; */ public Builder setActivityTaskCancelRequestedEventAttributes(io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes value) { if (activityTaskCancelRequestedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { activityTaskCancelRequestedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 22; return this; } /** * .temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes activity_task_cancel_requested_event_attributes = 22; */ public Builder setActivityTaskCancelRequestedEventAttributes( io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.Builder builderForValue) { if (activityTaskCancelRequestedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { activityTaskCancelRequestedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 22; return this; } /** * .temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes activity_task_cancel_requested_event_attributes = 22; */ public Builder mergeActivityTaskCancelRequestedEventAttributes(io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes value) { if (activityTaskCancelRequestedEventAttributesBuilder_ == null) { if (attributesCase_ == 22 && attributes_ != io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.newBuilder((io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 22) { activityTaskCancelRequestedEventAttributesBuilder_.mergeFrom(value); } activityTaskCancelRequestedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 22; return this; } /** * .temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes activity_task_cancel_requested_event_attributes = 22; */ public Builder clearActivityTaskCancelRequestedEventAttributes() { if (activityTaskCancelRequestedEventAttributesBuilder_ == null) { if (attributesCase_ == 22) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 22) { attributesCase_ = 0; attributes_ = null; } activityTaskCancelRequestedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes activity_task_cancel_requested_event_attributes = 22; */ public io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.Builder getActivityTaskCancelRequestedEventAttributesBuilder() { return getActivityTaskCancelRequestedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes activity_task_cancel_requested_event_attributes = 22; */ public io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesOrBuilder getActivityTaskCancelRequestedEventAttributesOrBuilder() { if ((attributesCase_ == 22) && (activityTaskCancelRequestedEventAttributesBuilder_ != null)) { return activityTaskCancelRequestedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes, io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesOrBuilder> getActivityTaskCancelRequestedEventAttributesFieldBuilder() { if (activityTaskCancelRequestedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 22)) { attributes_ = io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.getDefaultInstance(); } activityTaskCancelRequestedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes, io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesOrBuilder>( (io.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 22; onChanged();; return activityTaskCancelRequestedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes, io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskCanceledEventAttributesOrBuilder> activityTaskCanceledEventAttributesBuilder_; /** * .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 (activityTaskCanceledEventAttributesBuilder_ == null) { if (attributesCase_ == 23) { return (io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes) attributes_; } return io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 23) { return activityTaskCanceledEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ActivityTaskCanceledEventAttributes activity_task_canceled_event_attributes = 23; */ public Builder setActivityTaskCanceledEventAttributes(io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes value) { if (activityTaskCanceledEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { activityTaskCanceledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 23; return this; } /** * .temporal.api.history.v1.ActivityTaskCanceledEventAttributes activity_task_canceled_event_attributes = 23; */ public Builder setActivityTaskCanceledEventAttributes( io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.Builder builderForValue) { if (activityTaskCanceledEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { activityTaskCanceledEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 23; return this; } /** * .temporal.api.history.v1.ActivityTaskCanceledEventAttributes activity_task_canceled_event_attributes = 23; */ public Builder mergeActivityTaskCanceledEventAttributes(io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes value) { if (activityTaskCanceledEventAttributesBuilder_ == null) { if (attributesCase_ == 23 && attributes_ != io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.newBuilder((io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 23) { activityTaskCanceledEventAttributesBuilder_.mergeFrom(value); } activityTaskCanceledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 23; return this; } /** * .temporal.api.history.v1.ActivityTaskCanceledEventAttributes activity_task_canceled_event_attributes = 23; */ public Builder clearActivityTaskCanceledEventAttributes() { if (activityTaskCanceledEventAttributesBuilder_ == null) { if (attributesCase_ == 23) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 23) { attributesCase_ = 0; attributes_ = null; } activityTaskCanceledEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ActivityTaskCanceledEventAttributes activity_task_canceled_event_attributes = 23; */ public io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.Builder getActivityTaskCanceledEventAttributesBuilder() { return getActivityTaskCanceledEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ActivityTaskCanceledEventAttributes activity_task_canceled_event_attributes = 23; */ public io.temporal.api.history.v1.ActivityTaskCanceledEventAttributesOrBuilder getActivityTaskCanceledEventAttributesOrBuilder() { if ((attributesCase_ == 23) && (activityTaskCanceledEventAttributesBuilder_ != null)) { return activityTaskCanceledEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes, io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskCanceledEventAttributesOrBuilder> getActivityTaskCanceledEventAttributesFieldBuilder() { if (activityTaskCanceledEventAttributesBuilder_ == null) { if (!(attributesCase_ == 23)) { attributes_ = io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.getDefaultInstance(); } activityTaskCanceledEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes, io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes.Builder, io.temporal.api.history.v1.ActivityTaskCanceledEventAttributesOrBuilder>( (io.temporal.api.history.v1.ActivityTaskCanceledEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 23; onChanged();; return activityTaskCanceledEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.TimerCanceledEventAttributes, io.temporal.api.history.v1.TimerCanceledEventAttributes.Builder, io.temporal.api.history.v1.TimerCanceledEventAttributesOrBuilder> timerCanceledEventAttributesBuilder_; /** * .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 (timerCanceledEventAttributesBuilder_ == null) { if (attributesCase_ == 24) { return (io.temporal.api.history.v1.TimerCanceledEventAttributes) attributes_; } return io.temporal.api.history.v1.TimerCanceledEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 24) { return timerCanceledEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.TimerCanceledEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.TimerCanceledEventAttributes timer_canceled_event_attributes = 24; */ public Builder setTimerCanceledEventAttributes(io.temporal.api.history.v1.TimerCanceledEventAttributes value) { if (timerCanceledEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { timerCanceledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 24; return this; } /** * .temporal.api.history.v1.TimerCanceledEventAttributes timer_canceled_event_attributes = 24; */ public Builder setTimerCanceledEventAttributes( io.temporal.api.history.v1.TimerCanceledEventAttributes.Builder builderForValue) { if (timerCanceledEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { timerCanceledEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 24; return this; } /** * .temporal.api.history.v1.TimerCanceledEventAttributes timer_canceled_event_attributes = 24; */ public Builder mergeTimerCanceledEventAttributes(io.temporal.api.history.v1.TimerCanceledEventAttributes value) { if (timerCanceledEventAttributesBuilder_ == null) { if (attributesCase_ == 24 && attributes_ != io.temporal.api.history.v1.TimerCanceledEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.TimerCanceledEventAttributes.newBuilder((io.temporal.api.history.v1.TimerCanceledEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 24) { timerCanceledEventAttributesBuilder_.mergeFrom(value); } timerCanceledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 24; return this; } /** * .temporal.api.history.v1.TimerCanceledEventAttributes timer_canceled_event_attributes = 24; */ public Builder clearTimerCanceledEventAttributes() { if (timerCanceledEventAttributesBuilder_ == null) { if (attributesCase_ == 24) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 24) { attributesCase_ = 0; attributes_ = null; } timerCanceledEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.TimerCanceledEventAttributes timer_canceled_event_attributes = 24; */ public io.temporal.api.history.v1.TimerCanceledEventAttributes.Builder getTimerCanceledEventAttributesBuilder() { return getTimerCanceledEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.TimerCanceledEventAttributes timer_canceled_event_attributes = 24; */ public io.temporal.api.history.v1.TimerCanceledEventAttributesOrBuilder getTimerCanceledEventAttributesOrBuilder() { if ((attributesCase_ == 24) && (timerCanceledEventAttributesBuilder_ != null)) { return timerCanceledEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.TimerCanceledEventAttributes, io.temporal.api.history.v1.TimerCanceledEventAttributes.Builder, io.temporal.api.history.v1.TimerCanceledEventAttributesOrBuilder> getTimerCanceledEventAttributesFieldBuilder() { if (timerCanceledEventAttributesBuilder_ == null) { if (!(attributesCase_ == 24)) { attributes_ = io.temporal.api.history.v1.TimerCanceledEventAttributes.getDefaultInstance(); } timerCanceledEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.TimerCanceledEventAttributes, io.temporal.api.history.v1.TimerCanceledEventAttributes.Builder, io.temporal.api.history.v1.TimerCanceledEventAttributesOrBuilder>( (io.temporal.api.history.v1.TimerCanceledEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 24; onChanged();; return timerCanceledEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.MarkerRecordedEventAttributes, io.temporal.api.history.v1.MarkerRecordedEventAttributes.Builder, io.temporal.api.history.v1.MarkerRecordedEventAttributesOrBuilder> markerRecordedEventAttributesBuilder_; /** * .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 (markerRecordedEventAttributesBuilder_ == null) { if (attributesCase_ == 25) { return (io.temporal.api.history.v1.MarkerRecordedEventAttributes) attributes_; } return io.temporal.api.history.v1.MarkerRecordedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 25) { return markerRecordedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.MarkerRecordedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.MarkerRecordedEventAttributes marker_recorded_event_attributes = 25; */ public Builder setMarkerRecordedEventAttributes(io.temporal.api.history.v1.MarkerRecordedEventAttributes value) { if (markerRecordedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { markerRecordedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 25; return this; } /** * .temporal.api.history.v1.MarkerRecordedEventAttributes marker_recorded_event_attributes = 25; */ public Builder setMarkerRecordedEventAttributes( io.temporal.api.history.v1.MarkerRecordedEventAttributes.Builder builderForValue) { if (markerRecordedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { markerRecordedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 25; return this; } /** * .temporal.api.history.v1.MarkerRecordedEventAttributes marker_recorded_event_attributes = 25; */ public Builder mergeMarkerRecordedEventAttributes(io.temporal.api.history.v1.MarkerRecordedEventAttributes value) { if (markerRecordedEventAttributesBuilder_ == null) { if (attributesCase_ == 25 && attributes_ != io.temporal.api.history.v1.MarkerRecordedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.MarkerRecordedEventAttributes.newBuilder((io.temporal.api.history.v1.MarkerRecordedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 25) { markerRecordedEventAttributesBuilder_.mergeFrom(value); } markerRecordedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 25; return this; } /** * .temporal.api.history.v1.MarkerRecordedEventAttributes marker_recorded_event_attributes = 25; */ public Builder clearMarkerRecordedEventAttributes() { if (markerRecordedEventAttributesBuilder_ == null) { if (attributesCase_ == 25) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 25) { attributesCase_ = 0; attributes_ = null; } markerRecordedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.MarkerRecordedEventAttributes marker_recorded_event_attributes = 25; */ public io.temporal.api.history.v1.MarkerRecordedEventAttributes.Builder getMarkerRecordedEventAttributesBuilder() { return getMarkerRecordedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.MarkerRecordedEventAttributes marker_recorded_event_attributes = 25; */ public io.temporal.api.history.v1.MarkerRecordedEventAttributesOrBuilder getMarkerRecordedEventAttributesOrBuilder() { if ((attributesCase_ == 25) && (markerRecordedEventAttributesBuilder_ != null)) { return markerRecordedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.MarkerRecordedEventAttributes, io.temporal.api.history.v1.MarkerRecordedEventAttributes.Builder, io.temporal.api.history.v1.MarkerRecordedEventAttributesOrBuilder> getMarkerRecordedEventAttributesFieldBuilder() { if (markerRecordedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 25)) { attributes_ = io.temporal.api.history.v1.MarkerRecordedEventAttributes.getDefaultInstance(); } markerRecordedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.MarkerRecordedEventAttributes, io.temporal.api.history.v1.MarkerRecordedEventAttributes.Builder, io.temporal.api.history.v1.MarkerRecordedEventAttributesOrBuilder>( (io.temporal.api.history.v1.MarkerRecordedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 25; onChanged();; return markerRecordedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes, io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesOrBuilder> workflowExecutionSignaledEventAttributesBuilder_; /** * .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 (workflowExecutionSignaledEventAttributesBuilder_ == null) { if (attributesCase_ == 26) { return (io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 26) { return workflowExecutionSignaledEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes workflow_execution_signaled_event_attributes = 26; */ public Builder setWorkflowExecutionSignaledEventAttributes(io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes value) { if (workflowExecutionSignaledEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowExecutionSignaledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 26; return this; } /** * .temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes workflow_execution_signaled_event_attributes = 26; */ public Builder setWorkflowExecutionSignaledEventAttributes( io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.Builder builderForValue) { if (workflowExecutionSignaledEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowExecutionSignaledEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 26; return this; } /** * .temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes workflow_execution_signaled_event_attributes = 26; */ public Builder mergeWorkflowExecutionSignaledEventAttributes(io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes value) { if (workflowExecutionSignaledEventAttributesBuilder_ == null) { if (attributesCase_ == 26 && attributes_ != io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 26) { workflowExecutionSignaledEventAttributesBuilder_.mergeFrom(value); } workflowExecutionSignaledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 26; return this; } /** * .temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes workflow_execution_signaled_event_attributes = 26; */ public Builder clearWorkflowExecutionSignaledEventAttributes() { if (workflowExecutionSignaledEventAttributesBuilder_ == null) { if (attributesCase_ == 26) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 26) { attributesCase_ = 0; attributes_ = null; } workflowExecutionSignaledEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes workflow_execution_signaled_event_attributes = 26; */ public io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.Builder getWorkflowExecutionSignaledEventAttributesBuilder() { return getWorkflowExecutionSignaledEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes workflow_execution_signaled_event_attributes = 26; */ public io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesOrBuilder getWorkflowExecutionSignaledEventAttributesOrBuilder() { if ((attributesCase_ == 26) && (workflowExecutionSignaledEventAttributesBuilder_ != null)) { return workflowExecutionSignaledEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes, io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesOrBuilder> getWorkflowExecutionSignaledEventAttributesFieldBuilder() { if (workflowExecutionSignaledEventAttributesBuilder_ == null) { if (!(attributesCase_ == 26)) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.getDefaultInstance(); } workflowExecutionSignaledEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes, io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 26; onChanged();; return workflowExecutionSignaledEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesOrBuilder> workflowExecutionTerminatedEventAttributesBuilder_; /** * .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 (workflowExecutionTerminatedEventAttributesBuilder_ == null) { if (attributesCase_ == 27) { return (io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 27) { return workflowExecutionTerminatedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes workflow_execution_terminated_event_attributes = 27; */ public Builder setWorkflowExecutionTerminatedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes value) { if (workflowExecutionTerminatedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowExecutionTerminatedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 27; return this; } /** * .temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes workflow_execution_terminated_event_attributes = 27; */ public Builder setWorkflowExecutionTerminatedEventAttributes( io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.Builder builderForValue) { if (workflowExecutionTerminatedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowExecutionTerminatedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 27; return this; } /** * .temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes workflow_execution_terminated_event_attributes = 27; */ public Builder mergeWorkflowExecutionTerminatedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes value) { if (workflowExecutionTerminatedEventAttributesBuilder_ == null) { if (attributesCase_ == 27 && attributes_ != io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 27) { workflowExecutionTerminatedEventAttributesBuilder_.mergeFrom(value); } workflowExecutionTerminatedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 27; return this; } /** * .temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes workflow_execution_terminated_event_attributes = 27; */ public Builder clearWorkflowExecutionTerminatedEventAttributes() { if (workflowExecutionTerminatedEventAttributesBuilder_ == null) { if (attributesCase_ == 27) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 27) { attributesCase_ = 0; attributes_ = null; } workflowExecutionTerminatedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes workflow_execution_terminated_event_attributes = 27; */ public io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.Builder getWorkflowExecutionTerminatedEventAttributesBuilder() { return getWorkflowExecutionTerminatedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes workflow_execution_terminated_event_attributes = 27; */ public io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesOrBuilder getWorkflowExecutionTerminatedEventAttributesOrBuilder() { if ((attributesCase_ == 27) && (workflowExecutionTerminatedEventAttributesBuilder_ != null)) { return workflowExecutionTerminatedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesOrBuilder> getWorkflowExecutionTerminatedEventAttributesFieldBuilder() { if (workflowExecutionTerminatedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 27)) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.getDefaultInstance(); } workflowExecutionTerminatedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 27; onChanged();; return workflowExecutionTerminatedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesOrBuilder> workflowExecutionCancelRequestedEventAttributesBuilder_; /** * .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 (workflowExecutionCancelRequestedEventAttributesBuilder_ == null) { if (attributesCase_ == 28) { return (io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 28) { return workflowExecutionCancelRequestedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes workflow_execution_cancel_requested_event_attributes = 28; */ public Builder setWorkflowExecutionCancelRequestedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes value) { if (workflowExecutionCancelRequestedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowExecutionCancelRequestedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 28; return this; } /** * .temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes workflow_execution_cancel_requested_event_attributes = 28; */ public Builder setWorkflowExecutionCancelRequestedEventAttributes( io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.Builder builderForValue) { if (workflowExecutionCancelRequestedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowExecutionCancelRequestedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 28; return this; } /** * .temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes workflow_execution_cancel_requested_event_attributes = 28; */ public Builder mergeWorkflowExecutionCancelRequestedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes value) { if (workflowExecutionCancelRequestedEventAttributesBuilder_ == null) { if (attributesCase_ == 28 && attributes_ != io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 28) { workflowExecutionCancelRequestedEventAttributesBuilder_.mergeFrom(value); } workflowExecutionCancelRequestedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 28; return this; } /** * .temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes workflow_execution_cancel_requested_event_attributes = 28; */ public Builder clearWorkflowExecutionCancelRequestedEventAttributes() { if (workflowExecutionCancelRequestedEventAttributesBuilder_ == null) { if (attributesCase_ == 28) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 28) { attributesCase_ = 0; attributes_ = null; } workflowExecutionCancelRequestedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes workflow_execution_cancel_requested_event_attributes = 28; */ public io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.Builder getWorkflowExecutionCancelRequestedEventAttributesBuilder() { return getWorkflowExecutionCancelRequestedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes workflow_execution_cancel_requested_event_attributes = 28; */ public io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesOrBuilder getWorkflowExecutionCancelRequestedEventAttributesOrBuilder() { if ((attributesCase_ == 28) && (workflowExecutionCancelRequestedEventAttributesBuilder_ != null)) { return workflowExecutionCancelRequestedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesOrBuilder> getWorkflowExecutionCancelRequestedEventAttributesFieldBuilder() { if (workflowExecutionCancelRequestedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 28)) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.getDefaultInstance(); } workflowExecutionCancelRequestedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 28; onChanged();; return workflowExecutionCancelRequestedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes, io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesOrBuilder> workflowExecutionCanceledEventAttributesBuilder_; /** * .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 (workflowExecutionCanceledEventAttributesBuilder_ == null) { if (attributesCase_ == 29) { return (io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 29) { return workflowExecutionCanceledEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes workflow_execution_canceled_event_attributes = 29; */ public Builder setWorkflowExecutionCanceledEventAttributes(io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes value) { if (workflowExecutionCanceledEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowExecutionCanceledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 29; return this; } /** * .temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes workflow_execution_canceled_event_attributes = 29; */ public Builder setWorkflowExecutionCanceledEventAttributes( io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.Builder builderForValue) { if (workflowExecutionCanceledEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowExecutionCanceledEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 29; return this; } /** * .temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes workflow_execution_canceled_event_attributes = 29; */ public Builder mergeWorkflowExecutionCanceledEventAttributes(io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes value) { if (workflowExecutionCanceledEventAttributesBuilder_ == null) { if (attributesCase_ == 29 && attributes_ != io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 29) { workflowExecutionCanceledEventAttributesBuilder_.mergeFrom(value); } workflowExecutionCanceledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 29; return this; } /** * .temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes workflow_execution_canceled_event_attributes = 29; */ public Builder clearWorkflowExecutionCanceledEventAttributes() { if (workflowExecutionCanceledEventAttributesBuilder_ == null) { if (attributesCase_ == 29) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 29) { attributesCase_ = 0; attributes_ = null; } workflowExecutionCanceledEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes workflow_execution_canceled_event_attributes = 29; */ public io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.Builder getWorkflowExecutionCanceledEventAttributesBuilder() { return getWorkflowExecutionCanceledEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes workflow_execution_canceled_event_attributes = 29; */ public io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesOrBuilder getWorkflowExecutionCanceledEventAttributesOrBuilder() { if ((attributesCase_ == 29) && (workflowExecutionCanceledEventAttributesBuilder_ != null)) { return workflowExecutionCanceledEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes, io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesOrBuilder> getWorkflowExecutionCanceledEventAttributesFieldBuilder() { if (workflowExecutionCanceledEventAttributesBuilder_ == null) { if (!(attributesCase_ == 29)) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.getDefaultInstance(); } workflowExecutionCanceledEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes, io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 29; onChanged();; return workflowExecutionCanceledEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes, io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder, io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesOrBuilder> requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_; /** * .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 (requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (attributesCase_ == 30) { return (io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) attributes_; } return io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 30) { return requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes request_cancel_external_workflow_execution_initiated_event_attributes = 30; */ public Builder setRequestCancelExternalWorkflowExecutionInitiatedEventAttributes(io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes value) { if (requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 30; return this; } /** * .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes request_cancel_external_workflow_execution_initiated_event_attributes = 30; */ public Builder setRequestCancelExternalWorkflowExecutionInitiatedEventAttributes( io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder builderForValue) { if (requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 30; return this; } /** * .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes request_cancel_external_workflow_execution_initiated_event_attributes = 30; */ public Builder mergeRequestCancelExternalWorkflowExecutionInitiatedEventAttributes(io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes value) { if (requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (attributesCase_ == 30 && attributes_ != io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.newBuilder((io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 30) { requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_.mergeFrom(value); } requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 30; return this; } /** * .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes request_cancel_external_workflow_execution_initiated_event_attributes = 30; */ public Builder clearRequestCancelExternalWorkflowExecutionInitiatedEventAttributes() { if (requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (attributesCase_ == 30) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 30) { attributesCase_ = 0; attributes_ = null; } requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes request_cancel_external_workflow_execution_initiated_event_attributes = 30; */ public io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder getRequestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder() { return getRequestCancelExternalWorkflowExecutionInitiatedEventAttributesFieldBuilder().getBuilder(); } /** * .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) && (requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_ != null)) { return requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes, io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder, io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesOrBuilder> getRequestCancelExternalWorkflowExecutionInitiatedEventAttributesFieldBuilder() { if (requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 30)) { attributes_ = io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.getDefaultInstance(); } requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes, io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Builder, io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesOrBuilder>( (io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 30; onChanged();; return requestCancelExternalWorkflowExecutionInitiatedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesOrBuilder> requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_; /** * .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 (requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 31) { return (io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) attributes_; } return io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 31) { return requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes request_cancel_external_workflow_execution_failed_event_attributes = 31; */ public Builder setRequestCancelExternalWorkflowExecutionFailedEventAttributes(io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes value) { if (requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 31; return this; } /** * .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes request_cancel_external_workflow_execution_failed_event_attributes = 31; */ public Builder setRequestCancelExternalWorkflowExecutionFailedEventAttributes( io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.Builder builderForValue) { if (requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 31; return this; } /** * .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes request_cancel_external_workflow_execution_failed_event_attributes = 31; */ public Builder mergeRequestCancelExternalWorkflowExecutionFailedEventAttributes(io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes value) { if (requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 31 && attributes_ != io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.newBuilder((io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 31) { requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_.mergeFrom(value); } requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 31; return this; } /** * .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes request_cancel_external_workflow_execution_failed_event_attributes = 31; */ public Builder clearRequestCancelExternalWorkflowExecutionFailedEventAttributes() { if (requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 31) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 31) { attributesCase_ = 0; attributes_ = null; } requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes request_cancel_external_workflow_execution_failed_event_attributes = 31; */ public io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.Builder getRequestCancelExternalWorkflowExecutionFailedEventAttributesBuilder() { return getRequestCancelExternalWorkflowExecutionFailedEventAttributesFieldBuilder().getBuilder(); } /** * .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) && (requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_ != null)) { return requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesOrBuilder> getRequestCancelExternalWorkflowExecutionFailedEventAttributesFieldBuilder() { if (requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 31)) { attributes_ = io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.getDefaultInstance(); } requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesOrBuilder>( (io.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 31; onChanged();; return requestCancelExternalWorkflowExecutionFailedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes, io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder, io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder> externalWorkflowExecutionCancelRequestedEventAttributesBuilder_; /** * .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 (externalWorkflowExecutionCancelRequestedEventAttributesBuilder_ == null) { if (attributesCase_ == 32) { return (io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) attributes_; } return io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 32) { return externalWorkflowExecutionCancelRequestedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes external_workflow_execution_cancel_requested_event_attributes = 32; */ public Builder setExternalWorkflowExecutionCancelRequestedEventAttributes(io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes value) { if (externalWorkflowExecutionCancelRequestedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { externalWorkflowExecutionCancelRequestedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 32; return this; } /** * .temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes external_workflow_execution_cancel_requested_event_attributes = 32; */ public Builder setExternalWorkflowExecutionCancelRequestedEventAttributes( io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder builderForValue) { if (externalWorkflowExecutionCancelRequestedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { externalWorkflowExecutionCancelRequestedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 32; return this; } /** * .temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes external_workflow_execution_cancel_requested_event_attributes = 32; */ public Builder mergeExternalWorkflowExecutionCancelRequestedEventAttributes(io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes value) { if (externalWorkflowExecutionCancelRequestedEventAttributesBuilder_ == null) { if (attributesCase_ == 32 && attributes_ != io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.newBuilder((io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 32) { externalWorkflowExecutionCancelRequestedEventAttributesBuilder_.mergeFrom(value); } externalWorkflowExecutionCancelRequestedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 32; return this; } /** * .temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes external_workflow_execution_cancel_requested_event_attributes = 32; */ public Builder clearExternalWorkflowExecutionCancelRequestedEventAttributes() { if (externalWorkflowExecutionCancelRequestedEventAttributesBuilder_ == null) { if (attributesCase_ == 32) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 32) { attributesCase_ = 0; attributes_ = null; } externalWorkflowExecutionCancelRequestedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes external_workflow_execution_cancel_requested_event_attributes = 32; */ public io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder getExternalWorkflowExecutionCancelRequestedEventAttributesBuilder() { return getExternalWorkflowExecutionCancelRequestedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes external_workflow_execution_cancel_requested_event_attributes = 32; */ public io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder getExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder() { if ((attributesCase_ == 32) && (externalWorkflowExecutionCancelRequestedEventAttributesBuilder_ != null)) { return externalWorkflowExecutionCancelRequestedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes, io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder, io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder> getExternalWorkflowExecutionCancelRequestedEventAttributesFieldBuilder() { if (externalWorkflowExecutionCancelRequestedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 32)) { attributes_ = io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.getDefaultInstance(); } externalWorkflowExecutionCancelRequestedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes, io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes.Builder, io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesOrBuilder>( (io.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 32; onChanged();; return externalWorkflowExecutionCancelRequestedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes, io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesOrBuilder> workflowExecutionContinuedAsNewEventAttributesBuilder_; /** * .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 (workflowExecutionContinuedAsNewEventAttributesBuilder_ == null) { if (attributesCase_ == 33) { return (io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 33) { return workflowExecutionContinuedAsNewEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes workflow_execution_continued_as_new_event_attributes = 33; */ public Builder setWorkflowExecutionContinuedAsNewEventAttributes(io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes value) { if (workflowExecutionContinuedAsNewEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowExecutionContinuedAsNewEventAttributesBuilder_.setMessage(value); } attributesCase_ = 33; return this; } /** * .temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes workflow_execution_continued_as_new_event_attributes = 33; */ public Builder setWorkflowExecutionContinuedAsNewEventAttributes( io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.Builder builderForValue) { if (workflowExecutionContinuedAsNewEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowExecutionContinuedAsNewEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 33; return this; } /** * .temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes workflow_execution_continued_as_new_event_attributes = 33; */ public Builder mergeWorkflowExecutionContinuedAsNewEventAttributes(io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes value) { if (workflowExecutionContinuedAsNewEventAttributesBuilder_ == null) { if (attributesCase_ == 33 && attributes_ != io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 33) { workflowExecutionContinuedAsNewEventAttributesBuilder_.mergeFrom(value); } workflowExecutionContinuedAsNewEventAttributesBuilder_.setMessage(value); } attributesCase_ = 33; return this; } /** * .temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes workflow_execution_continued_as_new_event_attributes = 33; */ public Builder clearWorkflowExecutionContinuedAsNewEventAttributes() { if (workflowExecutionContinuedAsNewEventAttributesBuilder_ == null) { if (attributesCase_ == 33) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 33) { attributesCase_ = 0; attributes_ = null; } workflowExecutionContinuedAsNewEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes workflow_execution_continued_as_new_event_attributes = 33; */ public io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.Builder getWorkflowExecutionContinuedAsNewEventAttributesBuilder() { return getWorkflowExecutionContinuedAsNewEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes workflow_execution_continued_as_new_event_attributes = 33; */ public io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesOrBuilder getWorkflowExecutionContinuedAsNewEventAttributesOrBuilder() { if ((attributesCase_ == 33) && (workflowExecutionContinuedAsNewEventAttributesBuilder_ != null)) { return workflowExecutionContinuedAsNewEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes, io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesOrBuilder> getWorkflowExecutionContinuedAsNewEventAttributesFieldBuilder() { if (workflowExecutionContinuedAsNewEventAttributesBuilder_ == null) { if (!(attributesCase_ == 33)) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.getDefaultInstance(); } workflowExecutionContinuedAsNewEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes, io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 33; onChanged();; return workflowExecutionContinuedAsNewEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.Builder, io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesOrBuilder> startChildWorkflowExecutionInitiatedEventAttributesBuilder_; /** * .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 (startChildWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (attributesCase_ == 34) { return (io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) attributes_; } return io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 34) { return startChildWorkflowExecutionInitiatedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes start_child_workflow_execution_initiated_event_attributes = 34; */ public Builder setStartChildWorkflowExecutionInitiatedEventAttributes(io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes value) { if (startChildWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { startChildWorkflowExecutionInitiatedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 34; return this; } /** * .temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes start_child_workflow_execution_initiated_event_attributes = 34; */ public Builder setStartChildWorkflowExecutionInitiatedEventAttributes( io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.Builder builderForValue) { if (startChildWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { startChildWorkflowExecutionInitiatedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 34; return this; } /** * .temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes start_child_workflow_execution_initiated_event_attributes = 34; */ public Builder mergeStartChildWorkflowExecutionInitiatedEventAttributes(io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes value) { if (startChildWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (attributesCase_ == 34 && attributes_ != io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.newBuilder((io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 34) { startChildWorkflowExecutionInitiatedEventAttributesBuilder_.mergeFrom(value); } startChildWorkflowExecutionInitiatedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 34; return this; } /** * .temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes start_child_workflow_execution_initiated_event_attributes = 34; */ public Builder clearStartChildWorkflowExecutionInitiatedEventAttributes() { if (startChildWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (attributesCase_ == 34) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 34) { attributesCase_ = 0; attributes_ = null; } startChildWorkflowExecutionInitiatedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes start_child_workflow_execution_initiated_event_attributes = 34; */ public io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.Builder getStartChildWorkflowExecutionInitiatedEventAttributesBuilder() { return getStartChildWorkflowExecutionInitiatedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes start_child_workflow_execution_initiated_event_attributes = 34; */ public io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesOrBuilder getStartChildWorkflowExecutionInitiatedEventAttributesOrBuilder() { if ((attributesCase_ == 34) && (startChildWorkflowExecutionInitiatedEventAttributesBuilder_ != null)) { return startChildWorkflowExecutionInitiatedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.Builder, io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesOrBuilder> getStartChildWorkflowExecutionInitiatedEventAttributesFieldBuilder() { if (startChildWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 34)) { attributes_ = io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.getDefaultInstance(); } startChildWorkflowExecutionInitiatedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes.Builder, io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesOrBuilder>( (io.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 34; onChanged();; return startChildWorkflowExecutionInitiatedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesOrBuilder> startChildWorkflowExecutionFailedEventAttributesBuilder_; /** * .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 (startChildWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 35) { return (io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) attributes_; } return io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 35) { return startChildWorkflowExecutionFailedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes start_child_workflow_execution_failed_event_attributes = 35; */ public Builder setStartChildWorkflowExecutionFailedEventAttributes(io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes value) { if (startChildWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { startChildWorkflowExecutionFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 35; return this; } /** * .temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes start_child_workflow_execution_failed_event_attributes = 35; */ public Builder setStartChildWorkflowExecutionFailedEventAttributes( io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.Builder builderForValue) { if (startChildWorkflowExecutionFailedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { startChildWorkflowExecutionFailedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 35; return this; } /** * .temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes start_child_workflow_execution_failed_event_attributes = 35; */ public Builder mergeStartChildWorkflowExecutionFailedEventAttributes(io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes value) { if (startChildWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 35 && attributes_ != io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.newBuilder((io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 35) { startChildWorkflowExecutionFailedEventAttributesBuilder_.mergeFrom(value); } startChildWorkflowExecutionFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 35; return this; } /** * .temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes start_child_workflow_execution_failed_event_attributes = 35; */ public Builder clearStartChildWorkflowExecutionFailedEventAttributes() { if (startChildWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 35) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 35) { attributesCase_ = 0; attributes_ = null; } startChildWorkflowExecutionFailedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes start_child_workflow_execution_failed_event_attributes = 35; */ public io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.Builder getStartChildWorkflowExecutionFailedEventAttributesBuilder() { return getStartChildWorkflowExecutionFailedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes start_child_workflow_execution_failed_event_attributes = 35; */ public io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesOrBuilder getStartChildWorkflowExecutionFailedEventAttributesOrBuilder() { if ((attributesCase_ == 35) && (startChildWorkflowExecutionFailedEventAttributesBuilder_ != null)) { return startChildWorkflowExecutionFailedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesOrBuilder> getStartChildWorkflowExecutionFailedEventAttributesFieldBuilder() { if (startChildWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 35)) { attributes_ = io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.getDefaultInstance(); } startChildWorkflowExecutionFailedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesOrBuilder>( (io.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 35; onChanged();; return startChildWorkflowExecutionFailedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesOrBuilder> childWorkflowExecutionStartedEventAttributesBuilder_; /** * .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 (childWorkflowExecutionStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 36) { return (io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) attributes_; } return io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 36) { return childWorkflowExecutionStartedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes child_workflow_execution_started_event_attributes = 36; */ public Builder setChildWorkflowExecutionStartedEventAttributes(io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes value) { if (childWorkflowExecutionStartedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { childWorkflowExecutionStartedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 36; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes child_workflow_execution_started_event_attributes = 36; */ public Builder setChildWorkflowExecutionStartedEventAttributes( io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.Builder builderForValue) { if (childWorkflowExecutionStartedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { childWorkflowExecutionStartedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 36; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes child_workflow_execution_started_event_attributes = 36; */ public Builder mergeChildWorkflowExecutionStartedEventAttributes(io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes value) { if (childWorkflowExecutionStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 36 && attributes_ != io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.newBuilder((io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 36) { childWorkflowExecutionStartedEventAttributesBuilder_.mergeFrom(value); } childWorkflowExecutionStartedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 36; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes child_workflow_execution_started_event_attributes = 36; */ public Builder clearChildWorkflowExecutionStartedEventAttributes() { if (childWorkflowExecutionStartedEventAttributesBuilder_ == null) { if (attributesCase_ == 36) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 36) { attributesCase_ = 0; attributes_ = null; } childWorkflowExecutionStartedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes child_workflow_execution_started_event_attributes = 36; */ public io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.Builder getChildWorkflowExecutionStartedEventAttributesBuilder() { return getChildWorkflowExecutionStartedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes child_workflow_execution_started_event_attributes = 36; */ public io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesOrBuilder getChildWorkflowExecutionStartedEventAttributesOrBuilder() { if ((attributesCase_ == 36) && (childWorkflowExecutionStartedEventAttributesBuilder_ != null)) { return childWorkflowExecutionStartedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesOrBuilder> getChildWorkflowExecutionStartedEventAttributesFieldBuilder() { if (childWorkflowExecutionStartedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 36)) { attributes_ = io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.getDefaultInstance(); } childWorkflowExecutionStartedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesOrBuilder>( (io.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 36; onChanged();; return childWorkflowExecutionStartedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesOrBuilder> childWorkflowExecutionCompletedEventAttributesBuilder_; /** * .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 (childWorkflowExecutionCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 37) { return (io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) attributes_; } return io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 37) { return childWorkflowExecutionCompletedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes child_workflow_execution_completed_event_attributes = 37; */ public Builder setChildWorkflowExecutionCompletedEventAttributes(io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes value) { if (childWorkflowExecutionCompletedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { childWorkflowExecutionCompletedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 37; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes child_workflow_execution_completed_event_attributes = 37; */ public Builder setChildWorkflowExecutionCompletedEventAttributes( io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.Builder builderForValue) { if (childWorkflowExecutionCompletedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { childWorkflowExecutionCompletedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 37; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes child_workflow_execution_completed_event_attributes = 37; */ public Builder mergeChildWorkflowExecutionCompletedEventAttributes(io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes value) { if (childWorkflowExecutionCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 37 && attributes_ != io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.newBuilder((io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 37) { childWorkflowExecutionCompletedEventAttributesBuilder_.mergeFrom(value); } childWorkflowExecutionCompletedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 37; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes child_workflow_execution_completed_event_attributes = 37; */ public Builder clearChildWorkflowExecutionCompletedEventAttributes() { if (childWorkflowExecutionCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 37) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 37) { attributesCase_ = 0; attributes_ = null; } childWorkflowExecutionCompletedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes child_workflow_execution_completed_event_attributes = 37; */ public io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.Builder getChildWorkflowExecutionCompletedEventAttributesBuilder() { return getChildWorkflowExecutionCompletedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes child_workflow_execution_completed_event_attributes = 37; */ public io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesOrBuilder getChildWorkflowExecutionCompletedEventAttributesOrBuilder() { if ((attributesCase_ == 37) && (childWorkflowExecutionCompletedEventAttributesBuilder_ != null)) { return childWorkflowExecutionCompletedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesOrBuilder> getChildWorkflowExecutionCompletedEventAttributesFieldBuilder() { if (childWorkflowExecutionCompletedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 37)) { attributes_ = io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.getDefaultInstance(); } childWorkflowExecutionCompletedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesOrBuilder>( (io.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 37; onChanged();; return childWorkflowExecutionCompletedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesOrBuilder> childWorkflowExecutionFailedEventAttributesBuilder_; /** * .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 (childWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 38) { return (io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) attributes_; } return io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 38) { return childWorkflowExecutionFailedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes child_workflow_execution_failed_event_attributes = 38; */ public Builder setChildWorkflowExecutionFailedEventAttributes(io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes value) { if (childWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { childWorkflowExecutionFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 38; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes child_workflow_execution_failed_event_attributes = 38; */ public Builder setChildWorkflowExecutionFailedEventAttributes( io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.Builder builderForValue) { if (childWorkflowExecutionFailedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { childWorkflowExecutionFailedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 38; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes child_workflow_execution_failed_event_attributes = 38; */ public Builder mergeChildWorkflowExecutionFailedEventAttributes(io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes value) { if (childWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 38 && attributes_ != io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.newBuilder((io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 38) { childWorkflowExecutionFailedEventAttributesBuilder_.mergeFrom(value); } childWorkflowExecutionFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 38; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes child_workflow_execution_failed_event_attributes = 38; */ public Builder clearChildWorkflowExecutionFailedEventAttributes() { if (childWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 38) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 38) { attributesCase_ = 0; attributes_ = null; } childWorkflowExecutionFailedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes child_workflow_execution_failed_event_attributes = 38; */ public io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.Builder getChildWorkflowExecutionFailedEventAttributesBuilder() { return getChildWorkflowExecutionFailedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes child_workflow_execution_failed_event_attributes = 38; */ public io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesOrBuilder getChildWorkflowExecutionFailedEventAttributesOrBuilder() { if ((attributesCase_ == 38) && (childWorkflowExecutionFailedEventAttributesBuilder_ != null)) { return childWorkflowExecutionFailedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesOrBuilder> getChildWorkflowExecutionFailedEventAttributesFieldBuilder() { if (childWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 38)) { attributes_ = io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.getDefaultInstance(); } childWorkflowExecutionFailedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesOrBuilder>( (io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 38; onChanged();; return childWorkflowExecutionFailedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesOrBuilder> childWorkflowExecutionCanceledEventAttributesBuilder_; /** * .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 (childWorkflowExecutionCanceledEventAttributesBuilder_ == null) { if (attributesCase_ == 39) { return (io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) attributes_; } return io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 39) { return childWorkflowExecutionCanceledEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes child_workflow_execution_canceled_event_attributes = 39; */ public Builder setChildWorkflowExecutionCanceledEventAttributes(io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes value) { if (childWorkflowExecutionCanceledEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { childWorkflowExecutionCanceledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 39; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes child_workflow_execution_canceled_event_attributes = 39; */ public Builder setChildWorkflowExecutionCanceledEventAttributes( io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.Builder builderForValue) { if (childWorkflowExecutionCanceledEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { childWorkflowExecutionCanceledEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 39; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes child_workflow_execution_canceled_event_attributes = 39; */ public Builder mergeChildWorkflowExecutionCanceledEventAttributes(io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes value) { if (childWorkflowExecutionCanceledEventAttributesBuilder_ == null) { if (attributesCase_ == 39 && attributes_ != io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.newBuilder((io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 39) { childWorkflowExecutionCanceledEventAttributesBuilder_.mergeFrom(value); } childWorkflowExecutionCanceledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 39; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes child_workflow_execution_canceled_event_attributes = 39; */ public Builder clearChildWorkflowExecutionCanceledEventAttributes() { if (childWorkflowExecutionCanceledEventAttributesBuilder_ == null) { if (attributesCase_ == 39) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 39) { attributesCase_ = 0; attributes_ = null; } childWorkflowExecutionCanceledEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes child_workflow_execution_canceled_event_attributes = 39; */ public io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.Builder getChildWorkflowExecutionCanceledEventAttributesBuilder() { return getChildWorkflowExecutionCanceledEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes child_workflow_execution_canceled_event_attributes = 39; */ public io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesOrBuilder getChildWorkflowExecutionCanceledEventAttributesOrBuilder() { if ((attributesCase_ == 39) && (childWorkflowExecutionCanceledEventAttributesBuilder_ != null)) { return childWorkflowExecutionCanceledEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesOrBuilder> getChildWorkflowExecutionCanceledEventAttributesFieldBuilder() { if (childWorkflowExecutionCanceledEventAttributesBuilder_ == null) { if (!(attributesCase_ == 39)) { attributes_ = io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.getDefaultInstance(); } childWorkflowExecutionCanceledEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesOrBuilder>( (io.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 39; onChanged();; return childWorkflowExecutionCanceledEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesOrBuilder> childWorkflowExecutionTimedOutEventAttributesBuilder_; /** * .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 (childWorkflowExecutionTimedOutEventAttributesBuilder_ == null) { if (attributesCase_ == 40) { return (io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) attributes_; } return io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 40) { return childWorkflowExecutionTimedOutEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes child_workflow_execution_timed_out_event_attributes = 40; */ public Builder setChildWorkflowExecutionTimedOutEventAttributes(io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes value) { if (childWorkflowExecutionTimedOutEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { childWorkflowExecutionTimedOutEventAttributesBuilder_.setMessage(value); } attributesCase_ = 40; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes child_workflow_execution_timed_out_event_attributes = 40; */ public Builder setChildWorkflowExecutionTimedOutEventAttributes( io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.Builder builderForValue) { if (childWorkflowExecutionTimedOutEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { childWorkflowExecutionTimedOutEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 40; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes child_workflow_execution_timed_out_event_attributes = 40; */ public Builder mergeChildWorkflowExecutionTimedOutEventAttributes(io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes value) { if (childWorkflowExecutionTimedOutEventAttributesBuilder_ == null) { if (attributesCase_ == 40 && attributes_ != io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.newBuilder((io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 40) { childWorkflowExecutionTimedOutEventAttributesBuilder_.mergeFrom(value); } childWorkflowExecutionTimedOutEventAttributesBuilder_.setMessage(value); } attributesCase_ = 40; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes child_workflow_execution_timed_out_event_attributes = 40; */ public Builder clearChildWorkflowExecutionTimedOutEventAttributes() { if (childWorkflowExecutionTimedOutEventAttributesBuilder_ == null) { if (attributesCase_ == 40) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 40) { attributesCase_ = 0; attributes_ = null; } childWorkflowExecutionTimedOutEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes child_workflow_execution_timed_out_event_attributes = 40; */ public io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.Builder getChildWorkflowExecutionTimedOutEventAttributesBuilder() { return getChildWorkflowExecutionTimedOutEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes child_workflow_execution_timed_out_event_attributes = 40; */ public io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesOrBuilder getChildWorkflowExecutionTimedOutEventAttributesOrBuilder() { if ((attributesCase_ == 40) && (childWorkflowExecutionTimedOutEventAttributesBuilder_ != null)) { return childWorkflowExecutionTimedOutEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesOrBuilder> getChildWorkflowExecutionTimedOutEventAttributesFieldBuilder() { if (childWorkflowExecutionTimedOutEventAttributesBuilder_ == null) { if (!(attributesCase_ == 40)) { attributes_ = io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.getDefaultInstance(); } childWorkflowExecutionTimedOutEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesOrBuilder>( (io.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 40; onChanged();; return childWorkflowExecutionTimedOutEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesOrBuilder> childWorkflowExecutionTerminatedEventAttributesBuilder_; /** * .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 (childWorkflowExecutionTerminatedEventAttributesBuilder_ == null) { if (attributesCase_ == 41) { return (io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) attributes_; } return io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 41) { return childWorkflowExecutionTerminatedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes child_workflow_execution_terminated_event_attributes = 41; */ public Builder setChildWorkflowExecutionTerminatedEventAttributes(io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes value) { if (childWorkflowExecutionTerminatedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { childWorkflowExecutionTerminatedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 41; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes child_workflow_execution_terminated_event_attributes = 41; */ public Builder setChildWorkflowExecutionTerminatedEventAttributes( io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.Builder builderForValue) { if (childWorkflowExecutionTerminatedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { childWorkflowExecutionTerminatedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 41; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes child_workflow_execution_terminated_event_attributes = 41; */ public Builder mergeChildWorkflowExecutionTerminatedEventAttributes(io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes value) { if (childWorkflowExecutionTerminatedEventAttributesBuilder_ == null) { if (attributesCase_ == 41 && attributes_ != io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.newBuilder((io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 41) { childWorkflowExecutionTerminatedEventAttributesBuilder_.mergeFrom(value); } childWorkflowExecutionTerminatedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 41; return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes child_workflow_execution_terminated_event_attributes = 41; */ public Builder clearChildWorkflowExecutionTerminatedEventAttributes() { if (childWorkflowExecutionTerminatedEventAttributesBuilder_ == null) { if (attributesCase_ == 41) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 41) { attributesCase_ = 0; attributes_ = null; } childWorkflowExecutionTerminatedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes child_workflow_execution_terminated_event_attributes = 41; */ public io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.Builder getChildWorkflowExecutionTerminatedEventAttributesBuilder() { return getChildWorkflowExecutionTerminatedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes child_workflow_execution_terminated_event_attributes = 41; */ public io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesOrBuilder getChildWorkflowExecutionTerminatedEventAttributesOrBuilder() { if ((attributesCase_ == 41) && (childWorkflowExecutionTerminatedEventAttributesBuilder_ != null)) { return childWorkflowExecutionTerminatedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesOrBuilder> getChildWorkflowExecutionTerminatedEventAttributesFieldBuilder() { if (childWorkflowExecutionTerminatedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 41)) { attributes_ = io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.getDefaultInstance(); } childWorkflowExecutionTerminatedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes, io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes.Builder, io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesOrBuilder>( (io.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 41; onChanged();; return childWorkflowExecutionTerminatedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes, io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.Builder, io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesOrBuilder> signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_; /** * .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 (signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (attributesCase_ == 42) { return (io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) attributes_; } return io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 42) { return signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes signal_external_workflow_execution_initiated_event_attributes = 42; */ public Builder setSignalExternalWorkflowExecutionInitiatedEventAttributes(io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes value) { if (signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 42; return this; } /** * .temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes signal_external_workflow_execution_initiated_event_attributes = 42; */ public Builder setSignalExternalWorkflowExecutionInitiatedEventAttributes( io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.Builder builderForValue) { if (signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 42; return this; } /** * .temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes signal_external_workflow_execution_initiated_event_attributes = 42; */ public Builder mergeSignalExternalWorkflowExecutionInitiatedEventAttributes(io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes value) { if (signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (attributesCase_ == 42 && attributes_ != io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.newBuilder((io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 42) { signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_.mergeFrom(value); } signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 42; return this; } /** * .temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes signal_external_workflow_execution_initiated_event_attributes = 42; */ public Builder clearSignalExternalWorkflowExecutionInitiatedEventAttributes() { if (signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (attributesCase_ == 42) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 42) { attributesCase_ = 0; attributes_ = null; } signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes signal_external_workflow_execution_initiated_event_attributes = 42; */ public io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.Builder getSignalExternalWorkflowExecutionInitiatedEventAttributesBuilder() { return getSignalExternalWorkflowExecutionInitiatedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes signal_external_workflow_execution_initiated_event_attributes = 42; */ public io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesOrBuilder getSignalExternalWorkflowExecutionInitiatedEventAttributesOrBuilder() { if ((attributesCase_ == 42) && (signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_ != null)) { return signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes, io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.Builder, io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesOrBuilder> getSignalExternalWorkflowExecutionInitiatedEventAttributesFieldBuilder() { if (signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 42)) { attributes_ = io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.getDefaultInstance(); } signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes, io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes.Builder, io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesOrBuilder>( (io.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 42; onChanged();; return signalExternalWorkflowExecutionInitiatedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesOrBuilder> signalExternalWorkflowExecutionFailedEventAttributesBuilder_; /** * .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 (signalExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 43) { return (io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) attributes_; } return io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 43) { return signalExternalWorkflowExecutionFailedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes signal_external_workflow_execution_failed_event_attributes = 43; */ public Builder setSignalExternalWorkflowExecutionFailedEventAttributes(io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes value) { if (signalExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { signalExternalWorkflowExecutionFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 43; return this; } /** * .temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes signal_external_workflow_execution_failed_event_attributes = 43; */ public Builder setSignalExternalWorkflowExecutionFailedEventAttributes( io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.Builder builderForValue) { if (signalExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { signalExternalWorkflowExecutionFailedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 43; return this; } /** * .temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes signal_external_workflow_execution_failed_event_attributes = 43; */ public Builder mergeSignalExternalWorkflowExecutionFailedEventAttributes(io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes value) { if (signalExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 43 && attributes_ != io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.newBuilder((io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 43) { signalExternalWorkflowExecutionFailedEventAttributesBuilder_.mergeFrom(value); } signalExternalWorkflowExecutionFailedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 43; return this; } /** * .temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes signal_external_workflow_execution_failed_event_attributes = 43; */ public Builder clearSignalExternalWorkflowExecutionFailedEventAttributes() { if (signalExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (attributesCase_ == 43) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 43) { attributesCase_ = 0; attributes_ = null; } signalExternalWorkflowExecutionFailedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes signal_external_workflow_execution_failed_event_attributes = 43; */ public io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.Builder getSignalExternalWorkflowExecutionFailedEventAttributesBuilder() { return getSignalExternalWorkflowExecutionFailedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes signal_external_workflow_execution_failed_event_attributes = 43; */ public io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesOrBuilder getSignalExternalWorkflowExecutionFailedEventAttributesOrBuilder() { if ((attributesCase_ == 43) && (signalExternalWorkflowExecutionFailedEventAttributesBuilder_ != null)) { return signalExternalWorkflowExecutionFailedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesOrBuilder> getSignalExternalWorkflowExecutionFailedEventAttributesFieldBuilder() { if (signalExternalWorkflowExecutionFailedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 43)) { attributes_ = io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.getDefaultInstance(); } signalExternalWorkflowExecutionFailedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes, io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes.Builder, io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesOrBuilder>( (io.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 43; onChanged();; return signalExternalWorkflowExecutionFailedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes, io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.Builder, io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesOrBuilder> externalWorkflowExecutionSignaledEventAttributesBuilder_; /** * .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 (externalWorkflowExecutionSignaledEventAttributesBuilder_ == null) { if (attributesCase_ == 44) { return (io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) attributes_; } return io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 44) { return externalWorkflowExecutionSignaledEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes external_workflow_execution_signaled_event_attributes = 44; */ public Builder setExternalWorkflowExecutionSignaledEventAttributes(io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes value) { if (externalWorkflowExecutionSignaledEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { externalWorkflowExecutionSignaledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 44; return this; } /** * .temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes external_workflow_execution_signaled_event_attributes = 44; */ public Builder setExternalWorkflowExecutionSignaledEventAttributes( io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.Builder builderForValue) { if (externalWorkflowExecutionSignaledEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { externalWorkflowExecutionSignaledEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 44; return this; } /** * .temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes external_workflow_execution_signaled_event_attributes = 44; */ public Builder mergeExternalWorkflowExecutionSignaledEventAttributes(io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes value) { if (externalWorkflowExecutionSignaledEventAttributesBuilder_ == null) { if (attributesCase_ == 44 && attributes_ != io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.newBuilder((io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 44) { externalWorkflowExecutionSignaledEventAttributesBuilder_.mergeFrom(value); } externalWorkflowExecutionSignaledEventAttributesBuilder_.setMessage(value); } attributesCase_ = 44; return this; } /** * .temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes external_workflow_execution_signaled_event_attributes = 44; */ public Builder clearExternalWorkflowExecutionSignaledEventAttributes() { if (externalWorkflowExecutionSignaledEventAttributesBuilder_ == null) { if (attributesCase_ == 44) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 44) { attributesCase_ = 0; attributes_ = null; } externalWorkflowExecutionSignaledEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes external_workflow_execution_signaled_event_attributes = 44; */ public io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.Builder getExternalWorkflowExecutionSignaledEventAttributesBuilder() { return getExternalWorkflowExecutionSignaledEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes external_workflow_execution_signaled_event_attributes = 44; */ public io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesOrBuilder getExternalWorkflowExecutionSignaledEventAttributesOrBuilder() { if ((attributesCase_ == 44) && (externalWorkflowExecutionSignaledEventAttributesBuilder_ != null)) { return externalWorkflowExecutionSignaledEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes, io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.Builder, io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesOrBuilder> getExternalWorkflowExecutionSignaledEventAttributesFieldBuilder() { if (externalWorkflowExecutionSignaledEventAttributesBuilder_ == null) { if (!(attributesCase_ == 44)) { attributes_ = io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.getDefaultInstance(); } externalWorkflowExecutionSignaledEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes, io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes.Builder, io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesOrBuilder>( (io.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 44; onChanged();; return externalWorkflowExecutionSignaledEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes, io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.Builder, io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesOrBuilder> upsertWorkflowSearchAttributesEventAttributesBuilder_; /** * .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 (upsertWorkflowSearchAttributesEventAttributesBuilder_ == null) { if (attributesCase_ == 45) { return (io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) attributes_; } return io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 45) { return upsertWorkflowSearchAttributesEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes upsert_workflow_search_attributes_event_attributes = 45; */ public Builder setUpsertWorkflowSearchAttributesEventAttributes(io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes value) { if (upsertWorkflowSearchAttributesEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { upsertWorkflowSearchAttributesEventAttributesBuilder_.setMessage(value); } attributesCase_ = 45; return this; } /** * .temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes upsert_workflow_search_attributes_event_attributes = 45; */ public Builder setUpsertWorkflowSearchAttributesEventAttributes( io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.Builder builderForValue) { if (upsertWorkflowSearchAttributesEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { upsertWorkflowSearchAttributesEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 45; return this; } /** * .temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes upsert_workflow_search_attributes_event_attributes = 45; */ public Builder mergeUpsertWorkflowSearchAttributesEventAttributes(io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes value) { if (upsertWorkflowSearchAttributesEventAttributesBuilder_ == null) { if (attributesCase_ == 45 && attributes_ != io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.newBuilder((io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 45) { upsertWorkflowSearchAttributesEventAttributesBuilder_.mergeFrom(value); } upsertWorkflowSearchAttributesEventAttributesBuilder_.setMessage(value); } attributesCase_ = 45; return this; } /** * .temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes upsert_workflow_search_attributes_event_attributes = 45; */ public Builder clearUpsertWorkflowSearchAttributesEventAttributes() { if (upsertWorkflowSearchAttributesEventAttributesBuilder_ == null) { if (attributesCase_ == 45) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 45) { attributesCase_ = 0; attributes_ = null; } upsertWorkflowSearchAttributesEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes upsert_workflow_search_attributes_event_attributes = 45; */ public io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.Builder getUpsertWorkflowSearchAttributesEventAttributesBuilder() { return getUpsertWorkflowSearchAttributesEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes upsert_workflow_search_attributes_event_attributes = 45; */ public io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesOrBuilder getUpsertWorkflowSearchAttributesEventAttributesOrBuilder() { if ((attributesCase_ == 45) && (upsertWorkflowSearchAttributesEventAttributesBuilder_ != null)) { return upsertWorkflowSearchAttributesEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes, io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.Builder, io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesOrBuilder> getUpsertWorkflowSearchAttributesEventAttributesFieldBuilder() { if (upsertWorkflowSearchAttributesEventAttributesBuilder_ == null) { if (!(attributesCase_ == 45)) { attributes_ = io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.getDefaultInstance(); } upsertWorkflowSearchAttributesEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes, io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes.Builder, io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesOrBuilder>( (io.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 45; onChanged();; return upsertWorkflowSearchAttributesEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesOrBuilder> workflowExecutionUpdateAcceptedEventAttributesBuilder_; /** * .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 (workflowExecutionUpdateAcceptedEventAttributesBuilder_ == null) { if (attributesCase_ == 46) { return (io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 46) { return workflowExecutionUpdateAcceptedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes workflow_execution_update_accepted_event_attributes = 46; */ public Builder setWorkflowExecutionUpdateAcceptedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes value) { if (workflowExecutionUpdateAcceptedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowExecutionUpdateAcceptedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 46; return this; } /** * .temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes workflow_execution_update_accepted_event_attributes = 46; */ public Builder setWorkflowExecutionUpdateAcceptedEventAttributes( io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.Builder builderForValue) { if (workflowExecutionUpdateAcceptedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowExecutionUpdateAcceptedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 46; return this; } /** * .temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes workflow_execution_update_accepted_event_attributes = 46; */ public Builder mergeWorkflowExecutionUpdateAcceptedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes value) { if (workflowExecutionUpdateAcceptedEventAttributesBuilder_ == null) { if (attributesCase_ == 46 && attributes_ != io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 46) { workflowExecutionUpdateAcceptedEventAttributesBuilder_.mergeFrom(value); } workflowExecutionUpdateAcceptedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 46; return this; } /** * .temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes workflow_execution_update_accepted_event_attributes = 46; */ public Builder clearWorkflowExecutionUpdateAcceptedEventAttributes() { if (workflowExecutionUpdateAcceptedEventAttributesBuilder_ == null) { if (attributesCase_ == 46) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 46) { attributesCase_ = 0; attributes_ = null; } workflowExecutionUpdateAcceptedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes workflow_execution_update_accepted_event_attributes = 46; */ public io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.Builder getWorkflowExecutionUpdateAcceptedEventAttributesBuilder() { return getWorkflowExecutionUpdateAcceptedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes workflow_execution_update_accepted_event_attributes = 46; */ public io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesOrBuilder getWorkflowExecutionUpdateAcceptedEventAttributesOrBuilder() { if ((attributesCase_ == 46) && (workflowExecutionUpdateAcceptedEventAttributesBuilder_ != null)) { return workflowExecutionUpdateAcceptedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesOrBuilder> getWorkflowExecutionUpdateAcceptedEventAttributesFieldBuilder() { if (workflowExecutionUpdateAcceptedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 46)) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.getDefaultInstance(); } workflowExecutionUpdateAcceptedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 46; onChanged();; return workflowExecutionUpdateAcceptedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesOrBuilder> workflowExecutionUpdateRejectedEventAttributesBuilder_; /** * .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 (workflowExecutionUpdateRejectedEventAttributesBuilder_ == null) { if (attributesCase_ == 47) { return (io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 47) { return workflowExecutionUpdateRejectedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes workflow_execution_update_rejected_event_attributes = 47; */ public Builder setWorkflowExecutionUpdateRejectedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes value) { if (workflowExecutionUpdateRejectedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowExecutionUpdateRejectedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 47; return this; } /** * .temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes workflow_execution_update_rejected_event_attributes = 47; */ public Builder setWorkflowExecutionUpdateRejectedEventAttributes( io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.Builder builderForValue) { if (workflowExecutionUpdateRejectedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowExecutionUpdateRejectedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 47; return this; } /** * .temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes workflow_execution_update_rejected_event_attributes = 47; */ public Builder mergeWorkflowExecutionUpdateRejectedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes value) { if (workflowExecutionUpdateRejectedEventAttributesBuilder_ == null) { if (attributesCase_ == 47 && attributes_ != io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 47) { workflowExecutionUpdateRejectedEventAttributesBuilder_.mergeFrom(value); } workflowExecutionUpdateRejectedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 47; return this; } /** * .temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes workflow_execution_update_rejected_event_attributes = 47; */ public Builder clearWorkflowExecutionUpdateRejectedEventAttributes() { if (workflowExecutionUpdateRejectedEventAttributesBuilder_ == null) { if (attributesCase_ == 47) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 47) { attributesCase_ = 0; attributes_ = null; } workflowExecutionUpdateRejectedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes workflow_execution_update_rejected_event_attributes = 47; */ public io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.Builder getWorkflowExecutionUpdateRejectedEventAttributesBuilder() { return getWorkflowExecutionUpdateRejectedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes workflow_execution_update_rejected_event_attributes = 47; */ public io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesOrBuilder getWorkflowExecutionUpdateRejectedEventAttributesOrBuilder() { if ((attributesCase_ == 47) && (workflowExecutionUpdateRejectedEventAttributesBuilder_ != null)) { return workflowExecutionUpdateRejectedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesOrBuilder> getWorkflowExecutionUpdateRejectedEventAttributesFieldBuilder() { if (workflowExecutionUpdateRejectedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 47)) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.getDefaultInstance(); } workflowExecutionUpdateRejectedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 47; onChanged();; return workflowExecutionUpdateRejectedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesOrBuilder> workflowExecutionUpdateCompletedEventAttributesBuilder_; /** * .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 (workflowExecutionUpdateCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 48) { return (io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 48) { return workflowExecutionUpdateCompletedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes workflow_execution_update_completed_event_attributes = 48; */ public Builder setWorkflowExecutionUpdateCompletedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes value) { if (workflowExecutionUpdateCompletedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowExecutionUpdateCompletedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 48; return this; } /** * .temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes workflow_execution_update_completed_event_attributes = 48; */ public Builder setWorkflowExecutionUpdateCompletedEventAttributes( io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.Builder builderForValue) { if (workflowExecutionUpdateCompletedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowExecutionUpdateCompletedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 48; return this; } /** * .temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes workflow_execution_update_completed_event_attributes = 48; */ public Builder mergeWorkflowExecutionUpdateCompletedEventAttributes(io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes value) { if (workflowExecutionUpdateCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 48 && attributes_ != io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 48) { workflowExecutionUpdateCompletedEventAttributesBuilder_.mergeFrom(value); } workflowExecutionUpdateCompletedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 48; return this; } /** * .temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes workflow_execution_update_completed_event_attributes = 48; */ public Builder clearWorkflowExecutionUpdateCompletedEventAttributes() { if (workflowExecutionUpdateCompletedEventAttributesBuilder_ == null) { if (attributesCase_ == 48) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 48) { attributesCase_ = 0; attributes_ = null; } workflowExecutionUpdateCompletedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes workflow_execution_update_completed_event_attributes = 48; */ public io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.Builder getWorkflowExecutionUpdateCompletedEventAttributesBuilder() { return getWorkflowExecutionUpdateCompletedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes workflow_execution_update_completed_event_attributes = 48; */ public io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesOrBuilder getWorkflowExecutionUpdateCompletedEventAttributesOrBuilder() { if ((attributesCase_ == 48) && (workflowExecutionUpdateCompletedEventAttributesBuilder_ != null)) { return workflowExecutionUpdateCompletedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesOrBuilder> getWorkflowExecutionUpdateCompletedEventAttributesFieldBuilder() { if (workflowExecutionUpdateCompletedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 48)) { attributes_ = io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.getDefaultInstance(); } workflowExecutionUpdateCompletedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes, io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 48; onChanged();; return workflowExecutionUpdateCompletedEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes, io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.Builder, io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesOrBuilder> workflowPropertiesModifiedExternallyEventAttributesBuilder_; /** * .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 (workflowPropertiesModifiedExternallyEventAttributesBuilder_ == null) { if (attributesCase_ == 49) { return (io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 49) { return workflowPropertiesModifiedExternallyEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes workflow_properties_modified_externally_event_attributes = 49; */ public Builder setWorkflowPropertiesModifiedExternallyEventAttributes(io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes value) { if (workflowPropertiesModifiedExternallyEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowPropertiesModifiedExternallyEventAttributesBuilder_.setMessage(value); } attributesCase_ = 49; return this; } /** * .temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes workflow_properties_modified_externally_event_attributes = 49; */ public Builder setWorkflowPropertiesModifiedExternallyEventAttributes( io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.Builder builderForValue) { if (workflowPropertiesModifiedExternallyEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowPropertiesModifiedExternallyEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 49; return this; } /** * .temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes workflow_properties_modified_externally_event_attributes = 49; */ public Builder mergeWorkflowPropertiesModifiedExternallyEventAttributes(io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes value) { if (workflowPropertiesModifiedExternallyEventAttributesBuilder_ == null) { if (attributesCase_ == 49 && attributes_ != io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 49) { workflowPropertiesModifiedExternallyEventAttributesBuilder_.mergeFrom(value); } workflowPropertiesModifiedExternallyEventAttributesBuilder_.setMessage(value); } attributesCase_ = 49; return this; } /** * .temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes workflow_properties_modified_externally_event_attributes = 49; */ public Builder clearWorkflowPropertiesModifiedExternallyEventAttributes() { if (workflowPropertiesModifiedExternallyEventAttributesBuilder_ == null) { if (attributesCase_ == 49) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 49) { attributesCase_ = 0; attributes_ = null; } workflowPropertiesModifiedExternallyEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes workflow_properties_modified_externally_event_attributes = 49; */ public io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.Builder getWorkflowPropertiesModifiedExternallyEventAttributesBuilder() { return getWorkflowPropertiesModifiedExternallyEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes workflow_properties_modified_externally_event_attributes = 49; */ public io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesOrBuilder getWorkflowPropertiesModifiedExternallyEventAttributesOrBuilder() { if ((attributesCase_ == 49) && (workflowPropertiesModifiedExternallyEventAttributesBuilder_ != null)) { return workflowPropertiesModifiedExternallyEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes, io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.Builder, io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesOrBuilder> getWorkflowPropertiesModifiedExternallyEventAttributesFieldBuilder() { if (workflowPropertiesModifiedExternallyEventAttributesBuilder_ == null) { if (!(attributesCase_ == 49)) { attributes_ = io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.getDefaultInstance(); } workflowPropertiesModifiedExternallyEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes, io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.Builder, io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 49; onChanged();; return workflowPropertiesModifiedExternallyEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes, io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.Builder, io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesOrBuilder> activityPropertiesModifiedExternallyEventAttributesBuilder_; /** * .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 (activityPropertiesModifiedExternallyEventAttributesBuilder_ == null) { if (attributesCase_ == 50) { return (io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) attributes_; } return io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 50) { return activityPropertiesModifiedExternallyEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes activity_properties_modified_externally_event_attributes = 50; */ public Builder setActivityPropertiesModifiedExternallyEventAttributes(io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes value) { if (activityPropertiesModifiedExternallyEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { activityPropertiesModifiedExternallyEventAttributesBuilder_.setMessage(value); } attributesCase_ = 50; return this; } /** * .temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes activity_properties_modified_externally_event_attributes = 50; */ public Builder setActivityPropertiesModifiedExternallyEventAttributes( io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.Builder builderForValue) { if (activityPropertiesModifiedExternallyEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { activityPropertiesModifiedExternallyEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 50; return this; } /** * .temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes activity_properties_modified_externally_event_attributes = 50; */ public Builder mergeActivityPropertiesModifiedExternallyEventAttributes(io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes value) { if (activityPropertiesModifiedExternallyEventAttributesBuilder_ == null) { if (attributesCase_ == 50 && attributes_ != io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.newBuilder((io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 50) { activityPropertiesModifiedExternallyEventAttributesBuilder_.mergeFrom(value); } activityPropertiesModifiedExternallyEventAttributesBuilder_.setMessage(value); } attributesCase_ = 50; return this; } /** * .temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes activity_properties_modified_externally_event_attributes = 50; */ public Builder clearActivityPropertiesModifiedExternallyEventAttributes() { if (activityPropertiesModifiedExternallyEventAttributesBuilder_ == null) { if (attributesCase_ == 50) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 50) { attributesCase_ = 0; attributes_ = null; } activityPropertiesModifiedExternallyEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes activity_properties_modified_externally_event_attributes = 50; */ public io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.Builder getActivityPropertiesModifiedExternallyEventAttributesBuilder() { return getActivityPropertiesModifiedExternallyEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes activity_properties_modified_externally_event_attributes = 50; */ public io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesOrBuilder getActivityPropertiesModifiedExternallyEventAttributesOrBuilder() { if ((attributesCase_ == 50) && (activityPropertiesModifiedExternallyEventAttributesBuilder_ != null)) { return activityPropertiesModifiedExternallyEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes, io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.Builder, io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesOrBuilder> getActivityPropertiesModifiedExternallyEventAttributesFieldBuilder() { if (activityPropertiesModifiedExternallyEventAttributesBuilder_ == null) { if (!(attributesCase_ == 50)) { attributes_ = io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.getDefaultInstance(); } activityPropertiesModifiedExternallyEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes, io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.Builder, io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesOrBuilder>( (io.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 50; onChanged();; return activityPropertiesModifiedExternallyEventAttributesBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes, io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesOrBuilder> workflowPropertiesModifiedEventAttributesBuilder_; /** * .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 (workflowPropertiesModifiedEventAttributesBuilder_ == null) { if (attributesCase_ == 51) { return (io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) attributes_; } return io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.getDefaultInstance(); } else { if (attributesCase_ == 51) { return workflowPropertiesModifiedEventAttributesBuilder_.getMessage(); } return io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.getDefaultInstance(); } } /** * .temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes workflow_properties_modified_event_attributes = 51; */ public Builder setWorkflowPropertiesModifiedEventAttributes(io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes value) { if (workflowPropertiesModifiedEventAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } attributes_ = value; onChanged(); } else { workflowPropertiesModifiedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 51; return this; } /** * .temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes workflow_properties_modified_event_attributes = 51; */ public Builder setWorkflowPropertiesModifiedEventAttributes( io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.Builder builderForValue) { if (workflowPropertiesModifiedEventAttributesBuilder_ == null) { attributes_ = builderForValue.build(); onChanged(); } else { workflowPropertiesModifiedEventAttributesBuilder_.setMessage(builderForValue.build()); } attributesCase_ = 51; return this; } /** * .temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes workflow_properties_modified_event_attributes = 51; */ public Builder mergeWorkflowPropertiesModifiedEventAttributes(io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes value) { if (workflowPropertiesModifiedEventAttributesBuilder_ == null) { if (attributesCase_ == 51 && attributes_ != io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.getDefaultInstance()) { attributes_ = io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.newBuilder((io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) attributes_) .mergeFrom(value).buildPartial(); } else { attributes_ = value; } onChanged(); } else { if (attributesCase_ == 51) { workflowPropertiesModifiedEventAttributesBuilder_.mergeFrom(value); } workflowPropertiesModifiedEventAttributesBuilder_.setMessage(value); } attributesCase_ = 51; return this; } /** * .temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes workflow_properties_modified_event_attributes = 51; */ public Builder clearWorkflowPropertiesModifiedEventAttributes() { if (workflowPropertiesModifiedEventAttributesBuilder_ == null) { if (attributesCase_ == 51) { attributesCase_ = 0; attributes_ = null; onChanged(); } } else { if (attributesCase_ == 51) { attributesCase_ = 0; attributes_ = null; } workflowPropertiesModifiedEventAttributesBuilder_.clear(); } return this; } /** * .temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes workflow_properties_modified_event_attributes = 51; */ public io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.Builder getWorkflowPropertiesModifiedEventAttributesBuilder() { return getWorkflowPropertiesModifiedEventAttributesFieldBuilder().getBuilder(); } /** * .temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes workflow_properties_modified_event_attributes = 51; */ public io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesOrBuilder getWorkflowPropertiesModifiedEventAttributesOrBuilder() { if ((attributesCase_ == 51) && (workflowPropertiesModifiedEventAttributesBuilder_ != null)) { return workflowPropertiesModifiedEventAttributesBuilder_.getMessageOrBuilder(); } else { 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; */ private com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes, io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesOrBuilder> getWorkflowPropertiesModifiedEventAttributesFieldBuilder() { if (workflowPropertiesModifiedEventAttributesBuilder_ == null) { if (!(attributesCase_ == 51)) { attributes_ = io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.getDefaultInstance(); } workflowPropertiesModifiedEventAttributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes, io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes.Builder, io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesOrBuilder>( (io.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes) attributes_, getParentForChildren(), isClean()); attributes_ = null; } attributesCase_ = 51; onChanged();; return workflowPropertiesModifiedEventAttributesBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:temporal.api.history.v1.HistoryEvent) } // @@protoc_insertion_point(class_scope:temporal.api.history.v1.HistoryEvent) private static final io.temporal.api.history.v1.HistoryEvent DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.temporal.api.history.v1.HistoryEvent(); } public static io.temporal.api.history.v1.HistoryEvent getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HistoryEvent parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HistoryEvent(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.temporal.api.history.v1.HistoryEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy