public static final class ProtectConfig.Builder extends GeneratedMessageV3.Builder<ProtectConfig.Builder> implements ProtectConfigOrBuilder
ProtectConfig defines the flags needed to enable/disable features for the
Protect API.
Protobuf type google.container.v1beta1.ProtectConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProtectConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ProtectConfig build()
Returns
buildPartial()
public ProtectConfig buildPartial()
Returns
clear()
public ProtectConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ProtectConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ProtectConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWorkloadConfig()
public ProtectConfig.Builder clearWorkloadConfig()
WorkloadConfig defines which actions are enabled for a cluster's workload
configurations.
optional .google.container.v1beta1.WorkloadConfig workload_config = 1;
Returns
clone()
public ProtectConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ProtectConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getWorkloadConfig()
public WorkloadConfig getWorkloadConfig()
WorkloadConfig defines which actions are enabled for a cluster's workload
configurations.
optional .google.container.v1beta1.WorkloadConfig workload_config = 1;
Returns
getWorkloadConfigBuilder()
public WorkloadConfig.Builder getWorkloadConfigBuilder()
WorkloadConfig defines which actions are enabled for a cluster's workload
configurations.
optional .google.container.v1beta1.WorkloadConfig workload_config = 1;
Returns
getWorkloadConfigOrBuilder()
public WorkloadConfigOrBuilder getWorkloadConfigOrBuilder()
WorkloadConfig defines which actions are enabled for a cluster's workload
configurations.
optional .google.container.v1beta1.WorkloadConfig workload_config = 1;
Returns
hasWorkloadConfig()
public 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ProtectConfig other)
public ProtectConfig.Builder mergeFrom(ProtectConfig other)
Parameter
Returns
public ProtectConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ProtectConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProtectConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeWorkloadConfig(WorkloadConfig value)
public ProtectConfig.Builder mergeWorkloadConfig(WorkloadConfig value)
WorkloadConfig defines which actions are enabled for a cluster's workload
configurations.
optional .google.container.v1beta1.WorkloadConfig workload_config = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ProtectConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProtectConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ProtectConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWorkloadConfig(WorkloadConfig value)
public ProtectConfig.Builder setWorkloadConfig(WorkloadConfig value)
WorkloadConfig defines which actions are enabled for a cluster's workload
configurations.
optional .google.container.v1beta1.WorkloadConfig workload_config = 1;
Parameter
Returns
setWorkloadConfig(WorkloadConfig.Builder builderForValue)
public ProtectConfig.Builder setWorkloadConfig(WorkloadConfig.Builder builderForValue)
WorkloadConfig defines which actions are enabled for a cluster's workload
configurations.
optional .google.container.v1beta1.WorkloadConfig workload_config = 1;
Parameter
Returns