Class RBACBindingConfig.Builder (2.86.0)

public static final class RBACBindingConfig.Builder extends GeneratedMessage.Builder<RBACBindingConfig.Builder> implements RBACBindingConfigOrBuilder

RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.

Protobuf type google.container.v1beta1.RBACBindingConfig

Static Methods

getDescriptor()

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

Methods

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.

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 GeneratedMessage.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

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.