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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
ByteString

The enforcementOutput.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OSPolicyResourceCompliance.ExecResourceOutput other)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder mergeFrom(OSPolicyResourceCompliance.ExecResourceOutput other)
Parameter
NameDescription
otherOSPolicyResourceCompliance.ExecResourceOutput
Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OSPolicyResourceCompliance.ExecResourceOutput.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueByteString

The enforcementOutput to set.

Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OSPolicyResourceCompliance.ExecResourceOutput.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OSPolicyResourceCompliance.ExecResourceOutput.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OSPolicyResourceCompliance.ExecResourceOutput.Builder
Overrides