Package com.google.cloud.osconfig.v1beta
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAllowedSuccessCodes(int index)Defaults to [0].intgetAllowedSuccessCodesCount()Defaults to [0].List<Integer>getAllowedSuccessCodesList()Defaults to [0].PatchJobs.ExecStepConfig.ExecutableCasegetExecutableCase()PatchJobs.GcsObjectgetGcsObject()A Google Cloud Storage object containing the executable.PatchJobs.GcsObjectOrBuildergetGcsObjectOrBuilder()A Google Cloud Storage object containing the executable.PatchJobs.ExecStepConfig.InterpretergetInterpreter()The script interpreter to use to run the script.intgetInterpreterValue()The script interpreter to use to run the script.StringgetLocalPath()An absolute path to the executable on the VM.com.google.protobuf.ByteStringgetLocalPathBytes()An absolute path to the executable on the VM.booleanhasGcsObject()A Google Cloud Storage object containing the executable.booleanhasLocalPath()An absolute path to the executable on the VM.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
PatchJobs.ExecStepConfig.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
PatchJobs.ExecStepConfig.ExecutableCase getExecutableCase()
-
-