Class PatchJobs.ExecStepConfig.Builder (2.33.0)

public static final class PatchJobs.ExecStepConfig.Builder extends GeneratedMessageV3.Builder<PatchJobs.ExecStepConfig.Builder> implements PatchJobs.ExecStepConfigOrBuilder

Common configurations for an ExecStep.

Protobuf type google.cloud.osconfig.v1beta.ExecStepConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAllowedSuccessCodes(Iterable<? extends Integer> values)

public PatchJobs.ExecStepConfig.Builder addAllAllowedSuccessCodes(Iterable<? extends Integer> values)

Defaults to [0]. A list of possible return values that the execution can return to indicate a success.

repeated int32 allowed_success_codes = 3;

Parameter
NameDescription
valuesIterable<? extends java.lang.Integer>

The allowedSuccessCodes to add.

Returns
TypeDescription
PatchJobs.ExecStepConfig.Builder

This builder for chaining.

addAllowedSuccessCodes(int value)