public static final class PodSecurityPolicyConfig.Builder extends GeneratedMessageV3.Builder<PodSecurityPolicyConfig.Builder> implements PodSecurityPolicyConfigOrBuilder
Configuration for the PodSecurityPolicy feature.
Protobuf type google.container.v1beta1.PodSecurityPolicyConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PodSecurityPolicyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PodSecurityPolicyConfig build()
buildPartial()
public PodSecurityPolicyConfig buildPartial()
clear()
public PodSecurityPolicyConfig.Builder clear()
Overrides
clearEnabled()
public PodSecurityPolicyConfig.Builder clearEnabled()
Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
must be valid under a PodSecurityPolicy to be created.
bool enabled = 1;
clearField(Descriptors.FieldDescriptor field)
public PodSecurityPolicyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PodSecurityPolicyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public PodSecurityPolicyConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public PodSecurityPolicyConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnabled()
public boolean getEnabled()
Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
must be valid under a PodSecurityPolicy to be created.
bool enabled = 1;
Returns |
---|
Type | Description |
boolean | The enabled.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PodSecurityPolicyConfig other)
public PodSecurityPolicyConfig.Builder mergeFrom(PodSecurityPolicyConfig other)
public PodSecurityPolicyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PodSecurityPolicyConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PodSecurityPolicyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnabled(boolean value)
public PodSecurityPolicyConfig.Builder setEnabled(boolean value)
Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
must be valid under a PodSecurityPolicy to be created.
bool enabled = 1;
Parameter |
---|
Name | Description |
value | boolean
The enabled to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public PodSecurityPolicyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)