Package com.google.cloud.osconfig.v1beta
Interface GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GuestPolicies.SoftwareRecipe.Step.ExecFile,GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder
- Enclosing class:
- GuestPolicies.SoftwareRecipe.Step
public static interface GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetAllowedExitCodes(int index) Defaults to [0].intDefaults to [0].Defaults to [0].getArgs(int index) Arguments to be passed to the provided executable.com.google.protobuf.ByteStringgetArgsBytes(int index) Arguments to be passed to the provided executable.intArguments to be passed to the provided executable.Arguments to be passed to the provided executable.The id of the relevant artifact in the recipe.com.google.protobuf.ByteStringThe id of the relevant artifact in the recipe.The absolute path of the file on the local filesystem.com.google.protobuf.ByteStringThe absolute path of the file on the local filesystem.booleanThe id of the relevant artifact in the recipe.booleanThe absolute path of the file on the local filesystem.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasArtifactId
boolean hasArtifactId()The id of the relevant artifact in the recipe.
string artifact_id = 1;- Returns:
- Whether the artifactId field is set.
-
getArtifactId
String getArtifactId()The id of the relevant artifact in the recipe.
string artifact_id = 1;- Returns:
- The artifactId.
-
getArtifactIdBytes
com.google.protobuf.ByteString getArtifactIdBytes()The id of the relevant artifact in the recipe.
string artifact_id = 1;- Returns:
- The bytes for artifactId.
-
hasLocalPath
boolean hasLocalPath()The absolute path of the file on the local filesystem.
string local_path = 2;- Returns:
- Whether the localPath field is set.
-
getLocalPath
String getLocalPath()The absolute path of the file on the local filesystem.
string local_path = 2;- Returns:
- The localPath.
-
getLocalPathBytes
com.google.protobuf.ByteString getLocalPathBytes()The absolute path of the file on the local filesystem.
string local_path = 2;- Returns:
- The bytes for localPath.
-
getArgsList
Arguments to be passed to the provided executable.
repeated string args = 3;- Returns:
- A list containing the args.
-
getArgsCount
int getArgsCount()Arguments to be passed to the provided executable.
repeated string args = 3;- Returns:
- The count of args.
-
getArgs
Arguments to be passed to the provided executable.
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) Arguments to be passed to the provided executable.
repeated string args = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the args at the given index.
-
getAllowedExitCodesList
Defaults to [0]. A list of possible return values that the program can return to indicate a success.
repeated int32 allowed_exit_codes = 4;- Returns:
- A list containing the allowedExitCodes.
-
getAllowedExitCodesCount
int getAllowedExitCodesCount()Defaults to [0]. A list of possible return values that the program can return to indicate a success.
repeated int32 allowed_exit_codes = 4;- Returns:
- The count of allowedExitCodes.
-
getAllowedExitCodes
int getAllowedExitCodes(int index) Defaults to [0]. A list of possible return values that the program can return to indicate a success.
repeated int32 allowed_exit_codes = 4;- Parameters:
index- The index of the element to return.- Returns:
- The allowedExitCodes at the given index.
-
getLocationTypeCase
GuestPolicies.SoftwareRecipe.Step.ExecFile.LocationTypeCase getLocationTypeCase()
-