public static final class RBACBindingConfig.Builder extends GeneratedMessageV3.Builder<RBACBindingConfig.Builder> implements RBACBindingConfigOrBuilder
RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings
that can be created.
Protobuf type google.container.v1.RBACBindingConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 RBACBindingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RBACBindingConfig build()
buildPartial()
public RBACBindingConfig buildPartial()
clear()
public RBACBindingConfig.Builder clear()
Overrides
clearEnableInsecureBindingSystemAuthenticated()
public RBACBindingConfig.Builder clearEnableInsecureBindingSystemAuthenticated()
Setting this to true will allow any ClusterRoleBinding and RoleBinding
with subjects system:authenticated.
optional bool enable_insecure_binding_system_authenticated = 2;
clearEnableInsecureBindingSystemUnauthenticated()
public RBACBindingConfig.Builder clearEnableInsecureBindingSystemUnauthenticated()
Setting this to true will allow any ClusterRoleBinding and RoleBinding
with subjets system:anonymous or system:unauthenticated.
optional bool enable_insecure_binding_system_unauthenticated = 1;
clearField(Descriptors.FieldDescriptor field)
public RBACBindingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RBACBindingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public RBACBindingConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public RBACBindingConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnableInsecureBindingSystemAuthenticated()
public boolean getEnableInsecureBindingSystemAuthenticated()
Setting this to true will allow any ClusterRoleBinding and RoleBinding
with subjects system:authenticated.
optional bool enable_insecure_binding_system_authenticated = 2;
Returns |
Type |
Description |
boolean |
The enableInsecureBindingSystemAuthenticated.
|
getEnableInsecureBindingSystemUnauthenticated()
public boolean getEnableInsecureBindingSystemUnauthenticated()
Setting this to true will allow any ClusterRoleBinding and RoleBinding
with subjets system:anonymous or system:unauthenticated.
optional bool enable_insecure_binding_system_unauthenticated = 1;
Returns |
Type |
Description |
boolean |
The enableInsecureBindingSystemUnauthenticated.
|
hasEnableInsecureBindingSystemAuthenticated()
public boolean hasEnableInsecureBindingSystemAuthenticated()
Setting this to true will allow any ClusterRoleBinding and RoleBinding
with subjects system:authenticated.
optional bool enable_insecure_binding_system_authenticated = 2;
Returns |
Type |
Description |
boolean |
Whether the enableInsecureBindingSystemAuthenticated field is set.
|
hasEnableInsecureBindingSystemUnauthenticated()
public boolean hasEnableInsecureBindingSystemUnauthenticated()
Setting this to true will allow any ClusterRoleBinding and RoleBinding
with subjets system:anonymous or system:unauthenticated.
optional bool enable_insecure_binding_system_unauthenticated = 1;
Returns |
Type |
Description |
boolean |
Whether the enableInsecureBindingSystemUnauthenticated field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RBACBindingConfig other)
public RBACBindingConfig.Builder mergeFrom(RBACBindingConfig other)
public RBACBindingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RBACBindingConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RBACBindingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnableInsecureBindingSystemAuthenticated(boolean value)
public RBACBindingConfig.Builder setEnableInsecureBindingSystemAuthenticated(boolean value)
Setting this to true will allow any ClusterRoleBinding and RoleBinding
with subjects system:authenticated.
optional bool enable_insecure_binding_system_authenticated = 2;
Parameter |
Name |
Description |
value |
boolean
The enableInsecureBindingSystemAuthenticated to set.
|
setEnableInsecureBindingSystemUnauthenticated(boolean value)
public RBACBindingConfig.Builder setEnableInsecureBindingSystemUnauthenticated(boolean value)
Setting this to true will allow any ClusterRoleBinding and RoleBinding
with subjets system:anonymous or system:unauthenticated.
optional bool enable_insecure_binding_system_unauthenticated = 1;
Parameter |
Name |
Description |
value |
boolean
The enableInsecureBindingSystemUnauthenticated to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public RBACBindingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RBACBindingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RBACBindingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides