Package io.temporal.api.history.v1
Class WorkflowExecutionUpdateAcceptedEventAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
- io.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkflowExecutionUpdateAcceptedEventAttributesOrBuilder,java.lang.Cloneable
- Enclosing class:
- WorkflowExecutionUpdateAcceptedEventAttributes
public static final class WorkflowExecutionUpdateAcceptedEventAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder> implements WorkflowExecutionUpdateAcceptedEventAttributesOrBuilder
Protobuf typetemporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecutionUpdateAcceptedEventAttributes.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionUpdateAcceptedEventAttributesbuild()WorkflowExecutionUpdateAcceptedEventAttributesbuildPartial()WorkflowExecutionUpdateAcceptedEventAttributes.Builderclear()WorkflowExecutionUpdateAcceptedEventAttributes.BuilderclearAcceptedRequest()The message payload of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.BuilderclearAcceptedRequestMessageId()The message ID of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.BuilderclearAcceptedRequestSequencingEventId()The event ID used to sequence the original request message.WorkflowExecutionUpdateAcceptedEventAttributes.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WorkflowExecutionUpdateAcceptedEventAttributes.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WorkflowExecutionUpdateAcceptedEventAttributes.BuilderclearProtocolInstanceId()The instance ID of the update protocol that generated this event.WorkflowExecutionUpdateAcceptedEventAttributes.Builderclone()RequestgetAcceptedRequest()The message payload of the original request message that initiated this update.Request.BuildergetAcceptedRequestBuilder()The message payload of the original request message that initiated this update.java.lang.StringgetAcceptedRequestMessageId()The message ID of the original request message that initiated this update.com.google.protobuf.ByteStringgetAcceptedRequestMessageIdBytes()The message ID of the original request message that initiated this update.RequestOrBuildergetAcceptedRequestOrBuilder()The message payload of the original request message that initiated this update.longgetAcceptedRequestSequencingEventId()The event ID used to sequence the original request message.WorkflowExecutionUpdateAcceptedEventAttributesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetProtocolInstanceId()The instance ID of the update protocol that generated this event.com.google.protobuf.ByteStringgetProtocolInstanceIdBytes()The instance ID of the update protocol that generated this event.booleanhasAcceptedRequest()The message payload of the original request message that initiated this update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WorkflowExecutionUpdateAcceptedEventAttributes.BuildermergeAcceptedRequest(Request value)The message payload of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WorkflowExecutionUpdateAcceptedEventAttributes.BuildermergeFrom(com.google.protobuf.Message other)WorkflowExecutionUpdateAcceptedEventAttributes.BuildermergeFrom(WorkflowExecutionUpdateAcceptedEventAttributes other)WorkflowExecutionUpdateAcceptedEventAttributes.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WorkflowExecutionUpdateAcceptedEventAttributes.BuildersetAcceptedRequest(Request value)The message payload of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.BuildersetAcceptedRequest(Request.Builder builderForValue)The message payload of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.BuildersetAcceptedRequestMessageId(java.lang.String value)The message ID of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.BuildersetAcceptedRequestMessageIdBytes(com.google.protobuf.ByteString value)The message ID of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.BuildersetAcceptedRequestSequencingEventId(long value)The event ID used to sequence the original request message.WorkflowExecutionUpdateAcceptedEventAttributes.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionUpdateAcceptedEventAttributes.BuildersetProtocolInstanceId(java.lang.String value)The instance ID of the update protocol that generated this event.WorkflowExecutionUpdateAcceptedEventAttributes.BuildersetProtocolInstanceIdBytes(com.google.protobuf.ByteString value)The instance ID of the update protocol that generated this event.WorkflowExecutionUpdateAcceptedEventAttributes.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)WorkflowExecutionUpdateAcceptedEventAttributes.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
clear
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
getDefaultInstanceForType
public WorkflowExecutionUpdateAcceptedEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowExecutionUpdateAcceptedEventAttributes build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowExecutionUpdateAcceptedEventAttributes buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
setField
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
clearField
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
clearOneof
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
setRepeatedField
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
addRepeatedField
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder mergeFrom(WorkflowExecutionUpdateAcceptedEventAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>- Throws:
java.io.IOException
-
getProtocolInstanceId
public java.lang.String getProtocolInstanceId()
The instance ID of the update protocol that generated this event.
string protocol_instance_id = 1;- Specified by:
getProtocolInstanceIdin interfaceWorkflowExecutionUpdateAcceptedEventAttributesOrBuilder- Returns:
- The protocolInstanceId.
-
getProtocolInstanceIdBytes
public com.google.protobuf.ByteString getProtocolInstanceIdBytes()
The instance ID of the update protocol that generated this event.
string protocol_instance_id = 1;- Specified by:
getProtocolInstanceIdBytesin interfaceWorkflowExecutionUpdateAcceptedEventAttributesOrBuilder- Returns:
- The bytes for protocolInstanceId.
-
setProtocolInstanceId
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder setProtocolInstanceId(java.lang.String value)
The instance ID of the update protocol that generated this event.
string protocol_instance_id = 1;- Parameters:
value- The protocolInstanceId to set.- Returns:
- This builder for chaining.
-
clearProtocolInstanceId
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder clearProtocolInstanceId()
The instance ID of the update protocol that generated this event.
string protocol_instance_id = 1;- Returns:
- This builder for chaining.
-
setProtocolInstanceIdBytes
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder setProtocolInstanceIdBytes(com.google.protobuf.ByteString value)
The instance ID of the update protocol that generated this event.
string protocol_instance_id = 1;- Parameters:
value- The bytes for protocolInstanceId to set.- Returns:
- This builder for chaining.
-
getAcceptedRequestMessageId
public java.lang.String getAcceptedRequestMessageId()
The message ID of the original request message that initiated this update. Needed so that the worker can recreate and deliver that same message as part of replay.
string accepted_request_message_id = 2;- Specified by:
getAcceptedRequestMessageIdin interfaceWorkflowExecutionUpdateAcceptedEventAttributesOrBuilder- Returns:
- The acceptedRequestMessageId.
-
getAcceptedRequestMessageIdBytes
public com.google.protobuf.ByteString getAcceptedRequestMessageIdBytes()
The message ID of the original request message that initiated this update. Needed so that the worker can recreate and deliver that same message as part of replay.
string accepted_request_message_id = 2;- Specified by:
getAcceptedRequestMessageIdBytesin interfaceWorkflowExecutionUpdateAcceptedEventAttributesOrBuilder- Returns:
- The bytes for acceptedRequestMessageId.
-
setAcceptedRequestMessageId
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder setAcceptedRequestMessageId(java.lang.String value)
The message ID of the original request message that initiated this update. Needed so that the worker can recreate and deliver that same message as part of replay.
string accepted_request_message_id = 2;- Parameters:
value- The acceptedRequestMessageId to set.- Returns:
- This builder for chaining.
-
clearAcceptedRequestMessageId
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder clearAcceptedRequestMessageId()
The message ID of the original request message that initiated this update. Needed so that the worker can recreate and deliver that same message as part of replay.
string accepted_request_message_id = 2;- Returns:
- This builder for chaining.
-
setAcceptedRequestMessageIdBytes
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder setAcceptedRequestMessageIdBytes(com.google.protobuf.ByteString value)
The message ID of the original request message that initiated this update. Needed so that the worker can recreate and deliver that same message as part of replay.
string accepted_request_message_id = 2;- Parameters:
value- The bytes for acceptedRequestMessageId to set.- Returns:
- This builder for chaining.
-
getAcceptedRequestSequencingEventId
public long getAcceptedRequestSequencingEventId()
The event ID used to sequence the original request message.
int64 accepted_request_sequencing_event_id = 3;- Specified by:
getAcceptedRequestSequencingEventIdin interfaceWorkflowExecutionUpdateAcceptedEventAttributesOrBuilder- Returns:
- The acceptedRequestSequencingEventId.
-
setAcceptedRequestSequencingEventId
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder setAcceptedRequestSequencingEventId(long value)
The event ID used to sequence the original request message.
int64 accepted_request_sequencing_event_id = 3;- Parameters:
value- The acceptedRequestSequencingEventId to set.- Returns:
- This builder for chaining.
-
clearAcceptedRequestSequencingEventId
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder clearAcceptedRequestSequencingEventId()
The event ID used to sequence the original request message.
int64 accepted_request_sequencing_event_id = 3;- Returns:
- This builder for chaining.
-
hasAcceptedRequest
public boolean hasAcceptedRequest()
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request accepted_request = 4;- Specified by:
hasAcceptedRequestin interfaceWorkflowExecutionUpdateAcceptedEventAttributesOrBuilder- Returns:
- Whether the acceptedRequest field is set.
-
getAcceptedRequest
public Request getAcceptedRequest()
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request accepted_request = 4;- Specified by:
getAcceptedRequestin interfaceWorkflowExecutionUpdateAcceptedEventAttributesOrBuilder- Returns:
- The acceptedRequest.
-
setAcceptedRequest
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder setAcceptedRequest(Request value)
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request accepted_request = 4;
-
setAcceptedRequest
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder setAcceptedRequest(Request.Builder builderForValue)
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request accepted_request = 4;
-
mergeAcceptedRequest
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder mergeAcceptedRequest(Request value)
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request accepted_request = 4;
-
clearAcceptedRequest
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder clearAcceptedRequest()
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request accepted_request = 4;
-
getAcceptedRequestBuilder
public Request.Builder getAcceptedRequestBuilder()
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request accepted_request = 4;
-
getAcceptedRequestOrBuilder
public RequestOrBuilder getAcceptedRequestOrBuilder()
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request accepted_request = 4;- Specified by:
getAcceptedRequestOrBuilderin interfaceWorkflowExecutionUpdateAcceptedEventAttributesOrBuilder
-
setUnknownFields
public final WorkflowExecutionUpdateAcceptedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
mergeUnknownFields
public final WorkflowExecutionUpdateAcceptedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
-