Class CompliancePostureConfig (2.48.0)

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.v1beta1.CompliancePostureConfig

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()
Returns
Type Description
CompliancePostureConfig

getDescriptor()

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

newBuilder()

public static CompliancePostureConfig.Builder newBuilder()
Returns
Type Description
CompliancePostureConfig.Builder

newBuilder(CompliancePostureConfig prototype)

public static CompliancePostureConfig.Builder newBuilder(CompliancePostureConfig prototype)
Parameter
Name Description
prototype CompliancePostureConfig
Returns
Type Description
CompliancePostureConfig.Builder

parseDelimitedFrom(InputStream input)

public static CompliancePostureConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompliancePostureConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompliancePostureConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompliancePostureConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CompliancePostureConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CompliancePostureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CompliancePostureConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompliancePostureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CompliancePostureConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CompliancePostureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CompliancePostureConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompliancePostureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CompliancePostureConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CompliancePostureConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CompliancePostureConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompliancePostureConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CompliancePostureConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CompliancePostureConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CompliancePostureConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompliancePostureConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CompliancePostureConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CompliancePostureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CompliancePostureConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompliancePostureConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CompliancePostureConfig> parser()
Returns
Type Description
Parser<CompliancePostureConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Returns
Type Description
CompliancePostureConfig.ComplianceStandard

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;

Returns
Type Description
List<ComplianceStandard>

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
Returns
Type Description
CompliancePostureConfig.ComplianceStandardOrBuilder

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()
Returns
Type Description
CompliancePostureConfig

getMode()

public CompliancePostureConfig.Mode getMode()

Defines the enablement mode for Compliance Posture.

optional .google.container.v1beta1.CompliancePostureConfig.Mode mode = 1;

Returns
Type Description
CompliancePostureConfig.Mode

The mode.

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.

getParserForType()

public Parser<CompliancePostureConfig> getParserForType()
Returns
Type Description
Parser<CompliancePostureConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMode()

public boolean 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CompliancePostureConfig.Builder newBuilderForType()
Returns
Type Description
CompliancePostureConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CompliancePostureConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CompliancePostureConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CompliancePostureConfig.Builder toBuilder()
Returns
Type Description
CompliancePostureConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException