public final class CompliancePostureConfig extends GeneratedMessageV3 implements CompliancePostureConfigOrBuilder
CompliancePostureConfig defines the settings needed to enable/disable
features for the Compliance Posture.
Protobuf type google.container.v1.CompliancePostureConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
COMPLIANCE_STANDARDS_FIELD_NUMBER
public static final int COMPLIANCE_STANDARDS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CompliancePostureConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CompliancePostureConfig.Builder newBuilder()
newBuilder(CompliancePostureConfig prototype)
public static CompliancePostureConfig.Builder newBuilder(CompliancePostureConfig prototype)
parseDelimitedFrom(InputStream input)
public static CompliancePostureConfig parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompliancePostureConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CompliancePostureConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CompliancePostureConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CompliancePostureConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CompliancePostureConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static CompliancePostureConfig parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CompliancePostureConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static CompliancePostureConfig parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CompliancePostureConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CompliancePostureConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CompliancePostureConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CompliancePostureConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getComplianceStandards(int index)
public CompliancePostureConfig.ComplianceStandard getComplianceStandards(int index)
List of enabled compliance standards.
repeated .google.container.v1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
Parameter |
Name |
Description |
index |
int
|
getComplianceStandardsCount()
public int getComplianceStandardsCount()
List of enabled compliance standards.
repeated .google.container.v1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
Returns |
Type |
Description |
int |
|
getComplianceStandardsList()
public List<CompliancePostureConfig.ComplianceStandard> getComplianceStandardsList()
List of enabled compliance standards.
repeated .google.container.v1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
getComplianceStandardsOrBuilder(int index)
public CompliancePostureConfig.ComplianceStandardOrBuilder getComplianceStandardsOrBuilder(int index)
List of enabled compliance standards.
repeated .google.container.v1.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.v1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;
Returns |
Type |
Description |
List<? extends com.google.container.v1.CompliancePostureConfig.ComplianceStandardOrBuilder> |
|
getDefaultInstanceForType()
public CompliancePostureConfig getDefaultInstanceForType()
getMode()
public CompliancePostureConfig.Mode getMode()
Defines the enablement mode for Compliance Posture.
optional .google.container.v1.CompliancePostureConfig.Mode mode = 1;
getModeValue()
public int getModeValue()
Defines the enablement mode for Compliance Posture.
optional .google.container.v1.CompliancePostureConfig.Mode mode = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for mode.
|
getParserForType()
public Parser<CompliancePostureConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasMode()
Defines the enablement mode for Compliance Posture.
optional .google.container.v1.CompliancePostureConfig.Mode mode = 1;
Returns |
Type |
Description |
boolean |
Whether the mode field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CompliancePostureConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CompliancePostureConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CompliancePostureConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides