Interface GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder (2.56.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of args.

getArgsList()

public abstract List<String> getArgsList()

Arguments to be passed to the provided executable.

repeated string args = 3;

Returns
Type Description
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
Type Description
String

The artifactId.

getArtifactIdBytes()

public abstract ByteString getArtifactIdBytes()

The id of the relevant artifact in the recipe.

string artifact_id = 1;

Returns
Type Description
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
Type Description
String

The localPath.

getLocalPathBytes()

public abstract ByteString getLocalPathBytes()

The absolute path of the file on the local filesystem.

string local_path = 2;

Returns
Type Description
ByteString

The bytes for localPath.

getLocationTypeCase()

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

hasArtifactId()

public abstract boolean hasArtifactId()

The id of the relevant artifact in the recipe.

string artifact_id = 1;

Returns
Type Description
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
Type Description
boolean

Whether the localPath field is set.