Interface GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder (2.50.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)