- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class ContainerSpec.Builder extends GeneratedMessageV3.Builder<ContainerSpec.Builder> implements ContainerSpecOrBuilder
The spec of a Container.
Protobuf type google.cloud.aiplatform.v1.ContainerSpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ContainerSpec.BuilderImplements
ContainerSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllArgs(Iterable<String> values)
public ContainerSpec.Builder addAllArgs(Iterable<String> values)
The arguments to be passed when starting the container.
repeated string args = 3;
Name | Description |
values | Iterable<String> The args to add. |
Type | Description |
ContainerSpec.Builder | This builder for chaining. |
addAllCommand(Iterable<String> values)
public ContainerSpec.Builder addAllCommand(Iterable<String> values)
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;
Name | Description |
values | Iterable<String> The command to add. |
Type | Description |
ContainerSpec.Builder | This builder for chaining. |
addAllEnv(Iterable<? extends EnvVar> values)
public ContainerSpec.Builder addAllEnv(Iterable<? extends EnvVar> values)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.EnvVar> |
Type | Description |
ContainerSpec.Builder |
addArgs(String value)
public ContainerSpec.Builder addArgs(String value)
The arguments to be passed when starting the container.
repeated string args = 3;
Name | Description |
value | String The args to add. |
Type | Description |
ContainerSpec.Builder | This builder for chaining. |
addArgsBytes(ByteString value)
public ContainerSpec.Builder addArgsBytes(ByteString value)
The arguments to be passed when starting the container.
repeated string args = 3;
Name | Description |
value | ByteString The bytes of the args to add. |
Type | Description |
ContainerSpec.Builder | This builder for chaining. |
addCommand(String value)
public ContainerSpec.Builder addCommand(String value)
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;
Name | Description |
value | String The command to add. |
Type | Description |
ContainerSpec.Builder | This builder for chaining. |
addCommandBytes(ByteString value)
public ContainerSpec.Builder addCommandBytes(ByteString value)
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;
Name | Description |
value | ByteString The bytes of the command to add. |
Type | Description |
ContainerSpec.Builder | This builder for chaining. |
addEnv(EnvVar value)
public ContainerSpec.Builder addEnv(EnvVar value)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Name | Description |
value | EnvVar |
Type | Description |
ContainerSpec.Builder |
addEnv(EnvVar.Builder builderForValue)
public ContainerSpec.Builder addEnv(EnvVar.Builder builderForValue)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Name | Description |
builderForValue | EnvVar.Builder |
Type | Description |
ContainerSpec.Builder |
addEnv(int index, EnvVar value)
public ContainerSpec.Builder addEnv(int index, EnvVar value)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Name | Description |
index | int |
value | EnvVar |
Type | Description |
ContainerSpec.Builder |
addEnv(int index, EnvVar.Builder builderForValue)
public ContainerSpec.Builder addEnv(int index, EnvVar.Builder builderForValue)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Name | Description |
index | int |
builderForValue | EnvVar.Builder |
Type | Description |
ContainerSpec.Builder |
addEnvBuilder()
public EnvVar.Builder addEnvBuilder()
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Type | Description |
EnvVar.Builder |
addEnvBuilder(int index)
public EnvVar.Builder addEnvBuilder(int index)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Name | Description |
index | int |
Type | Description |
EnvVar.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContainerSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ContainerSpec.Builder |
build()
public ContainerSpec build()
Type | Description |
ContainerSpec |
buildPartial()
public ContainerSpec buildPartial()
Type | Description |
ContainerSpec |
clear()
public ContainerSpec.Builder clear()
Type | Description |
ContainerSpec.Builder |
clearArgs()
public ContainerSpec.Builder clearArgs()
The arguments to be passed when starting the container.
repeated string args = 3;
Type | Description |
ContainerSpec.Builder | This builder for chaining. |
clearCommand()
public ContainerSpec.Builder clearCommand()
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;
Type | Description |
ContainerSpec.Builder | This builder for chaining. |
clearEnv()
public ContainerSpec.Builder clearEnv()
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Type | Description |
ContainerSpec.Builder |
clearField(Descriptors.FieldDescriptor field)
public ContainerSpec.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ContainerSpec.Builder |
clearImageUri()
public ContainerSpec.Builder clearImageUri()
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];
Type | Description |
ContainerSpec.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ContainerSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ContainerSpec.Builder |
clone()
public ContainerSpec.Builder clone()
Type | Description |
ContainerSpec.Builder |
getArgs(int index)
public String getArgs(int index)
The arguments to be passed when starting the container.
repeated string args = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The args at the given index. |
getArgsBytes(int index)
public ByteString getArgsBytes(int index)
The arguments to be passed when starting the container.
repeated string args = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the args at the given index. |
getArgsCount()
public int getArgsCount()
The arguments to be passed when starting the container.
repeated string args = 3;
Type | Description |
int | The count of args. |
getArgsList()
public ProtocolStringList getArgsList()
The arguments to be passed when starting the container.
repeated string args = 3;
Type | Description |
ProtocolStringList | A list containing the args. |
getCommand(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The command at the given index. |
getCommandBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the command at the given index. |
getCommandCount()
public 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;
Type | Description |
int | The count of command. |
getCommandList()
public ProtocolStringList getCommandList()
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;
Type | Description |
ProtocolStringList | A list containing the command. |
getDefaultInstanceForType()
public ContainerSpec getDefaultInstanceForType()
Type | Description |
ContainerSpec |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnv(int index)
public EnvVar getEnv(int index)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Name | Description |
index | int |
Type | Description |
EnvVar |
getEnvBuilder(int index)
public EnvVar.Builder getEnvBuilder(int index)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Name | Description |
index | int |
Type | Description |
EnvVar.Builder |
getEnvBuilderList()
public List<EnvVar.Builder> getEnvBuilderList()
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Type | Description |
List<Builder> |
getEnvCount()
public int getEnvCount()
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Type | Description |
int |
getEnvList()
public List<EnvVar> getEnvList()
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Type | Description |
List<EnvVar> |
getEnvOrBuilder(int index)
public EnvVarOrBuilder getEnvOrBuilder(int index)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Name | Description |
index | int |
Type | Description |
EnvVarOrBuilder |
getEnvOrBuilderList()
public List<? extends EnvVarOrBuilder> getEnvOrBuilderList()
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.EnvVarOrBuilder> |
getImageUri()
public 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];
Type | Description |
String | The imageUri. |
getImageUriBytes()
public 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];
Type | Description |
ByteString | The bytes for imageUri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ContainerSpec other)
public ContainerSpec.Builder mergeFrom(ContainerSpec other)
Name | Description |
other | ContainerSpec |
Type | Description |
ContainerSpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContainerSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ContainerSpec.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ContainerSpec.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ContainerSpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContainerSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ContainerSpec.Builder |
removeEnv(int index)
public ContainerSpec.Builder removeEnv(int index)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Name | Description |
index | int |
Type | Description |
ContainerSpec.Builder |
setArgs(int index, String value)
public ContainerSpec.Builder setArgs(int index, String value)
The arguments to be passed when starting the container.
repeated string args = 3;
Name | Description |
index | int The index to set the value at. |
value | String The args to set. |
Type | Description |
ContainerSpec.Builder | This builder for chaining. |
setCommand(int index, String value)
public ContainerSpec.Builder setCommand(int index, String value)
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;
Name | Description |
index | int The index to set the value at. |
value | String The command to set. |
Type | Description |
ContainerSpec.Builder | This builder for chaining. |
setEnv(int index, EnvVar value)
public ContainerSpec.Builder setEnv(int index, EnvVar value)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Name | Description |
index | int |
value | EnvVar |
Type | Description |
ContainerSpec.Builder |
setEnv(int index, EnvVar.Builder builderForValue)
public ContainerSpec.Builder setEnv(int index, EnvVar.Builder builderForValue)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;
Name | Description |
index | int |
builderForValue | EnvVar.Builder |
Type | Description |
ContainerSpec.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ContainerSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ContainerSpec.Builder |
setImageUri(String value)
public ContainerSpec.Builder setImageUri(String value)
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];
Name | Description |
value | String The imageUri to set. |
Type | Description |
ContainerSpec.Builder | This builder for chaining. |
setImageUriBytes(ByteString value)
public ContainerSpec.Builder setImageUriBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for imageUri to set. |
Type | Description |
ContainerSpec.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContainerSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ContainerSpec.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ContainerSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ContainerSpec.Builder |