Package io.temporal.api.failure.v1
Class ChildWorkflowExecutionFailureInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ChildWorkflowExecutionFailureInfo.Builder>
-
- io.temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,ChildWorkflowExecutionFailureInfoOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ChildWorkflowExecutionFailureInfo
public static final class ChildWorkflowExecutionFailureInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChildWorkflowExecutionFailureInfo.Builder> implements ChildWorkflowExecutionFailureInfoOrBuilder
Protobuf typetemporal.api.failure.v1.ChildWorkflowExecutionFailureInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ChildWorkflowExecutionFailureInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ChildWorkflowExecutionFailureInfo
build()
ChildWorkflowExecutionFailureInfo
buildPartial()
ChildWorkflowExecutionFailureInfo.Builder
clear()
ChildWorkflowExecutionFailureInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ChildWorkflowExecutionFailureInfo.Builder
clearInitiatedEventId()
int64 initiated_event_id = 4;
ChildWorkflowExecutionFailureInfo.Builder
clearNamespace()
string namespace = 1;
ChildWorkflowExecutionFailureInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ChildWorkflowExecutionFailureInfo.Builder
clearRetryState()
.temporal.api.enums.v1.RetryState retry_state = 6;
ChildWorkflowExecutionFailureInfo.Builder
clearStartedEventId()
int64 started_event_id = 5;
ChildWorkflowExecutionFailureInfo.Builder
clearWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
ChildWorkflowExecutionFailureInfo.Builder
clearWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
ChildWorkflowExecutionFailureInfo.Builder
clone()
ChildWorkflowExecutionFailureInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getInitiatedEventId()
int64 initiated_event_id = 4;
java.lang.String
getNamespace()
string namespace = 1;
com.google.protobuf.ByteString
getNamespaceBytes()
string namespace = 1;
RetryState
getRetryState()
.temporal.api.enums.v1.RetryState retry_state = 6;
int
getRetryStateValue()
.temporal.api.enums.v1.RetryState retry_state = 6;
long
getStartedEventId()
int64 started_event_id = 5;
WorkflowExecution
getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
WorkflowExecution.Builder
getWorkflowExecutionBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
WorkflowExecutionOrBuilder
getWorkflowExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
WorkflowType
getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
WorkflowType.Builder
getWorkflowTypeBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
WorkflowTypeOrBuilder
getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
boolean
hasWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
boolean
hasWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ChildWorkflowExecutionFailureInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ChildWorkflowExecutionFailureInfo.Builder
mergeFrom(com.google.protobuf.Message other)
ChildWorkflowExecutionFailureInfo.Builder
mergeFrom(ChildWorkflowExecutionFailureInfo other)
ChildWorkflowExecutionFailureInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ChildWorkflowExecutionFailureInfo.Builder
mergeWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
ChildWorkflowExecutionFailureInfo.Builder
mergeWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
ChildWorkflowExecutionFailureInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ChildWorkflowExecutionFailureInfo.Builder
setInitiatedEventId(long value)
int64 initiated_event_id = 4;
ChildWorkflowExecutionFailureInfo.Builder
setNamespace(java.lang.String value)
string namespace = 1;
ChildWorkflowExecutionFailureInfo.Builder
setNamespaceBytes(com.google.protobuf.ByteString value)
string namespace = 1;
ChildWorkflowExecutionFailureInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ChildWorkflowExecutionFailureInfo.Builder
setRetryState(RetryState value)
.temporal.api.enums.v1.RetryState retry_state = 6;
ChildWorkflowExecutionFailureInfo.Builder
setRetryStateValue(int value)
.temporal.api.enums.v1.RetryState retry_state = 6;
ChildWorkflowExecutionFailureInfo.Builder
setStartedEventId(long value)
int64 started_event_id = 5;
ChildWorkflowExecutionFailureInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ChildWorkflowExecutionFailureInfo.Builder
setWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
ChildWorkflowExecutionFailureInfo.Builder
setWorkflowExecution(WorkflowExecution.Builder builderForValue)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
ChildWorkflowExecutionFailureInfo.Builder
setWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
ChildWorkflowExecutionFailureInfo.Builder
setWorkflowType(WorkflowType.Builder builderForValue)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
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<ChildWorkflowExecutionFailureInfo.Builder>
-
clear
public ChildWorkflowExecutionFailureInfo.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<ChildWorkflowExecutionFailureInfo.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<ChildWorkflowExecutionFailureInfo.Builder>
-
getDefaultInstanceForType
public ChildWorkflowExecutionFailureInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ChildWorkflowExecutionFailureInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ChildWorkflowExecutionFailureInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ChildWorkflowExecutionFailureInfo.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<ChildWorkflowExecutionFailureInfo.Builder>
-
setField
public ChildWorkflowExecutionFailureInfo.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<ChildWorkflowExecutionFailureInfo.Builder>
-
clearField
public ChildWorkflowExecutionFailureInfo.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<ChildWorkflowExecutionFailureInfo.Builder>
-
clearOneof
public ChildWorkflowExecutionFailureInfo.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<ChildWorkflowExecutionFailureInfo.Builder>
-
setRepeatedField
public ChildWorkflowExecutionFailureInfo.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<ChildWorkflowExecutionFailureInfo.Builder>
-
addRepeatedField
public ChildWorkflowExecutionFailureInfo.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<ChildWorkflowExecutionFailureInfo.Builder>
-
mergeFrom
public ChildWorkflowExecutionFailureInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ChildWorkflowExecutionFailureInfo.Builder>
-
mergeFrom
public ChildWorkflowExecutionFailureInfo.Builder mergeFrom(ChildWorkflowExecutionFailureInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChildWorkflowExecutionFailureInfo.Builder>
-
mergeFrom
public ChildWorkflowExecutionFailureInfo.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<ChildWorkflowExecutionFailureInfo.Builder>
- Throws:
java.io.IOException
-
getNamespace
public java.lang.String getNamespace()
string namespace = 1;
- Specified by:
getNamespace
in interfaceChildWorkflowExecutionFailureInfoOrBuilder
- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 1;
- Specified by:
getNamespaceBytes
in interfaceChildWorkflowExecutionFailureInfoOrBuilder
- Returns:
- The bytes for namespace.
-
setNamespace
public ChildWorkflowExecutionFailureInfo.Builder setNamespace(java.lang.String value)
string namespace = 1;
- Parameters:
value
- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public ChildWorkflowExecutionFailureInfo.Builder clearNamespace()
string namespace = 1;
- Returns:
- This builder for chaining.
-
setNamespaceBytes
public ChildWorkflowExecutionFailureInfo.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
string namespace = 1;
- Parameters:
value
- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
hasWorkflowExecution
public boolean hasWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
- Specified by:
hasWorkflowExecution
in interfaceChildWorkflowExecutionFailureInfoOrBuilder
- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
- Specified by:
getWorkflowExecution
in interfaceChildWorkflowExecutionFailureInfoOrBuilder
- Returns:
- The workflowExecution.
-
setWorkflowExecution
public ChildWorkflowExecutionFailureInfo.Builder setWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
setWorkflowExecution
public ChildWorkflowExecutionFailureInfo.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
mergeWorkflowExecution
public ChildWorkflowExecutionFailureInfo.Builder mergeWorkflowExecution(WorkflowExecution value)
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
clearWorkflowExecution
public ChildWorkflowExecutionFailureInfo.Builder clearWorkflowExecution()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
getWorkflowExecutionBuilder
public WorkflowExecution.Builder getWorkflowExecutionBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
-
getWorkflowExecutionOrBuilder
public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
.temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
- Specified by:
getWorkflowExecutionOrBuilder
in interfaceChildWorkflowExecutionFailureInfoOrBuilder
-
hasWorkflowType
public boolean hasWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
- Specified by:
hasWorkflowType
in interfaceChildWorkflowExecutionFailureInfoOrBuilder
- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
public WorkflowType getWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
- Specified by:
getWorkflowType
in interfaceChildWorkflowExecutionFailureInfoOrBuilder
- Returns:
- The workflowType.
-
setWorkflowType
public ChildWorkflowExecutionFailureInfo.Builder setWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
setWorkflowType
public ChildWorkflowExecutionFailureInfo.Builder setWorkflowType(WorkflowType.Builder builderForValue)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
mergeWorkflowType
public ChildWorkflowExecutionFailureInfo.Builder mergeWorkflowType(WorkflowType value)
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
clearWorkflowType
public ChildWorkflowExecutionFailureInfo.Builder clearWorkflowType()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
getWorkflowTypeBuilder
public WorkflowType.Builder getWorkflowTypeBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
-
getWorkflowTypeOrBuilder
public WorkflowTypeOrBuilder getWorkflowTypeOrBuilder()
.temporal.api.common.v1.WorkflowType workflow_type = 3;
- Specified by:
getWorkflowTypeOrBuilder
in interfaceChildWorkflowExecutionFailureInfoOrBuilder
-
getInitiatedEventId
public long getInitiatedEventId()
int64 initiated_event_id = 4;
- Specified by:
getInitiatedEventId
in interfaceChildWorkflowExecutionFailureInfoOrBuilder
- Returns:
- The initiatedEventId.
-
setInitiatedEventId
public ChildWorkflowExecutionFailureInfo.Builder setInitiatedEventId(long value)
int64 initiated_event_id = 4;
- Parameters:
value
- The initiatedEventId to set.- Returns:
- This builder for chaining.
-
clearInitiatedEventId
public ChildWorkflowExecutionFailureInfo.Builder clearInitiatedEventId()
int64 initiated_event_id = 4;
- Returns:
- This builder for chaining.
-
getStartedEventId
public long getStartedEventId()
int64 started_event_id = 5;
- Specified by:
getStartedEventId
in interfaceChildWorkflowExecutionFailureInfoOrBuilder
- Returns:
- The startedEventId.
-
setStartedEventId
public ChildWorkflowExecutionFailureInfo.Builder setStartedEventId(long value)
int64 started_event_id = 5;
- Parameters:
value
- The startedEventId to set.- Returns:
- This builder for chaining.
-
clearStartedEventId
public ChildWorkflowExecutionFailureInfo.Builder clearStartedEventId()
int64 started_event_id = 5;
- Returns:
- This builder for chaining.
-
getRetryStateValue
public int getRetryStateValue()
.temporal.api.enums.v1.RetryState retry_state = 6;
- Specified by:
getRetryStateValue
in interfaceChildWorkflowExecutionFailureInfoOrBuilder
- Returns:
- The enum numeric value on the wire for retryState.
-
setRetryStateValue
public ChildWorkflowExecutionFailureInfo.Builder setRetryStateValue(int value)
.temporal.api.enums.v1.RetryState retry_state = 6;
- 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 = 6;
- Specified by:
getRetryState
in interfaceChildWorkflowExecutionFailureInfoOrBuilder
- Returns:
- The retryState.
-
setRetryState
public ChildWorkflowExecutionFailureInfo.Builder setRetryState(RetryState value)
.temporal.api.enums.v1.RetryState retry_state = 6;
- Parameters:
value
- The retryState to set.- Returns:
- This builder for chaining.
-
clearRetryState
public ChildWorkflowExecutionFailureInfo.Builder clearRetryState()
.temporal.api.enums.v1.RetryState retry_state = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ChildWorkflowExecutionFailureInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChildWorkflowExecutionFailureInfo.Builder>
-
mergeUnknownFields
public final ChildWorkflowExecutionFailureInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ChildWorkflowExecutionFailureInfo.Builder>
-
-