Package io.temporal.api.history.v1
Class WorkflowExecutionUpdateRejectedEventAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.Cloneable
- Enclosing class:
- WorkflowExecutionUpdateRejectedEventAttributes
public static final class WorkflowExecutionUpdateRejectedEventAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionUpdateRejectedEventAttributes.Builder> implements WorkflowExecutionUpdateRejectedEventAttributesOrBuilder
Protobuf typetemporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecutionUpdateRejectedEventAttributes.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionUpdateRejectedEventAttributesbuild()WorkflowExecutionUpdateRejectedEventAttributesbuildPartial()WorkflowExecutionUpdateRejectedEventAttributes.Builderclear()WorkflowExecutionUpdateRejectedEventAttributes.BuilderclearFailure()The cause of rejection.WorkflowExecutionUpdateRejectedEventAttributes.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WorkflowExecutionUpdateRejectedEventAttributes.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WorkflowExecutionUpdateRejectedEventAttributes.BuilderclearProtocolInstanceId()The instance ID of the update protocol that generated this event.WorkflowExecutionUpdateRejectedEventAttributes.BuilderclearRejectedRequest()The message payload of the original request message that initiated this update.WorkflowExecutionUpdateRejectedEventAttributes.BuilderclearRejectedRequestMessageId()The message ID of the original request message that initiated this update.WorkflowExecutionUpdateRejectedEventAttributes.BuilderclearRejectedRequestSequencingEventId()The event ID used to sequence the original request message.WorkflowExecutionUpdateRejectedEventAttributes.Builderclone()WorkflowExecutionUpdateRejectedEventAttributesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FailuregetFailure()The cause of rejection.Failure.BuildergetFailureBuilder()The cause of rejection.FailureOrBuildergetFailureOrBuilder()The cause of rejection.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.RequestgetRejectedRequest()The message payload of the original request message that initiated this update.Request.BuildergetRejectedRequestBuilder()The message payload of the original request message that initiated this update.java.lang.StringgetRejectedRequestMessageId()The message ID of the original request message that initiated this update.com.google.protobuf.ByteStringgetRejectedRequestMessageIdBytes()The message ID of the original request message that initiated this update.RequestOrBuildergetRejectedRequestOrBuilder()The message payload of the original request message that initiated this update.longgetRejectedRequestSequencingEventId()The event ID used to sequence the original request message.booleanhasFailure()The cause of rejection.booleanhasRejectedRequest()The message payload of the original request message that initiated this update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WorkflowExecutionUpdateRejectedEventAttributes.BuildermergeFailure(Failure value)The cause of rejection.WorkflowExecutionUpdateRejectedEventAttributes.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WorkflowExecutionUpdateRejectedEventAttributes.BuildermergeFrom(com.google.protobuf.Message other)WorkflowExecutionUpdateRejectedEventAttributes.BuildermergeFrom(WorkflowExecutionUpdateRejectedEventAttributes other)WorkflowExecutionUpdateRejectedEventAttributes.BuildermergeRejectedRequest(Request value)The message payload of the original request message that initiated this update.WorkflowExecutionUpdateRejectedEventAttributes.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WorkflowExecutionUpdateRejectedEventAttributes.BuildersetFailure(Failure value)The cause of rejection.WorkflowExecutionUpdateRejectedEventAttributes.BuildersetFailure(Failure.Builder builderForValue)The cause of rejection.WorkflowExecutionUpdateRejectedEventAttributes.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionUpdateRejectedEventAttributes.BuildersetProtocolInstanceId(java.lang.String value)The instance ID of the update protocol that generated this event.WorkflowExecutionUpdateRejectedEventAttributes.BuildersetProtocolInstanceIdBytes(com.google.protobuf.ByteString value)The instance ID of the update protocol that generated this event.WorkflowExecutionUpdateRejectedEventAttributes.BuildersetRejectedRequest(Request value)The message payload of the original request message that initiated this update.WorkflowExecutionUpdateRejectedEventAttributes.BuildersetRejectedRequest(Request.Builder builderForValue)The message payload of the original request message that initiated this update.WorkflowExecutionUpdateRejectedEventAttributes.BuildersetRejectedRequestMessageId(java.lang.String value)The message ID of the original request message that initiated this update.WorkflowExecutionUpdateRejectedEventAttributes.BuildersetRejectedRequestMessageIdBytes(com.google.protobuf.ByteString value)The message ID of the original request message that initiated this update.WorkflowExecutionUpdateRejectedEventAttributes.BuildersetRejectedRequestSequencingEventId(long value)The event ID used to sequence the original request message.WorkflowExecutionUpdateRejectedEventAttributes.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)WorkflowExecutionUpdateRejectedEventAttributes.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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<WorkflowExecutionUpdateRejectedEventAttributes.Builder>
-
clear
public 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
public WorkflowExecutionUpdateRejectedEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowExecutionUpdateRejectedEventAttributes build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowExecutionUpdateRejectedEventAttributes buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowExecutionUpdateRejectedEventAttributes.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, java.lang.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, java.lang.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, java.lang.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 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<WorkflowExecutionUpdateRejectedEventAttributes.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 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
public WorkflowExecutionUpdateRejectedEventAttributes.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 WorkflowExecutionUpdateRejectedEventAttributes.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 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
public java.lang.String 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(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 rejected_request_message_id = 2;- Parameters:
value- The rejectedRequestMessageId to set.- Returns:
- This builder for chaining.
-
clearRejectedRequestMessageId
public WorkflowExecutionUpdateRejectedEventAttributes.Builder 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
public Request 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
public WorkflowExecutionUpdateRejectedEventAttributes.Builder setRejectedRequest(Request value)
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
public WorkflowExecutionUpdateRejectedEventAttributes.Builder mergeRejectedRequest(Request value)
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request rejected_request = 4;
-
clearRejectedRequest
public WorkflowExecutionUpdateRejectedEventAttributes.Builder clearRejectedRequest()
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request rejected_request = 4;
-
getRejectedRequestBuilder
public Request.Builder getRejectedRequestBuilder()
The message payload of the original request message that initiated this update.
.temporal.api.update.v1.Request rejected_request = 4;
-
getRejectedRequestOrBuilder
public RequestOrBuilder 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
public Failure getFailure()
The cause of rejection.
.temporal.api.failure.v1.Failure failure = 5;- Specified by:
getFailurein interfaceWorkflowExecutionUpdateRejectedEventAttributesOrBuilder- Returns:
- The failure.
-
setFailure
public WorkflowExecutionUpdateRejectedEventAttributes.Builder setFailure(Failure value)
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
public WorkflowExecutionUpdateRejectedEventAttributes.Builder mergeFailure(Failure value)
The cause of rejection.
.temporal.api.failure.v1.Failure failure = 5;
-
clearFailure
public WorkflowExecutionUpdateRejectedEventAttributes.Builder clearFailure()
The cause of rejection.
.temporal.api.failure.v1.Failure failure = 5;
-
getFailureBuilder
public Failure.Builder getFailureBuilder()
The cause of rejection.
.temporal.api.failure.v1.Failure failure = 5;
-
getFailureOrBuilder
public FailureOrBuilder 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>
-
-