Interface Compute.ApplicationRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Compute.ApplicationRequest, Compute.ApplicationRequest.Builder
Enclosing class:
Compute

public static interface Compute.ApplicationRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       A name of the application being created. Must be unique.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       A name of the application being created. Must be unique.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getImageRef

      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;
      Returns:
      The imageRef.
    • getImageRefBytes

      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;
      Returns:
      The bytes for imageRef.
    • getCommand

      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;
      Returns:
      The command.
    • getCommandBytes

      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;
      Returns:
      The bytes for command.
    • getArgsList

      List<String> getArgsList()
       A set of arguments to pass to the application.
      
       Example: `["--foobar"]`
       
      repeated string args = 3;
      Returns:
      A list containing the args.
    • getArgsCount

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

      String getArgs(int index)
       A set of arguments to pass to the application.
      
       Example: `["--foobar"]`
       
      repeated string args = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The args at the given index.
    • getArgsBytes

      com.google.protobuf.ByteString getArgsBytes(int index)
       A set of arguments to pass to the application.
      
       Example: `["--foobar"]`
       
      repeated string args = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the args at the given index.
    • getEnvironmentCount

      int getEnvironmentCount()
       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;
    • containsEnvironment

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

      @Deprecated Map<String,String> getEnvironment()
      Deprecated.
      Use getEnvironmentMap() instead.
    • getEnvironmentMap

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

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

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

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

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

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

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

      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;
      Returns:
      The enum numeric value on the wire for workloadType.
    • getWorkloadType

       When a container terminates, the instance where it runs in will also
       terminate. If the workload type is set to `service`, the instance will always be
       marked as failed, regardless of the exit code of the container.
       
      .namespace.cloud.compute.v1beta.ApplicationRequest.WorkloadType workload_type = 13;
      Returns:
      The workloadType.
    • hasExperimental

      boolean hasExperimental()
       A list of experimental features to enable in this container.
       
      .namespace.cloud.compute.v1beta.ApplicationRequest.ExperimentalFeatures experimental = 10;
      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;
      Returns:
      The experimental.
    • getExperimentalOrBuilder

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