Class Container.Builder (0.43.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 0.78.0 (latest)
- 0.76.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.72.0
- 0.70.0
- 0.68.0
- 0.67.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.5
- 0.2.1
- 0.1.2
publicstaticfinalclass Container.BuilderextendsGeneratedMessageV3.Builder<Container.Builder>implementsContainerOrBuilderA single application container. This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that additional arguments can be supplied by the system to the container at runtime.
Protobuf type google.cloud.run.v2.Container
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Container.BuilderImplements
ContainerOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllArgs(Iterable<String> values)
publicContainer.BuilderaddAllArgs(Iterable<String>values)Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The args to add. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
addAllCommand(Iterable<String> values)
publicContainer.BuilderaddAllCommand(Iterable<String>values)Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The command to add. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
addAllDependsOn(Iterable<String> values)
publicContainer.BuilderaddAllDependsOn(Iterable<String>values)Names of the containers that must start before this container.
repeated string depends_on = 12;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The dependsOn to add. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
addAllEnv(Iterable<? extends EnvVar> values)
publicContainer.BuilderaddAllEnv(Iterable<?extendsEnvVar>values)List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.run.v2.EnvVar> |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addAllPorts(Iterable<? extends ContainerPort> values)
publicContainer.BuilderaddAllPorts(Iterable<?extendsContainerPort>values)List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.run.v2.ContainerPort> |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addAllVolumeMounts(Iterable<? extends VolumeMount> values)
publicContainer.BuilderaddAllVolumeMounts(Iterable<?extendsVolumeMount>values)Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.run.v2.VolumeMount> |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addArgs(String value)
publicContainer.BuilderaddArgs(Stringvalue)Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
String The args to add. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
addArgsBytes(ByteString value)
publicContainer.BuilderaddArgsBytes(ByteStringvalue)Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes of the args to add. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
addCommand(String value)
publicContainer.BuilderaddCommand(Stringvalue)Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
String The command to add. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
addCommandBytes(ByteString value)
publicContainer.BuilderaddCommandBytes(ByteStringvalue)Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes of the command to add. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
addDependsOn(String value)
publicContainer.BuilderaddDependsOn(Stringvalue)Names of the containers that must start before this container.
repeated string depends_on = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
String The dependsOn to add. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
addDependsOnBytes(ByteString value)
publicContainer.BuilderaddDependsOnBytes(ByteStringvalue)Names of the containers that must start before this container.
repeated string depends_on = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes of the dependsOn to add. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
addEnv(EnvVar value)
publicContainer.BuilderaddEnv(EnvVarvalue)List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
EnvVar |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addEnv(EnvVar.Builder builderForValue)
publicContainer.BuilderaddEnv(EnvVar.BuilderbuilderForValue)List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EnvVar.Builder |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addEnv(int index, EnvVar value)
publicContainer.BuilderaddEnv(intindex,EnvVarvalue)List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EnvVar |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addEnv(int index, EnvVar.Builder builderForValue)
publicContainer.BuilderaddEnv(intindex,EnvVar.BuilderbuilderForValue)List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EnvVar.Builder |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addEnvBuilder()
publicEnvVar.BuilderaddEnvBuilder()List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Returns | |
|---|---|
| Type | Description |
EnvVar.Builder |
|
addEnvBuilder(int index)
publicEnvVar.BuilderaddEnvBuilder(intindex)List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EnvVar.Builder |
|
addPorts(ContainerPort value)
publicContainer.BuilderaddPorts(ContainerPortvalue)List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ContainerPort |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addPorts(ContainerPort.Builder builderForValue)
publicContainer.BuilderaddPorts(ContainerPort.BuilderbuilderForValue)List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ContainerPort.Builder |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addPorts(int index, ContainerPort value)
publicContainer.BuilderaddPorts(intindex,ContainerPortvalue)List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ContainerPort |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addPorts(int index, ContainerPort.Builder builderForValue)
publicContainer.BuilderaddPorts(intindex,ContainerPort.BuilderbuilderForValue)List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ContainerPort.Builder |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addPortsBuilder()
publicContainerPort.BuilderaddPortsBuilder()List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Returns | |
|---|---|
| Type | Description |
ContainerPort.Builder |
|
addPortsBuilder(int index)
publicContainerPort.BuilderaddPortsBuilder(intindex)List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContainerPort.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicContainer.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addVolumeMounts(VolumeMount value)
publicContainer.BuilderaddVolumeMounts(VolumeMountvalue)Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
VolumeMount |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addVolumeMounts(VolumeMount.Builder builderForValue)
publicContainer.BuilderaddVolumeMounts(VolumeMount.BuilderbuilderForValue)Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
VolumeMount.Builder |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addVolumeMounts(int index, VolumeMount value)
publicContainer.BuilderaddVolumeMounts(intindex,VolumeMountvalue)Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
VolumeMount |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addVolumeMounts(int index, VolumeMount.Builder builderForValue)
publicContainer.BuilderaddVolumeMounts(intindex,VolumeMount.BuilderbuilderForValue)Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
VolumeMount.Builder |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
addVolumeMountsBuilder()
publicVolumeMount.BuilderaddVolumeMountsBuilder()Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Returns | |
|---|---|
| Type | Description |
VolumeMount.Builder |
|
addVolumeMountsBuilder(int index)
publicVolumeMount.BuilderaddVolumeMountsBuilder(intindex)Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
VolumeMount.Builder |
|
build()
publicContainerbuild()| Returns | |
|---|---|
| Type | Description |
Container |
|
buildPartial()
publicContainerbuildPartial()| Returns | |
|---|---|
| Type | Description |
Container |
|
clear()
publicContainer.Builderclear()| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
clearArgs()
publicContainer.BuilderclearArgs()Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4;
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
clearCommand()
publicContainer.BuilderclearCommand()Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3;
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
clearDependsOn()
publicContainer.BuilderclearDependsOn()Names of the containers that must start before this container.
repeated string depends_on = 12;
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
clearEnv()
publicContainer.BuilderclearEnv()List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicContainer.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
clearImage()
publicContainer.BuilderclearImage()Required. Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
string image = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
clearLivenessProbe()
publicContainer.BuilderclearLivenessProbe()Periodic probe of container liveness. Container will be restarted if the probe fails.
.google.cloud.run.v2.Probe liveness_probe = 10;
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
clearName()
publicContainer.BuilderclearName()Name of the container specified as a DNS_LABEL (RFC 1123).
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicContainer.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
clearPorts()
publicContainer.BuilderclearPorts()List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
clearResources()
publicContainer.BuilderclearResources()Compute Resource requirements by this container.
.google.cloud.run.v2.ResourceRequirements resources = 6;
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
clearStartupProbe()
publicContainer.BuilderclearStartupProbe()Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
.google.cloud.run.v2.Probe startup_probe = 11;
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
clearVolumeMounts()
publicContainer.BuilderclearVolumeMounts()Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
clearWorkingDir()
publicContainer.BuilderclearWorkingDir()Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
string working_dir = 9;
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
clone()
publicContainer.Builderclone()| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
getArgs(int index)
publicStringgetArgs(intindex)Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The args at the given index. |
getArgsBytes(int index)
publicByteStringgetArgsBytes(intindex)Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the args at the given index. |
getArgsCount()
publicintgetArgsCount()Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The count of args. |
getArgsList()
publicProtocolStringListgetArgsList()Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the args. |
getCommand(int index)
publicStringgetCommand(intindex)Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The command at the given index. |
getCommandBytes(int index)
publicByteStringgetCommandBytes(intindex)Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the command at the given index. |
getCommandCount()
publicintgetCommandCount()Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of command. |
getCommandList()
publicProtocolStringListgetCommandList()Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the command. |
getDefaultInstanceForType()
publicContainergetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Container |
|
getDependsOn(int index)
publicStringgetDependsOn(intindex)Names of the containers that must start before this container.
repeated string depends_on = 12;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The dependsOn at the given index. |
getDependsOnBytes(int index)
publicByteStringgetDependsOnBytes(intindex)Names of the containers that must start before this container.
repeated string depends_on = 12;
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the dependsOn at the given index. |
getDependsOnCount()
publicintgetDependsOnCount()Names of the containers that must start before this container.
repeated string depends_on = 12;
| Returns | |
|---|---|
| Type | Description |
int |
The count of dependsOn. |
getDependsOnList()
publicProtocolStringListgetDependsOnList()Names of the containers that must start before this container.
repeated string depends_on = 12;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the dependsOn. |
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnv(int index)
publicEnvVargetEnv(intindex)List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EnvVar |
|
getEnvBuilder(int index)
publicEnvVar.BuildergetEnvBuilder(intindex)List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EnvVar.Builder |
|
getEnvBuilderList()
publicList<EnvVar.Builder>getEnvBuilderList()List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getEnvCount()
publicintgetEnvCount()List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Returns | |
|---|---|
| Type | Description |
int |
|
getEnvList()
publicList<EnvVar>getEnvList()List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Returns | |
|---|---|
| Type | Description |
List<EnvVar> |
|
getEnvOrBuilder(int index)
publicEnvVarOrBuildergetEnvOrBuilder(intindex)List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EnvVarOrBuilder |
|
getEnvOrBuilderList()
publicList<?extendsEnvVarOrBuilder>getEnvOrBuilderList()List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.run.v2.EnvVarOrBuilder> |
|
getImage()
publicStringgetImage()Required. Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
string image = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The image. |
getImageBytes()
publicByteStringgetImageBytes()Required. Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
string image = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for image. |
getLivenessProbe()
publicProbegetLivenessProbe()Periodic probe of container liveness. Container will be restarted if the probe fails.
.google.cloud.run.v2.Probe liveness_probe = 10;
| Returns | |
|---|---|
| Type | Description |
Probe |
The livenessProbe. |
getLivenessProbeBuilder()
publicProbe.BuildergetLivenessProbeBuilder()Periodic probe of container liveness. Container will be restarted if the probe fails.
.google.cloud.run.v2.Probe liveness_probe = 10;
| Returns | |
|---|---|
| Type | Description |
Probe.Builder |
|
getLivenessProbeOrBuilder()
publicProbeOrBuildergetLivenessProbeOrBuilder()Periodic probe of container liveness. Container will be restarted if the probe fails.
.google.cloud.run.v2.Probe liveness_probe = 10;
| Returns | |
|---|---|
| Type | Description |
ProbeOrBuilder |
|
getName()
publicStringgetName()Name of the container specified as a DNS_LABEL (RFC 1123).
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicByteStringgetNameBytes()Name of the container specified as a DNS_LABEL (RFC 1123).
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPorts(int index)
publicContainerPortgetPorts(intindex)List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContainerPort |
|
getPortsBuilder(int index)
publicContainerPort.BuildergetPortsBuilder(intindex)List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContainerPort.Builder |
|
getPortsBuilderList()
publicList<ContainerPort.Builder>getPortsBuilderList()List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getPortsCount()
publicintgetPortsCount()List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Returns | |
|---|---|
| Type | Description |
int |
|
getPortsList()
publicList<ContainerPort>getPortsList()List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Returns | |
|---|---|
| Type | Description |
List<ContainerPort> |
|
getPortsOrBuilder(int index)
publicContainerPortOrBuildergetPortsOrBuilder(intindex)List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ContainerPortOrBuilder |
|
getPortsOrBuilderList()
publicList<?extendsContainerPortOrBuilder>getPortsOrBuilderList()List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.run.v2.ContainerPortOrBuilder> |
|
getResources()
publicResourceRequirementsgetResources()Compute Resource requirements by this container.
.google.cloud.run.v2.ResourceRequirements resources = 6;
| Returns | |
|---|---|
| Type | Description |
ResourceRequirements |
The resources. |
getResourcesBuilder()
publicResourceRequirements.BuildergetResourcesBuilder()Compute Resource requirements by this container.
.google.cloud.run.v2.ResourceRequirements resources = 6;
| Returns | |
|---|---|
| Type | Description |
ResourceRequirements.Builder |
|
getResourcesOrBuilder()
publicResourceRequirementsOrBuildergetResourcesOrBuilder()Compute Resource requirements by this container.
.google.cloud.run.v2.ResourceRequirements resources = 6;
| Returns | |
|---|---|
| Type | Description |
ResourceRequirementsOrBuilder |
|
getStartupProbe()
publicProbegetStartupProbe()Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
.google.cloud.run.v2.Probe startup_probe = 11;
| Returns | |
|---|---|
| Type | Description |
Probe |
The startupProbe. |
getStartupProbeBuilder()
publicProbe.BuildergetStartupProbeBuilder()Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
.google.cloud.run.v2.Probe startup_probe = 11;
| Returns | |
|---|---|
| Type | Description |
Probe.Builder |
|
getStartupProbeOrBuilder()
publicProbeOrBuildergetStartupProbeOrBuilder()Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
.google.cloud.run.v2.Probe startup_probe = 11;
| Returns | |
|---|---|
| Type | Description |
ProbeOrBuilder |
|
getVolumeMounts(int index)
publicVolumeMountgetVolumeMounts(intindex)Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
VolumeMount |
|
getVolumeMountsBuilder(int index)
publicVolumeMount.BuildergetVolumeMountsBuilder(intindex)Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
VolumeMount.Builder |
|
getVolumeMountsBuilderList()
publicList<VolumeMount.Builder>getVolumeMountsBuilderList()Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getVolumeMountsCount()
publicintgetVolumeMountsCount()Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Returns | |
|---|---|
| Type | Description |
int |
|
getVolumeMountsList()
publicList<VolumeMount>getVolumeMountsList()Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Returns | |
|---|---|
| Type | Description |
List<VolumeMount> |
|
getVolumeMountsOrBuilder(int index)
publicVolumeMountOrBuildergetVolumeMountsOrBuilder(intindex)Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
VolumeMountOrBuilder |
|
getVolumeMountsOrBuilderList()
publicList<?extendsVolumeMountOrBuilder>getVolumeMountsOrBuilderList()Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.run.v2.VolumeMountOrBuilder> |
|
getWorkingDir()
publicStringgetWorkingDir()Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
string working_dir = 9;
| Returns | |
|---|---|
| Type | Description |
String |
The workingDir. |
getWorkingDirBytes()
publicByteStringgetWorkingDirBytes()Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
string working_dir = 9;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for workingDir. |
hasLivenessProbe()
publicbooleanhasLivenessProbe()Periodic probe of container liveness. Container will be restarted if the probe fails.
.google.cloud.run.v2.Probe liveness_probe = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the livenessProbe field is set. |
hasResources()
publicbooleanhasResources()Compute Resource requirements by this container.
.google.cloud.run.v2.ResourceRequirements resources = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resources field is set. |
hasStartupProbe()
publicbooleanhasStartupProbe()Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
.google.cloud.run.v2.Probe startup_probe = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the startupProbe field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Container other)
publicContainer.BuildermergeFrom(Containerother)| Parameter | |
|---|---|
| Name | Description |
other |
Container |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicContainer.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicContainer.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
mergeLivenessProbe(Probe value)
publicContainer.BuildermergeLivenessProbe(Probevalue)Periodic probe of container liveness. Container will be restarted if the probe fails.
.google.cloud.run.v2.Probe liveness_probe = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Probe |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
mergeResources(ResourceRequirements value)
publicContainer.BuildermergeResources(ResourceRequirementsvalue)Compute Resource requirements by this container.
.google.cloud.run.v2.ResourceRequirements resources = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ResourceRequirements |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
mergeStartupProbe(Probe value)
publicContainer.BuildermergeStartupProbe(Probevalue)Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
.google.cloud.run.v2.Probe startup_probe = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
Probe |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalContainer.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
removeEnv(int index)
publicContainer.BuilderremoveEnv(intindex)List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
removePorts(int index)
publicContainer.BuilderremovePorts(intindex)List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
removeVolumeMounts(int index)
publicContainer.BuilderremoveVolumeMounts(intindex)Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setArgs(int index, String value)
publicContainer.BuildersetArgs(intindex,Stringvalue)Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
int The index to set the value at. |
value |
String The args to set. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
setCommand(int index, String value)
publicContainer.BuildersetCommand(intindex,Stringvalue)Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int The index to set the value at. |
value |
String The command to set. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
setDependsOn(int index, String value)
publicContainer.BuildersetDependsOn(intindex,Stringvalue)Names of the containers that must start before this container.
repeated string depends_on = 12;
| Parameters | |
|---|---|
| Name | Description |
index |
int The index to set the value at. |
value |
String The dependsOn to set. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
setEnv(int index, EnvVar value)
publicContainer.BuildersetEnv(intindex,EnvVarvalue)List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
EnvVar |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setEnv(int index, EnvVar.Builder builderForValue)
publicContainer.BuildersetEnv(intindex,EnvVar.BuilderbuilderForValue)List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
EnvVar.Builder |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicContainer.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setImage(String value)
publicContainer.BuildersetImage(Stringvalue)Required. Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
string image = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
String The image to set. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
setImageBytes(ByteString value)
publicContainer.BuildersetImageBytes(ByteStringvalue)Required. Name of the container image in Dockerhub, Google Artifact Registry, or Google Container Registry. If the host is not provided, Dockerhub is assumed.
string image = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for image to set. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
setLivenessProbe(Probe value)
publicContainer.BuildersetLivenessProbe(Probevalue)Periodic probe of container liveness. Container will be restarted if the probe fails.
.google.cloud.run.v2.Probe liveness_probe = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Probe |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setLivenessProbe(Probe.Builder builderForValue)
publicContainer.BuildersetLivenessProbe(Probe.BuilderbuilderForValue)Periodic probe of container liveness. Container will be restarted if the probe fails.
.google.cloud.run.v2.Probe liveness_probe = 10;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Probe.Builder |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setName(String value)
publicContainer.BuildersetName(Stringvalue)Name of the container specified as a DNS_LABEL (RFC 1123).
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
String The name to set. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
publicContainer.BuildersetNameBytes(ByteStringvalue)Name of the container specified as a DNS_LABEL (RFC 1123).
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
setPorts(int index, ContainerPort value)
publicContainer.BuildersetPorts(intindex,ContainerPortvalue)List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ContainerPort |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setPorts(int index, ContainerPort.Builder builderForValue)
publicContainer.BuildersetPorts(intindex,ContainerPort.BuilderbuilderForValue)List of ports to expose from the container. Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible.
If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
repeated .google.cloud.run.v2.ContainerPort ports = 7;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ContainerPort.Builder |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicContainer.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setResources(ResourceRequirements value)
publicContainer.BuildersetResources(ResourceRequirementsvalue)Compute Resource requirements by this container.
.google.cloud.run.v2.ResourceRequirements resources = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ResourceRequirements |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setResources(ResourceRequirements.Builder builderForValue)
publicContainer.BuildersetResources(ResourceRequirements.BuilderbuilderForValue)Compute Resource requirements by this container.
.google.cloud.run.v2.ResourceRequirements resources = 6;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ResourceRequirements.Builder |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setStartupProbe(Probe value)
publicContainer.BuildersetStartupProbe(Probevalue)Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
.google.cloud.run.v2.Probe startup_probe = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
Probe |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setStartupProbe(Probe.Builder builderForValue)
publicContainer.BuildersetStartupProbe(Probe.BuilderbuilderForValue)Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
.google.cloud.run.v2.Probe startup_probe = 11;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Probe.Builder |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalContainer.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setVolumeMounts(int index, VolumeMount value)
publicContainer.BuildersetVolumeMounts(intindex,VolumeMountvalue)Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
VolumeMount |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setVolumeMounts(int index, VolumeMount.Builder builderForValue)
publicContainer.BuildersetVolumeMounts(intindex,VolumeMount.BuilderbuilderForValue)Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
VolumeMount.Builder |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
|
setWorkingDir(String value)
publicContainer.BuildersetWorkingDir(Stringvalue)Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
string working_dir = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
String The workingDir to set. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |
setWorkingDirBytes(ByteString value)
publicContainer.BuildersetWorkingDirBytes(ByteStringvalue)Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image.
string working_dir = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for workingDir to set. |
| Returns | |
|---|---|
| Type | Description |
Container.Builder |
This builder for chaining. |