public static final class CompliancePostureConfig.Builder extends GeneratedMessageV3.Builder<CompliancePostureConfig.Builder> implements CompliancePostureConfigOrBuilder
CompliancePostureConfig defines the settings needed to enable/disable
features for the Compliance Posture.
Protobuf type google.container.v1beta1.CompliancePostureConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllComplianceStandards(Iterable<? extends CompliancePostureConfig.ComplianceStandard> values)
public CompliancePostureConfig.Builder addAllComplianceStandards(Iterable<? extends CompliancePostureConfig.ComplianceStandard> values)
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.container.v1beta1.CompliancePostureConfig.ComplianceStandard>
|
addComplianceStandards(CompliancePostureConfig.ComplianceStandard value)
public CompliancePostureConfig.Builder addComplianceStandards(CompliancePostureConfig.ComplianceStandard value)
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
addComplianceStandards(CompliancePostureConfig.ComplianceStandard.Builder builderForValue)
public CompliancePostureConfig.Builder addComplianceStandards(CompliancePostureConfig.ComplianceStandard.Builder builderForValue)
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
addComplianceStandards(int index, CompliancePostureConfig.ComplianceStandard value)
public CompliancePostureConfig.Builder addComplianceStandards(int index, CompliancePostureConfig.ComplianceStandard value)
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
addComplianceStandards(int index, CompliancePostureConfig.ComplianceStandard.Builder builderForValue)
public CompliancePostureConfig.Builder addComplianceStandards(int index, CompliancePostureConfig.ComplianceStandard.Builder builderForValue)
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
addComplianceStandardsBuilder()
public CompliancePostureConfig.ComplianceStandard.Builder addComplianceStandardsBuilder()
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
addComplianceStandardsBuilder(int index)
public CompliancePostureConfig.ComplianceStandard.Builder addComplianceStandardsBuilder(int index)
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CompliancePostureConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CompliancePostureConfig build()
buildPartial()
public CompliancePostureConfig buildPartial()
clear()
public CompliancePostureConfig.Builder clear()
Overrides
clearComplianceStandards()
public CompliancePostureConfig.Builder clearComplianceStandards()
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
clearField(Descriptors.FieldDescriptor field)
public CompliancePostureConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMode()
public CompliancePostureConfig.Builder clearMode()
Defines the enablement mode for Compliance Posture.
optional .google.container.v1beta1.CompliancePostureConfig.Mode mode = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public CompliancePostureConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CompliancePostureConfig.Builder clone()
Overrides
getComplianceStandards(int index)
public CompliancePostureConfig.ComplianceStandard getComplianceStandards(int index)
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
Parameter |
Name |
Description |
index |
int
|
getComplianceStandardsBuilder(int index)
public CompliancePostureConfig.ComplianceStandard.Builder getComplianceStandardsBuilder(int index)
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
Parameter |
Name |
Description |
index |
int
|
getComplianceStandardsBuilderList()
public List<CompliancePostureConfig.ComplianceStandard.Builder> getComplianceStandardsBuilderList()
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
getComplianceStandardsCount()
public int getComplianceStandardsCount()
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
Returns |
Type |
Description |
int |
|
getComplianceStandardsList()
public List<CompliancePostureConfig.ComplianceStandard> getComplianceStandardsList()
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
getComplianceStandardsOrBuilder(int index)
public CompliancePostureConfig.ComplianceStandardOrBuilder getComplianceStandardsOrBuilder(int index)
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
Parameter |
Name |
Description |
index |
int
|
getComplianceStandardsOrBuilderList()
public List<? extends CompliancePostureConfig.ComplianceStandardOrBuilder> getComplianceStandardsOrBuilderList()
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
Returns |
Type |
Description |
List<? extends com.google.container.v1beta1.CompliancePostureConfig.ComplianceStandardOrBuilder> |
|
getDefaultInstanceForType()
public CompliancePostureConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMode()
public CompliancePostureConfig.Mode getMode()
Defines the enablement mode for Compliance Posture.
optional .google.container.v1beta1.CompliancePostureConfig.Mode mode = 1;
getModeValue()
public int getModeValue()
Defines the enablement mode for Compliance Posture.
optional .google.container.v1beta1.CompliancePostureConfig.Mode mode = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for mode.
|
hasMode()
Defines the enablement mode for Compliance Posture.
optional .google.container.v1beta1.CompliancePostureConfig.Mode mode = 1;
Returns |
Type |
Description |
boolean |
Whether the mode field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CompliancePostureConfig other)
public CompliancePostureConfig.Builder mergeFrom(CompliancePostureConfig other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CompliancePostureConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CompliancePostureConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CompliancePostureConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeComplianceStandards(int index)
public CompliancePostureConfig.Builder removeComplianceStandards(int index)
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
Parameter |
Name |
Description |
index |
int
|
setComplianceStandards(int index, CompliancePostureConfig.ComplianceStandard value)
public CompliancePostureConfig.Builder setComplianceStandards(int index, CompliancePostureConfig.ComplianceStandard value)
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
setComplianceStandards(int index, CompliancePostureConfig.ComplianceStandard.Builder builderForValue)
public CompliancePostureConfig.Builder setComplianceStandards(int index, CompliancePostureConfig.ComplianceStandard.Builder builderForValue)
List of enabled compliance standards.
repeated .google.container.v1beta1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public CompliancePostureConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMode(CompliancePostureConfig.Mode value)
public CompliancePostureConfig.Builder setMode(CompliancePostureConfig.Mode value)
Defines the enablement mode for Compliance Posture.
optional .google.container.v1beta1.CompliancePostureConfig.Mode mode = 1;
setModeValue(int value)
public CompliancePostureConfig.Builder setModeValue(int value)
Defines the enablement mode for Compliance Posture.
optional .google.container.v1beta1.CompliancePostureConfig.Mode mode = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for mode to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CompliancePostureConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CompliancePostureConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides