Interface ProtectConfigOrBuilder (2.50.0)

public interface ProtectConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getWorkloadConfig()

public abstract WorkloadConfig getWorkloadConfig()

WorkloadConfig defines which actions are enabled for a cluster's workload configurations.

optional .google.container.v1beta1.WorkloadConfig workload_config = 1;

Returns
Type Description
WorkloadConfig

The workloadConfig.

getWorkloadConfigOrBuilder()

public abstract WorkloadConfigOrBuilder getWorkloadConfigOrBuilder()

WorkloadConfig defines which actions are enabled for a cluster's workload configurations.

optional .google.container.v1beta1.WorkloadConfig workload_config = 1;

Returns
Type Description
WorkloadConfigOrBuilder

getWorkloadVulnerabilityMode()

public abstract ProtectConfig.WorkloadVulnerabilityMode getWorkloadVulnerabilityMode()

Sets which mode to use for Protect workload vulnerability scanning feature.

optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2;

Returns
Type Description
ProtectConfig.WorkloadVulnerabilityMode

The workloadVulnerabilityMode.

getWorkloadVulnerabilityModeValue()

public abstract int getWorkloadVulnerabilityModeValue()

Sets which mode to use for Protect workload vulnerability scanning feature.

optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2;

Returns
Type Description
int

The enum numeric value on the wire for workloadVulnerabilityMode.

hasWorkloadConfig()

public abstract boolean hasWorkloadConfig()

WorkloadConfig defines which actions are enabled for a cluster's workload configurations.

optional .google.container.v1beta1.WorkloadConfig workload_config = 1;

Returns
Type Description
boolean

Whether the workloadConfig field is set.

hasWorkloadVulnerabilityMode()

public abstract boolean hasWorkloadVulnerabilityMode()

Sets which mode to use for Protect workload vulnerability scanning feature.

optional .google.container.v1beta1.ProtectConfig.WorkloadVulnerabilityMode workload_vulnerability_mode = 2;

Returns
Type Description
boolean

Whether the workloadVulnerabilityMode field is set.