Class OSPolicyResourceCompliance.ExecResourceOutput.Builder (2.31.0)

public static final class OSPolicyResourceCompliance.ExecResourceOutput.Builder extends GeneratedMessageV3.Builder<OSPolicyResourceCompliance.ExecResourceOutput.Builder> implements OSPolicyResourceCompliance.ExecResourceOutputOrBuilder

ExecResource specific output.

Protobuf type google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance.ExecResourceOutput

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides

build()

public OSPolicyResourceCompliance.ExecResourceOutput build()
Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput

buildPartial()

public OSPolicyResourceCompliance.ExecResourceOutput buildPartial()
Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput

clear()

public OSPolicyResourceCompliance.ExecResourceOutput.Builder clear()
Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides

clearEnforcementOutput()

public OSPolicyResourceCompliance.ExecResourceOutput.Builder clearEnforcementOutput()

Output from Enforcement phase output file (if run). Output size is limited to 100K bytes.

bytes enforcement_output = 2;

Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides