Class WorkflowExecutionUpdateAcceptedEventAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
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,Cloneable
- Enclosing class:
WorkflowExecutionUpdateAcceptedEventAttributes
public static final class WorkflowExecutionUpdateAcceptedEventAttributes.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
implements WorkflowExecutionUpdateAcceptedEventAttributesOrBuilder
Protobuf type
temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The message payload of the original request message that initiated this update.The message ID of the original request message that initiated this update.The event ID used to sequence the original request message.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The instance ID of the update protocol that generated this event.clone()The message payload of the original request message that initiated this update.The message payload of the original request message that initiated this update.The message ID of the original request message that initiated this update.com.google.protobuf.ByteStringThe message ID of the original request message that initiated this update.The message payload of the original request message that initiated this update.longThe event ID used to sequence the original request message.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe instance ID of the update protocol that generated this event.com.google.protobuf.ByteStringThe instance ID of the update protocol that generated this event.booleanThe message payload of the original request message that initiated this update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAcceptedRequest(Request value) The message payload of the original request message that initiated this update.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAcceptedRequest(Request value) The message payload of the original request message that initiated this update.setAcceptedRequest(Request.Builder builderForValue) The message payload of the original request message that initiated this update.The message ID of the original request message that initiated this update.setAcceptedRequestMessageIdBytes(com.google.protobuf.ByteString value) The message ID of the original request message that initiated this update.setAcceptedRequestSequencingEventId(long value) The event ID used to sequence the original request message.setProtocolInstanceId(String value) The instance ID of the update protocol that generated this event.setProtocolInstanceIdBytes(com.google.protobuf.ByteString value) The instance ID of the update protocol that generated this event.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, 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, 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, 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 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:
IOException
-
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
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
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
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(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
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
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
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
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request accepted_request = 4; -
clearAcceptedRequest
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request accepted_request = 4; -
getAcceptedRequestBuilder
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request accepted_request = 4; -
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>
-