Interface PatchJobs.ExecStepConfigOrBuilder

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

public static interface PatchJobs.ExecStepConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasLocalPath

      boolean hasLocalPath()
       An absolute path to the executable on the VM.
       
      string local_path = 1;
      Returns:
      Whether the localPath field is set.
    • getLocalPath

      String getLocalPath()
       An absolute path to the executable on the VM.
       
      string local_path = 1;
      Returns:
      The localPath.
    • getLocalPathBytes

      com.google.protobuf.ByteString getLocalPathBytes()
       An absolute path to the executable on the VM.
       
      string local_path = 1;
      Returns:
      The bytes for localPath.
    • hasGcsObject

      boolean hasGcsObject()
       A Google Cloud Storage object containing the executable.
       
      .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2;
      Returns:
      Whether the gcsObject field is set.
    • getGcsObject

      PatchJobs.GcsObject getGcsObject()
       A Google Cloud Storage object containing the executable.
       
      .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2;
      Returns:
      The gcsObject.
    • getGcsObjectOrBuilder

      PatchJobs.GcsObjectOrBuilder getGcsObjectOrBuilder()
       A Google Cloud Storage object containing the executable.
       
      .google.cloud.osconfig.v1beta.GcsObject gcs_object = 2;
    • getAllowedSuccessCodesList

      List<Integer> getAllowedSuccessCodesList()
       Defaults to [0]. A list of possible return values that the
       execution can return to indicate a success.
       
      repeated int32 allowed_success_codes = 3;
      Returns:
      A list containing the allowedSuccessCodes.
    • getAllowedSuccessCodesCount

      int getAllowedSuccessCodesCount()
       Defaults to [0]. A list of possible return values that the
       execution can return to indicate a success.
       
      repeated int32 allowed_success_codes = 3;
      Returns:
      The count of allowedSuccessCodes.
    • getAllowedSuccessCodes

      int getAllowedSuccessCodes(int index)
       Defaults to [0]. A list of possible return values that the
       execution can return to indicate a success.
       
      repeated int32 allowed_success_codes = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The allowedSuccessCodes at the given index.
    • getInterpreterValue

      int getInterpreterValue()
       The script interpreter to use to run the script. If no interpreter is
       specified the script will be executed directly, which will likely
       only succeed for scripts with [shebang lines]
       (https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
       
      .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4;
      Returns:
      The enum numeric value on the wire for interpreter.
    • getInterpreter

       The script interpreter to use to run the script. If no interpreter is
       specified the script will be executed directly, which will likely
       only succeed for scripts with [shebang lines]
       (https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
       
      .google.cloud.osconfig.v1beta.ExecStepConfig.Interpreter interpreter = 4;
      Returns:
      The interpreter.
    • getExecutableCase