Interface ContainerSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContainerSpec
,ContainerSpec.Builder
public interface ContainerSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getArgs(int index)
The arguments to be passed when starting the container.com.google.protobuf.ByteString
getArgsBytes(int index)
The arguments to be passed when starting the container.int
getArgsCount()
The arguments to be passed when starting the container.List<String>
getArgsList()
The arguments to be passed when starting the container.String
getCommand(int index)
The command to be invoked when the container is started.com.google.protobuf.ByteString
getCommandBytes(int index)
The command to be invoked when the container is started.int
getCommandCount()
The command to be invoked when the container is started.List<String>
getCommandList()
The command to be invoked when the container is started.EnvVar
getEnv(int index)
Environment variables to be passed to the container.int
getEnvCount()
Environment variables to be passed to the container.List<EnvVar>
getEnvList()
Environment variables to be passed to the container.EnvVarOrBuilder
getEnvOrBuilder(int index)
Environment variables to be passed to the container.List<? extends EnvVarOrBuilder>
getEnvOrBuilderList()
Environment variables to be passed to the container.String
getImageUri()
Required.com.google.protobuf.ByteString
getImageUriBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getImageUri
String getImageUri()
Required. The URI of a container image in the Container Registry that is to be run on each worker replica.
string image_uri = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The imageUri.
-
getImageUriBytes
com.google.protobuf.ByteString getImageUriBytes()
Required. The URI of a container image in the Container Registry that is to be run on each worker replica.
string image_uri = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for imageUri.
-
getCommandList
List<String> getCommandList()
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;
- Returns:
- A list containing the command.
-
getCommandCount
int getCommandCount()
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;
- Returns:
- The count of command.
-
getCommand
String getCommand(int index)
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The command at the given index.
-
getCommandBytes
com.google.protobuf.ByteString getCommandBytes(int index)
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the command at the given index.
-
getArgsList
List<String> getArgsList()
The arguments to be passed when starting the container.
repeated string args = 3;
- Returns:
- A list containing the args.
-
getArgsCount
int getArgsCount()
The arguments to be passed when starting the container.
repeated string args = 3;
- Returns:
- The count of args.
-
getArgs
String getArgs(int index)
The arguments to be passed when starting the container.
repeated string args = 3;
- Parameters:
index
- The index of the element to return.- Returns:
- The args at the given index.
-
getArgsBytes
com.google.protobuf.ByteString getArgsBytes(int index)
The arguments to be passed when starting the container.
repeated string args = 3;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the args at the given index.
-
getEnvList
List<EnvVar> getEnvList()
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 4;
-
getEnv
EnvVar getEnv(int index)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 4;
-
getEnvCount
int getEnvCount()
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 4;
-
getEnvOrBuilderList
List<? extends EnvVarOrBuilder> getEnvOrBuilderList()
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 4;
-
getEnvOrBuilder
EnvVarOrBuilder getEnvOrBuilder(int index)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1beta1.EnvVar env = 4;
-
-