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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAllowedExitCodes(int index)Defaults to [0].intgetAllowedExitCodesCount()Defaults to [0].List<Integer>getAllowedExitCodesList()Defaults to [0].StringgetArgs(int index)Arguments to be passed to the provided executable.com.google.protobuf.ByteStringgetArgsBytes(int index)Arguments to be passed to the provided executable.intgetArgsCount()Arguments to be passed to the provided executable.List<String>getArgsList()Arguments to be passed to the provided executable.StringgetArtifactId()The id of the relevant artifact in the recipe.com.google.protobuf.ByteStringgetArtifactIdBytes()The id of the relevant artifact in the recipe.StringgetLocalPath()The absolute path of the file on the local filesystem.com.google.protobuf.ByteStringgetLocalPathBytes()The absolute path of the file on the local filesystem.GuestPolicies.SoftwareRecipe.Step.ExecFile.LocationTypeCasegetLocationTypeCase()booleanhasArtifactId()The id of the relevant artifact in the recipe.booleanhasLocalPath()The absolute path of the file on the local filesystem.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
List<String> 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
String getArgs(int index)
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
List<Integer> 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()
-
-