Class RBACBindingConfig (2.58.0)

public final class RBACBindingConfig extends GeneratedMessageV3 implements RBACBindingConfigOrBuilder

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

Protobuf type google.container.v1.RBACBindingConfig

Static Fields

ENABLE_INSECURE_BINDING_SYSTEM_AUTHENTICATED_FIELD_NUMBER

public static final int ENABLE_INSECURE_BINDING_SYSTEM_AUTHENTICATED_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_INSECURE_BINDING_SYSTEM_UNAUTHENTICATED_FIELD_NUMBER

public static final int ENABLE_INSECURE_BINDING_SYSTEM_UNAUTHENTICATED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RBACBindingConfig getDefaultInstance()
Returns
Type Description
RBACBindingConfig

getDescriptor()

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

newBuilder()

public static RBACBindingConfig.Builder newBuilder()
Returns
Type Description
RBACBindingConfig.Builder

newBuilder(RBACBindingConfig prototype)

public static RBACBindingConfig.Builder newBuilder(RBACBindingConfig prototype)
Parameter
Name Description
prototype RBACBindingConfig
Returns
Type Description
RBACBindingConfig.Builder

parseDelimitedFrom(InputStream input)

public static RBACBindingConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RBACBindingConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RBACBindingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RBACBindingConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RBACBindingConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RBACBindingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RBACBindingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RBACBindingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RBACBindingConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RBACBindingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RBACBindingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RBACBindingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RBACBindingConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RBACBindingConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RBACBindingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RBACBindingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RBACBindingConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RBACBindingConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RBACBindingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RBACBindingConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RBACBindingConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RBACBindingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RBACBindingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RBACBindingConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RBACBindingConfig> parser()
Returns
Type Description
Parser<RBACBindingConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RBACBindingConfig getDefaultInstanceForType()
Returns
Type Description
RBACBindingConfig

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.

getParserForType()

public Parser<RBACBindingConfig> getParserForType()
Returns
Type Description
Parser<RBACBindingConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RBACBindingConfig.Builder newBuilderForType()
Returns
Type Description
RBACBindingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RBACBindingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RBACBindingConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RBACBindingConfig.Builder toBuilder()
Returns
Type Description
RBACBindingConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException