Class RBACBindingConfig.Builder (2.56.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RBACBindingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RBACBindingConfig.Builder
Overrides

build()

public RBACBindingConfig build()
Returns
Type Description
RBACBindingConfig

buildPartial()

public RBACBindingConfig buildPartial()
Returns
Type Description
RBACBindingConfig

clear()

public RBACBindingConfig.Builder clear()
Returns
Type Description
RBACBindingConfig.Builder
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;

Returns
Type Description
RBACBindingConfig.Builder

This builder for chaining.

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;

Returns
Type Description
RBACBindingConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RBACBindingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RBACBindingConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RBACBindingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RBACBindingConfig.Builder
Overrides

clone()

public RBACBindingConfig.Builder clone()
Returns
Type Description
RBACBindingConfig.Builder
Overrides

getDefaultInstanceForType()

public RBACBindingConfig getDefaultInstanceForType()
Returns
Type Description
RBACBindingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RBACBindingConfig other)

public RBACBindingConfig.Builder mergeFrom(RBACBindingConfig other)
Parameter
Name Description
other RBACBindingConfig
Returns
Type Description
RBACBindingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RBACBindingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RBACBindingConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RBACBindingConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RBACBindingConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RBACBindingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RBACBindingConfig.Builder
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.

Returns
Type Description
RBACBindingConfig.Builder

This builder for chaining.

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.

Returns
Type Description
RBACBindingConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RBACBindingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RBACBindingConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RBACBindingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RBACBindingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RBACBindingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RBACBindingConfig.Builder
Overrides