Interface CompliancePostureConfigOrBuilder (2.57.0)

public interface CompliancePostureConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComplianceStandards(int index)

public abstract CompliancePostureConfig.ComplianceStandard getComplianceStandards(int index)

List of enabled compliance standards.

repeated .google.container.v1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;

Parameter
Name Description
index int
Returns
Type Description
CompliancePostureConfig.ComplianceStandard

getComplianceStandardsCount()

public abstract int getComplianceStandardsCount()

List of enabled compliance standards.

repeated .google.container.v1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;

Returns
Type Description
int

getComplianceStandardsList()

public abstract List<CompliancePostureConfig.ComplianceStandard> getComplianceStandardsList()

List of enabled compliance standards.

repeated .google.container.v1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;

Returns
Type Description
List<ComplianceStandard>

getComplianceStandardsOrBuilder(int index)

public abstract CompliancePostureConfig.ComplianceStandardOrBuilder getComplianceStandardsOrBuilder(int index)

List of enabled compliance standards.

repeated .google.container.v1.CompliancePostureConfig.ComplianceStandard compliance_standards = 2;

Parameter
Name Description
index int
Returns
Type Description
CompliancePostureConfig.ComplianceStandardOrBuilder

getComplianceStandardsOrBuilderList()

public abstract 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>

getMode()

public abstract CompliancePostureConfig.Mode getMode()

Defines the enablement mode for Compliance Posture.

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

Returns
Type Description
CompliancePostureConfig.Mode

The mode.

getModeValue()

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

hasMode()

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