Package flyteidl.admin
Class ExecutionOuterClass.AbortMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.AbortMetadata.Builder>
-
- flyteidl.admin.ExecutionOuterClass.AbortMetadata.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ExecutionOuterClass.AbortMetadataOrBuilder,Cloneable
- Enclosing class:
- ExecutionOuterClass.AbortMetadata
public static final class ExecutionOuterClass.AbortMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.AbortMetadata.Builder> implements ExecutionOuterClass.AbortMetadataOrBuilder
Specifies metadata around an aborted workflow execution.
Protobuf typeflyteidl.admin.AbortMetadata
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private Objectcause_private Objectprincipal_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionOuterClass.AbortMetadata.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExecutionOuterClass.AbortMetadatabuild()ExecutionOuterClass.AbortMetadatabuildPartial()private voidbuildPartial0(ExecutionOuterClass.AbortMetadata result)ExecutionOuterClass.AbortMetadata.Builderclear()ExecutionOuterClass.AbortMetadata.BuilderclearCause()In the case of a user-specified abort, this will pass along the user-supplied cause.ExecutionOuterClass.AbortMetadata.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ExecutionOuterClass.AbortMetadata.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ExecutionOuterClass.AbortMetadata.BuilderclearPrincipal()Identifies the entity (if any) responsible for terminating the executionExecutionOuterClass.AbortMetadata.Builderclone()StringgetCause()In the case of a user-specified abort, this will pass along the user-supplied cause.com.google.protobuf.ByteStringgetCauseBytes()In the case of a user-specified abort, this will pass along the user-supplied cause.ExecutionOuterClass.AbortMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetPrincipal()Identifies the entity (if any) responsible for terminating the executioncom.google.protobuf.ByteStringgetPrincipalBytes()Identifies the entity (if any) responsible for terminating the executionprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ExecutionOuterClass.AbortMetadata.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ExecutionOuterClass.AbortMetadata.BuildermergeFrom(com.google.protobuf.Message other)ExecutionOuterClass.AbortMetadata.BuildermergeFrom(ExecutionOuterClass.AbortMetadata other)ExecutionOuterClass.AbortMetadata.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ExecutionOuterClass.AbortMetadata.BuildersetCause(String value)In the case of a user-specified abort, this will pass along the user-supplied cause.ExecutionOuterClass.AbortMetadata.BuildersetCauseBytes(com.google.protobuf.ByteString value)In the case of a user-specified abort, this will pass along the user-supplied cause.ExecutionOuterClass.AbortMetadata.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ExecutionOuterClass.AbortMetadata.BuildersetPrincipal(String value)Identifies the entity (if any) responsible for terminating the executionExecutionOuterClass.AbortMetadata.BuildersetPrincipalBytes(com.google.protobuf.ByteString value)Identifies the entity (if any) responsible for terminating the executionExecutionOuterClass.AbortMetadata.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ExecutionOuterClass.AbortMetadata.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.AbortMetadata.Builder>
-
clear
public ExecutionOuterClass.AbortMetadata.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<ExecutionOuterClass.AbortMetadata.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<ExecutionOuterClass.AbortMetadata.Builder>
-
getDefaultInstanceForType
public ExecutionOuterClass.AbortMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExecutionOuterClass.AbortMetadata build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExecutionOuterClass.AbortMetadata buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(ExecutionOuterClass.AbortMetadata result)
-
clone
public ExecutionOuterClass.AbortMetadata.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<ExecutionOuterClass.AbortMetadata.Builder>
-
setField
public ExecutionOuterClass.AbortMetadata.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<ExecutionOuterClass.AbortMetadata.Builder>
-
clearField
public ExecutionOuterClass.AbortMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.AbortMetadata.Builder>
-
clearOneof
public ExecutionOuterClass.AbortMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.AbortMetadata.Builder>
-
setRepeatedField
public ExecutionOuterClass.AbortMetadata.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<ExecutionOuterClass.AbortMetadata.Builder>
-
addRepeatedField
public ExecutionOuterClass.AbortMetadata.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<ExecutionOuterClass.AbortMetadata.Builder>
-
mergeFrom
public ExecutionOuterClass.AbortMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExecutionOuterClass.AbortMetadata.Builder>
-
mergeFrom
public ExecutionOuterClass.AbortMetadata.Builder mergeFrom(ExecutionOuterClass.AbortMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.AbortMetadata.Builder>
-
mergeFrom
public ExecutionOuterClass.AbortMetadata.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<ExecutionOuterClass.AbortMetadata.Builder>- Throws:
IOException
-
getCause
public String getCause()
In the case of a user-specified abort, this will pass along the user-supplied cause.
string cause = 1;- Specified by:
getCausein interfaceExecutionOuterClass.AbortMetadataOrBuilder- Returns:
- The cause.
-
getCauseBytes
public com.google.protobuf.ByteString getCauseBytes()
In the case of a user-specified abort, this will pass along the user-supplied cause.
string cause = 1;- Specified by:
getCauseBytesin interfaceExecutionOuterClass.AbortMetadataOrBuilder- Returns:
- The bytes for cause.
-
setCause
public ExecutionOuterClass.AbortMetadata.Builder setCause(String value)
In the case of a user-specified abort, this will pass along the user-supplied cause.
string cause = 1;- Parameters:
value- The cause to set.- Returns:
- This builder for chaining.
-
clearCause
public ExecutionOuterClass.AbortMetadata.Builder clearCause()
In the case of a user-specified abort, this will pass along the user-supplied cause.
string cause = 1;- Returns:
- This builder for chaining.
-
setCauseBytes
public ExecutionOuterClass.AbortMetadata.Builder setCauseBytes(com.google.protobuf.ByteString value)
In the case of a user-specified abort, this will pass along the user-supplied cause.
string cause = 1;- Parameters:
value- The bytes for cause to set.- Returns:
- This builder for chaining.
-
getPrincipal
public String getPrincipal()
Identifies the entity (if any) responsible for terminating the execution
string principal = 2;- Specified by:
getPrincipalin interfaceExecutionOuterClass.AbortMetadataOrBuilder- Returns:
- The principal.
-
getPrincipalBytes
public com.google.protobuf.ByteString getPrincipalBytes()
Identifies the entity (if any) responsible for terminating the execution
string principal = 2;- Specified by:
getPrincipalBytesin interfaceExecutionOuterClass.AbortMetadataOrBuilder- Returns:
- The bytes for principal.
-
setPrincipal
public ExecutionOuterClass.AbortMetadata.Builder setPrincipal(String value)
Identifies the entity (if any) responsible for terminating the execution
string principal = 2;- Parameters:
value- The principal to set.- Returns:
- This builder for chaining.
-
clearPrincipal
public ExecutionOuterClass.AbortMetadata.Builder clearPrincipal()
Identifies the entity (if any) responsible for terminating the execution
string principal = 2;- Returns:
- This builder for chaining.
-
setPrincipalBytes
public ExecutionOuterClass.AbortMetadata.Builder setPrincipalBytes(com.google.protobuf.ByteString value)
Identifies the entity (if any) responsible for terminating the execution
string principal = 2;- Parameters:
value- The bytes for principal to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ExecutionOuterClass.AbortMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.AbortMetadata.Builder>
-
mergeUnknownFields
public final ExecutionOuterClass.AbortMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.AbortMetadata.Builder>
-
-