Interface SecurityPostureConfigOrBuilder (2.44.0)

public interface SecurityPostureConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMode()

public abstract SecurityPostureConfig.Mode getMode()

Sets which mode to use for Security Posture features.

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

Returns
TypeDescription
SecurityPostureConfig.Mode

The mode.

getModeValue()

public abstract int getModeValue()

Sets which mode to use for Security Posture features.

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

Returns
TypeDescription
int

The enum numeric value on the wire for mode.

getVulnerabilityMode()

public abstract SecurityPostureConfig.VulnerabilityMode getVulnerabilityMode()

Sets which mode to use for vulnerability scanning.

optional .google.container.v1beta1.SecurityPostureConfig.VulnerabilityMode vulnerability_mode = 2;

Returns
TypeDescription
SecurityPostureConfig.VulnerabilityMode

The vulnerabilityMode.

getVulnerabilityModeValue()

public abstract int getVulnerabilityModeValue()

Sets which mode to use for vulnerability scanning.

optional .google.container.v1beta1.SecurityPostureConfig.VulnerabilityMode vulnerability_mode = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for vulnerabilityMode.

hasMode()

public abstract boolean hasMode()

Sets which mode to use for Security Posture features.

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

Returns
TypeDescription
boolean

Whether the mode field is set.

hasVulnerabilityMode()

public abstract boolean hasVulnerabilityMode()

Sets which mode to use for vulnerability scanning.

optional .google.container.v1beta1.SecurityPostureConfig.VulnerabilityMode vulnerability_mode = 2;

Returns
TypeDescription
boolean

Whether the vulnerabilityMode field is set.