- 0.53.0 (latest)
- 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
public interface ContainerOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getArgs(int index)
public abstract String getArgs(int index)
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
repeated string args = 4;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The args at the given index. |
getArgsBytes(int index)
public abstract ByteString getArgsBytes(int index)
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
repeated string args = 4;
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 abstract int getArgsCount()
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
repeated string args = 4;
Type | Description |
int | The count of args. |
getArgsList()
public abstract List<String> getArgsList()
Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
repeated string args = 4;
Type | Description |
List<String> | A list containing the args. |
getCommand(int index)
public abstract String getCommand(int index)
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
repeated string command = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The command at the given index. |
getCommandBytes(int index)
public abstract ByteString getCommandBytes(int index)
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
repeated string command = 3;
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 abstract int getCommandCount()
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
repeated string command = 3;
Type | Description |
int | The count of command. |
getCommandList()
public abstract List<String> getCommandList()
Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
repeated string command = 3;
Type | Description |
List<String> | A list containing the command. |
getEnv(int index)
public abstract EnvVar getEnv(int index)
List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
Name | Description |
index | int |
Type | Description |
EnvVar |
getEnvCount()
public abstract int getEnvCount()
List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
Type | Description |
int |
getEnvList()
public abstract List<EnvVar> getEnvList()
List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
Type | Description |
List<EnvVar> |
getEnvOrBuilder(int index)
public abstract EnvVarOrBuilder getEnvOrBuilder(int index)
List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
Name | Description |
index | int |
Type | Description |
EnvVarOrBuilder |
getEnvOrBuilderList()
public abstract List<? extends EnvVarOrBuilder> getEnvOrBuilderList()
List of environment variables to set in the container.
repeated .google.cloud.run.v2.EnvVar env = 5;
Type | Description |
List<? extends com.google.cloud.run.v2.EnvVarOrBuilder> |
getImage()
public abstract 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. More info: https://kubernetes.io/docs/concepts/containers/images
string image = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The image. |
getImageBytes()
public abstract 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. More info: https://kubernetes.io/docs/concepts/containers/images
string image = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for image. |
getLivenessProbe()
public abstract Probe getLivenessProbe()
Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
.google.cloud.run.v2.Probe liveness_probe = 10;
Type | Description |
Probe | The livenessProbe. |
getLivenessProbeOrBuilder()
public abstract ProbeOrBuilder getLivenessProbeOrBuilder()
Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
.google.cloud.run.v2.Probe liveness_probe = 10;
Type | Description |
ProbeOrBuilder |
getName()
public abstract String getName()
Name of the container specified as a DNS_LABEL (RFC 1123).
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Name of the container specified as a DNS_LABEL (RFC 1123).
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getPorts(int index)
public abstract 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;
Name | Description |
index | int |
Type | Description |
ContainerPort |
getPortsCount()
public abstract 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;
Type | Description |
int |
getPortsList()
public abstract 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;
Type | Description |
List<ContainerPort> |
getPortsOrBuilder(int index)
public abstract 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;
Name | Description |
index | int |
Type | Description |
ContainerPortOrBuilder |
getPortsOrBuilderList()
public abstract 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;
Type | Description |
List<? extends com.google.cloud.run.v2.ContainerPortOrBuilder> |
getResources()
public abstract ResourceRequirements getResources()
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
.google.cloud.run.v2.ResourceRequirements resources = 6;
Type | Description |
ResourceRequirements | The resources. |
getResourcesOrBuilder()
public abstract ResourceRequirementsOrBuilder getResourcesOrBuilder()
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
.google.cloud.run.v2.ResourceRequirements resources = 6;
Type | Description |
ResourceRequirementsOrBuilder |
getStartupProbe()
public abstract 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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
.google.cloud.run.v2.Probe startup_probe = 11;
Type | Description |
Probe | The startupProbe. |
getStartupProbeOrBuilder()
public abstract 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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
.google.cloud.run.v2.Probe startup_probe = 11;
Type | Description |
ProbeOrBuilder |
getVolumeMounts(int index)
public abstract VolumeMount getVolumeMounts(int index)
Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
Name | Description |
index | int |
Type | Description |
VolumeMount |
getVolumeMountsCount()
public abstract int getVolumeMountsCount()
Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
Type | Description |
int |
getVolumeMountsList()
public abstract List<VolumeMount> getVolumeMountsList()
Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
Type | Description |
List<VolumeMount> |
getVolumeMountsOrBuilder(int index)
public abstract VolumeMountOrBuilder getVolumeMountsOrBuilder(int index)
Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
Name | Description |
index | int |
Type | Description |
VolumeMountOrBuilder |
getVolumeMountsOrBuilderList()
public abstract List<? extends VolumeMountOrBuilder> getVolumeMountsOrBuilderList()
Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8;
Type | Description |
List<? extends com.google.cloud.run.v2.VolumeMountOrBuilder> |
getWorkingDir()
public abstract 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;
Type | Description |
String | The workingDir. |
getWorkingDirBytes()
public abstract 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;
Type | Description |
ByteString | The bytes for workingDir. |
hasLivenessProbe()
public abstract boolean hasLivenessProbe()
Periodic probe of container liveness. Container will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
.google.cloud.run.v2.Probe liveness_probe = 10;
Type | Description |
boolean | Whether the livenessProbe field is set. |
hasResources()
public abstract boolean hasResources()
Compute Resource requirements by this container. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
.google.cloud.run.v2.ResourceRequirements resources = 6;
Type | Description |
boolean | Whether the resources field is set. |
hasStartupProbe()
public abstract 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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
.google.cloud.run.v2.Probe startup_probe = 11;
Type | Description |
boolean | Whether the startupProbe field is set. |