Package namespace.cloud.compute.v1beta
Class Compute.ContainerRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
namespace.cloud.compute.v1beta.Compute.ContainerRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Compute.ContainerRequestOrBuilder
- Enclosing class:
Compute
public static final class Compute.ContainerRequest
extends com.google.protobuf.GeneratedMessage
implements Compute.ContainerRequestOrBuilder
Protobuf type
namespace.cloud.compute.v1beta.ContainerRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typenamespace.cloud.compute.v1beta.ContainerRequeststatic final classProtobuf typenamespace.cloud.compute.v1beta.ContainerRequest.ExperimentalFeaturesstatic interfacestatic enumProtobuf enumnamespace.cloud.compute.v1beta.ContainerRequest.Networkstatic final classA volume that gets mounted into arbitrary paths within the container namespace.static interfacestatic enumProtobuf enumnamespace.cloud.compute.v1beta.ContainerRequest.WorkloadTypeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanA set of environment values to be used as the container's environment.booleangetArgs(int index) A set of arguments to pass to the container's entrypoint.com.google.protobuf.ByteStringgetArgsBytes(int index) A set of arguments to pass to the container's entrypoint.intA set of arguments to pass to the container's entrypoint.com.google.protobuf.ProtocolStringListA set of arguments to pass to the container's entrypoint.static Compute.ContainerRequeststatic final com.google.protobuf.Descriptors.DescriptorIf set, makes docker available to the container.com.google.protobuf.ByteStringIf set, makes docker available to the container.getEntrypoint(int index) If specified, overrides the image's entrypoint.com.google.protobuf.ByteStringgetEntrypointBytes(int index) If specified, overrides the image's entrypoint.intIf specified, overrides the image's entrypoint.com.google.protobuf.ProtocolStringListIf specified, overrides the image's entrypoint.Deprecated.intA set of environment values to be used as the container's environment.A set of environment values to be used as the container's environment.getEnvironmentOrDefault(String key, String defaultValue) A set of environment values to be used as the container's environment.A set of environment values to be used as the container's environment.getEnvVars(int index) A set of environment values to be used as the container's environment.intA set of environment values to be used as the container's environment.A set of environment values to be used as the container's environment.getEnvVarsOrBuilder(int index) A set of environment values to be used as the container's environment.List<? extends Compute.EnvironmentVariableOrBuilder> A set of environment values to be used as the container's environment.A list of experimental features to enable in this container.A list of experimental features to enable in this container.getExportPorts(int index) A set of container ports to make available through the public ingress.intA set of container ports to make available through the public ingress.A set of container ports to make available through the public ingress.getExportPortsOrBuilder(int index) A set of container ports to make available through the public ingress.List<? extends Compute.ContainerPortOrBuilder> A set of container ports to make available through the public ingress.An image reference to the container image used to back this container.com.google.protobuf.ByteStringAn image reference to the container image used to back this container.The ID of a Namespace-managed image.com.google.protobuf.ByteStringThe ID of a Namespace-managed image.getName()A name of the container being created.com.google.protobuf.ByteStringA name of the container being created.By default containers run in a bridge network, with NAT.intBy default containers run in a bridge network, with NAT.If set, exposes guest-managed nsc binaries at the specified path.com.google.protobuf.ByteStringIf set, exposes guest-managed nsc binaries at the specified path.If set, injects Namespace metadata and credentials into the container at the specified path.com.google.protobuf.ByteStringIf set, injects Namespace metadata and credentials into the container at the specified path.com.google.protobuf.Parser<Compute.ContainerRequest> booleanRun the container with all capabilities.If set, mounts available secrets at the specified path.com.google.protobuf.ByteStringIf set, mounts available secrets at the specified path.intgetSidecarVolumes(int index) A set of volumes that get mounted into the container at the specified paths.intA set of volumes that get mounted into the container at the specified paths.A set of volumes that get mounted into the container at the specified paths.getSidecarVolumesOrBuilder(int index) A set of volumes that get mounted into the container at the specified paths.A set of volumes that get mounted into the container at the specified paths.getVolumes(int index) A set of volumes to be attached to this container.intA set of volumes to be attached to this container.A set of volumes to be attached to this container.getVolumesOrBuilder(int index) A set of volumes to be attached to this container.List<? extends Compute.VolumeRequestOrBuilder> A set of volumes to be attached to this container.When a container terminates, the instance where it runs in will also terminate.intWhen a container terminates, the instance where it runs in will also terminate.booleanA list of experimental features to enable in this container.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(Compute.ContainerRequest prototype) protected Compute.ContainerRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Compute.ContainerRequestparseDelimitedFrom(InputStream input) static Compute.ContainerRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Compute.ContainerRequestparseFrom(byte[] data) static Compute.ContainerRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Compute.ContainerRequestparseFrom(com.google.protobuf.ByteString data) static Compute.ContainerRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Compute.ContainerRequestparseFrom(com.google.protobuf.CodedInputStream input) static Compute.ContainerRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Compute.ContainerRequestparseFrom(InputStream input) static Compute.ContainerRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Compute.ContainerRequestparseFrom(ByteBuffer data) static Compute.ContainerRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Compute.ContainerRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
IMAGE_REF_FIELD_NUMBER
public static final int IMAGE_REF_FIELD_NUMBER- See Also:
-
KNOWN_IMAGE_ID_FIELD_NUMBER
public static final int KNOWN_IMAGE_ID_FIELD_NUMBER- See Also:
-
ARGS_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER- See Also:
-
ENTRYPOINT_FIELD_NUMBER
public static final int ENTRYPOINT_FIELD_NUMBER- See Also:
-
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER- See Also:
-
ENV_VARS_FIELD_NUMBER
public static final int ENV_VARS_FIELD_NUMBER- See Also:
-
DOCKER_SOCK_PATH_FIELD_NUMBER
public static final int DOCKER_SOCK_PATH_FIELD_NUMBER- See Also:
-
NSC_STATE_PATH_FIELD_NUMBER
public static final int NSC_STATE_PATH_FIELD_NUMBER- See Also:
-
NSC_BINS_PATH_FIELD_NUMBER
public static final int NSC_BINS_PATH_FIELD_NUMBER- See Also:
-
SECRETS_PATH_FIELD_NUMBER
public static final int SECRETS_PATH_FIELD_NUMBER- See Also:
-
EXPORT_PORTS_FIELD_NUMBER
public static final int EXPORT_PORTS_FIELD_NUMBER- See Also:
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER- See Also:
-
EXPERIMENTAL_FIELD_NUMBER
public static final int EXPERIMENTAL_FIELD_NUMBER- See Also:
-
PRIVILEGED_FIELD_NUMBER
public static final int PRIVILEGED_FIELD_NUMBER- See Also:
-
VOLUMES_FIELD_NUMBER
public static final int VOLUMES_FIELD_NUMBER- See Also:
-
WORKLOAD_TYPE_FIELD_NUMBER
public static final int WORKLOAD_TYPE_FIELD_NUMBER- See Also:
-
SIDECAR_VOLUMES_FIELD_NUMBER
public static final int SIDECAR_VOLUMES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
A name of the container being created. Must be unique within the instance. Must match the regular expression `[a-z0-9]([a-z0-9-]*[a-z0-9])?`.
string name = 1;- Specified by:
getNamein interfaceCompute.ContainerRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()A name of the container being created. Must be unique within the instance. Must match the regular expression `[a-z0-9]([a-z0-9-]*[a-z0-9])?`.
string name = 1;- Specified by:
getNameBytesin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The bytes for name.
-
getImageRef
An image reference to the container image used to back this container. Ideally image references that are specified are fully resolved and "pinned", i.e. their digest is also specified. If no resolved image is provided, it is resolved during creation time, which may add latency to the creation request. Example: `ubuntu:22.04@sha256:dfd64a3b4296d8c9b62aa3309984f8620b98d87e47492599ee20739e8eb54fbf`
string image_ref = 2;- Specified by:
getImageRefin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The imageRef.
-
getImageRefBytes
public com.google.protobuf.ByteString getImageRefBytes()An image reference to the container image used to back this container. Ideally image references that are specified are fully resolved and "pinned", i.e. their digest is also specified. If no resolved image is provided, it is resolved during creation time, which may add latency to the creation request. Example: `ubuntu:22.04@sha256:dfd64a3b4296d8c9b62aa3309984f8620b98d87e47492599ee20739e8eb54fbf`
string image_ref = 2;- Specified by:
getImageRefBytesin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The bytes for imageRef.
-
getKnownImageId
The ID of a Namespace-managed image. The ID is resolved to a pinned image reference during instance creation. Mutually exclusive with `image_ref`. Supported values: - `builtin:base` - `builtin:agents`
string known_image_id = 17;- Specified by:
getKnownImageIdin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The knownImageId.
-
getKnownImageIdBytes
public com.google.protobuf.ByteString getKnownImageIdBytes()The ID of a Namespace-managed image. The ID is resolved to a pinned image reference during instance creation. Mutually exclusive with `image_ref`. Supported values: - `builtin:base` - `builtin:agents`
string known_image_id = 17;- Specified by:
getKnownImageIdBytesin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The bytes for knownImageId.
-
getArgsList
public com.google.protobuf.ProtocolStringList getArgsList()A set of arguments to pass to the container's entrypoint. If `entrypoint` is not set, these are passed to the image's default ENTRYPOINT. Example: `["--foobar"]`
repeated string args = 3;- Specified by:
getArgsListin interfaceCompute.ContainerRequestOrBuilder- Returns:
- A list containing the args.
-
getArgsCount
public int getArgsCount()A set of arguments to pass to the container's entrypoint. If `entrypoint` is not set, these are passed to the image's default ENTRYPOINT. Example: `["--foobar"]`
repeated string args = 3;- Specified by:
getArgsCountin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The count of args.
-
getArgs
A set of arguments to pass to the container's entrypoint. If `entrypoint` is not set, these are passed to the image's default ENTRYPOINT. Example: `["--foobar"]`
repeated string args = 3;- Specified by:
getArgsin interfaceCompute.ContainerRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The args at the given index.
-
getArgsBytes
public com.google.protobuf.ByteString getArgsBytes(int index) A set of arguments to pass to the container's entrypoint. If `entrypoint` is not set, these are passed to the image's default ENTRYPOINT. Example: `["--foobar"]`
repeated string args = 3;- Specified by:
getArgsBytesin interfaceCompute.ContainerRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the args at the given index.
-
getEntrypointList
public com.google.protobuf.ProtocolStringList getEntrypointList()If specified, overrides the image's entrypoint.
repeated string entrypoint = 15;- Specified by:
getEntrypointListin interfaceCompute.ContainerRequestOrBuilder- Returns:
- A list containing the entrypoint.
-
getEntrypointCount
public int getEntrypointCount()If specified, overrides the image's entrypoint.
repeated string entrypoint = 15;- Specified by:
getEntrypointCountin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The count of entrypoint.
-
getEntrypoint
If specified, overrides the image's entrypoint.
repeated string entrypoint = 15;- Specified by:
getEntrypointin interfaceCompute.ContainerRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The entrypoint at the given index.
-
getEntrypointBytes
public com.google.protobuf.ByteString getEntrypointBytes(int index) If specified, overrides the image's entrypoint.
repeated string entrypoint = 15;- Specified by:
getEntrypointBytesin interfaceCompute.ContainerRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entrypoint at the given index.
-
getEnvironmentCount
public int getEnvironmentCount()Description copied from interface:Compute.ContainerRequestOrBuilderA set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API.map<string, string> environment = 4;- Specified by:
getEnvironmentCountin interfaceCompute.ContainerRequestOrBuilder
-
containsEnvironment
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API.map<string, string> environment = 4;- Specified by:
containsEnvironmentin interfaceCompute.ContainerRequestOrBuilder
-
getEnvironment
Deprecated.UsegetEnvironmentMap()instead.- Specified by:
getEnvironmentin interfaceCompute.ContainerRequestOrBuilder
-
getEnvironmentMap
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API.map<string, string> environment = 4;- Specified by:
getEnvironmentMapin interfaceCompute.ContainerRequestOrBuilder
-
getEnvironmentOrDefault
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API.map<string, string> environment = 4;- Specified by:
getEnvironmentOrDefaultin interfaceCompute.ContainerRequestOrBuilder
-
getEnvironmentOrThrow
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` This API will always be supported, but you may want to consider `env_vars` instead as a more complete API.map<string, string> environment = 4;- Specified by:
getEnvironmentOrThrowin interfaceCompute.ContainerRequestOrBuilder
-
getEnvVarsList
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets. By default, no secrets are injected.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 14;- Specified by:
getEnvVarsListin interfaceCompute.ContainerRequestOrBuilder
-
getEnvVarsOrBuilderList
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets. By default, no secrets are injected.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 14;- Specified by:
getEnvVarsOrBuilderListin interfaceCompute.ContainerRequestOrBuilder
-
getEnvVarsCount
public int getEnvVarsCount()A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets. By default, no secrets are injected.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 14;- Specified by:
getEnvVarsCountin interfaceCompute.ContainerRequestOrBuilder
-
getEnvVars
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets. By default, no secrets are injected.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 14;- Specified by:
getEnvVarsin interfaceCompute.ContainerRequestOrBuilder
-
getEnvVarsOrBuilder
A set of environment values to be used as the container's environment. These set of environment variables are added in addition to a system-specified set of environment variables. Example: `{"FOOBAR": "1"}` Can also refer to different source values, e.g. secrets. By default, no secrets are injected.repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 14;- Specified by:
getEnvVarsOrBuilderin interfaceCompute.ContainerRequestOrBuilder
-
getDockerSockPath
If set, makes docker available to the container. Any containers that are started by the container via the Docker API are then run as containers alongside this container, not as children. Bind mounts work across containers by using container-aware bind mount resolution. Example: `/var/run/docker.sock`
string docker_sock_path = 5;- Specified by:
getDockerSockPathin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The dockerSockPath.
-
getDockerSockPathBytes
public com.google.protobuf.ByteString getDockerSockPathBytes()If set, makes docker available to the container. Any containers that are started by the container via the Docker API are then run as containers alongside this container, not as children. Bind mounts work across containers by using container-aware bind mount resolution. Example: `/var/run/docker.sock`
string docker_sock_path = 5;- Specified by:
getDockerSockPathBytesin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The bytes for dockerSockPath.
-
getNscStatePath
If set, injects Namespace metadata and credentials into the container at the specified path. This includes the workload token and instance metadata, and sets the following environment variables: - `NSC_INSTANCE_ID`: the ID of the parent instance. - `NSC_ENDPOINT`: the regional Compute API endpoint. - `NSC_TOKEN_FILE`: path to the injected token file. Can be used to allow the container to call Namespace APIs as the instance. Example: `/var/run/nsc`
string nsc_state_path = 6;- Specified by:
getNscStatePathin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The nscStatePath.
-
getNscStatePathBytes
public com.google.protobuf.ByteString getNscStatePathBytes()If set, injects Namespace metadata and credentials into the container at the specified path. This includes the workload token and instance metadata, and sets the following environment variables: - `NSC_INSTANCE_ID`: the ID of the parent instance. - `NSC_ENDPOINT`: the regional Compute API endpoint. - `NSC_TOKEN_FILE`: path to the injected token file. Can be used to allow the container to call Namespace APIs as the instance. Example: `/var/run/nsc`
string nsc_state_path = 6;- Specified by:
getNscStatePathBytesin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The bytes for nscStatePath.
-
getNscBinsPath
If set, exposes guest-managed nsc binaries at the specified path.
string nsc_bins_path = 18;- Specified by:
getNscBinsPathin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The nscBinsPath.
-
getNscBinsPathBytes
public com.google.protobuf.ByteString getNscBinsPathBytes()If set, exposes guest-managed nsc binaries at the specified path.
string nsc_bins_path = 18;- Specified by:
getNscBinsPathBytesin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The bytes for nscBinsPath.
-
getSecretsPath
If set, mounts available secrets at the specified path.
string secrets_path = 19;- Specified by:
getSecretsPathin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The secretsPath.
-
getSecretsPathBytes
public com.google.protobuf.ByteString getSecretsPathBytes()If set, mounts available secrets at the specified path.
string secrets_path = 19;- Specified by:
getSecretsPathBytesin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The bytes for secretsPath.
-
getExportPortsList
A set of container ports to make available through the public ingress.
repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;- Specified by:
getExportPortsListin interfaceCompute.ContainerRequestOrBuilder
-
getExportPortsOrBuilderList
A set of container ports to make available through the public ingress.
repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;- Specified by:
getExportPortsOrBuilderListin interfaceCompute.ContainerRequestOrBuilder
-
getExportPortsCount
public int getExportPortsCount()A set of container ports to make available through the public ingress.
repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;- Specified by:
getExportPortsCountin interfaceCompute.ContainerRequestOrBuilder
-
getExportPorts
A set of container ports to make available through the public ingress.
repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;- Specified by:
getExportPortsin interfaceCompute.ContainerRequestOrBuilder
-
getExportPortsOrBuilder
A set of container ports to make available through the public ingress.
repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;- Specified by:
getExportPortsOrBuilderin interfaceCompute.ContainerRequestOrBuilder
-
getNetworkValue
public int getNetworkValue()By default containers run in a bridge network, with NAT. This allows containers to listen on arbitrary ports without requiring coordination. The container can be run in the instance networking by specifying `HOST`.
.namespace.cloud.compute.v1beta.ContainerRequest.Network network = 9;- Specified by:
getNetworkValuein interfaceCompute.ContainerRequestOrBuilder- Returns:
- The enum numeric value on the wire for network.
-
getNetwork
By default containers run in a bridge network, with NAT. This allows containers to listen on arbitrary ports without requiring coordination. The container can be run in the instance networking by specifying `HOST`.
.namespace.cloud.compute.v1beta.ContainerRequest.Network network = 9;- Specified by:
getNetworkin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The network.
-
hasExperimental
public boolean hasExperimental()A list of experimental features to enable in this container.
.namespace.cloud.compute.v1beta.ContainerRequest.ExperimentalFeatures experimental = 10;- Specified by:
hasExperimentalin interfaceCompute.ContainerRequestOrBuilder- Returns:
- Whether the experimental field is set.
-
getExperimental
A list of experimental features to enable in this container.
.namespace.cloud.compute.v1beta.ContainerRequest.ExperimentalFeatures experimental = 10;- Specified by:
getExperimentalin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The experimental.
-
getExperimentalOrBuilder
A list of experimental features to enable in this container.
.namespace.cloud.compute.v1beta.ContainerRequest.ExperimentalFeatures experimental = 10;- Specified by:
getExperimentalOrBuilderin interfaceCompute.ContainerRequestOrBuilder
-
getPrivileged
public boolean getPrivileged()Run the container with all capabilities.
bool privileged = 11;- Specified by:
getPrivilegedin interfaceCompute.ContainerRequestOrBuilder- Returns:
- The privileged.
-
getVolumesList
A set of volumes to be attached to this container.
repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;- Specified by:
getVolumesListin interfaceCompute.ContainerRequestOrBuilder
-
getVolumesOrBuilderList
A set of volumes to be attached to this container.
repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;- Specified by:
getVolumesOrBuilderListin interfaceCompute.ContainerRequestOrBuilder
-
getVolumesCount
public int getVolumesCount()A set of volumes to be attached to this container.
repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;- Specified by:
getVolumesCountin interfaceCompute.ContainerRequestOrBuilder
-
getVolumes
A set of volumes to be attached to this container.
repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;- Specified by:
getVolumesin interfaceCompute.ContainerRequestOrBuilder
-
getVolumesOrBuilder
A set of volumes to be attached to this container.
repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;- Specified by:
getVolumesOrBuilderin interfaceCompute.ContainerRequestOrBuilder
-
getWorkloadTypeValue
public int getWorkloadTypeValue()When a container terminates, the instance where it runs in will also terminate. If the workload type is set to `service`, the instance will always be marked as failed, regardless of the exit code of the container.
.namespace.cloud.compute.v1beta.ContainerRequest.WorkloadType workload_type = 13;- Specified by:
getWorkloadTypeValuein interfaceCompute.ContainerRequestOrBuilder- Returns:
- The enum numeric value on the wire for workloadType.
-
getWorkloadType
When a container terminates, the instance where it runs in will also terminate. If the workload type is set to `service`, the instance will always be marked as failed, regardless of the exit code of the container.
.namespace.cloud.compute.v1beta.ContainerRequest.WorkloadType workload_type = 13;- Specified by:
getWorkloadTypein interfaceCompute.ContainerRequestOrBuilder- Returns:
- The workloadType.
-
getSidecarVolumesList
A set of volumes that get mounted into the container at the specified paths. These volumes are always read-only.
repeated .namespace.cloud.compute.v1beta.ContainerRequest.SidecarVolume sidecar_volumes = 16;- Specified by:
getSidecarVolumesListin interfaceCompute.ContainerRequestOrBuilder
-
getSidecarVolumesOrBuilderList
public List<? extends Compute.ContainerRequest.SidecarVolumeOrBuilder> getSidecarVolumesOrBuilderList()A set of volumes that get mounted into the container at the specified paths. These volumes are always read-only.
repeated .namespace.cloud.compute.v1beta.ContainerRequest.SidecarVolume sidecar_volumes = 16;- Specified by:
getSidecarVolumesOrBuilderListin interfaceCompute.ContainerRequestOrBuilder
-
getSidecarVolumesCount
public int getSidecarVolumesCount()A set of volumes that get mounted into the container at the specified paths. These volumes are always read-only.
repeated .namespace.cloud.compute.v1beta.ContainerRequest.SidecarVolume sidecar_volumes = 16;- Specified by:
getSidecarVolumesCountin interfaceCompute.ContainerRequestOrBuilder
-
getSidecarVolumes
A set of volumes that get mounted into the container at the specified paths. These volumes are always read-only.
repeated .namespace.cloud.compute.v1beta.ContainerRequest.SidecarVolume sidecar_volumes = 16;- Specified by:
getSidecarVolumesin interfaceCompute.ContainerRequestOrBuilder
-
getSidecarVolumesOrBuilder
A set of volumes that get mounted into the container at the specified paths. These volumes are always read-only.
repeated .namespace.cloud.compute.v1beta.ContainerRequest.SidecarVolume sidecar_volumes = 16;- Specified by:
getSidecarVolumesOrBuilderin interfaceCompute.ContainerRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Compute.ContainerRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compute.ContainerRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compute.ContainerRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compute.ContainerRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compute.ContainerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Compute.ContainerRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Compute.ContainerRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Compute.ContainerRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Compute.ContainerRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Compute.ContainerRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Compute.ContainerRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-