Package flyteidl.admin
Class ExecutionOuterClass.ExecutionCreateRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.ExecutionCreateRequest.Builder>
-
- flyteidl.admin.ExecutionOuterClass.ExecutionCreateRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ExecutionOuterClass.ExecutionCreateRequestOrBuilder,Cloneable
- Enclosing class:
- ExecutionOuterClass.ExecutionCreateRequest
public static final class ExecutionOuterClass.ExecutionCreateRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.ExecutionCreateRequest.Builder> implements ExecutionOuterClass.ExecutionCreateRequestOrBuilder
Request to launch an execution with the given project, domain and optionally-assigned name.
Protobuf typeflyteidl.admin.ExecutionCreateRequest
-
-
Field Summary
Fields Modifier and Type Field Description private intbitField0_private Objectdomain_private Literals.LiteralMapinputs_private com.google.protobuf.SingleFieldBuilderV3<Literals.LiteralMap,Literals.LiteralMap.Builder,Literals.LiteralMapOrBuilder>inputsBuilder_private Objectname_private Objectproject_private ExecutionOuterClass.ExecutionSpecspec_private com.google.protobuf.SingleFieldBuilderV3<ExecutionOuterClass.ExecutionSpec,ExecutionOuterClass.ExecutionSpec.Builder,ExecutionOuterClass.ExecutionSpecOrBuilder>specBuilder_
-
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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
project_
private Object project_
-
domain_
private Object domain_
-
name_
private Object name_
-
spec_
private ExecutionOuterClass.ExecutionSpec spec_
-
specBuilder_
private com.google.protobuf.SingleFieldBuilderV3<ExecutionOuterClass.ExecutionSpec,ExecutionOuterClass.ExecutionSpec.Builder,ExecutionOuterClass.ExecutionSpecOrBuilder> specBuilder_
-
inputs_
private Literals.LiteralMap inputs_
-
inputsBuilder_
private com.google.protobuf.SingleFieldBuilderV3<Literals.LiteralMap,Literals.LiteralMap.Builder,Literals.LiteralMapOrBuilder> inputsBuilder_
-
-
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.ExecutionCreateRequest.Builder>
-
clear
public ExecutionOuterClass.ExecutionCreateRequest.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.ExecutionCreateRequest.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.ExecutionCreateRequest.Builder>
-
getDefaultInstanceForType
public ExecutionOuterClass.ExecutionCreateRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExecutionOuterClass.ExecutionCreateRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExecutionOuterClass.ExecutionCreateRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(ExecutionOuterClass.ExecutionCreateRequest result)
-
clone
public ExecutionOuterClass.ExecutionCreateRequest.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.ExecutionCreateRequest.Builder>
-
setField
public ExecutionOuterClass.ExecutionCreateRequest.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.ExecutionCreateRequest.Builder>
-
clearField
public ExecutionOuterClass.ExecutionCreateRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.ExecutionCreateRequest.Builder>
-
clearOneof
public ExecutionOuterClass.ExecutionCreateRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.ExecutionCreateRequest.Builder>
-
setRepeatedField
public ExecutionOuterClass.ExecutionCreateRequest.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.ExecutionCreateRequest.Builder>
-
addRepeatedField
public ExecutionOuterClass.ExecutionCreateRequest.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.ExecutionCreateRequest.Builder>
-
mergeFrom
public ExecutionOuterClass.ExecutionCreateRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExecutionOuterClass.ExecutionCreateRequest.Builder>
-
mergeFrom
public ExecutionOuterClass.ExecutionCreateRequest.Builder mergeFrom(ExecutionOuterClass.ExecutionCreateRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.ExecutionCreateRequest.Builder>
-
mergeFrom
public ExecutionOuterClass.ExecutionCreateRequest.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.ExecutionCreateRequest.Builder>- Throws:
IOException
-
getProject
public String getProject()
Name of the project the execution belongs to. +required
string project = 1;- Specified by:
getProjectin interfaceExecutionOuterClass.ExecutionCreateRequestOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
Name of the project the execution belongs to. +required
string project = 1;- Specified by:
getProjectBytesin interfaceExecutionOuterClass.ExecutionCreateRequestOrBuilder- Returns:
- The bytes for project.
-
setProject
public ExecutionOuterClass.ExecutionCreateRequest.Builder setProject(String value)
Name of the project the execution belongs to. +required
string project = 1;- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
public ExecutionOuterClass.ExecutionCreateRequest.Builder clearProject()
Name of the project the execution belongs to. +required
string project = 1;- Returns:
- This builder for chaining.
-
setProjectBytes
public ExecutionOuterClass.ExecutionCreateRequest.Builder setProjectBytes(com.google.protobuf.ByteString value)
Name of the project the execution belongs to. +required
string project = 1;- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
getDomain
public String getDomain()
Name of the domain the execution belongs to. A domain can be considered as a subset within a specific project. +required
string domain = 2;- Specified by:
getDomainin interfaceExecutionOuterClass.ExecutionCreateRequestOrBuilder- Returns:
- The domain.
-
getDomainBytes
public com.google.protobuf.ByteString getDomainBytes()
Name of the domain the execution belongs to. A domain can be considered as a subset within a specific project. +required
string domain = 2;- Specified by:
getDomainBytesin interfaceExecutionOuterClass.ExecutionCreateRequestOrBuilder- Returns:
- The bytes for domain.
-
setDomain
public ExecutionOuterClass.ExecutionCreateRequest.Builder setDomain(String value)
Name of the domain the execution belongs to. A domain can be considered as a subset within a specific project. +required
string domain = 2;- Parameters:
value- The domain to set.- Returns:
- This builder for chaining.
-
clearDomain
public ExecutionOuterClass.ExecutionCreateRequest.Builder clearDomain()
Name of the domain the execution belongs to. A domain can be considered as a subset within a specific project. +required
string domain = 2;- Returns:
- This builder for chaining.
-
setDomainBytes
public ExecutionOuterClass.ExecutionCreateRequest.Builder setDomainBytes(com.google.protobuf.ByteString value)
Name of the domain the execution belongs to. A domain can be considered as a subset within a specific project. +required
string domain = 2;- Parameters:
value- The bytes for domain to set.- Returns:
- This builder for chaining.
-
getName
public String getName()
User provided value for the resource. If none is provided the system will generate a unique string. +optional
string name = 3;- Specified by:
getNamein interfaceExecutionOuterClass.ExecutionCreateRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
User provided value for the resource. If none is provided the system will generate a unique string. +optional
string name = 3;- Specified by:
getNameBytesin interfaceExecutionOuterClass.ExecutionCreateRequestOrBuilder- Returns:
- The bytes for name.
-
setName
public ExecutionOuterClass.ExecutionCreateRequest.Builder setName(String value)
User provided value for the resource. If none is provided the system will generate a unique string. +optional
string name = 3;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ExecutionOuterClass.ExecutionCreateRequest.Builder clearName()
User provided value for the resource. If none is provided the system will generate a unique string. +optional
string name = 3;- Returns:
- This builder for chaining.
-
setNameBytes
public ExecutionOuterClass.ExecutionCreateRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
User provided value for the resource. If none is provided the system will generate a unique string. +optional
string name = 3;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasSpec
public boolean hasSpec()
Additional fields necessary to launch the execution. +optional
.flyteidl.admin.ExecutionSpec spec = 4;- Specified by:
hasSpecin interfaceExecutionOuterClass.ExecutionCreateRequestOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
public ExecutionOuterClass.ExecutionSpec getSpec()
Additional fields necessary to launch the execution. +optional
.flyteidl.admin.ExecutionSpec spec = 4;- Specified by:
getSpecin interfaceExecutionOuterClass.ExecutionCreateRequestOrBuilder- Returns:
- The spec.
-
setSpec
public ExecutionOuterClass.ExecutionCreateRequest.Builder setSpec(ExecutionOuterClass.ExecutionSpec value)
Additional fields necessary to launch the execution. +optional
.flyteidl.admin.ExecutionSpec spec = 4;
-
setSpec
public ExecutionOuterClass.ExecutionCreateRequest.Builder setSpec(ExecutionOuterClass.ExecutionSpec.Builder builderForValue)
Additional fields necessary to launch the execution. +optional
.flyteidl.admin.ExecutionSpec spec = 4;
-
mergeSpec
public ExecutionOuterClass.ExecutionCreateRequest.Builder mergeSpec(ExecutionOuterClass.ExecutionSpec value)
Additional fields necessary to launch the execution. +optional
.flyteidl.admin.ExecutionSpec spec = 4;
-
clearSpec
public ExecutionOuterClass.ExecutionCreateRequest.Builder clearSpec()
Additional fields necessary to launch the execution. +optional
.flyteidl.admin.ExecutionSpec spec = 4;
-
getSpecBuilder
public ExecutionOuterClass.ExecutionSpec.Builder getSpecBuilder()
Additional fields necessary to launch the execution. +optional
.flyteidl.admin.ExecutionSpec spec = 4;
-
getSpecOrBuilder
public ExecutionOuterClass.ExecutionSpecOrBuilder getSpecOrBuilder()
Additional fields necessary to launch the execution. +optional
.flyteidl.admin.ExecutionSpec spec = 4;- Specified by:
getSpecOrBuilderin interfaceExecutionOuterClass.ExecutionCreateRequestOrBuilder
-
getSpecFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<ExecutionOuterClass.ExecutionSpec,ExecutionOuterClass.ExecutionSpec.Builder,ExecutionOuterClass.ExecutionSpecOrBuilder> getSpecFieldBuilder()
Additional fields necessary to launch the execution. +optional
.flyteidl.admin.ExecutionSpec spec = 4;
-
hasInputs
public boolean hasInputs()
The inputs required to start the execution. All required inputs must be included in this map. If not required and not provided, defaults apply. +optional
.flyteidl.core.LiteralMap inputs = 5;- Specified by:
hasInputsin interfaceExecutionOuterClass.ExecutionCreateRequestOrBuilder- Returns:
- Whether the inputs field is set.
-
getInputs
public Literals.LiteralMap getInputs()
The inputs required to start the execution. All required inputs must be included in this map. If not required and not provided, defaults apply. +optional
.flyteidl.core.LiteralMap inputs = 5;- Specified by:
getInputsin interfaceExecutionOuterClass.ExecutionCreateRequestOrBuilder- Returns:
- The inputs.
-
setInputs
public ExecutionOuterClass.ExecutionCreateRequest.Builder setInputs(Literals.LiteralMap value)
The inputs required to start the execution. All required inputs must be included in this map. If not required and not provided, defaults apply. +optional
.flyteidl.core.LiteralMap inputs = 5;
-
setInputs
public ExecutionOuterClass.ExecutionCreateRequest.Builder setInputs(Literals.LiteralMap.Builder builderForValue)
The inputs required to start the execution. All required inputs must be included in this map. If not required and not provided, defaults apply. +optional
.flyteidl.core.LiteralMap inputs = 5;
-
mergeInputs
public ExecutionOuterClass.ExecutionCreateRequest.Builder mergeInputs(Literals.LiteralMap value)
The inputs required to start the execution. All required inputs must be included in this map. If not required and not provided, defaults apply. +optional
.flyteidl.core.LiteralMap inputs = 5;
-
clearInputs
public ExecutionOuterClass.ExecutionCreateRequest.Builder clearInputs()
The inputs required to start the execution. All required inputs must be included in this map. If not required and not provided, defaults apply. +optional
.flyteidl.core.LiteralMap inputs = 5;
-
getInputsBuilder
public Literals.LiteralMap.Builder getInputsBuilder()
The inputs required to start the execution. All required inputs must be included in this map. If not required and not provided, defaults apply. +optional
.flyteidl.core.LiteralMap inputs = 5;
-
getInputsOrBuilder
public Literals.LiteralMapOrBuilder getInputsOrBuilder()
The inputs required to start the execution. All required inputs must be included in this map. If not required and not provided, defaults apply. +optional
.flyteidl.core.LiteralMap inputs = 5;- Specified by:
getInputsOrBuilderin interfaceExecutionOuterClass.ExecutionCreateRequestOrBuilder
-
getInputsFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<Literals.LiteralMap,Literals.LiteralMap.Builder,Literals.LiteralMapOrBuilder> getInputsFieldBuilder()
The inputs required to start the execution. All required inputs must be included in this map. If not required and not provided, defaults apply. +optional
.flyteidl.core.LiteralMap inputs = 5;
-
setUnknownFields
public final ExecutionOuterClass.ExecutionCreateRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.ExecutionCreateRequest.Builder>
-
mergeUnknownFields
public final ExecutionOuterClass.ExecutionCreateRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExecutionOuterClass.ExecutionCreateRequest.Builder>
-
-