Package io.temporal.api.history.v1
Class WorkflowExecutionTimedOutEventAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
- io.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,WorkflowExecutionTimedOutEventAttributesOrBuilder
,java.lang.Cloneable
- Enclosing class:
- WorkflowExecutionTimedOutEventAttributes
public static final class WorkflowExecutionTimedOutEventAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder> implements WorkflowExecutionTimedOutEventAttributesOrBuilder
Protobuf typetemporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecutionTimedOutEventAttributes.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
WorkflowExecutionTimedOutEventAttributes
build()
WorkflowExecutionTimedOutEventAttributes
buildPartial()
WorkflowExecutionTimedOutEventAttributes.Builder
clear()
WorkflowExecutionTimedOutEventAttributes.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
WorkflowExecutionTimedOutEventAttributes.Builder
clearNewExecutionRunId()
If another run is started by cron or retry, this contains the new run id.WorkflowExecutionTimedOutEventAttributes.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
WorkflowExecutionTimedOutEventAttributes.Builder
clearRetryState()
.temporal.api.enums.v1.RetryState retry_state = 1;
WorkflowExecutionTimedOutEventAttributes.Builder
clone()
WorkflowExecutionTimedOutEventAttributes
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getNewExecutionRunId()
If another run is started by cron or retry, this contains the new run id.com.google.protobuf.ByteString
getNewExecutionRunIdBytes()
If another run is started by cron or retry, this contains the new run id.RetryState
getRetryState()
.temporal.api.enums.v1.RetryState retry_state = 1;
int
getRetryStateValue()
.temporal.api.enums.v1.RetryState retry_state = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WorkflowExecutionTimedOutEventAttributes.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
WorkflowExecutionTimedOutEventAttributes.Builder
mergeFrom(com.google.protobuf.Message other)
WorkflowExecutionTimedOutEventAttributes.Builder
mergeFrom(WorkflowExecutionTimedOutEventAttributes other)
WorkflowExecutionTimedOutEventAttributes.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WorkflowExecutionTimedOutEventAttributes.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
WorkflowExecutionTimedOutEventAttributes.Builder
setNewExecutionRunId(java.lang.String value)
If another run is started by cron or retry, this contains the new run id.WorkflowExecutionTimedOutEventAttributes.Builder
setNewExecutionRunIdBytes(com.google.protobuf.ByteString value)
If another run is started by cron or retry, this contains the new run id.WorkflowExecutionTimedOutEventAttributes.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
WorkflowExecutionTimedOutEventAttributes.Builder
setRetryState(RetryState value)
.temporal.api.enums.v1.RetryState retry_state = 1;
WorkflowExecutionTimedOutEventAttributes.Builder
setRetryStateValue(int value)
.temporal.api.enums.v1.RetryState retry_state = 1;
WorkflowExecutionTimedOutEventAttributes.Builder
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, internalGetMutableMapField, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
clear
public WorkflowExecutionTimedOutEventAttributes.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
getDefaultInstanceForType
public WorkflowExecutionTimedOutEventAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowExecutionTimedOutEventAttributes build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowExecutionTimedOutEventAttributes buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowExecutionTimedOutEventAttributes.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
setField
public WorkflowExecutionTimedOutEventAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
clearField
public WorkflowExecutionTimedOutEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
clearOneof
public WorkflowExecutionTimedOutEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
setRepeatedField
public WorkflowExecutionTimedOutEventAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
addRepeatedField
public WorkflowExecutionTimedOutEventAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionTimedOutEventAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionTimedOutEventAttributes.Builder mergeFrom(WorkflowExecutionTimedOutEventAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
mergeFrom
public WorkflowExecutionTimedOutEventAttributes.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
- Throws:
java.io.IOException
-
getRetryStateValue
public int getRetryStateValue()
.temporal.api.enums.v1.RetryState retry_state = 1;
- Specified by:
getRetryStateValue
in interfaceWorkflowExecutionTimedOutEventAttributesOrBuilder
- Returns:
- The enum numeric value on the wire for retryState.
-
setRetryStateValue
public WorkflowExecutionTimedOutEventAttributes.Builder setRetryStateValue(int value)
.temporal.api.enums.v1.RetryState retry_state = 1;
- Parameters:
value
- The enum numeric value on the wire for retryState to set.- Returns:
- This builder for chaining.
-
getRetryState
public RetryState getRetryState()
.temporal.api.enums.v1.RetryState retry_state = 1;
- Specified by:
getRetryState
in interfaceWorkflowExecutionTimedOutEventAttributesOrBuilder
- Returns:
- The retryState.
-
setRetryState
public WorkflowExecutionTimedOutEventAttributes.Builder setRetryState(RetryState value)
.temporal.api.enums.v1.RetryState retry_state = 1;
- Parameters:
value
- The retryState to set.- Returns:
- This builder for chaining.
-
clearRetryState
public WorkflowExecutionTimedOutEventAttributes.Builder clearRetryState()
.temporal.api.enums.v1.RetryState retry_state = 1;
- Returns:
- This builder for chaining.
-
getNewExecutionRunId
public java.lang.String getNewExecutionRunId()
If another run is started by cron or retry, this contains the new run id.
string new_execution_run_id = 2;
- Specified by:
getNewExecutionRunId
in interfaceWorkflowExecutionTimedOutEventAttributesOrBuilder
- Returns:
- The newExecutionRunId.
-
getNewExecutionRunIdBytes
public com.google.protobuf.ByteString getNewExecutionRunIdBytes()
If another run is started by cron or retry, this contains the new run id.
string new_execution_run_id = 2;
- Specified by:
getNewExecutionRunIdBytes
in interfaceWorkflowExecutionTimedOutEventAttributesOrBuilder
- Returns:
- The bytes for newExecutionRunId.
-
setNewExecutionRunId
public WorkflowExecutionTimedOutEventAttributes.Builder setNewExecutionRunId(java.lang.String value)
If another run is started by cron or retry, this contains the new run id.
string new_execution_run_id = 2;
- Parameters:
value
- The newExecutionRunId to set.- Returns:
- This builder for chaining.
-
clearNewExecutionRunId
public WorkflowExecutionTimedOutEventAttributes.Builder clearNewExecutionRunId()
If another run is started by cron or retry, this contains the new run id.
string new_execution_run_id = 2;
- Returns:
- This builder for chaining.
-
setNewExecutionRunIdBytes
public WorkflowExecutionTimedOutEventAttributes.Builder setNewExecutionRunIdBytes(com.google.protobuf.ByteString value)
If another run is started by cron or retry, this contains the new run id.
string new_execution_run_id = 2;
- Parameters:
value
- The bytes for newExecutionRunId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final WorkflowExecutionTimedOutEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
mergeUnknownFields
public final WorkflowExecutionTimedOutEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowExecutionTimedOutEventAttributes.Builder>
-
-