Interface GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder (2.22.0)

public static interface GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedExitCodes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
int

The allowedExitCodes at the given index.

getAllowedExitCodesCount()

public abstract 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
TypeDescription
int

The count of allowedExitCodes.

getAllowedExitCodesList()

public abstract 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
TypeDescription
List<Integer>

A list containing the allowedExitCodes.

getArgs(int index)

public abstract String getArgs(int index)

Arguments to be passed to the provided executable.

repeated string args = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The args at the given index.

getArgsBytes(int index)

public abstract ByteString getArgsBytes(int index)

Arguments to be passed to the provided executable.

repeated string args = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the args at the given index.

getArgsCount()

public abstract int getArgsCount()

Arguments to be passed to the provided executable.

repeated string args = 3;

Returns
TypeDescription
int

The count of args.

getArgsList()

public abstract List<String> getArgsList()

Arguments to be passed to the provided executable.

repeated string args = 3;

Returns
TypeDescription
List<String>

A list containing the args.

getArtifactId()

public abstract String getArtifactId()

The id of the relevant artifact in the recipe.

string artifact_id = 1;

Returns
TypeDescription
String

The artifactId.

getArtifactIdBytes()

public abstract ByteString getArtifactIdBytes()

The id of the relevant artifact in the recipe.

string artifact_id = 1;

Returns
TypeDescription
ByteString

The bytes for artifactId.

getLocalPath()

public abstract String getLocalPath()

The absolute path of the file on the local filesystem.

string local_path = 2;

Returns
TypeDescription
String

The localPath.

getLocalPathBytes()

public abstract ByteString getLocalPathBytes()

The absolute path of the file on the local filesystem.

string local_path = 2;

Returns
TypeDescription
ByteString

The bytes for localPath.

getLocationTypeCase()

public abstract GuestPolicies.SoftwareRecipe.Step.ExecFile.LocationTypeCase getLocationTypeCase()
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExecFile.LocationTypeCase

hasArtifactId()

public abstract boolean hasArtifactId()

The id of the relevant artifact in the recipe.

string artifact_id = 1;

Returns
TypeDescription
boolean

Whether the artifactId field is set.

hasLocalPath()

public abstract boolean hasLocalPath()

The absolute path of the file on the local filesystem.

string local_path = 2;

Returns
TypeDescription
boolean

Whether the localPath field is set.