Package flyteidl.core
Class Tasks.Container.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Tasks.Container.Builder>
-
- flyteidl.core.Tasks.Container.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Tasks.ContainerOrBuilder,Cloneable
- Enclosing class:
- Tasks.Container
public static final class Tasks.Container.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Tasks.Container.Builder> implements Tasks.ContainerOrBuilder
Protobuf typeflyteidl.core.Container
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Tasks.Container.BuilderaddAllArgs(Iterable<String> values)These will default to Flyte given paths.Tasks.Container.BuilderaddAllCommand(Iterable<String> values)Command to be executed, if not provided, the default entrypoint in the container image will be used.Tasks.Container.BuilderaddAllConfig(Iterable<? extends Literals.KeyValuePair> values)Deprecated.Tasks.Container.BuilderaddAllEnv(Iterable<? extends Literals.KeyValuePair> values)Environment variables will be set as the container is starting up.Tasks.Container.BuilderaddAllPorts(Iterable<? extends Tasks.ContainerPort> values)Ports to open in the container.Tasks.Container.BuilderaddArgs(String value)These will default to Flyte given paths.Tasks.Container.BuilderaddArgsBytes(com.google.protobuf.ByteString value)These will default to Flyte given paths.Tasks.Container.BuilderaddCommand(String value)Command to be executed, if not provided, the default entrypoint in the container image will be used.Tasks.Container.BuilderaddCommandBytes(com.google.protobuf.ByteString value)Command to be executed, if not provided, the default entrypoint in the container image will be used.Tasks.Container.BuilderaddConfig(int index, Literals.KeyValuePair value)Deprecated.Tasks.Container.BuilderaddConfig(int index, Literals.KeyValuePair.Builder builderForValue)Deprecated.Tasks.Container.BuilderaddConfig(Literals.KeyValuePair value)Deprecated.Tasks.Container.BuilderaddConfig(Literals.KeyValuePair.Builder builderForValue)Deprecated.Literals.KeyValuePair.BuilderaddConfigBuilder()Deprecated.Literals.KeyValuePair.BuilderaddConfigBuilder(int index)Deprecated.Tasks.Container.BuilderaddEnv(int index, Literals.KeyValuePair value)Environment variables will be set as the container is starting up.Tasks.Container.BuilderaddEnv(int index, Literals.KeyValuePair.Builder builderForValue)Environment variables will be set as the container is starting up.Tasks.Container.BuilderaddEnv(Literals.KeyValuePair value)Environment variables will be set as the container is starting up.Tasks.Container.BuilderaddEnv(Literals.KeyValuePair.Builder builderForValue)Environment variables will be set as the container is starting up.Literals.KeyValuePair.BuilderaddEnvBuilder()Environment variables will be set as the container is starting up.Literals.KeyValuePair.BuilderaddEnvBuilder(int index)Environment variables will be set as the container is starting up.Tasks.Container.BuilderaddPorts(int index, Tasks.ContainerPort value)Ports to open in the container.Tasks.Container.BuilderaddPorts(int index, Tasks.ContainerPort.Builder builderForValue)Ports to open in the container.Tasks.Container.BuilderaddPorts(Tasks.ContainerPort value)Ports to open in the container.Tasks.Container.BuilderaddPorts(Tasks.ContainerPort.Builder builderForValue)Ports to open in the container.Tasks.ContainerPort.BuilderaddPortsBuilder()Ports to open in the container.Tasks.ContainerPort.BuilderaddPortsBuilder(int index)Ports to open in the container.Tasks.Container.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Tasks.Containerbuild()Tasks.ContainerbuildPartial()private voidbuildPartial0(Tasks.Container result)private voidbuildPartialRepeatedFields(Tasks.Container result)Tasks.Container.Builderclear()Tasks.Container.BuilderclearArchitecture().flyteidl.core.Container.Architecture architecture = 10;Tasks.Container.BuilderclearArgs()These will default to Flyte given paths.Tasks.Container.BuilderclearCommand()Command to be executed, if not provided, the default entrypoint in the container image will be used.Tasks.Container.BuilderclearConfig()Deprecated.Tasks.Container.BuilderclearDataConfig()BETA: Optional configuration for DataLoading.Tasks.Container.BuilderclearEnv()Environment variables will be set as the container is starting up.Tasks.Container.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Tasks.Container.BuilderclearImage()Container image url.Tasks.Container.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Tasks.Container.BuilderclearPorts()Ports to open in the container.Tasks.Container.BuilderclearResources()Container resources requirement as specified by the container engine.Tasks.Container.Builderclone()private voidensureArgsIsMutable()private voidensureCommandIsMutable()private voidensureConfigIsMutable()private voidensureEnvIsMutable()private voidensurePortsIsMutable()Tasks.Container.ArchitecturegetArchitecture().flyteidl.core.Container.Architecture architecture = 10;intgetArchitectureValue().flyteidl.core.Container.Architecture architecture = 10;StringgetArgs(int index)These will default to Flyte given paths.com.google.protobuf.ByteStringgetArgsBytes(int index)These will default to Flyte given paths.intgetArgsCount()These will default to Flyte given paths.com.google.protobuf.ProtocolStringListgetArgsList()These will default to Flyte given paths.StringgetCommand(int index)Command to be executed, if not provided, the default entrypoint in the container image will be used.com.google.protobuf.ByteStringgetCommandBytes(int index)Command to be executed, if not provided, the default entrypoint in the container image will be used.intgetCommandCount()Command to be executed, if not provided, the default entrypoint in the container image will be used.com.google.protobuf.ProtocolStringListgetCommandList()Command to be executed, if not provided, the default entrypoint in the container image will be used.Literals.KeyValuePairgetConfig(int index)Deprecated.Literals.KeyValuePair.BuildergetConfigBuilder(int index)Deprecated.List<Literals.KeyValuePair.Builder>getConfigBuilderList()Deprecated.intgetConfigCount()Deprecated.private com.google.protobuf.RepeatedFieldBuilderV3<Literals.KeyValuePair,Literals.KeyValuePair.Builder,Literals.KeyValuePairOrBuilder>getConfigFieldBuilder()List<Literals.KeyValuePair>getConfigList()Deprecated.Literals.KeyValuePairOrBuildergetConfigOrBuilder(int index)Deprecated.List<? extends Literals.KeyValuePairOrBuilder>getConfigOrBuilderList()Deprecated.Tasks.DataLoadingConfiggetDataConfig()BETA: Optional configuration for DataLoading.Tasks.DataLoadingConfig.BuildergetDataConfigBuilder()BETA: Optional configuration for DataLoading.private com.google.protobuf.SingleFieldBuilderV3<Tasks.DataLoadingConfig,Tasks.DataLoadingConfig.Builder,Tasks.DataLoadingConfigOrBuilder>getDataConfigFieldBuilder()BETA: Optional configuration for DataLoading.Tasks.DataLoadingConfigOrBuildergetDataConfigOrBuilder()BETA: Optional configuration for DataLoading.Tasks.ContainergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Literals.KeyValuePairgetEnv(int index)Environment variables will be set as the container is starting up.Literals.KeyValuePair.BuildergetEnvBuilder(int index)Environment variables will be set as the container is starting up.List<Literals.KeyValuePair.Builder>getEnvBuilderList()Environment variables will be set as the container is starting up.intgetEnvCount()Environment variables will be set as the container is starting up.private com.google.protobuf.RepeatedFieldBuilderV3<Literals.KeyValuePair,Literals.KeyValuePair.Builder,Literals.KeyValuePairOrBuilder>getEnvFieldBuilder()List<Literals.KeyValuePair>getEnvList()Environment variables will be set as the container is starting up.Literals.KeyValuePairOrBuildergetEnvOrBuilder(int index)Environment variables will be set as the container is starting up.List<? extends Literals.KeyValuePairOrBuilder>getEnvOrBuilderList()Environment variables will be set as the container is starting up.StringgetImage()Container image url.com.google.protobuf.ByteStringgetImageBytes()Container image url.Tasks.ContainerPortgetPorts(int index)Ports to open in the container.Tasks.ContainerPort.BuildergetPortsBuilder(int index)Ports to open in the container.List<Tasks.ContainerPort.Builder>getPortsBuilderList()Ports to open in the container.intgetPortsCount()Ports to open in the container.private com.google.protobuf.RepeatedFieldBuilderV3<Tasks.ContainerPort,Tasks.ContainerPort.Builder,Tasks.ContainerPortOrBuilder>getPortsFieldBuilder()List<Tasks.ContainerPort>getPortsList()Ports to open in the container.Tasks.ContainerPortOrBuildergetPortsOrBuilder(int index)Ports to open in the container.List<? extends Tasks.ContainerPortOrBuilder>getPortsOrBuilderList()Ports to open in the container.Tasks.ResourcesgetResources()Container resources requirement as specified by the container engine.Tasks.Resources.BuildergetResourcesBuilder()Container resources requirement as specified by the container engine.private com.google.protobuf.SingleFieldBuilderV3<Tasks.Resources,Tasks.Resources.Builder,Tasks.ResourcesOrBuilder>getResourcesFieldBuilder()Container resources requirement as specified by the container engine.Tasks.ResourcesOrBuildergetResourcesOrBuilder()Container resources requirement as specified by the container engine.booleanhasDataConfig()BETA: Optional configuration for DataLoading.booleanhasResources()Container resources requirement as specified by the container engine.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Tasks.Container.BuildermergeDataConfig(Tasks.DataLoadingConfig value)BETA: Optional configuration for DataLoading.Tasks.Container.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Tasks.Container.BuildermergeFrom(com.google.protobuf.Message other)Tasks.Container.BuildermergeFrom(Tasks.Container other)Tasks.Container.BuildermergeResources(Tasks.Resources value)Container resources requirement as specified by the container engine.Tasks.Container.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Tasks.Container.BuilderremoveConfig(int index)Deprecated.Tasks.Container.BuilderremoveEnv(int index)Environment variables will be set as the container is starting up.Tasks.Container.BuilderremovePorts(int index)Ports to open in the container.Tasks.Container.BuildersetArchitecture(Tasks.Container.Architecture value).flyteidl.core.Container.Architecture architecture = 10;Tasks.Container.BuildersetArchitectureValue(int value).flyteidl.core.Container.Architecture architecture = 10;Tasks.Container.BuildersetArgs(int index, String value)These will default to Flyte given paths.Tasks.Container.BuildersetCommand(int index, String value)Command to be executed, if not provided, the default entrypoint in the container image will be used.Tasks.Container.BuildersetConfig(int index, Literals.KeyValuePair value)Deprecated.Tasks.Container.BuildersetConfig(int index, Literals.KeyValuePair.Builder builderForValue)Deprecated.Tasks.Container.BuildersetDataConfig(Tasks.DataLoadingConfig value)BETA: Optional configuration for DataLoading.Tasks.Container.BuildersetDataConfig(Tasks.DataLoadingConfig.Builder builderForValue)BETA: Optional configuration for DataLoading.Tasks.Container.BuildersetEnv(int index, Literals.KeyValuePair value)Environment variables will be set as the container is starting up.Tasks.Container.BuildersetEnv(int index, Literals.KeyValuePair.Builder builderForValue)Environment variables will be set as the container is starting up.Tasks.Container.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Tasks.Container.BuildersetImage(String value)Container image url.Tasks.Container.BuildersetImageBytes(com.google.protobuf.ByteString value)Container image url.Tasks.Container.BuildersetPorts(int index, Tasks.ContainerPort value)Ports to open in the container.Tasks.Container.BuildersetPorts(int index, Tasks.ContainerPort.Builder builderForValue)Ports to open in the container.Tasks.Container.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Tasks.Container.BuildersetResources(Tasks.Resources value)Container resources requirement as specified by the container engine.Tasks.Container.BuildersetResources(Tasks.Resources.Builder builderForValue)Container resources requirement as specified by the container engine.Tasks.Container.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
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
image_
private Object image_
-
command_
private com.google.protobuf.LazyStringList command_
-
args_
private com.google.protobuf.LazyStringList args_
-
resources_
private Tasks.Resources resources_
-
resourcesBuilder_
private com.google.protobuf.SingleFieldBuilderV3<Tasks.Resources,Tasks.Resources.Builder,Tasks.ResourcesOrBuilder> resourcesBuilder_
-
env_
private List<Literals.KeyValuePair> env_
-
envBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<Literals.KeyValuePair,Literals.KeyValuePair.Builder,Literals.KeyValuePairOrBuilder> envBuilder_
-
config_
private List<Literals.KeyValuePair> config_
-
configBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<Literals.KeyValuePair,Literals.KeyValuePair.Builder,Literals.KeyValuePairOrBuilder> configBuilder_
-
ports_
private List<Tasks.ContainerPort> ports_
-
portsBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<Tasks.ContainerPort,Tasks.ContainerPort.Builder,Tasks.ContainerPortOrBuilder> portsBuilder_
-
dataConfig_
private Tasks.DataLoadingConfig dataConfig_
-
dataConfigBuilder_
private com.google.protobuf.SingleFieldBuilderV3<Tasks.DataLoadingConfig,Tasks.DataLoadingConfig.Builder,Tasks.DataLoadingConfigOrBuilder> dataConfigBuilder_
-
architecture_
private int architecture_
-
-
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<Tasks.Container.Builder>
-
clear
public Tasks.Container.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<Tasks.Container.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<Tasks.Container.Builder>
-
getDefaultInstanceForType
public Tasks.Container getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Tasks.Container build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Tasks.Container buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(Tasks.Container result)
-
buildPartial0
private void buildPartial0(Tasks.Container result)
-
clone
public Tasks.Container.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<Tasks.Container.Builder>
-
setField
public Tasks.Container.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<Tasks.Container.Builder>
-
clearField
public Tasks.Container.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Tasks.Container.Builder>
-
clearOneof
public Tasks.Container.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Tasks.Container.Builder>
-
setRepeatedField
public Tasks.Container.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<Tasks.Container.Builder>
-
addRepeatedField
public Tasks.Container.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<Tasks.Container.Builder>
-
mergeFrom
public Tasks.Container.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Tasks.Container.Builder>
-
mergeFrom
public Tasks.Container.Builder mergeFrom(Tasks.Container other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Tasks.Container.Builder>
-
mergeFrom
public Tasks.Container.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<Tasks.Container.Builder>- Throws:
IOException
-
getImage
public String getImage()
Container image url. Eg: docker/redis:latest
string image = 1;- Specified by:
getImagein interfaceTasks.ContainerOrBuilder- Returns:
- The image.
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()
Container image url. Eg: docker/redis:latest
string image = 1;- Specified by:
getImageBytesin interfaceTasks.ContainerOrBuilder- Returns:
- The bytes for image.
-
setImage
public Tasks.Container.Builder setImage(String value)
Container image url. Eg: docker/redis:latest
string image = 1;- Parameters:
value- The image to set.- Returns:
- This builder for chaining.
-
clearImage
public Tasks.Container.Builder clearImage()
Container image url. Eg: docker/redis:latest
string image = 1;- Returns:
- This builder for chaining.
-
setImageBytes
public Tasks.Container.Builder setImageBytes(com.google.protobuf.ByteString value)
Container image url. Eg: docker/redis:latest
string image = 1;- Parameters:
value- The bytes for image to set.- Returns:
- This builder for chaining.
-
ensureCommandIsMutable
private void ensureCommandIsMutable()
-
getCommandList
public com.google.protobuf.ProtocolStringList getCommandList()
Command to be executed, if not provided, the default entrypoint in the container image will be used.
repeated string command = 2;- Specified by:
getCommandListin interfaceTasks.ContainerOrBuilder- Returns:
- A list containing the command.
-
getCommandCount
public int getCommandCount()
Command to be executed, if not provided, the default entrypoint in the container image will be used.
repeated string command = 2;- Specified by:
getCommandCountin interfaceTasks.ContainerOrBuilder- Returns:
- The count of command.
-
getCommand
public String getCommand(int index)
Command to be executed, if not provided, the default entrypoint in the container image will be used.
repeated string command = 2;- Specified by:
getCommandin interfaceTasks.ContainerOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The command at the given index.
-
getCommandBytes
public com.google.protobuf.ByteString getCommandBytes(int index)
Command to be executed, if not provided, the default entrypoint in the container image will be used.
repeated string command = 2;- Specified by:
getCommandBytesin interfaceTasks.ContainerOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the command at the given index.
-
setCommand
public Tasks.Container.Builder setCommand(int index, String value)
Command to be executed, if not provided, the default entrypoint in the container image will be used.
repeated string command = 2;- Parameters:
index- The index to set the value at.value- The command to set.- Returns:
- This builder for chaining.
-
addCommand
public Tasks.Container.Builder addCommand(String value)
Command to be executed, if not provided, the default entrypoint in the container image will be used.
repeated string command = 2;- Parameters:
value- The command to add.- Returns:
- This builder for chaining.
-
addAllCommand
public Tasks.Container.Builder addAllCommand(Iterable<String> values)
Command to be executed, if not provided, the default entrypoint in the container image will be used.
repeated string command = 2;- Parameters:
values- The command to add.- Returns:
- This builder for chaining.
-
clearCommand
public Tasks.Container.Builder clearCommand()
Command to be executed, if not provided, the default entrypoint in the container image will be used.
repeated string command = 2;- Returns:
- This builder for chaining.
-
addCommandBytes
public Tasks.Container.Builder addCommandBytes(com.google.protobuf.ByteString value)
Command to be executed, if not provided, the default entrypoint in the container image will be used.
repeated string command = 2;- Parameters:
value- The bytes of the command to add.- Returns:
- This builder for chaining.
-
ensureArgsIsMutable
private void ensureArgsIsMutable()
-
getArgsList
public com.google.protobuf.ProtocolStringList getArgsList()
These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container.
repeated string args = 3;- Specified by:
getArgsListin interfaceTasks.ContainerOrBuilder- Returns:
- A list containing the args.
-
getArgsCount
public int getArgsCount()
These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container.
repeated string args = 3;- Specified by:
getArgsCountin interfaceTasks.ContainerOrBuilder- Returns:
- The count of args.
-
getArgs
public String getArgs(int index)
These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container.
repeated string args = 3;- Specified by:
getArgsin interfaceTasks.ContainerOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The args at the given index.
-
getArgsBytes
public com.google.protobuf.ByteString getArgsBytes(int index)
These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container.
repeated string args = 3;- Specified by:
getArgsBytesin interfaceTasks.ContainerOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the args at the given index.
-
setArgs
public Tasks.Container.Builder setArgs(int index, String value)
These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container.
repeated string args = 3;- Parameters:
index- The index to set the value at.value- The args to set.- Returns:
- This builder for chaining.
-
addArgs
public Tasks.Container.Builder addArgs(String value)
These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container.
repeated string args = 3;- Parameters:
value- The args to add.- Returns:
- This builder for chaining.
-
addAllArgs
public Tasks.Container.Builder addAllArgs(Iterable<String> values)
These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container.
repeated string args = 3;- Parameters:
values- The args to add.- Returns:
- This builder for chaining.
-
clearArgs
public Tasks.Container.Builder clearArgs()
These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container.
repeated string args = 3;- Returns:
- This builder for chaining.
-
addArgsBytes
public Tasks.Container.Builder addArgsBytes(com.google.protobuf.ByteString value)
These will default to Flyte given paths. If provided, the system will not append known paths. If the task still needs flyte's inputs and outputs path, add $(FLYTE_INPUT_FILE), $(FLYTE_OUTPUT_FILE) wherever makes sense and the system will populate these before executing the container.
repeated string args = 3;- Parameters:
value- The bytes of the args to add.- Returns:
- This builder for chaining.
-
hasResources
public boolean hasResources()
Container resources requirement as specified by the container engine.
.flyteidl.core.Resources resources = 4;- Specified by:
hasResourcesin interfaceTasks.ContainerOrBuilder- Returns:
- Whether the resources field is set.
-
getResources
public Tasks.Resources getResources()
Container resources requirement as specified by the container engine.
.flyteidl.core.Resources resources = 4;- Specified by:
getResourcesin interfaceTasks.ContainerOrBuilder- Returns:
- The resources.
-
setResources
public Tasks.Container.Builder setResources(Tasks.Resources value)
Container resources requirement as specified by the container engine.
.flyteidl.core.Resources resources = 4;
-
setResources
public Tasks.Container.Builder setResources(Tasks.Resources.Builder builderForValue)
Container resources requirement as specified by the container engine.
.flyteidl.core.Resources resources = 4;
-
mergeResources
public Tasks.Container.Builder mergeResources(Tasks.Resources value)
Container resources requirement as specified by the container engine.
.flyteidl.core.Resources resources = 4;
-
clearResources
public Tasks.Container.Builder clearResources()
Container resources requirement as specified by the container engine.
.flyteidl.core.Resources resources = 4;
-
getResourcesBuilder
public Tasks.Resources.Builder getResourcesBuilder()
Container resources requirement as specified by the container engine.
.flyteidl.core.Resources resources = 4;
-
getResourcesOrBuilder
public Tasks.ResourcesOrBuilder getResourcesOrBuilder()
Container resources requirement as specified by the container engine.
.flyteidl.core.Resources resources = 4;- Specified by:
getResourcesOrBuilderin interfaceTasks.ContainerOrBuilder
-
getResourcesFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<Tasks.Resources,Tasks.Resources.Builder,Tasks.ResourcesOrBuilder> getResourcesFieldBuilder()
Container resources requirement as specified by the container engine.
.flyteidl.core.Resources resources = 4;
-
ensureEnvIsMutable
private void ensureEnvIsMutable()
-
getEnvList
public List<Literals.KeyValuePair> getEnvList()
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;- Specified by:
getEnvListin interfaceTasks.ContainerOrBuilder
-
getEnvCount
public int getEnvCount()
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;- Specified by:
getEnvCountin interfaceTasks.ContainerOrBuilder
-
getEnv
public Literals.KeyValuePair getEnv(int index)
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;- Specified by:
getEnvin interfaceTasks.ContainerOrBuilder
-
setEnv
public Tasks.Container.Builder setEnv(int index, Literals.KeyValuePair value)
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
setEnv
public Tasks.Container.Builder setEnv(int index, Literals.KeyValuePair.Builder builderForValue)
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
addEnv
public Tasks.Container.Builder addEnv(Literals.KeyValuePair value)
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
addEnv
public Tasks.Container.Builder addEnv(int index, Literals.KeyValuePair value)
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
addEnv
public Tasks.Container.Builder addEnv(Literals.KeyValuePair.Builder builderForValue)
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
addEnv
public Tasks.Container.Builder addEnv(int index, Literals.KeyValuePair.Builder builderForValue)
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
addAllEnv
public Tasks.Container.Builder addAllEnv(Iterable<? extends Literals.KeyValuePair> values)
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
clearEnv
public Tasks.Container.Builder clearEnv()
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
removeEnv
public Tasks.Container.Builder removeEnv(int index)
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
getEnvBuilder
public Literals.KeyValuePair.Builder getEnvBuilder(int index)
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
getEnvOrBuilder
public Literals.KeyValuePairOrBuilder getEnvOrBuilder(int index)
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;- Specified by:
getEnvOrBuilderin interfaceTasks.ContainerOrBuilder
-
getEnvOrBuilderList
public List<? extends Literals.KeyValuePairOrBuilder> getEnvOrBuilderList()
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;- Specified by:
getEnvOrBuilderListin interfaceTasks.ContainerOrBuilder
-
addEnvBuilder
public Literals.KeyValuePair.Builder addEnvBuilder()
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
addEnvBuilder
public Literals.KeyValuePair.Builder addEnvBuilder(int index)
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
getEnvBuilderList
public List<Literals.KeyValuePair.Builder> getEnvBuilderList()
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
getEnvFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<Literals.KeyValuePair,Literals.KeyValuePair.Builder,Literals.KeyValuePairOrBuilder> getEnvFieldBuilder()
-
ensureConfigIsMutable
private void ensureConfigIsMutable()
-
getConfigList
@Deprecated public List<Literals.KeyValuePair> getConfigList()
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];- Specified by:
getConfigListin interfaceTasks.ContainerOrBuilder
-
getConfigCount
@Deprecated public int getConfigCount()
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];- Specified by:
getConfigCountin interfaceTasks.ContainerOrBuilder
-
getConfig
@Deprecated public Literals.KeyValuePair getConfig(int index)
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];- Specified by:
getConfigin interfaceTasks.ContainerOrBuilder
-
setConfig
@Deprecated public Tasks.Container.Builder setConfig(int index, Literals.KeyValuePair value)
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];
-
setConfig
@Deprecated public Tasks.Container.Builder setConfig(int index, Literals.KeyValuePair.Builder builderForValue)
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];
-
addConfig
@Deprecated public Tasks.Container.Builder addConfig(Literals.KeyValuePair value)
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];
-
addConfig
@Deprecated public Tasks.Container.Builder addConfig(int index, Literals.KeyValuePair value)
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];
-
addConfig
@Deprecated public Tasks.Container.Builder addConfig(Literals.KeyValuePair.Builder builderForValue)
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];
-
addConfig
@Deprecated public Tasks.Container.Builder addConfig(int index, Literals.KeyValuePair.Builder builderForValue)
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];
-
addAllConfig
@Deprecated public Tasks.Container.Builder addAllConfig(Iterable<? extends Literals.KeyValuePair> values)
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];
-
clearConfig
@Deprecated public Tasks.Container.Builder clearConfig()
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];
-
removeConfig
@Deprecated public Tasks.Container.Builder removeConfig(int index)
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];
-
getConfigBuilder
@Deprecated public Literals.KeyValuePair.Builder getConfigBuilder(int index)
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];
-
getConfigOrBuilder
@Deprecated public Literals.KeyValuePairOrBuilder getConfigOrBuilder(int index)
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];- Specified by:
getConfigOrBuilderin interfaceTasks.ContainerOrBuilder
-
getConfigOrBuilderList
@Deprecated public List<? extends Literals.KeyValuePairOrBuilder> getConfigOrBuilderList()
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];- Specified by:
getConfigOrBuilderListin interfaceTasks.ContainerOrBuilder
-
addConfigBuilder
@Deprecated public Literals.KeyValuePair.Builder addConfigBuilder()
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];
-
addConfigBuilder
@Deprecated public Literals.KeyValuePair.Builder addConfigBuilder(int index)
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];
-
getConfigBuilderList
@Deprecated public List<Literals.KeyValuePair.Builder> getConfigBuilderList()
Deprecated.Allows extra configs to be available for the container. TODO: elaborate on how configs will become available. Deprecated, please use TaskTemplate.config instead.
repeated .flyteidl.core.KeyValuePair config = 6 [deprecated = true];
-
getConfigFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<Literals.KeyValuePair,Literals.KeyValuePair.Builder,Literals.KeyValuePairOrBuilder> getConfigFieldBuilder()
-
ensurePortsIsMutable
private void ensurePortsIsMutable()
-
getPortsList
public List<Tasks.ContainerPort> getPortsList()
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;- Specified by:
getPortsListin interfaceTasks.ContainerOrBuilder
-
getPortsCount
public int getPortsCount()
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;- Specified by:
getPortsCountin interfaceTasks.ContainerOrBuilder
-
getPorts
public Tasks.ContainerPort getPorts(int index)
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;- Specified by:
getPortsin interfaceTasks.ContainerOrBuilder
-
setPorts
public Tasks.Container.Builder setPorts(int index, Tasks.ContainerPort value)
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;
-
setPorts
public Tasks.Container.Builder setPorts(int index, Tasks.ContainerPort.Builder builderForValue)
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;
-
addPorts
public Tasks.Container.Builder addPorts(Tasks.ContainerPort value)
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;
-
addPorts
public Tasks.Container.Builder addPorts(int index, Tasks.ContainerPort value)
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;
-
addPorts
public Tasks.Container.Builder addPorts(Tasks.ContainerPort.Builder builderForValue)
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;
-
addPorts
public Tasks.Container.Builder addPorts(int index, Tasks.ContainerPort.Builder builderForValue)
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;
-
addAllPorts
public Tasks.Container.Builder addAllPorts(Iterable<? extends Tasks.ContainerPort> values)
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;
-
clearPorts
public Tasks.Container.Builder clearPorts()
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;
-
removePorts
public Tasks.Container.Builder removePorts(int index)
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;
-
getPortsBuilder
public Tasks.ContainerPort.Builder getPortsBuilder(int index)
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;
-
getPortsOrBuilder
public Tasks.ContainerPortOrBuilder getPortsOrBuilder(int index)
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;- Specified by:
getPortsOrBuilderin interfaceTasks.ContainerOrBuilder
-
getPortsOrBuilderList
public List<? extends Tasks.ContainerPortOrBuilder> getPortsOrBuilderList()
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;- Specified by:
getPortsOrBuilderListin interfaceTasks.ContainerOrBuilder
-
addPortsBuilder
public Tasks.ContainerPort.Builder addPortsBuilder()
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;
-
addPortsBuilder
public Tasks.ContainerPort.Builder addPortsBuilder(int index)
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;
-
getPortsBuilderList
public List<Tasks.ContainerPort.Builder> getPortsBuilderList()
Ports to open in the container. This feature is not supported by all execution engines. (e.g. supported on K8s but not supported on AWS Batch) Only K8s
repeated .flyteidl.core.ContainerPort ports = 7;
-
getPortsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<Tasks.ContainerPort,Tasks.ContainerPort.Builder,Tasks.ContainerPortOrBuilder> getPortsFieldBuilder()
-
hasDataConfig
public boolean hasDataConfig()
BETA: Optional configuration for DataLoading. If not specified, then default values are used. This makes it possible to to run a completely portable container, that uses inputs and outputs only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment. If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation to understand the default paths. Only K8s
.flyteidl.core.DataLoadingConfig data_config = 9;- Specified by:
hasDataConfigin interfaceTasks.ContainerOrBuilder- Returns:
- Whether the dataConfig field is set.
-
getDataConfig
public Tasks.DataLoadingConfig getDataConfig()
BETA: Optional configuration for DataLoading. If not specified, then default values are used. This makes it possible to to run a completely portable container, that uses inputs and outputs only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment. If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation to understand the default paths. Only K8s
.flyteidl.core.DataLoadingConfig data_config = 9;- Specified by:
getDataConfigin interfaceTasks.ContainerOrBuilder- Returns:
- The dataConfig.
-
setDataConfig
public Tasks.Container.Builder setDataConfig(Tasks.DataLoadingConfig value)
BETA: Optional configuration for DataLoading. If not specified, then default values are used. This makes it possible to to run a completely portable container, that uses inputs and outputs only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment. If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation to understand the default paths. Only K8s
.flyteidl.core.DataLoadingConfig data_config = 9;
-
setDataConfig
public Tasks.Container.Builder setDataConfig(Tasks.DataLoadingConfig.Builder builderForValue)
BETA: Optional configuration for DataLoading. If not specified, then default values are used. This makes it possible to to run a completely portable container, that uses inputs and outputs only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment. If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation to understand the default paths. Only K8s
.flyteidl.core.DataLoadingConfig data_config = 9;
-
mergeDataConfig
public Tasks.Container.Builder mergeDataConfig(Tasks.DataLoadingConfig value)
BETA: Optional configuration for DataLoading. If not specified, then default values are used. This makes it possible to to run a completely portable container, that uses inputs and outputs only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment. If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation to understand the default paths. Only K8s
.flyteidl.core.DataLoadingConfig data_config = 9;
-
clearDataConfig
public Tasks.Container.Builder clearDataConfig()
BETA: Optional configuration for DataLoading. If not specified, then default values are used. This makes it possible to to run a completely portable container, that uses inputs and outputs only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment. If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation to understand the default paths. Only K8s
.flyteidl.core.DataLoadingConfig data_config = 9;
-
getDataConfigBuilder
public Tasks.DataLoadingConfig.Builder getDataConfigBuilder()
BETA: Optional configuration for DataLoading. If not specified, then default values are used. This makes it possible to to run a completely portable container, that uses inputs and outputs only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment. If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation to understand the default paths. Only K8s
.flyteidl.core.DataLoadingConfig data_config = 9;
-
getDataConfigOrBuilder
public Tasks.DataLoadingConfigOrBuilder getDataConfigOrBuilder()
BETA: Optional configuration for DataLoading. If not specified, then default values are used. This makes it possible to to run a completely portable container, that uses inputs and outputs only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment. If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation to understand the default paths. Only K8s
.flyteidl.core.DataLoadingConfig data_config = 9;- Specified by:
getDataConfigOrBuilderin interfaceTasks.ContainerOrBuilder
-
getDataConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<Tasks.DataLoadingConfig,Tasks.DataLoadingConfig.Builder,Tasks.DataLoadingConfigOrBuilder> getDataConfigFieldBuilder()
BETA: Optional configuration for DataLoading. If not specified, then default values are used. This makes it possible to to run a completely portable container, that uses inputs and outputs only from the local file-system and without having any reference to flyteidl. This is supported only on K8s at the moment. If data loading is enabled, then data will be mounted in accompanying directories specified in the DataLoadingConfig. If the directories are not specified, inputs will be mounted onto and outputs will be uploaded from a pre-determined file-system path. Refer to the documentation to understand the default paths. Only K8s
.flyteidl.core.DataLoadingConfig data_config = 9;
-
getArchitectureValue
public int getArchitectureValue()
.flyteidl.core.Container.Architecture architecture = 10;- Specified by:
getArchitectureValuein interfaceTasks.ContainerOrBuilder- Returns:
- The enum numeric value on the wire for architecture.
-
setArchitectureValue
public Tasks.Container.Builder setArchitectureValue(int value)
.flyteidl.core.Container.Architecture architecture = 10;- Parameters:
value- The enum numeric value on the wire for architecture to set.- Returns:
- This builder for chaining.
-
getArchitecture
public Tasks.Container.Architecture getArchitecture()
.flyteidl.core.Container.Architecture architecture = 10;- Specified by:
getArchitecturein interfaceTasks.ContainerOrBuilder- Returns:
- The architecture.
-
setArchitecture
public Tasks.Container.Builder setArchitecture(Tasks.Container.Architecture value)
.flyteidl.core.Container.Architecture architecture = 10;- Parameters:
value- The architecture to set.- Returns:
- This builder for chaining.
-
clearArchitecture
public Tasks.Container.Builder clearArchitecture()
.flyteidl.core.Container.Architecture architecture = 10;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Tasks.Container.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Tasks.Container.Builder>
-
mergeUnknownFields
public final Tasks.Container.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Tasks.Container.Builder>
-
-