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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PodSecurityPolicyConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PodSecurityPolicyConfig build()
Returns
buildPartial()
public PodSecurityPolicyConfig buildPartial()
Returns
clear()
public PodSecurityPolicyConfig.Builder clear()
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public PodSecurityPolicyConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PodSecurityPolicyConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public PodSecurityPolicyConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PodSecurityPolicyConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PodSecurityPolicyConfig other)
public PodSecurityPolicyConfig.Builder mergeFrom(PodSecurityPolicyConfig other)
Parameter
Returns
public PodSecurityPolicyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PodSecurityPolicyConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PodSecurityPolicyConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public PodSecurityPolicyConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PodSecurityPolicyConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PodSecurityPolicyConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides