Class WorkflowExecutionUpdateRejectedEventAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
io.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkflowExecutionUpdateRejectedEventAttributesOrBuilder,Cloneable
- Enclosing class:
WorkflowExecutionUpdateRejectedEventAttributes
public static final class WorkflowExecutionUpdateRejectedEventAttributes.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
implements WorkflowExecutionUpdateRejectedEventAttributesOrBuilder
Protobuf type
temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The cause of rejection.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.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.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe cause of rejection.The cause of rejection.The cause of rejection.The instance ID of the update protocol that generated this event.com.google.protobuf.ByteStringThe instance ID of the update protocol that generated this event.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.booleanThe cause of rejection.booleanThe message payload of the original request message that initiated this update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFailure(Failure value) The cause of rejection.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRejectedRequest(Request value) The message payload of the original request message that initiated this update.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setFailure(Failure value) The cause of rejection.setFailure(Failure.Builder builderForValue) The cause of rejection.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.setRejectedRequest(Request value) The message payload of the original request message that initiated this update.setRejectedRequest(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.setRejectedRequestMessageIdBytes(com.google.protobuf.ByteString value) The message ID of the original request message that initiated this update.setRejectedRequestSequencingEventId(long value) The event ID used to sequence the original request message.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<WorkflowExecutionUpdateRejectedEventAttributes.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<WorkflowExecutionUpdateRejectedEventAttributes.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<WorkflowExecutionUpdateRejectedEventAttributes.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<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
-
setField
public WorkflowExecutionUpdateRejectedEventAttributes.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<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
-
clearField
public WorkflowExecutionUpdateRejectedEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
-
clearOneof
public WorkflowExecutionUpdateRejectedEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
-
setRepeatedField
public WorkflowExecutionUpdateRejectedEventAttributes.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<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
-
addRepeatedField
public WorkflowExecutionUpdateRejectedEventAttributes.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<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionUpdateRejectedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionUpdateRejectedEventAttributes.Builder mergeFrom(WorkflowExecutionUpdateRejectedEventAttributes other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionUpdateRejectedEventAttributes.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<WorkflowExecutionUpdateRejectedEventAttributes.Builder>- Throws:
IOException
-
getProtocolInstanceId
The instance ID of the update protocol that generated this event.
string protocol_instance_id = 1;- Specified by:
getProtocolInstanceIdin interfaceWorkflowExecutionUpdateRejectedEventAttributesOrBuilder- 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 interfaceWorkflowExecutionUpdateRejectedEventAttributesOrBuilder- 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 WorkflowExecutionUpdateRejectedEventAttributes.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.
-
getRejectedRequestMessageId
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 rejected_request_message_id = 2;- Specified by:
getRejectedRequestMessageIdin interfaceWorkflowExecutionUpdateRejectedEventAttributesOrBuilder- Returns:
- The rejectedRequestMessageId.
-
getRejectedRequestMessageIdBytes
public com.google.protobuf.ByteString getRejectedRequestMessageIdBytes()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 rejected_request_message_id = 2;- Specified by:
getRejectedRequestMessageIdBytesin interfaceWorkflowExecutionUpdateRejectedEventAttributesOrBuilder- Returns:
- The bytes for rejectedRequestMessageId.
-
setRejectedRequestMessageId
public WorkflowExecutionUpdateRejectedEventAttributes.Builder setRejectedRequestMessageId(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 rejected_request_message_id = 2;- Parameters:
value- The rejectedRequestMessageId to set.- Returns:
- This builder for chaining.
-
clearRejectedRequestMessageId
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 rejected_request_message_id = 2;- Returns:
- This builder for chaining.
-
setRejectedRequestMessageIdBytes
public WorkflowExecutionUpdateRejectedEventAttributes.Builder setRejectedRequestMessageIdBytes(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 rejected_request_message_id = 2;- Parameters:
value- The bytes for rejectedRequestMessageId to set.- Returns:
- This builder for chaining.
-
getRejectedRequestSequencingEventId
public long getRejectedRequestSequencingEventId()The event ID used to sequence the original request message.
int64 rejected_request_sequencing_event_id = 3;- Specified by:
getRejectedRequestSequencingEventIdin interfaceWorkflowExecutionUpdateRejectedEventAttributesOrBuilder- Returns:
- The rejectedRequestSequencingEventId.
-
setRejectedRequestSequencingEventId
public WorkflowExecutionUpdateRejectedEventAttributes.Builder setRejectedRequestSequencingEventId(long value) The event ID used to sequence the original request message.
int64 rejected_request_sequencing_event_id = 3;- Parameters:
value- The rejectedRequestSequencingEventId to set.- Returns:
- This builder for chaining.
-
clearRejectedRequestSequencingEventId
public WorkflowExecutionUpdateRejectedEventAttributes.Builder clearRejectedRequestSequencingEventId()The event ID used to sequence the original request message.
int64 rejected_request_sequencing_event_id = 3;- Returns:
- This builder for chaining.
-
hasRejectedRequest
public boolean hasRejectedRequest()The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request rejected_request = 4;- Specified by:
hasRejectedRequestin interfaceWorkflowExecutionUpdateRejectedEventAttributesOrBuilder- Returns:
- Whether the rejectedRequest field is set.
-
getRejectedRequest
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request rejected_request = 4;- Specified by:
getRejectedRequestin interfaceWorkflowExecutionUpdateRejectedEventAttributesOrBuilder- Returns:
- The rejectedRequest.
-
setRejectedRequest
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request rejected_request = 4; -
setRejectedRequest
public WorkflowExecutionUpdateRejectedEventAttributes.Builder setRejectedRequest(Request.Builder builderForValue) The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request rejected_request = 4; -
mergeRejectedRequest
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request rejected_request = 4; -
clearRejectedRequest
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request rejected_request = 4; -
getRejectedRequestBuilder
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request rejected_request = 4; -
getRejectedRequestOrBuilder
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request rejected_request = 4;- Specified by:
getRejectedRequestOrBuilderin interfaceWorkflowExecutionUpdateRejectedEventAttributesOrBuilder
-
hasFailure
public boolean hasFailure()The cause of rejection.
.temporal.api.failure.v1.Failure failure = 5;- Specified by:
hasFailurein interfaceWorkflowExecutionUpdateRejectedEventAttributesOrBuilder- Returns:
- Whether the failure field is set.
-
getFailure
The cause of rejection.
.temporal.api.failure.v1.Failure failure = 5;- Specified by:
getFailurein interfaceWorkflowExecutionUpdateRejectedEventAttributesOrBuilder- Returns:
- The failure.
-
setFailure
The cause of rejection.
.temporal.api.failure.v1.Failure failure = 5; -
setFailure
public WorkflowExecutionUpdateRejectedEventAttributes.Builder setFailure(Failure.Builder builderForValue) The cause of rejection.
.temporal.api.failure.v1.Failure failure = 5; -
mergeFailure
The cause of rejection.
.temporal.api.failure.v1.Failure failure = 5; -
clearFailure
The cause of rejection.
.temporal.api.failure.v1.Failure failure = 5; -
getFailureBuilder
The cause of rejection.
.temporal.api.failure.v1.Failure failure = 5; -
getFailureOrBuilder
The cause of rejection.
.temporal.api.failure.v1.Failure failure = 5;- Specified by:
getFailureOrBuilderin interfaceWorkflowExecutionUpdateRejectedEventAttributesOrBuilder
-
setUnknownFields
public final WorkflowExecutionUpdateRejectedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
-
mergeUnknownFields
public final WorkflowExecutionUpdateRejectedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
-