public interface SandboxTemplateOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getArgs(int index)
public abstract String getArgs(int index)Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The args at the given index. |
getArgsBytes(int index)
public abstract ByteString getArgsBytes(int index)Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the args at the given index. |
getArgsCount()
public abstract int getArgsCount()Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of args. |
getArgsList()
public abstract List<String> getArgsList()Optional. Arguments to the entrypoint. The docker image's CMD is used if this is not provided.
repeated string args = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the args. |
getCommand(int index)
public abstract String getCommand(int index)Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The command at the given index. |
getCommandBytes(int index)
public abstract ByteString getCommandBytes(int index)Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the command at the given index. |
getCommandCount()
public abstract int getCommandCount()Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of command. |
getCommandList()
public abstract List<String> getCommandList()Optional. Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided.
repeated string command = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the command. |
getEnv(int index)
public abstract EnvVar getEnv(int index)Optional. List of environment variables to set in the sandbox.
repeated .google.cloud.run.v2.EnvVar env = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EnvVar |
|
getEnvCount()
public abstract int getEnvCount()Optional. List of environment variables to set in the sandbox.
repeated .google.cloud.run.v2.EnvVar env = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getEnvList()
public abstract List<EnvVar> getEnvList()Optional. List of environment variables to set in the sandbox.
repeated .google.cloud.run.v2.EnvVar env = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<EnvVar> |
|
getEnvOrBuilder(int index)
public abstract EnvVarOrBuilder getEnvOrBuilder(int index)Optional. List of environment variables to set in the sandbox.
repeated .google.cloud.run.v2.EnvVar env = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EnvVarOrBuilder |
|
getEnvOrBuilderList()
public abstract List<? extends EnvVarOrBuilder> getEnvOrBuilderList()Optional. List of environment variables to set in the sandbox.
repeated .google.cloud.run.v2.EnvVar env = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.run.v2.EnvVarOrBuilder> |
|
getImage()
public abstract String getImage()Required. Name of the container image in Dockerhub or Artifact 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()
public abstract ByteString getImageBytes()Required. Name of the container image in Dockerhub or Artifact 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. |
getName()
public abstract String getName()Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123).
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123).
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getVolumeMounts(int index)
public abstract VolumeMount getVolumeMounts(int index)Optional. Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
VolumeMount |
|
getVolumeMountsCount()
public abstract int getVolumeMountsCount()Optional. Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getVolumeMountsList()
public abstract List<VolumeMount> getVolumeMountsList()Optional. Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<VolumeMount> |
|
getVolumeMountsOrBuilder(int index)
public abstract VolumeMountOrBuilder getVolumeMountsOrBuilder(int index)Optional. Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
VolumeMountOrBuilder |
|
getVolumeMountsOrBuilderList()
public abstract List<? extends VolumeMountOrBuilder> getVolumeMountsOrBuilderList()Optional. Volume to mount into the container's filesystem.
repeated .google.cloud.run.v2.VolumeMount volume_mounts = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.run.v2.VolumeMountOrBuilder> |
|
getWorkingDir()
public abstract String getWorkingDir()Optional. 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 = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The workingDir. |
getWorkingDirBytes()
public abstract ByteString getWorkingDirBytes()Optional. 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 = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for workingDir. |