Class CompliancePostureConfig.ComplianceStandard.Builder (2.58.0)

public static final class CompliancePostureConfig.ComplianceStandard.Builder extends GeneratedMessageV3.Builder<CompliancePostureConfig.ComplianceStandard.Builder> implements CompliancePostureConfig.ComplianceStandardOrBuilder

Defines the details of a compliance standard.

Protobuf type google.container.v1.CompliancePostureConfig.ComplianceStandard

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CompliancePostureConfig.ComplianceStandard build()
Returns
Type Description
CompliancePostureConfig.ComplianceStandard

buildPartial()

public CompliancePostureConfig.ComplianceStandard buildPartial()
Returns
Type Description
CompliancePostureConfig.ComplianceStandard

clear()

public CompliancePostureConfig.ComplianceStandard.Builder clear()
Returns
Type Description
CompliancePostureConfig.ComplianceStandard.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CompliancePostureConfig.ComplianceStandard.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CompliancePostureConfig.ComplianceStandard.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CompliancePostureConfig.ComplianceStandard.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CompliancePostureConfig.ComplianceStandard.Builder
Overrides

clearStandard()

public CompliancePostureConfig.ComplianceStandard.Builder clearStandard()

Name of the compliance standard.

optional string standard = 1;

Returns
Type Description
CompliancePostureConfig.ComplianceStandard.Builder

This builder for chaining.

clone()

public CompliancePostureConfig.ComplianceStandard.Builder clone()
Returns
Type Description
CompliancePostureConfig.ComplianceStandard.Builder
Overrides

getDefaultInstanceForType()

public CompliancePostureConfig.ComplianceStandard getDefaultInstanceForType()
Returns
Type Description
CompliancePostureConfig.ComplianceStandard

getDescriptorForType()

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

getStandard()

public String getStandard()

Name of the compliance standard.

optional string standard = 1;

Returns
Type Description
String

The standard.

getStandardBytes()

public ByteString getStandardBytes()

Name of the compliance standard.

optional string standard = 1;

Returns
Type Description
ByteString

The bytes for standard.

hasStandard()

public boolean hasStandard()

Name of the compliance standard.

optional string standard = 1;

Returns
Type Description
boolean

Whether the standard field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CompliancePostureConfig.ComplianceStandard other)

public CompliancePostureConfig.ComplianceStandard.Builder mergeFrom(CompliancePostureConfig.ComplianceStandard other)
Parameter
Name Description
other CompliancePostureConfig.ComplianceStandard
Returns
Type Description
CompliancePostureConfig.ComplianceStandard.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CompliancePostureConfig.ComplianceStandard.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CompliancePostureConfig.ComplianceStandard.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompliancePostureConfig.ComplianceStandard.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompliancePostureConfig.ComplianceStandard.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStandard(String value)

public CompliancePostureConfig.ComplianceStandard.Builder setStandard(String value)

Name of the compliance standard.

optional string standard = 1;

Parameter
Name Description
value String

The standard to set.

Returns
Type Description
CompliancePostureConfig.ComplianceStandard.Builder

This builder for chaining.

setStandardBytes(ByteString value)

public CompliancePostureConfig.ComplianceStandard.Builder setStandardBytes(ByteString value)

Name of the compliance standard.

optional string standard = 1;

Parameter
Name Description
value ByteString

The bytes for standard to set.

Returns
Type Description
CompliancePostureConfig.ComplianceStandard.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CompliancePostureConfig.ComplianceStandard.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompliancePostureConfig.ComplianceStandard.Builder
Overrides