Interface ProtectConfigOrBuilder (2.22.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the workloadVulnerabilityMode field is set.