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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
WorkflowExecutionUpdateAcceptedEventAttributes
build()
WorkflowExecutionUpdateAcceptedEventAttributes
buildPartial()
WorkflowExecutionUpdateAcceptedEventAttributes.Builder
clear()
WorkflowExecutionUpdateAcceptedEventAttributes.Builder
clearAcceptedRequest()
The message payload of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.Builder
clearAcceptedRequestMessageId()
The message ID of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.Builder
clearAcceptedRequestSequencingEventId()
The event ID used to sequence the original request message.WorkflowExecutionUpdateAcceptedEventAttributes.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
WorkflowExecutionUpdateAcceptedEventAttributes.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
WorkflowExecutionUpdateAcceptedEventAttributes.Builder
clearProtocolInstanceId()
The instance ID of the update protocol that generated this event.WorkflowExecutionUpdateAcceptedEventAttributes.Builder
clone()
Request
getAcceptedRequest()
The message payload of the original request message that initiated this update.Request.Builder
getAcceptedRequestBuilder()
The message payload of the original request message that initiated this update.java.lang.String
getAcceptedRequestMessageId()
The message ID of the original request message that initiated this update.com.google.protobuf.ByteString
getAcceptedRequestMessageIdBytes()
The message ID of the original request message that initiated this update.RequestOrBuilder
getAcceptedRequestOrBuilder()
The message payload of the original request message that initiated this update.long
getAcceptedRequestSequencingEventId()
The event ID used to sequence the original request message.WorkflowExecutionUpdateAcceptedEventAttributes
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getProtocolInstanceId()
The instance ID of the update protocol that generated this event.com.google.protobuf.ByteString
getProtocolInstanceIdBytes()
The instance ID of the update protocol that generated this event.boolean
hasAcceptedRequest()
The message payload of the original request message that initiated this update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WorkflowExecutionUpdateAcceptedEventAttributes.Builder
mergeAcceptedRequest(Request value)
The message payload of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
WorkflowExecutionUpdateAcceptedEventAttributes.Builder
mergeFrom(com.google.protobuf.Message other)
WorkflowExecutionUpdateAcceptedEventAttributes.Builder
mergeFrom(WorkflowExecutionUpdateAcceptedEventAttributes other)
WorkflowExecutionUpdateAcceptedEventAttributes.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WorkflowExecutionUpdateAcceptedEventAttributes.Builder
setAcceptedRequest(Request value)
The message payload of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.Builder
setAcceptedRequest(Request.Builder builderForValue)
The message payload of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.Builder
setAcceptedRequestMessageId(java.lang.String value)
The message ID of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.Builder
setAcceptedRequestMessageIdBytes(com.google.protobuf.ByteString value)
The message ID of the original request message that initiated this update.WorkflowExecutionUpdateAcceptedEventAttributes.Builder
setAcceptedRequestSequencingEventId(long value)
The event ID used to sequence the original request message.WorkflowExecutionUpdateAcceptedEventAttributes.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
WorkflowExecutionUpdateAcceptedEventAttributes.Builder
setProtocolInstanceId(java.lang.String value)
The instance ID of the update protocol that generated this event.WorkflowExecutionUpdateAcceptedEventAttributes.Builder
setProtocolInstanceIdBytes(com.google.protobuf.ByteString value)
The instance ID of the update protocol that generated this event.WorkflowExecutionUpdateAcceptedEventAttributes.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
WorkflowExecutionUpdateAcceptedEventAttributes.Builder
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, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
clear
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
getDefaultInstanceForType
public WorkflowExecutionUpdateAcceptedEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowExecutionUpdateAcceptedEventAttributes build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowExecutionUpdateAcceptedEventAttributes buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
setField
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
clearField
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
clearOneof
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
addRepeatedField
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionUpdateAcceptedEventAttributes.Builder mergeFrom(WorkflowExecutionUpdateAcceptedEventAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getProtocolInstanceId
in 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:
getProtocolInstanceIdBytes
in 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:
getAcceptedRequestMessageId
in 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:
getAcceptedRequestMessageIdBytes
in 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:
getAcceptedRequestSequencingEventId
in 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:
hasAcceptedRequest
in 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:
getAcceptedRequest
in 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:
getAcceptedRequestOrBuilder
in interfaceWorkflowExecutionUpdateAcceptedEventAttributesOrBuilder
-
setUnknownFields
public final WorkflowExecutionUpdateAcceptedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
mergeUnknownFields
public final WorkflowExecutionUpdateAcceptedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateAcceptedEventAttributes.Builder>
-
-