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,java.lang.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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Tasks.Container.BuilderaddAllArgs(java.lang.Iterable<java.lang.String> values)These will default to Flyte given paths.Tasks.Container.BuilderaddAllCommand(java.lang.Iterable<java.lang.String> values)Command to be executed, if not provided, the default entrypoint in the container image will be used.Tasks.Container.BuilderaddAllConfig(java.lang.Iterable<? extends Literals.KeyValuePair> values)Allows extra configs to be available for the container.Tasks.Container.BuilderaddAllEnv(java.lang.Iterable<? extends Literals.KeyValuePair> values)Environment variables will be set as the container is starting up.Tasks.Container.BuilderaddAllPorts(java.lang.Iterable<? extends Tasks.ContainerPort> values)Ports to open in the container.Tasks.Container.BuilderaddArgs(java.lang.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(java.lang.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)Allows extra configs to be available for the container.Tasks.Container.BuilderaddConfig(int index, Literals.KeyValuePair.Builder builderForValue)Allows extra configs to be available for the container.Tasks.Container.BuilderaddConfig(Literals.KeyValuePair value)Allows extra configs to be available for the container.Tasks.Container.BuilderaddConfig(Literals.KeyValuePair.Builder builderForValue)Allows extra configs to be available for the container.Literals.KeyValuePair.BuilderaddConfigBuilder()Allows extra configs to be available for the container.Literals.KeyValuePair.BuilderaddConfigBuilder(int index)Allows extra configs to be available for the container.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, java.lang.Object value)Tasks.Containerbuild()Tasks.ContainerbuildPartial()Tasks.Container.Builderclear()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()Allows extra configs to be available for the container.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()java.lang.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.java.lang.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)Allows extra configs to be available for the container.Literals.KeyValuePair.BuildergetConfigBuilder(int index)Allows extra configs to be available for the container.java.util.List<Literals.KeyValuePair.Builder>getConfigBuilderList()Allows extra configs to be available for the container.intgetConfigCount()Allows extra configs to be available for the container.java.util.List<Literals.KeyValuePair>getConfigList()Allows extra configs to be available for the container.Literals.KeyValuePairOrBuildergetConfigOrBuilder(int index)Allows extra configs to be available for the container.java.util.List<? extends Literals.KeyValuePairOrBuilder>getConfigOrBuilderList()Allows extra configs to be available for the container.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.java.util.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.java.util.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.java.util.List<? extends Literals.KeyValuePairOrBuilder>getEnvOrBuilderList()Environment variables will be set as the container is starting up.java.lang.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.java.util.List<Tasks.ContainerPort.Builder>getPortsBuilderList()Ports to open in the container.intgetPortsCount()Ports to open in the container.java.util.List<Tasks.ContainerPort>getPortsList()Ports to open in the container.Tasks.ContainerPortOrBuildergetPortsOrBuilder(int index)Ports to open in the container.java.util.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.Tasks.ResourcesOrBuildergetResourcesOrBuilder()Container resources requirement as specified by the container engine.booleanhasResources()Container resources requirement as specified by the container engine.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()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)Allows extra configs to be available for the container.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.BuildersetArgs(int index, java.lang.String value)These will default to Flyte given paths.Tasks.Container.BuildersetCommand(int index, java.lang.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)Allows extra configs to be available for the container.Tasks.Container.BuildersetConfig(int index, Literals.KeyValuePair.Builder builderForValue)Allows extra configs to be available for the container.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, java.lang.Object value)Tasks.Container.BuildersetImage(java.lang.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, java.lang.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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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
-
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, java.lang.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, java.lang.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, java.lang.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 java.io.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:
java.io.IOException
-
getImage
public java.lang.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(java.lang.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.
-
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 java.lang.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, java.lang.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(java.lang.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(java.lang.Iterable<java.lang.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.
-
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 java.lang.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, java.lang.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(java.lang.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(java.lang.Iterable<java.lang.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
-
getEnvList
public java.util.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(java.lang.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 java.util.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 java.util.List<Literals.KeyValuePair.Builder> getEnvBuilderList()
Environment variables will be set as the container is starting up.
repeated .flyteidl.core.KeyValuePair env = 5;
-
getConfigList
public java.util.List<Literals.KeyValuePair> getConfigList()
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;- Specified by:
getConfigListin interfaceTasks.ContainerOrBuilder
-
getConfigCount
public int getConfigCount()
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;- Specified by:
getConfigCountin interfaceTasks.ContainerOrBuilder
-
getConfig
public Literals.KeyValuePair getConfig(int index)
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;- Specified by:
getConfigin interfaceTasks.ContainerOrBuilder
-
setConfig
public Tasks.Container.Builder setConfig(int index, Literals.KeyValuePair value)
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;
-
setConfig
public Tasks.Container.Builder setConfig(int index, Literals.KeyValuePair.Builder builderForValue)
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;
-
addConfig
public Tasks.Container.Builder addConfig(Literals.KeyValuePair value)
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;
-
addConfig
public Tasks.Container.Builder addConfig(int index, Literals.KeyValuePair value)
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;
-
addConfig
public Tasks.Container.Builder addConfig(Literals.KeyValuePair.Builder builderForValue)
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;
-
addConfig
public Tasks.Container.Builder addConfig(int index, Literals.KeyValuePair.Builder builderForValue)
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;
-
addAllConfig
public Tasks.Container.Builder addAllConfig(java.lang.Iterable<? extends Literals.KeyValuePair> values)
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;
-
clearConfig
public Tasks.Container.Builder clearConfig()
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;
-
removeConfig
public Tasks.Container.Builder removeConfig(int index)
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;
-
getConfigBuilder
public Literals.KeyValuePair.Builder getConfigBuilder(int index)
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;
-
getConfigOrBuilder
public Literals.KeyValuePairOrBuilder getConfigOrBuilder(int index)
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;- Specified by:
getConfigOrBuilderin interfaceTasks.ContainerOrBuilder
-
getConfigOrBuilderList
public java.util.List<? extends Literals.KeyValuePairOrBuilder> getConfigOrBuilderList()
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;- Specified by:
getConfigOrBuilderListin interfaceTasks.ContainerOrBuilder
-
addConfigBuilder
public Literals.KeyValuePair.Builder addConfigBuilder()
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;
-
addConfigBuilder
public Literals.KeyValuePair.Builder addConfigBuilder(int index)
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;
-
getConfigBuilderList
public java.util.List<Literals.KeyValuePair.Builder> getConfigBuilderList()
Allows extra configs to be available for the container. TODO: elaborate on how configs will become available.
repeated .flyteidl.core.KeyValuePair config = 6;
-
getPortsList
public java.util.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)
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)
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)
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)
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)
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)
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)
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)
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)
repeated .flyteidl.core.ContainerPort ports = 7;
-
addAllPorts
public Tasks.Container.Builder addAllPorts(java.lang.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)
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)
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)
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)
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)
repeated .flyteidl.core.ContainerPort ports = 7;- Specified by:
getPortsOrBuilderin interfaceTasks.ContainerOrBuilder
-
getPortsOrBuilderList
public java.util.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)
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)
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)
repeated .flyteidl.core.ContainerPort ports = 7;
-
getPortsBuilderList
public java.util.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)
repeated .flyteidl.core.ContainerPort ports = 7;
-
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>
-
-