Class LegacyAbac.Builder (2.47.0)

public static final class LegacyAbac.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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