Class OSPolicyResourceCompliance.ExecResourceOutput.Builder (2.56.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides

build()

public OSPolicyResourceCompliance.ExecResourceOutput build()
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput

buildPartial()

public OSPolicyResourceCompliance.ExecResourceOutput buildPartial()
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput

clear()

public OSPolicyResourceCompliance.ExecResourceOutput.Builder clear()
Returns
Type Description
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
Type Description
OSPolicyResourceCompliance.ExecResourceOutput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides

clone()

public OSPolicyResourceCompliance.ExecResourceOutput.Builder clone()
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides

getDefaultInstanceForType()

public OSPolicyResourceCompliance.ExecResourceOutput getDefaultInstanceForType()
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnforcementOutput()

public ByteString getEnforcementOutput()

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

bytes enforcement_output = 2;

Returns
Type Description
ByteString

The enforcementOutput.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OSPolicyResourceCompliance.ExecResourceOutput other)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder mergeFrom(OSPolicyResourceCompliance.ExecResourceOutput other)
Parameter
Name Description
other OSPolicyResourceCompliance.ExecResourceOutput
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OSPolicyResourceCompliance.ExecResourceOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides

setEnforcementOutput(ByteString value)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder setEnforcementOutput(ByteString value)

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

bytes enforcement_output = 2;

Parameter
Name Description
value ByteString

The enforcementOutput to set.

Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OSPolicyResourceCompliance.ExecResourceOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides