public interface ContainerOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getArgs(int index)
Arguments to the entrypoint.
|
com.google.protobuf.ByteString |
getArgsBytes(int index)
Arguments to the entrypoint.
|
int |
getArgsCount()
Arguments to the entrypoint.
|
List<String> |
getArgsList()
Arguments to the entrypoint.
|
String |
getBaseImageUri()
Base image for this container.
|
com.google.protobuf.ByteString |
getBaseImageUriBytes()
Base image for this container.
|
BuildInfo |
getBuildInfo()
Output only.
|
BuildInfoOrBuilder |
getBuildInfoOrBuilder()
Output only.
|
String |
getCommand(int index)
Entrypoint array.
|
com.google.protobuf.ByteString |
getCommandBytes(int index)
Entrypoint array.
|
int |
getCommandCount()
Entrypoint array.
|
List<String> |
getCommandList()
Entrypoint array.
|
String |
getDependsOn(int index)
Names of the containers that must start before this container.
|
com.google.protobuf.ByteString |
getDependsOnBytes(int index)
Names of the containers that must start before this container.
|
int |
getDependsOnCount()
Names of the containers that must start before this container.
|
List<String> |
getDependsOnList()
Names of the containers that must start before this container.
|
EnvVar |
getEnv(int index)
List of environment variables to set in the container.
|
int |
getEnvCount()
List of environment variables to set in the container.
|
List<EnvVar> |
getEnvList()
List of environment variables to set in the container.
|
EnvVarOrBuilder |
getEnvOrBuilder(int index)
List of environment variables to set in the container.
|
List<? extends EnvVarOrBuilder> |
getEnvOrBuilderList()
List of environment variables to set in the container.
|
String |
getImage()
Required.
|
com.google.protobuf.ByteString |
getImageBytes()
Required.
|
Probe |
getLivenessProbe()
Periodic probe of container liveness.
|
ProbeOrBuilder |
getLivenessProbeOrBuilder()
Periodic probe of container liveness.
|
String |
getName()
Name of the container specified as a DNS_LABEL (RFC 1123).
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the container specified as a DNS_LABEL (RFC 1123).
|
ContainerPort |
getPorts(int index)
List of ports to expose from the container.
|
int |
getPortsCount()
List of ports to expose from the container.
|
List<ContainerPort> |
getPortsList()
List of ports to expose from the container.
|
ContainerPortOrBuilder |
getPortsOrBuilder(int index)
List of ports to expose from the container.
|
List<? extends ContainerPortOrBuilder> |
getPortsOrBuilderList()
List of ports to expose from the container.
|
ResourceRequirements |
getResources()
Compute Resource requirements by this container.
|
ResourceRequirementsOrBuilder |
getResourcesOrBuilder()
Compute Resource requirements by this container.
|
Probe |
getStartupProbe()
Startup probe of application within the container.
|
ProbeOrBuilder |
getStartupProbeOrBuilder()
Startup probe of application within the container.
|
VolumeMount |
getVolumeMounts(int index)
Volume to mount into the container's filesystem.
|
int |
getVolumeMountsCount()
Volume to mount into the container's filesystem.
|
List<VolumeMount> |
getVolumeMountsList()
Volume to mount into the container's filesystem.
|
VolumeMountOrBuilder |
getVolumeMountsOrBuilder(int index)
Volume to mount into the container's filesystem.
|
List<? extends VolumeMountOrBuilder> |
getVolumeMountsOrBuilderList()
Volume to mount into the container's filesystem.
|
String |
getWorkingDir()
Container's working directory.
|
com.google.protobuf.ByteString |
getWorkingDirBytes()
Container's working directory.
|
boolean |
hasBuildInfo()
Output only.
|
boolean |
hasLivenessProbe()
Periodic probe of container liveness.
|
boolean |
hasResources()
Compute Resource requirements by this container.
|
boolean |
hasStartupProbe()
Startup probe of application within the container.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Name of the container specified as a DNS_LABEL (RFC 1123).
string name = 1;com.google.protobuf.ByteString getNameBytes()
Name of the container specified as a DNS_LABEL (RFC 1123).
string name = 1;String getImage()
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];com.google.protobuf.ByteString getImageBytes()
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];List<String> getCommandList()
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3;int getCommandCount()
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3;String getCommand(int index)
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3;index - The index of the element to return.com.google.protobuf.ByteString getCommandBytes(int index)
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3;index - The index of the value to return.List<String> getArgsList()
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4;int getArgsCount()
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4;String getArgs(int index)
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4;index - The index of the element to return.com.google.protobuf.ByteString getArgsBytes(int index)
Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4;index - The index of the value to return.List<EnvVar> getEnvList()
List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;EnvVar getEnv(int index)
List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;int getEnvCount()
List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;List<? extends EnvVarOrBuilder> getEnvOrBuilderList()
List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;EnvVarOrBuilder getEnvOrBuilder(int index)
List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;boolean hasResources()
Compute Resource requirements by this container.
.google.cloud.run.v2.ResourceRequirements resources = 6;ResourceRequirements getResources()
Compute Resource requirements by this container.
.google.cloud.run.v2.ResourceRequirements resources = 6;ResourceRequirementsOrBuilder getResourcesOrBuilder()
Compute Resource requirements by this container.
.google.cloud.run.v2.ResourceRequirements resources = 6;List<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;ContainerPort getPorts(int index)
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;int getPortsCount()
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;List<? extends ContainerPortOrBuilder> 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;ContainerPortOrBuilder getPortsOrBuilder(int index)
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;List<VolumeMount> getVolumeMountsList()
Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;VolumeMount getVolumeMounts(int index)
Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;int getVolumeMountsCount()
Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;List<? extends VolumeMountOrBuilder> getVolumeMountsOrBuilderList()
Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;VolumeMountOrBuilder getVolumeMountsOrBuilder(int index)
Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;String getWorkingDir()
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;com.google.protobuf.ByteString getWorkingDirBytes()
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;boolean hasLivenessProbe()
Periodic probe of container liveness. Container will be restarted if the probe fails.
.google.cloud.run.v2.Probe liveness_probe = 10;Probe getLivenessProbe()
Periodic probe of container liveness. Container will be restarted if the probe fails.
.google.cloud.run.v2.Probe liveness_probe = 10;ProbeOrBuilder getLivenessProbeOrBuilder()
Periodic probe of container liveness. Container will be restarted if the probe fails.
.google.cloud.run.v2.Probe liveness_probe = 10;boolean hasStartupProbe()
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;Probe getStartupProbe()
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;ProbeOrBuilder getStartupProbeOrBuilder()
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;List<String> getDependsOnList()
Names of the containers that must start before this container.
repeated string depends_on = 12;int getDependsOnCount()
Names of the containers that must start before this container.
repeated string depends_on = 12;String getDependsOn(int index)
Names of the containers that must start before this container.
repeated string depends_on = 12;index - The index of the element to return.com.google.protobuf.ByteString getDependsOnBytes(int index)
Names of the containers that must start before this container.
repeated string depends_on = 12;index - The index of the value to return.String getBaseImageUri()
Base image for this container. Only supported for services. If set, it indicates that the service is enrolled into automatic base image update.
string base_image_uri = 13;com.google.protobuf.ByteString getBaseImageUriBytes()
Base image for this container. Only supported for services. If set, it indicates that the service is enrolled into automatic base image update.
string base_image_uri = 13;boolean hasBuildInfo()
Output only. The build info of the container image.
.google.cloud.run.v2.BuildInfo build_info = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
BuildInfo getBuildInfo()
Output only. The build info of the container image.
.google.cloud.run.v2.BuildInfo build_info = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
BuildInfoOrBuilder getBuildInfoOrBuilder()
Output only. The build info of the container image.
.google.cloud.run.v2.BuildInfo build_info = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Copyright © 2025 Google LLC. All rights reserved.