Package io.temporal.api.command.v1
Class FailWorkflowExecutionCommandAttributes.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FailWorkflowExecutionCommandAttributes.Builder>
-
- io.temporal.api.command.v1.FailWorkflowExecutionCommandAttributes.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,FailWorkflowExecutionCommandAttributesOrBuilder
,java.lang.Cloneable
- Enclosing class:
- FailWorkflowExecutionCommandAttributes
public static final class FailWorkflowExecutionCommandAttributes.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FailWorkflowExecutionCommandAttributes.Builder> implements FailWorkflowExecutionCommandAttributesOrBuilder
Protobuf typetemporal.api.command.v1.FailWorkflowExecutionCommandAttributes
-
-
Method Summary
-
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<FailWorkflowExecutionCommandAttributes.Builder>
-
clear
public FailWorkflowExecutionCommandAttributes.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<FailWorkflowExecutionCommandAttributes.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<FailWorkflowExecutionCommandAttributes.Builder>
-
getDefaultInstanceForType
public FailWorkflowExecutionCommandAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public FailWorkflowExecutionCommandAttributes build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FailWorkflowExecutionCommandAttributes buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FailWorkflowExecutionCommandAttributes.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<FailWorkflowExecutionCommandAttributes.Builder>
-
setField
public FailWorkflowExecutionCommandAttributes.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<FailWorkflowExecutionCommandAttributes.Builder>
-
clearField
public FailWorkflowExecutionCommandAttributes.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<FailWorkflowExecutionCommandAttributes.Builder>
-
clearOneof
public FailWorkflowExecutionCommandAttributes.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<FailWorkflowExecutionCommandAttributes.Builder>
-
setRepeatedField
public FailWorkflowExecutionCommandAttributes.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<FailWorkflowExecutionCommandAttributes.Builder>
-
addRepeatedField
public FailWorkflowExecutionCommandAttributes.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<FailWorkflowExecutionCommandAttributes.Builder>
-
mergeFrom
public FailWorkflowExecutionCommandAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FailWorkflowExecutionCommandAttributes.Builder>
-
mergeFrom
public FailWorkflowExecutionCommandAttributes.Builder mergeFrom(FailWorkflowExecutionCommandAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<FailWorkflowExecutionCommandAttributes.Builder>
-
mergeFrom
public FailWorkflowExecutionCommandAttributes.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<FailWorkflowExecutionCommandAttributes.Builder>
- Throws:
java.io.IOException
-
hasFailure
public boolean hasFailure()
.temporal.api.failure.v1.Failure failure = 1;
- Specified by:
hasFailure
in interfaceFailWorkflowExecutionCommandAttributesOrBuilder
- Returns:
- Whether the failure field is set.
-
getFailure
public Failure getFailure()
.temporal.api.failure.v1.Failure failure = 1;
- Specified by:
getFailure
in interfaceFailWorkflowExecutionCommandAttributesOrBuilder
- Returns:
- The failure.
-
setFailure
public FailWorkflowExecutionCommandAttributes.Builder setFailure(Failure value)
.temporal.api.failure.v1.Failure failure = 1;
-
setFailure
public FailWorkflowExecutionCommandAttributes.Builder setFailure(Failure.Builder builderForValue)
.temporal.api.failure.v1.Failure failure = 1;
-
mergeFailure
public FailWorkflowExecutionCommandAttributes.Builder mergeFailure(Failure value)
.temporal.api.failure.v1.Failure failure = 1;
-
clearFailure
public FailWorkflowExecutionCommandAttributes.Builder clearFailure()
.temporal.api.failure.v1.Failure failure = 1;
-
getFailureBuilder
public Failure.Builder getFailureBuilder()
.temporal.api.failure.v1.Failure failure = 1;
-
getFailureOrBuilder
public FailureOrBuilder getFailureOrBuilder()
.temporal.api.failure.v1.Failure failure = 1;
- Specified by:
getFailureOrBuilder
in interfaceFailWorkflowExecutionCommandAttributesOrBuilder
-
setUnknownFields
public final FailWorkflowExecutionCommandAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FailWorkflowExecutionCommandAttributes.Builder>
-
mergeUnknownFields
public final FailWorkflowExecutionCommandAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FailWorkflowExecutionCommandAttributes.Builder>
-
-