Package io.temporal.api.history.v1
Class WorkflowExecutionPausedEventAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.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 typetemporal.api.history.v1.WorkflowExecutionPausedEventAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecutionPausedEventAttributes.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionPausedEventAttributesbuild()WorkflowExecutionPausedEventAttributesbuildPartial()WorkflowExecutionPausedEventAttributes.Builderclear()WorkflowExecutionPausedEventAttributes.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WorkflowExecutionPausedEventAttributes.BuilderclearIdentity()The identity of the client who paused the workflow execution.WorkflowExecutionPausedEventAttributes.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WorkflowExecutionPausedEventAttributes.BuilderclearReason()The reason for pausing the workflow execution.WorkflowExecutionPausedEventAttributes.BuilderclearRequestId()The request ID of the request that paused the workflow execution.WorkflowExecutionPausedEventAttributes.Builderclone()WorkflowExecutionPausedEventAttributesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetIdentity()The identity of the client who paused the workflow execution.com.google.protobuf.ByteStringgetIdentityBytes()The identity of the client who paused the workflow execution.java.lang.StringgetReason()The reason for pausing the workflow execution.com.google.protobuf.ByteStringgetReasonBytes()The reason for pausing the workflow execution.java.lang.StringgetRequestId()The request ID of the request that paused the workflow execution.com.google.protobuf.ByteStringgetRequestIdBytes()The request ID of the request that paused the workflow execution.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WorkflowExecutionPausedEventAttributes.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WorkflowExecutionPausedEventAttributes.BuildermergeFrom(com.google.protobuf.Message other)WorkflowExecutionPausedEventAttributes.BuildermergeFrom(WorkflowExecutionPausedEventAttributes other)WorkflowExecutionPausedEventAttributes.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WorkflowExecutionPausedEventAttributes.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowExecutionPausedEventAttributes.BuildersetIdentity(java.lang.String value)The identity of the client who paused the workflow execution.WorkflowExecutionPausedEventAttributes.BuildersetIdentityBytes(com.google.protobuf.ByteString value)The identity of the client who paused the workflow execution.WorkflowExecutionPausedEventAttributes.BuildersetReason(java.lang.String value)The reason for pausing the workflow execution.WorkflowExecutionPausedEventAttributes.BuildersetReasonBytes(com.google.protobuf.ByteString value)The reason for pausing the workflow execution.WorkflowExecutionPausedEventAttributes.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)WorkflowExecutionPausedEventAttributes.BuildersetRequestId(java.lang.String value)The request ID of the request that paused the workflow execution.WorkflowExecutionPausedEventAttributes.BuildersetRequestIdBytes(com.google.protobuf.ByteString value)The request ID of the request that paused the workflow execution.WorkflowExecutionPausedEventAttributes.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<WorkflowExecutionPausedEventAttributes.Builder>
-
clear
public 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
public WorkflowExecutionPausedEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowExecutionPausedEventAttributes build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowExecutionPausedEventAttributes buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowExecutionPausedEventAttributes.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPausedEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionPausedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- 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 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<WorkflowExecutionPausedEventAttributes.Builder>- Throws:
java.io.IOException
-
getIdentity
public java.lang.String 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
public WorkflowExecutionPausedEventAttributes.Builder setIdentity(java.lang.String value)
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
public WorkflowExecutionPausedEventAttributes.Builder 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
public java.lang.String 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
public WorkflowExecutionPausedEventAttributes.Builder setReason(java.lang.String value)
The reason for pausing the workflow execution.
string reason = 2;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
public WorkflowExecutionPausedEventAttributes.Builder 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
public java.lang.String 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
public WorkflowExecutionPausedEventAttributes.Builder setRequestId(java.lang.String value)
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
public WorkflowExecutionPausedEventAttributes.Builder 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>
-
-