Class LegacyAbac.Builder (2.86.0)

public static final class LegacyAbac.Builder extends GeneratedMessage.Builder<LegacyAbac.Builder> implements LegacyAbacOrBuilder

Configuration for the legacy Attribute Based Access Control authorization mode.

Protobuf type google.container.v1beta1.LegacyAbac

Implements

LegacyAbacOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public LegacyAbac build()
Returns
Type Description
LegacyAbac

buildPartial()

public LegacyAbac buildPartial()
Returns
Type Description
LegacyAbac

clear()

public LegacyAbac.Builder clear()
Returns
Type Description
LegacyAbac.Builder
Overrides

clearEnabled()

public LegacyAbac.Builder clearEnabled()

Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.

bool enabled = 1;

Returns
Type Description
LegacyAbac.Builder

This builder for chaining.

getDefaultInstanceForType()

public LegacyAbac getDefaultInstanceForType()
Returns
Type Description
LegacyAbac

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LegacyAbac other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEnabled(boolean value)

public LegacyAbac.Builder setEnabled(boolean value)

Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
LegacyAbac.Builder

This builder for chaining.