Class WorkflowExecutionPauseInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WorkflowExecutionPauseInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPauseInfo.Builder>
io.temporal.api.workflow.v1.WorkflowExecutionPauseInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkflowExecutionPauseInfoOrBuilder,Cloneable
- Enclosing class:
WorkflowExecutionPauseInfo
public static final class WorkflowExecutionPauseInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPauseInfo.Builder>
implements WorkflowExecutionPauseInfoOrBuilder
WorkflowExecutionPauseInfo contains the information about a workflow execution pause.Protobuf type
temporal.api.workflow.v1.WorkflowExecutionPauseInfo-
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 time when the workflow execution was paused.The reason for pausing 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.com.google.protobuf.TimestampThe time when the workflow execution was paused.com.google.protobuf.Timestamp.BuilderThe time when the workflow execution was paused.com.google.protobuf.TimestampOrBuilderThe time when the workflow execution was paused.The reason for pausing the workflow execution.com.google.protobuf.ByteStringThe reason for pausing the workflow execution.booleanThe time when the workflow execution was paused.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergePausedTime(com.google.protobuf.Timestamp value) The time when the workflow execution was paused.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.setPausedTime(com.google.protobuf.Timestamp value) The time when the workflow execution was paused.setPausedTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the workflow execution was paused.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) 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<WorkflowExecutionPauseInfo.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<WorkflowExecutionPauseInfo.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<WorkflowExecutionPauseInfo.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<WorkflowExecutionPauseInfo.Builder>
-
setField
public WorkflowExecutionPauseInfo.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<WorkflowExecutionPauseInfo.Builder>
-
clearField
public WorkflowExecutionPauseInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPauseInfo.Builder>
-
clearOneof
public WorkflowExecutionPauseInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPauseInfo.Builder>
-
setRepeatedField
public WorkflowExecutionPauseInfo.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<WorkflowExecutionPauseInfo.Builder>
-
addRepeatedField
public WorkflowExecutionPauseInfo.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<WorkflowExecutionPauseInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionPauseInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPauseInfo.Builder>
-
mergeFrom
public WorkflowExecutionPauseInfo.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<WorkflowExecutionPauseInfo.Builder>- Throws:
IOException
-
getIdentity
The identity of the client who paused the workflow execution.
string identity = 1;- Specified by:
getIdentityin interfaceWorkflowExecutionPauseInfoOrBuilder- 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 interfaceWorkflowExecutionPauseInfoOrBuilder- 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
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.
-
hasPausedTime
public boolean hasPausedTime()The time when the workflow execution was paused.
.google.protobuf.Timestamp paused_time = 2;- Specified by:
hasPausedTimein interfaceWorkflowExecutionPauseInfoOrBuilder- Returns:
- Whether the pausedTime field is set.
-
getPausedTime
public com.google.protobuf.Timestamp getPausedTime()The time when the workflow execution was paused.
.google.protobuf.Timestamp paused_time = 2;- Specified by:
getPausedTimein interfaceWorkflowExecutionPauseInfoOrBuilder- Returns:
- The pausedTime.
-
setPausedTime
The time when the workflow execution was paused.
.google.protobuf.Timestamp paused_time = 2; -
setPausedTime
public WorkflowExecutionPauseInfo.Builder setPausedTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the workflow execution was paused.
.google.protobuf.Timestamp paused_time = 2; -
mergePausedTime
The time when the workflow execution was paused.
.google.protobuf.Timestamp paused_time = 2; -
clearPausedTime
The time when the workflow execution was paused.
.google.protobuf.Timestamp paused_time = 2; -
getPausedTimeBuilder
public com.google.protobuf.Timestamp.Builder getPausedTimeBuilder()The time when the workflow execution was paused.
.google.protobuf.Timestamp paused_time = 2; -
getPausedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getPausedTimeOrBuilder()The time when the workflow execution was paused.
.google.protobuf.Timestamp paused_time = 2;- Specified by:
getPausedTimeOrBuilderin interfaceWorkflowExecutionPauseInfoOrBuilder
-
getReason
The reason for pausing the workflow execution.
string reason = 3;- Specified by:
getReasonin interfaceWorkflowExecutionPauseInfoOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()The reason for pausing the workflow execution.
string reason = 3;- Specified by:
getReasonBytesin interfaceWorkflowExecutionPauseInfoOrBuilder- Returns:
- The bytes for reason.
-
setReason
The reason for pausing the workflow execution.
string reason = 3;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
The reason for pausing the workflow execution.
string reason = 3;- Returns:
- This builder for chaining.
-
setReasonBytes
The reason for pausing the workflow execution.
string reason = 3;- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final WorkflowExecutionPauseInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPauseInfo.Builder>
-
mergeUnknownFields
public final WorkflowExecutionPauseInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionPauseInfo.Builder>
-