Package com.google.cloud.osconfig.v1
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 int
getAllowedSuccessCodes(int index)
Defaults to [0].int
getAllowedSuccessCodesCount()
Defaults to [0].List<Integer>
getAllowedSuccessCodesList()
Defaults to [0].PatchJobs.ExecStepConfig.ExecutableCase
getExecutableCase()
PatchJobs.GcsObject
getGcsObject()
A Cloud Storage object containing the executable.PatchJobs.GcsObjectOrBuilder
getGcsObjectOrBuilder()
A Cloud Storage object containing the executable.PatchJobs.ExecStepConfig.Interpreter
getInterpreter()
The script interpreter to use to run the script.int
getInterpreterValue()
The script interpreter to use to run the script.String
getLocalPath()
An absolute path to the executable on the VM.com.google.protobuf.ByteString
getLocalPathBytes()
An absolute path to the executable on the VM.boolean
hasGcsObject()
A Cloud Storage object containing the executable.boolean
hasLocalPath()
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 Cloud Storage object containing the executable.
.google.cloud.osconfig.v1.GcsObject gcs_object = 2;
- Returns:
- Whether the gcsObject field is set.
-
getGcsObject
PatchJobs.GcsObject getGcsObject()
A Cloud Storage object containing the executable.
.google.cloud.osconfig.v1.GcsObject gcs_object = 2;
- Returns:
- The gcsObject.
-
getGcsObjectOrBuilder
PatchJobs.GcsObjectOrBuilder getGcsObjectOrBuilder()
A Cloud Storage object containing the executable.
.google.cloud.osconfig.v1.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.v1.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.v1.ExecStepConfig.Interpreter interpreter = 4;
- Returns:
- The interpreter.
-
getExecutableCase
PatchJobs.ExecStepConfig.ExecutableCase getExecutableCase()
-
-