Class ChildWorkflowExecutionFailedEventAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ChildWorkflowExecutionFailedEventAttributes.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ChildWorkflowExecutionFailedEventAttributes.Builder>
io.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ChildWorkflowExecutionFailedEventAttributesOrBuilder,Cloneable
- Enclosing class:
ChildWorkflowExecutionFailedEventAttributes
public static final class ChildWorkflowExecutionFailedEventAttributes.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ChildWorkflowExecutionFailedEventAttributes.Builder>
implements ChildWorkflowExecutionFailedEventAttributesOrBuilder
Protobuf type
temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear().temporal.api.failure.v1.Failure failure = 1;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds toNamespace of the child workflow.string namespace_id = 8;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .temporal.api.enums.v1.RetryState retry_state = 7;Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;.temporal.api.common.v1.WorkflowType workflow_type = 4;clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.temporal.api.failure.v1.Failure failure = 1;.temporal.api.failure.v1.Failure failure = 1;.temporal.api.failure.v1.Failure failure = 1;longId of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds toNamespace of the child workflow.com.google.protobuf.ByteStringNamespace of the child workflow.string namespace_id = 8;com.google.protobuf.ByteStringstring namespace_id = 8;.temporal.api.enums.v1.RetryState retry_state = 7;int.temporal.api.enums.v1.RetryState retry_state = 7;longId of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;.temporal.api.common.v1.WorkflowType workflow_type = 4;.temporal.api.common.v1.WorkflowType workflow_type = 4;.temporal.api.common.v1.WorkflowType workflow_type = 4;boolean.temporal.api.failure.v1.Failure failure = 1;boolean.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;boolean.temporal.api.common.v1.WorkflowType workflow_type = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFailure(Failure value) .temporal.api.failure.v1.Failure failure = 1;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .temporal.api.common.v1.WorkflowExecution workflow_execution = 3;mergeWorkflowType(WorkflowType value) .temporal.api.common.v1.WorkflowType workflow_type = 4;setFailure(Failure value) .temporal.api.failure.v1.Failure failure = 1;setFailure(Failure.Builder builderForValue) .temporal.api.failure.v1.Failure failure = 1;setInitiatedEventId(long value) Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds tosetNamespace(String value) Namespace of the child workflow.setNamespaceBytes(com.google.protobuf.ByteString value) Namespace of the child workflow.setNamespaceId(String value) string namespace_id = 8;setNamespaceIdBytes(com.google.protobuf.ByteString value) string namespace_id = 8;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRetryState(RetryState value) .temporal.api.enums.v1.RetryState retry_state = 7;setRetryStateValue(int value) .temporal.api.enums.v1.RetryState retry_state = 7;setStartedEventId(long value) Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds tosetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .temporal.api.common.v1.WorkflowExecution workflow_execution = 3;setWorkflowExecution(WorkflowExecution.Builder builderForValue) .temporal.api.common.v1.WorkflowExecution workflow_execution = 3;setWorkflowType(WorkflowType value) .temporal.api.common.v1.WorkflowType workflow_type = 4;setWorkflowType(WorkflowType.Builder builderForValue) .temporal.api.common.v1.WorkflowType workflow_type = 4;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<ChildWorkflowExecutionFailedEventAttributes.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<ChildWorkflowExecutionFailedEventAttributes.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<ChildWorkflowExecutionFailedEventAttributes.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<ChildWorkflowExecutionFailedEventAttributes.Builder>
-
setField
public ChildWorkflowExecutionFailedEventAttributes.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<ChildWorkflowExecutionFailedEventAttributes.Builder>
-
clearField
public ChildWorkflowExecutionFailedEventAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ChildWorkflowExecutionFailedEventAttributes.Builder>
-
clearOneof
public ChildWorkflowExecutionFailedEventAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ChildWorkflowExecutionFailedEventAttributes.Builder>
-
setRepeatedField
public ChildWorkflowExecutionFailedEventAttributes.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<ChildWorkflowExecutionFailedEventAttributes.Builder>
-
addRepeatedField
public ChildWorkflowExecutionFailedEventAttributes.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<ChildWorkflowExecutionFailedEventAttributes.Builder>
-
mergeFrom
public ChildWorkflowExecutionFailedEventAttributes.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ChildWorkflowExecutionFailedEventAttributes.Builder>
-
mergeFrom
public ChildWorkflowExecutionFailedEventAttributes.Builder mergeFrom(ChildWorkflowExecutionFailedEventAttributes other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ChildWorkflowExecutionFailedEventAttributes.Builder>
-
mergeFrom
public ChildWorkflowExecutionFailedEventAttributes.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<ChildWorkflowExecutionFailedEventAttributes.Builder>- Throws:
IOException
-
hasFailure
public boolean hasFailure().temporal.api.failure.v1.Failure failure = 1;- Specified by:
hasFailurein interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- Whether the failure field is set.
-
getFailure
.temporal.api.failure.v1.Failure failure = 1;- Specified by:
getFailurein interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The failure.
-
setFailure
.temporal.api.failure.v1.Failure failure = 1; -
setFailure
public ChildWorkflowExecutionFailedEventAttributes.Builder setFailure(Failure.Builder builderForValue) .temporal.api.failure.v1.Failure failure = 1; -
mergeFailure
.temporal.api.failure.v1.Failure failure = 1; -
clearFailure
.temporal.api.failure.v1.Failure failure = 1; -
getFailureBuilder
.temporal.api.failure.v1.Failure failure = 1; -
getFailureOrBuilder
.temporal.api.failure.v1.Failure failure = 1;- Specified by:
getFailureOrBuilderin interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder
-
getNamespace
Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 2;- Specified by:
getNamespacein interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 2;- Specified by:
getNamespaceBytesin interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 2;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 2;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public ChildWorkflowExecutionFailedEventAttributes.Builder setNamespaceBytes(com.google.protobuf.ByteString value) Namespace of the child workflow. SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.
string namespace = 2;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getNamespaceId
string namespace_id = 8;- Specified by:
getNamespaceIdin interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The namespaceId.
-
getNamespaceIdBytes
public com.google.protobuf.ByteString getNamespaceIdBytes()string namespace_id = 8;- Specified by:
getNamespaceIdBytesin interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The bytes for namespaceId.
-
setNamespaceId
string namespace_id = 8;- Parameters:
value- The namespaceId to set.- Returns:
- This builder for chaining.
-
clearNamespaceId
string namespace_id = 8;- Returns:
- This builder for chaining.
-
setNamespaceIdBytes
public ChildWorkflowExecutionFailedEventAttributes.Builder setNamespaceIdBytes(com.google.protobuf.ByteString value) string namespace_id = 8;- Parameters:
value- The bytes for namespaceId to set.- Returns:
- This builder for chaining.
-
hasWorkflowExecution
public boolean hasWorkflowExecution().temporal.api.common.v1.WorkflowExecution workflow_execution = 3;- Specified by:
hasWorkflowExecutionin interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;- Specified by:
getWorkflowExecutionin interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The workflowExecution.
-
setWorkflowExecution
public ChildWorkflowExecutionFailedEventAttributes.Builder setWorkflowExecution(WorkflowExecution value) .temporal.api.common.v1.WorkflowExecution workflow_execution = 3; -
setWorkflowExecution
public ChildWorkflowExecutionFailedEventAttributes.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue) .temporal.api.common.v1.WorkflowExecution workflow_execution = 3; -
mergeWorkflowExecution
public ChildWorkflowExecutionFailedEventAttributes.Builder mergeWorkflowExecution(WorkflowExecution value) .temporal.api.common.v1.WorkflowExecution workflow_execution = 3; -
clearWorkflowExecution
.temporal.api.common.v1.WorkflowExecution workflow_execution = 3; -
getWorkflowExecutionBuilder
.temporal.api.common.v1.WorkflowExecution workflow_execution = 3; -
getWorkflowExecutionOrBuilder
.temporal.api.common.v1.WorkflowExecution workflow_execution = 3;- Specified by:
getWorkflowExecutionOrBuilderin interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder
-
hasWorkflowType
public boolean hasWorkflowType().temporal.api.common.v1.WorkflowType workflow_type = 4;- Specified by:
hasWorkflowTypein interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- Whether the workflowType field is set.
-
getWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 4;- Specified by:
getWorkflowTypein interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The workflowType.
-
setWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 4; -
setWorkflowType
public ChildWorkflowExecutionFailedEventAttributes.Builder setWorkflowType(WorkflowType.Builder builderForValue) .temporal.api.common.v1.WorkflowType workflow_type = 4; -
mergeWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 4; -
clearWorkflowType
.temporal.api.common.v1.WorkflowType workflow_type = 4; -
getWorkflowTypeBuilder
.temporal.api.common.v1.WorkflowType workflow_type = 4; -
getWorkflowTypeOrBuilder
.temporal.api.common.v1.WorkflowType workflow_type = 4;- Specified by:
getWorkflowTypeOrBuilderin interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder
-
getInitiatedEventId
public long getInitiatedEventId()Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
int64 initiated_event_id = 5;- Specified by:
getInitiatedEventIdin interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The initiatedEventId.
-
setInitiatedEventId
Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
int64 initiated_event_id = 5;- Parameters:
value- The initiatedEventId to set.- Returns:
- This builder for chaining.
-
clearInitiatedEventId
Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to
int64 initiated_event_id = 5;- Returns:
- This builder for chaining.
-
getStartedEventId
public long getStartedEventId()Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
int64 started_event_id = 6;- Specified by:
getStartedEventIdin interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The startedEventId.
-
setStartedEventId
Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
int64 started_event_id = 6;- Parameters:
value- The startedEventId to set.- Returns:
- This builder for chaining.
-
clearStartedEventId
Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to
int64 started_event_id = 6;- Returns:
- This builder for chaining.
-
getRetryStateValue
public int getRetryStateValue().temporal.api.enums.v1.RetryState retry_state = 7;- Specified by:
getRetryStateValuein interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The enum numeric value on the wire for retryState.
-
setRetryStateValue
.temporal.api.enums.v1.RetryState retry_state = 7;- Parameters:
value- The enum numeric value on the wire for retryState to set.- Returns:
- This builder for chaining.
-
getRetryState
.temporal.api.enums.v1.RetryState retry_state = 7;- Specified by:
getRetryStatein interfaceChildWorkflowExecutionFailedEventAttributesOrBuilder- Returns:
- The retryState.
-
setRetryState
.temporal.api.enums.v1.RetryState retry_state = 7;- Parameters:
value- The retryState to set.- Returns:
- This builder for chaining.
-
clearRetryState
.temporal.api.enums.v1.RetryState retry_state = 7;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ChildWorkflowExecutionFailedEventAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ChildWorkflowExecutionFailedEventAttributes.Builder>
-
mergeUnknownFields
public final ChildWorkflowExecutionFailedEventAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ChildWorkflowExecutionFailedEventAttributes.Builder>
-