Class Compute.ApplicationRequest.Builder

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

public static final class Compute.ApplicationRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<Compute.ApplicationRequest.Builder> implements Compute.ApplicationRequestOrBuilder
 Specifies an application to run on an instance without containerization.
 The application binary is distributed as a container image (OCI) pushed to
 the workspace's private registry (`nscr.io`). Only the image filesystem is
 used; ENTRYPOINT/CMD from the image config are not respected.

 **Example** (macOS):
 [macrun](https://github.com/namespacelabs/examples/tree/master/go/macrun).
 
Protobuf type namespace.cloud.compute.v1beta.ApplicationRequest
  • 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.ApplicationRequest.Builder>
    • internalGetMutableMapFieldReflection

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Compute.ApplicationRequest.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.ApplicationRequest.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.ApplicationRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public Compute.ApplicationRequest.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.ApplicationRequest.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.ApplicationRequest.Builder>
    • mergeFrom

      public Compute.ApplicationRequest.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.ApplicationRequest.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       A name of the application being created. Must be unique.
       
      string name = 1;
      Specified by:
      getName in interface Compute.ApplicationRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       A name of the application being created. Must be unique.
       
      string name = 1;
      Specified by:
      getNameBytes in interface Compute.ApplicationRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       A name of the application being created. Must be unique.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       A name of the application being created. Must be unique.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Compute.ApplicationRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       A name of the application being created. Must be unique.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getImageRef

      public String getImageRef()
       Optional image with application distribution to be mounted on the instance.
       The image filesystem is extracted and made available to the `command`
       below. ENTRYPOINT/CMD specified in the image config are not respected.
      
       Example: `nscr.io/abc012abc012/foobar`
       
      string image_ref = 2;
      Specified by:
      getImageRef in interface Compute.ApplicationRequestOrBuilder
      Returns:
      The imageRef.
    • getImageRefBytes

      public com.google.protobuf.ByteString getImageRefBytes()
       Optional image with application distribution to be mounted on the instance.
       The image filesystem is extracted and made available to the `command`
       below. ENTRYPOINT/CMD specified in the image config are not respected.
      
       Example: `nscr.io/abc012abc012/foobar`
       
      string image_ref = 2;
      Specified by:
      getImageRefBytes in interface Compute.ApplicationRequestOrBuilder
      Returns:
      The bytes for imageRef.
    • setImageRef

      public Compute.ApplicationRequest.Builder setImageRef(String value)
       Optional image with application distribution to be mounted on the instance.
       The image filesystem is extracted and made available to the `command`
       below. ENTRYPOINT/CMD specified in the image config are not respected.
      
       Example: `nscr.io/abc012abc012/foobar`
       
      string image_ref = 2;
      Parameters:
      value - The imageRef to set.
      Returns:
      This builder for chaining.
    • clearImageRef

      public Compute.ApplicationRequest.Builder clearImageRef()
       Optional image with application distribution to be mounted on the instance.
       The image filesystem is extracted and made available to the `command`
       below. ENTRYPOINT/CMD specified in the image config are not respected.
      
       Example: `nscr.io/abc012abc012/foobar`
       
      string image_ref = 2;
      Returns:
      This builder for chaining.
    • setImageRefBytes

      public Compute.ApplicationRequest.Builder setImageRefBytes(com.google.protobuf.ByteString value)
       Optional image with application distribution to be mounted on the instance.
       The image filesystem is extracted and made available to the `command`
       below. ENTRYPOINT/CMD specified in the image config are not respected.
      
       Example: `nscr.io/abc012abc012/foobar`
       
      string image_ref = 2;
      Parameters:
      value - The bytes for imageRef to set.
      Returns:
      This builder for chaining.
    • getCommand

      public String getCommand()
       Command to execute.
      
       May be:
      
       * Absolute (refers to a pre-installed binary in the base image).
       Example: `/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild`.
      
       * Relative to the image specified above.
       Example: `./postgres`.
      
       * Resolved from $PATH (using the default $PATH of the base image)
       Example: `xcrun`.
       
      string command = 14;
      Specified by:
      getCommand in interface Compute.ApplicationRequestOrBuilder
      Returns:
      The command.
    • getCommandBytes

      public com.google.protobuf.ByteString getCommandBytes()
       Command to execute.
      
       May be:
      
       * Absolute (refers to a pre-installed binary in the base image).
       Example: `/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild`.
      
       * Relative to the image specified above.
       Example: `./postgres`.
      
       * Resolved from $PATH (using the default $PATH of the base image)
       Example: `xcrun`.
       
      string command = 14;
      Specified by:
      getCommandBytes in interface Compute.ApplicationRequestOrBuilder
      Returns:
      The bytes for command.
    • setCommand

      public Compute.ApplicationRequest.Builder setCommand(String value)
       Command to execute.
      
       May be:
      
       * Absolute (refers to a pre-installed binary in the base image).
       Example: `/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild`.
      
       * Relative to the image specified above.
       Example: `./postgres`.
      
       * Resolved from $PATH (using the default $PATH of the base image)
       Example: `xcrun`.
       
      string command = 14;
      Parameters:
      value - The command to set.
      Returns:
      This builder for chaining.
    • clearCommand

      public Compute.ApplicationRequest.Builder clearCommand()
       Command to execute.
      
       May be:
      
       * Absolute (refers to a pre-installed binary in the base image).
       Example: `/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild`.
      
       * Relative to the image specified above.
       Example: `./postgres`.
      
       * Resolved from $PATH (using the default $PATH of the base image)
       Example: `xcrun`.
       
      string command = 14;
      Returns:
      This builder for chaining.
    • setCommandBytes

      public Compute.ApplicationRequest.Builder setCommandBytes(com.google.protobuf.ByteString value)
       Command to execute.
      
       May be:
      
       * Absolute (refers to a pre-installed binary in the base image).
       Example: `/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild`.
      
       * Relative to the image specified above.
       Example: `./postgres`.
      
       * Resolved from $PATH (using the default $PATH of the base image)
       Example: `xcrun`.
       
      string command = 14;
      Parameters:
      value - The bytes for command to set.
      Returns:
      This builder for chaining.
    • getArgsList

      public com.google.protobuf.ProtocolStringList getArgsList()
       A set of arguments to pass to the application.
      
       Example: `["--foobar"]`
       
      repeated string args = 3;
      Specified by:
      getArgsList in interface Compute.ApplicationRequestOrBuilder
      Returns:
      A list containing the args.
    • getArgsCount

      public int getArgsCount()
       A set of arguments to pass to the application.
      
       Example: `["--foobar"]`
       
      repeated string args = 3;
      Specified by:
      getArgsCount in interface Compute.ApplicationRequestOrBuilder
      Returns:
      The count of args.
    • getArgs

      public String getArgs(int index)
       A set of arguments to pass to the application.
      
       Example: `["--foobar"]`
       
      repeated string args = 3;
      Specified by:
      getArgs in interface Compute.ApplicationRequestOrBuilder
      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 application.
      
       Example: `["--foobar"]`
       
      repeated string args = 3;
      Specified by:
      getArgsBytes in interface Compute.ApplicationRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the args at the given index.
    • setArgs

      public Compute.ApplicationRequest.Builder setArgs(int index, String value)
       A set of arguments to pass to the application.
      
       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

       A set of arguments to pass to the application.
      
       Example: `["--foobar"]`
       
      repeated string args = 3;
      Parameters:
      value - The args to add.
      Returns:
      This builder for chaining.
    • addAllArgs

      public Compute.ApplicationRequest.Builder addAllArgs(Iterable<String> values)
       A set of arguments to pass to the application.
      
       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 application.
      
       Example: `["--foobar"]`
       
      repeated string args = 3;
      Returns:
      This builder for chaining.
    • addArgsBytes

      public Compute.ApplicationRequest.Builder addArgsBytes(com.google.protobuf.ByteString value)
       A set of arguments to pass to the application.
      
       Example: `["--foobar"]`
       
      repeated string args = 3;
      Parameters:
      value - The bytes of the args to add.
      Returns:
      This builder for chaining.
    • getEnvironmentCount

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

      @Deprecated public Map<String,String> getEnvironment()
      Deprecated.
      Use getEnvironmentMap() instead.
      Specified by:
      getEnvironment in interface Compute.ApplicationRequestOrBuilder
    • 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.ApplicationRequestOrBuilder
    • 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.ApplicationRequestOrBuilder
    • 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.ApplicationRequestOrBuilder
    • clearEnvironment

      public Compute.ApplicationRequest.Builder clearEnvironment()
    • removeEnvironment

      public Compute.ApplicationRequest.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.ApplicationRequest.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.ApplicationRequest.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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
      Specified by:
      getEnvVarsList in interface Compute.ApplicationRequestOrBuilder
    • 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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
      Specified by:
      getEnvVarsCount in interface Compute.ApplicationRequestOrBuilder
    • 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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
      Specified by:
      getEnvVars in interface Compute.ApplicationRequestOrBuilder
    • setEnvVars

      public Compute.ApplicationRequest.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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
    • setEnvVars

      public Compute.ApplicationRequest.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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
    • 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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
    • addEnvVars

      public Compute.ApplicationRequest.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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
    • 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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
    • addEnvVars

      public Compute.ApplicationRequest.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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
    • addAllEnvVars

       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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
    • clearEnvVars

      public Compute.ApplicationRequest.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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
    • removeEnvVars

      public Compute.ApplicationRequest.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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
    • 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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
    • 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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
      Specified by:
      getEnvVarsOrBuilder in interface Compute.ApplicationRequestOrBuilder
    • 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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
      Specified by:
      getEnvVarsOrBuilderList in interface Compute.ApplicationRequestOrBuilder
    • 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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
    • 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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
    • 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.
       
      repeated .namespace.cloud.compute.v1beta.EnvironmentVariable env_vars = 15;
    • 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.ApplicationRequest.WorkloadType workload_type = 13;
      Specified by:
      getWorkloadTypeValue in interface Compute.ApplicationRequestOrBuilder
      Returns:
      The enum numeric value on the wire for workloadType.
    • setWorkloadTypeValue

      public Compute.ApplicationRequest.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.ApplicationRequest.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.ApplicationRequest.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.ApplicationRequest.WorkloadType workload_type = 13;
      Specified by:
      getWorkloadType in interface Compute.ApplicationRequestOrBuilder
      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.ApplicationRequest.WorkloadType workload_type = 13;
      Parameters:
      value - The workloadType to set.
      Returns:
      This builder for chaining.
    • clearWorkloadType

      public Compute.ApplicationRequest.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.ApplicationRequest.WorkloadType workload_type = 13;
      Returns:
      This builder for chaining.
    • hasExperimental

      public boolean hasExperimental()
       A list of experimental features to enable in this container.
       
      .namespace.cloud.compute.v1beta.ApplicationRequest.ExperimentalFeatures experimental = 10;
      Specified by:
      hasExperimental in interface Compute.ApplicationRequestOrBuilder
      Returns:
      Whether the experimental field is set.
    • getExperimental

       A list of experimental features to enable in this container.
       
      .namespace.cloud.compute.v1beta.ApplicationRequest.ExperimentalFeatures experimental = 10;
      Specified by:
      getExperimental in interface Compute.ApplicationRequestOrBuilder
      Returns:
      The experimental.
    • setExperimental

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

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

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

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

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

       A list of experimental features to enable in this container.
       
      .namespace.cloud.compute.v1beta.ApplicationRequest.ExperimentalFeatures experimental = 10;
      Specified by:
      getExperimentalOrBuilder in interface Compute.ApplicationRequestOrBuilder