Class Compute.ContainerRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.ContainerRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.ContainerRequest.Builder>
namespace.cloud.compute.v1beta.Compute.ContainerRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Compute.ContainerRequestOrBuilder
Enclosing class:
Compute.ContainerRequest

public static final class Compute.ContainerRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<Compute.ContainerRequest.Builder> implements Compute.ContainerRequestOrBuilder
Protobuf type namespace.cloud.compute.v1beta.ContainerRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Compute.ContainerRequest.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Compute.ContainerRequest.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Compute.ContainerRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Compute.ContainerRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Compute.ContainerRequest.Builder>
    • getDefaultInstanceForType

      public Compute.ContainerRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Compute.ContainerRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Compute.ContainerRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Compute.ContainerRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compute.ContainerRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Compute.ContainerRequest.Builder>
    • mergeFrom

      public Compute.ContainerRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compute.ContainerRequest.Builder>
      Throws:
      IOException
    • getName

      public String 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:
      getName in interface Compute.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:
      getNameBytes in interface Compute.ContainerRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Compute.ContainerRequest.Builder setName(String value)
       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;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       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;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Compute.ContainerRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getImageRef

      public String 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:
      getImageRef in interface Compute.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:
      getImageRefBytes in interface Compute.ContainerRequestOrBuilder
      Returns:
      The bytes for imageRef.
    • setImageRef

      public Compute.ContainerRequest.Builder setImageRef(String value)
       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;
      Parameters:
      value - The imageRef to set.
      Returns:
      This builder for chaining.
    • clearImageRef

      public Compute.ContainerRequest.Builder clearImageRef()
       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;
      Returns:
      This builder for chaining.
    • setImageRefBytes

      public Compute.ContainerRequest.Builder setImageRefBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for imageRef to set.
      Returns:
      This builder for chaining.
    • getKnownImageId

      public String 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:
      getKnownImageId in interface Compute.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:
      getKnownImageIdBytes in interface Compute.ContainerRequestOrBuilder
      Returns:
      The bytes for knownImageId.
    • setKnownImageId

      public Compute.ContainerRequest.Builder setKnownImageId(String value)
       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;
      Parameters:
      value - The knownImageId to set.
      Returns:
      This builder for chaining.
    • clearKnownImageId

      public Compute.ContainerRequest.Builder clearKnownImageId()
       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;
      Returns:
      This builder for chaining.
    • setKnownImageIdBytes

      public Compute.ContainerRequest.Builder setKnownImageIdBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for knownImageId to set.
      Returns:
      This builder for chaining.
    • 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:
      getArgsList in interface Compute.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:
      getArgsCount in interface Compute.ContainerRequestOrBuilder
      Returns:
      The count of args.
    • getArgs

      public String getArgs(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:
      getArgs in interface Compute.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:
      getArgsBytes in interface Compute.ContainerRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the args at the given index.
    • setArgs

      public Compute.ContainerRequest.Builder setArgs(int index, String value)
       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;
      Parameters:
      index - The index to set the value at.
      value - The args to set.
      Returns:
      This builder for chaining.
    • addArgs

      public Compute.ContainerRequest.Builder addArgs(String value)
       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;
      Parameters:
      value - The args to add.
      Returns:
      This builder for chaining.
    • addAllArgs

      public Compute.ContainerRequest.Builder addAllArgs(Iterable<String> values)
       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;
      Parameters:
      values - The args to add.
      Returns:
      This builder for chaining.
    • clearArgs

       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;
      Returns:
      This builder for chaining.
    • addArgsBytes

      public Compute.ContainerRequest.Builder addArgsBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes of the args to add.
      Returns:
      This builder for chaining.
    • getEntrypointList

      public com.google.protobuf.ProtocolStringList getEntrypointList()
       If specified, overrides the image's entrypoint.
       
      repeated string entrypoint = 15;
      Specified by:
      getEntrypointList in interface Compute.ContainerRequestOrBuilder
      Returns:
      A list containing the entrypoint.
    • getEntrypointCount

      public int getEntrypointCount()
       If specified, overrides the image's entrypoint.
       
      repeated string entrypoint = 15;
      Specified by:
      getEntrypointCount in interface Compute.ContainerRequestOrBuilder
      Returns:
      The count of entrypoint.
    • getEntrypoint

      public String getEntrypoint(int index)
       If specified, overrides the image's entrypoint.
       
      repeated string entrypoint = 15;
      Specified by:
      getEntrypoint in interface Compute.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:
      getEntrypointBytes in interface Compute.ContainerRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the entrypoint at the given index.
    • setEntrypoint

      public Compute.ContainerRequest.Builder setEntrypoint(int index, String value)
       If specified, overrides the image's entrypoint.
       
      repeated string entrypoint = 15;
      Parameters:
      index - The index to set the value at.
      value - The entrypoint to set.
      Returns:
      This builder for chaining.
    • addEntrypoint

      public Compute.ContainerRequest.Builder addEntrypoint(String value)
       If specified, overrides the image's entrypoint.
       
      repeated string entrypoint = 15;
      Parameters:
      value - The entrypoint to add.
      Returns:
      This builder for chaining.
    • addAllEntrypoint

      public Compute.ContainerRequest.Builder addAllEntrypoint(Iterable<String> values)
       If specified, overrides the image's entrypoint.
       
      repeated string entrypoint = 15;
      Parameters:
      values - The entrypoint to add.
      Returns:
      This builder for chaining.
    • clearEntrypoint

      public Compute.ContainerRequest.Builder clearEntrypoint()
       If specified, overrides the image's entrypoint.
       
      repeated string entrypoint = 15;
      Returns:
      This builder for chaining.
    • addEntrypointBytes

      public Compute.ContainerRequest.Builder addEntrypointBytes(com.google.protobuf.ByteString value)
       If specified, overrides the image's entrypoint.
       
      repeated string entrypoint = 15;
      Parameters:
      value - The bytes of the entrypoint to add.
      Returns:
      This builder for chaining.
    • getEnvironmentCount

      public int getEnvironmentCount()
      Description copied from interface: Compute.ContainerRequestOrBuilder
       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:
      getEnvironmentCount in interface Compute.ContainerRequestOrBuilder
    • containsEnvironment

      public boolean containsEnvironment(String key)
       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:
      containsEnvironment in interface Compute.ContainerRequestOrBuilder
    • getEnvironment

      @Deprecated public Map<String,String> getEnvironment()
      Deprecated.
      Use getEnvironmentMap() instead.
      Specified by:
      getEnvironment in interface Compute.ContainerRequestOrBuilder
    • getEnvironmentMap

      public Map<String,String> 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:
      getEnvironmentMap in interface Compute.ContainerRequestOrBuilder
    • getEnvironmentOrDefault

      public String getEnvironmentOrDefault(String key, String defaultValue)
       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:
      getEnvironmentOrDefault in interface Compute.ContainerRequestOrBuilder
    • getEnvironmentOrThrow

      public String getEnvironmentOrThrow(String key)
       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:
      getEnvironmentOrThrow in interface Compute.ContainerRequestOrBuilder
    • clearEnvironment

      public Compute.ContainerRequest.Builder clearEnvironment()
    • removeEnvironment

      public Compute.ContainerRequest.Builder removeEnvironment(String key)
       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;
    • getMutableEnvironment

      @Deprecated public Map<String,String> getMutableEnvironment()
      Deprecated.
      Use alternate mutation accessors instead.
    • putEnvironment

      public Compute.ContainerRequest.Builder putEnvironment(String key, String value)
       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;
    • putAllEnvironment

      public Compute.ContainerRequest.Builder putAllEnvironment(Map<String,String> values)
       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;
    • getEnvVarsList

      public List<Compute.EnvironmentVariable> 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:
      getEnvVarsList in interface Compute.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:
      getEnvVarsCount in interface Compute.ContainerRequestOrBuilder
    • getEnvVars

      public Compute.EnvironmentVariable getEnvVars(int index)
       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:
      getEnvVars in interface Compute.ContainerRequestOrBuilder
    • setEnvVars

      public Compute.ContainerRequest.Builder setEnvVars(int index, Compute.EnvironmentVariable value)
       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;
    • setEnvVars

      public Compute.ContainerRequest.Builder setEnvVars(int index, Compute.EnvironmentVariable.Builder builderForValue)
       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;
    • addEnvVars

       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;
    • addEnvVars

      public Compute.ContainerRequest.Builder addEnvVars(int index, Compute.EnvironmentVariable value)
       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;
    • addEnvVars

       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;
    • addEnvVars

      public Compute.ContainerRequest.Builder addEnvVars(int index, Compute.EnvironmentVariable.Builder builderForValue)
       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;
    • addAllEnvVars

      public Compute.ContainerRequest.Builder addAllEnvVars(Iterable<? extends Compute.EnvironmentVariable> values)
       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;
    • clearEnvVars

      public Compute.ContainerRequest.Builder clearEnvVars()
       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;
    • removeEnvVars

      public Compute.ContainerRequest.Builder removeEnvVars(int index)
       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;
    • getEnvVarsBuilder

      public Compute.EnvironmentVariable.Builder getEnvVarsBuilder(int index)
       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;
    • getEnvVarsOrBuilder

      public Compute.EnvironmentVariableOrBuilder getEnvVarsOrBuilder(int index)
       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:
      getEnvVarsOrBuilder in interface Compute.ContainerRequestOrBuilder
    • getEnvVarsOrBuilderList

      public List<? extends Compute.EnvironmentVariableOrBuilder> 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:
      getEnvVarsOrBuilderList in interface Compute.ContainerRequestOrBuilder
    • addEnvVarsBuilder

      public Compute.EnvironmentVariable.Builder addEnvVarsBuilder()
       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;
    • addEnvVarsBuilder

      public Compute.EnvironmentVariable.Builder addEnvVarsBuilder(int index)
       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;
    • getEnvVarsBuilderList

      public List<Compute.EnvironmentVariable.Builder> getEnvVarsBuilderList()
       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;
    • getDockerSockPath

      public String 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:
      getDockerSockPath in interface Compute.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:
      getDockerSockPathBytes in interface Compute.ContainerRequestOrBuilder
      Returns:
      The bytes for dockerSockPath.
    • setDockerSockPath

      public Compute.ContainerRequest.Builder setDockerSockPath(String value)
       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;
      Parameters:
      value - The dockerSockPath to set.
      Returns:
      This builder for chaining.
    • clearDockerSockPath

      public Compute.ContainerRequest.Builder clearDockerSockPath()
       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;
      Returns:
      This builder for chaining.
    • setDockerSockPathBytes

      public Compute.ContainerRequest.Builder setDockerSockPathBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for dockerSockPath to set.
      Returns:
      This builder for chaining.
    • getNscStatePath

      public String 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:
      getNscStatePath in interface Compute.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:
      getNscStatePathBytes in interface Compute.ContainerRequestOrBuilder
      Returns:
      The bytes for nscStatePath.
    • setNscStatePath

      public Compute.ContainerRequest.Builder setNscStatePath(String value)
       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;
      Parameters:
      value - The nscStatePath to set.
      Returns:
      This builder for chaining.
    • clearNscStatePath

      public Compute.ContainerRequest.Builder clearNscStatePath()
       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;
      Returns:
      This builder for chaining.
    • setNscStatePathBytes

      public Compute.ContainerRequest.Builder setNscStatePathBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for nscStatePath to set.
      Returns:
      This builder for chaining.
    • getNscBinsPath

      public String getNscBinsPath()
       If set, exposes guest-managed nsc binaries at the specified path.
       
      string nsc_bins_path = 18;
      Specified by:
      getNscBinsPath in interface Compute.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:
      getNscBinsPathBytes in interface Compute.ContainerRequestOrBuilder
      Returns:
      The bytes for nscBinsPath.
    • setNscBinsPath

      public Compute.ContainerRequest.Builder setNscBinsPath(String value)
       If set, exposes guest-managed nsc binaries at the specified path.
       
      string nsc_bins_path = 18;
      Parameters:
      value - The nscBinsPath to set.
      Returns:
      This builder for chaining.
    • clearNscBinsPath

      public Compute.ContainerRequest.Builder clearNscBinsPath()
       If set, exposes guest-managed nsc binaries at the specified path.
       
      string nsc_bins_path = 18;
      Returns:
      This builder for chaining.
    • setNscBinsPathBytes

      public Compute.ContainerRequest.Builder setNscBinsPathBytes(com.google.protobuf.ByteString value)
       If set, exposes guest-managed nsc binaries at the specified path.
       
      string nsc_bins_path = 18;
      Parameters:
      value - The bytes for nscBinsPath to set.
      Returns:
      This builder for chaining.
    • getSecretsPath

      public String getSecretsPath()
       If set, mounts available secrets at the specified path.
       
      string secrets_path = 19;
      Specified by:
      getSecretsPath in interface Compute.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:
      getSecretsPathBytes in interface Compute.ContainerRequestOrBuilder
      Returns:
      The bytes for secretsPath.
    • setSecretsPath

      public Compute.ContainerRequest.Builder setSecretsPath(String value)
       If set, mounts available secrets at the specified path.
       
      string secrets_path = 19;
      Parameters:
      value - The secretsPath to set.
      Returns:
      This builder for chaining.
    • clearSecretsPath

      public Compute.ContainerRequest.Builder clearSecretsPath()
       If set, mounts available secrets at the specified path.
       
      string secrets_path = 19;
      Returns:
      This builder for chaining.
    • setSecretsPathBytes

      public Compute.ContainerRequest.Builder setSecretsPathBytes(com.google.protobuf.ByteString value)
       If set, mounts available secrets at the specified path.
       
      string secrets_path = 19;
      Parameters:
      value - The bytes for secretsPath to set.
      Returns:
      This builder for chaining.
    • getExportPortsList

      public List<Compute.ContainerPort> getExportPortsList()
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
      Specified by:
      getExportPortsList in interface Compute.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:
      getExportPortsCount in interface Compute.ContainerRequestOrBuilder
    • getExportPorts

      public Compute.ContainerPort getExportPorts(int index)
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
      Specified by:
      getExportPorts in interface Compute.ContainerRequestOrBuilder
    • setExportPorts

      public Compute.ContainerRequest.Builder setExportPorts(int index, Compute.ContainerPort value)
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
    • setExportPorts

      public Compute.ContainerRequest.Builder setExportPorts(int index, Compute.ContainerPort.Builder builderForValue)
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
    • addExportPorts

       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
    • addExportPorts

      public Compute.ContainerRequest.Builder addExportPorts(int index, Compute.ContainerPort value)
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
    • addExportPorts

      public Compute.ContainerRequest.Builder addExportPorts(Compute.ContainerPort.Builder builderForValue)
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
    • addExportPorts

      public Compute.ContainerRequest.Builder addExportPorts(int index, Compute.ContainerPort.Builder builderForValue)
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
    • addAllExportPorts

      public Compute.ContainerRequest.Builder addAllExportPorts(Iterable<? extends Compute.ContainerPort> values)
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
    • clearExportPorts

      public Compute.ContainerRequest.Builder clearExportPorts()
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
    • removeExportPorts

      public Compute.ContainerRequest.Builder removeExportPorts(int index)
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
    • getExportPortsBuilder

      public Compute.ContainerPort.Builder getExportPortsBuilder(int index)
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
    • getExportPortsOrBuilder

      public Compute.ContainerPortOrBuilder getExportPortsOrBuilder(int index)
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
      Specified by:
      getExportPortsOrBuilder in interface Compute.ContainerRequestOrBuilder
    • getExportPortsOrBuilderList

      public List<? extends Compute.ContainerPortOrBuilder> getExportPortsOrBuilderList()
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
      Specified by:
      getExportPortsOrBuilderList in interface Compute.ContainerRequestOrBuilder
    • addExportPortsBuilder

      public Compute.ContainerPort.Builder addExportPortsBuilder()
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
    • addExportPortsBuilder

      public Compute.ContainerPort.Builder addExportPortsBuilder(int index)
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
    • getExportPortsBuilderList

      public List<Compute.ContainerPort.Builder> getExportPortsBuilderList()
       A set of container ports to make available through the public ingress.
       
      repeated .namespace.cloud.compute.v1beta.ContainerPort export_ports = 7;
    • 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:
      getNetworkValue in interface Compute.ContainerRequestOrBuilder
      Returns:
      The enum numeric value on the wire for network.
    • setNetworkValue

      public Compute.ContainerRequest.Builder setNetworkValue(int value)
       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;
      Parameters:
      value - The enum numeric value on the wire for network to set.
      Returns:
      This builder for chaining.
    • getNetwork

      public Compute.ContainerRequest.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:
      getNetwork in interface Compute.ContainerRequestOrBuilder
      Returns:
      The network.
    • setNetwork

       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;
      Parameters:
      value - The network to set.
      Returns:
      This builder for chaining.
    • clearNetwork

      public Compute.ContainerRequest.Builder clearNetwork()
       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;
      Returns:
      This builder for chaining.
    • hasExperimental

      public boolean hasExperimental()
       A list of experimental features to enable in this container.
       
      .namespace.cloud.compute.v1beta.ContainerRequest.ExperimentalFeatures experimental = 10;
      Specified by:
      hasExperimental in interface Compute.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:
      getExperimental in interface Compute.ContainerRequestOrBuilder
      Returns:
      The experimental.
    • setExperimental

       A list of experimental features to enable in this container.
       
      .namespace.cloud.compute.v1beta.ContainerRequest.ExperimentalFeatures experimental = 10;
    • setExperimental

       A list of experimental features to enable in this container.
       
      .namespace.cloud.compute.v1beta.ContainerRequest.ExperimentalFeatures experimental = 10;
    • mergeExperimental

       A list of experimental features to enable in this container.
       
      .namespace.cloud.compute.v1beta.ContainerRequest.ExperimentalFeatures experimental = 10;
    • clearExperimental

      public Compute.ContainerRequest.Builder clearExperimental()
       A list of experimental features to enable in this container.
       
      .namespace.cloud.compute.v1beta.ContainerRequest.ExperimentalFeatures experimental = 10;
    • getExperimentalBuilder

       A list of experimental features to enable in this container.
       
      .namespace.cloud.compute.v1beta.ContainerRequest.ExperimentalFeatures experimental = 10;
    • getExperimentalOrBuilder

      public Compute.ContainerRequest.ExperimentalFeaturesOrBuilder getExperimentalOrBuilder()
       A list of experimental features to enable in this container.
       
      .namespace.cloud.compute.v1beta.ContainerRequest.ExperimentalFeatures experimental = 10;
      Specified by:
      getExperimentalOrBuilder in interface Compute.ContainerRequestOrBuilder
    • getPrivileged

      public boolean getPrivileged()
       Run the container with all capabilities.
       
      bool privileged = 11;
      Specified by:
      getPrivileged in interface Compute.ContainerRequestOrBuilder
      Returns:
      The privileged.
    • setPrivileged

      public Compute.ContainerRequest.Builder setPrivileged(boolean value)
       Run the container with all capabilities.
       
      bool privileged = 11;
      Parameters:
      value - The privileged to set.
      Returns:
      This builder for chaining.
    • clearPrivileged

      public Compute.ContainerRequest.Builder clearPrivileged()
       Run the container with all capabilities.
       
      bool privileged = 11;
      Returns:
      This builder for chaining.
    • getVolumesList

      public List<Compute.VolumeRequest> getVolumesList()
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
      Specified by:
      getVolumesList in interface Compute.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:
      getVolumesCount in interface Compute.ContainerRequestOrBuilder
    • getVolumes

      public Compute.VolumeRequest getVolumes(int index)
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
      Specified by:
      getVolumes in interface Compute.ContainerRequestOrBuilder
    • setVolumes

      public Compute.ContainerRequest.Builder setVolumes(int index, Compute.VolumeRequest value)
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
    • setVolumes

      public Compute.ContainerRequest.Builder setVolumes(int index, Compute.VolumeRequest.Builder builderForValue)
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
    • addVolumes

       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
    • addVolumes

      public Compute.ContainerRequest.Builder addVolumes(int index, Compute.VolumeRequest value)
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
    • addVolumes

       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
    • addVolumes

      public Compute.ContainerRequest.Builder addVolumes(int index, Compute.VolumeRequest.Builder builderForValue)
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
    • addAllVolumes

      public Compute.ContainerRequest.Builder addAllVolumes(Iterable<? extends Compute.VolumeRequest> values)
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
    • clearVolumes

      public Compute.ContainerRequest.Builder clearVolumes()
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
    • removeVolumes

      public Compute.ContainerRequest.Builder removeVolumes(int index)
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
    • getVolumesBuilder

      public Compute.VolumeRequest.Builder getVolumesBuilder(int index)
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
    • getVolumesOrBuilder

      public Compute.VolumeRequestOrBuilder getVolumesOrBuilder(int index)
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
      Specified by:
      getVolumesOrBuilder in interface Compute.ContainerRequestOrBuilder
    • getVolumesOrBuilderList

      public List<? extends Compute.VolumeRequestOrBuilder> getVolumesOrBuilderList()
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
      Specified by:
      getVolumesOrBuilderList in interface Compute.ContainerRequestOrBuilder
    • addVolumesBuilder

      public Compute.VolumeRequest.Builder addVolumesBuilder()
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
    • addVolumesBuilder

      public Compute.VolumeRequest.Builder addVolumesBuilder(int index)
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
    • getVolumesBuilderList

      public List<Compute.VolumeRequest.Builder> getVolumesBuilderList()
       A set of volumes to be attached to this container.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
    • 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:
      getWorkloadTypeValue in interface Compute.ContainerRequestOrBuilder
      Returns:
      The enum numeric value on the wire for workloadType.
    • setWorkloadTypeValue

      public Compute.ContainerRequest.Builder setWorkloadTypeValue(int value)
       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;
      Parameters:
      value - The enum numeric value on the wire for workloadType to set.
      Returns:
      This builder for chaining.
    • getWorkloadType

      public Compute.ContainerRequest.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:
      getWorkloadType in interface Compute.ContainerRequestOrBuilder
      Returns:
      The workloadType.
    • setWorkloadType

       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;
      Parameters:
      value - The workloadType to set.
      Returns:
      This builder for chaining.
    • clearWorkloadType

      public Compute.ContainerRequest.Builder clearWorkloadType()
       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;
      Returns:
      This builder for chaining.
    • getSidecarVolumesList

      public List<Compute.ContainerRequest.SidecarVolume> 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:
      getSidecarVolumesList in interface Compute.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:
      getSidecarVolumesCount in interface Compute.ContainerRequestOrBuilder
    • getSidecarVolumes

      public Compute.ContainerRequest.SidecarVolume getSidecarVolumes(int index)
       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:
      getSidecarVolumes in interface Compute.ContainerRequestOrBuilder
    • setSidecarVolumes

      public Compute.ContainerRequest.Builder setSidecarVolumes(int index, Compute.ContainerRequest.SidecarVolume value)
       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;
    • setSidecarVolumes

      public Compute.ContainerRequest.Builder setSidecarVolumes(int index, Compute.ContainerRequest.SidecarVolume.Builder builderForValue)
       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;
    • addSidecarVolumes

       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;
    • addSidecarVolumes

      public Compute.ContainerRequest.Builder addSidecarVolumes(int index, Compute.ContainerRequest.SidecarVolume value)
       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;
    • addSidecarVolumes

       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;
    • addSidecarVolumes

      public Compute.ContainerRequest.Builder addSidecarVolumes(int index, Compute.ContainerRequest.SidecarVolume.Builder builderForValue)
       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;
    • addAllSidecarVolumes

      public Compute.ContainerRequest.Builder addAllSidecarVolumes(Iterable<? extends Compute.ContainerRequest.SidecarVolume> values)
       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;
    • clearSidecarVolumes

      public Compute.ContainerRequest.Builder clearSidecarVolumes()
       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;
    • removeSidecarVolumes

      public Compute.ContainerRequest.Builder removeSidecarVolumes(int index)
       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;
    • getSidecarVolumesBuilder

      public Compute.ContainerRequest.SidecarVolume.Builder getSidecarVolumesBuilder(int index)
       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;
    • getSidecarVolumesOrBuilder

      public Compute.ContainerRequest.SidecarVolumeOrBuilder getSidecarVolumesOrBuilder(int index)
       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:
      getSidecarVolumesOrBuilder in interface Compute.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:
      getSidecarVolumesOrBuilderList in interface Compute.ContainerRequestOrBuilder
    • addSidecarVolumesBuilder

      public Compute.ContainerRequest.SidecarVolume.Builder addSidecarVolumesBuilder()
       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;
    • addSidecarVolumesBuilder

      public Compute.ContainerRequest.SidecarVolume.Builder addSidecarVolumesBuilder(int index)
       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;
    • getSidecarVolumesBuilderList

      public List<Compute.ContainerRequest.SidecarVolume.Builder> getSidecarVolumesBuilderList()
       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;