Interface SecurityPostureConfigOrBuilder (2.47.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.v1.SecurityPostureConfig.Mode mode = 1;

Returns
Type Description
SecurityPostureConfig.Mode

The mode.

getModeValue()

public abstract int getModeValue()

Sets which mode to use for Security Posture features.

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

Returns
Type Description
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.v1.SecurityPostureConfig.VulnerabilityMode vulnerability_mode = 2;

Returns
Type Description
SecurityPostureConfig.VulnerabilityMode

The vulnerabilityMode.

getVulnerabilityModeValue()

public abstract int getVulnerabilityModeValue()

Sets which mode to use for vulnerability scanning.

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

Returns
Type Description
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.v1.SecurityPostureConfig.Mode mode = 1;

Returns
Type Description
boolean

Whether the mode field is set.

hasVulnerabilityMode()

public abstract boolean hasVulnerabilityMode()

Sets which mode to use for vulnerability scanning.

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

Returns
Type Description
boolean

Whether the vulnerabilityMode field is set.