Class WorkflowExecutionPausedEventAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkflowExecutionPausedEventAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPausedEventAttributes.Builder>
io.temporal.api.history.v1.WorkflowExecutionPausedEventAttributes.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkflowExecutionPausedEventAttributesOrBuilder,Cloneable
- Enclosing class:
WorkflowExecutionPausedEventAttributes
public static final class WorkflowExecutionPausedEventAttributes.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPausedEventAttributes.Builder>
implements WorkflowExecutionPausedEventAttributesOrBuilder
Attributes for an event marking that a workflow execution was paused.Protobuf type
temporal.api.history.v1.WorkflowExecutionPausedEventAttributes-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The identity of the client who paused the workflow execution.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The reason for pausing the workflow execution.The request ID of the request that paused the workflow execution.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe identity of the client who paused the workflow execution.com.google.protobuf.ByteStringThe identity of the client who paused the workflow execution.The reason for pausing the workflow execution.com.google.protobuf.ByteStringThe reason for pausing the workflow execution.The request ID of the request that paused the workflow execution.com.google.protobuf.ByteStringThe request ID of the request that paused the workflow execution.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setIdentity(String value) The identity of the client who paused the workflow execution.setIdentityBytes(com.google.protobuf.ByteString value) The identity of the client who paused the workflow execution.The reason for pausing the workflow execution.setReasonBytes(com.google.protobuf.ByteString value) The reason for pausing the workflow execution.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId(String value) The request ID of the request that paused the workflow execution.setRequestIdBytes(com.google.protobuf.ByteString value) The request ID of the request that paused the workflow execution.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<WorkflowExecutionPausedEventAttributes.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<WorkflowExecutionPausedEventAttributes.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<WorkflowExecutionPausedEventAttributes.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<WorkflowExecutionPausedEventAttributes.Builder>
-
setField
public WorkflowExecutionPausedEventAttributes.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<WorkflowExecutionPausedEventAttributes.Builder>
-
clearField
public WorkflowExecutionPausedEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPausedEventAttributes.Builder>
-
clearOneof
public WorkflowExecutionPausedEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPausedEventAttributes.Builder>
-
setRepeatedField
public WorkflowExecutionPausedEventAttributes.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<WorkflowExecutionPausedEventAttributes.Builder>
-
addRepeatedField
public WorkflowExecutionPausedEventAttributes.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<WorkflowExecutionPausedEventAttributes.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionPausedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionPausedEventAttributes.Builder mergeFrom(WorkflowExecutionPausedEventAttributes other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPausedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionPausedEventAttributes.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<WorkflowExecutionPausedEventAttributes.Builder>- Throws:
IOException
-
getIdentity
The identity of the client who paused the workflow execution.
string identity = 1;- Specified by:
getIdentityin interfaceWorkflowExecutionPausedEventAttributesOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()The identity of the client who paused the workflow execution.
string identity = 1;- Specified by:
getIdentityBytesin interfaceWorkflowExecutionPausedEventAttributesOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
The identity of the client who paused the workflow execution.
string identity = 1;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
The identity of the client who paused the workflow execution.
string identity = 1;- Returns:
- This builder for chaining.
-
setIdentityBytes
public WorkflowExecutionPausedEventAttributes.Builder setIdentityBytes(com.google.protobuf.ByteString value) The identity of the client who paused the workflow execution.
string identity = 1;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
getReason
The reason for pausing the workflow execution.
string reason = 2;- Specified by:
getReasonin interfaceWorkflowExecutionPausedEventAttributesOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()The reason for pausing the workflow execution.
string reason = 2;- Specified by:
getReasonBytesin interfaceWorkflowExecutionPausedEventAttributesOrBuilder- Returns:
- The bytes for reason.
-
setReason
The reason for pausing the workflow execution.
string reason = 2;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
The reason for pausing the workflow execution.
string reason = 2;- Returns:
- This builder for chaining.
-
setReasonBytes
public WorkflowExecutionPausedEventAttributes.Builder setReasonBytes(com.google.protobuf.ByteString value) The reason for pausing the workflow execution.
string reason = 2;- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
getRequestId
The request ID of the request that paused the workflow execution.
string request_id = 3;- Specified by:
getRequestIdin interfaceWorkflowExecutionPausedEventAttributesOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()The request ID of the request that paused the workflow execution.
string request_id = 3;- Specified by:
getRequestIdBytesin interfaceWorkflowExecutionPausedEventAttributesOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
The request ID of the request that paused the workflow execution.
string request_id = 3;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
The request ID of the request that paused the workflow execution.
string request_id = 3;- Returns:
- This builder for chaining.
-
setRequestIdBytes
public WorkflowExecutionPausedEventAttributes.Builder setRequestIdBytes(com.google.protobuf.ByteString value) The request ID of the request that paused the workflow execution.
string request_id = 3;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final WorkflowExecutionPausedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPausedEventAttributes.Builder>
-
mergeUnknownFields
public final WorkflowExecutionPausedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPausedEventAttributes.Builder>
-