Class LegacyAbac.Builder (2.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LegacyAbac.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LegacyAbac.Builder
Overrides

build()

public LegacyAbac build()
Returns
TypeDescription
LegacyAbac

buildPartial()

public LegacyAbac buildPartial()
Returns
TypeDescription
LegacyAbac

clear()

public LegacyAbac.Builder clear()
Returns
TypeDescription
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
TypeDescription
LegacyAbac.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public LegacyAbac.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LegacyAbac.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LegacyAbac.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LegacyAbac.Builder
Overrides

clone()

public LegacyAbac.Builder clone()
Returns
TypeDescription
LegacyAbac.Builder
Overrides

getDefaultInstanceForType()

public LegacyAbac getDefaultInstanceForType()
Returns
TypeDescription
LegacyAbac

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LegacyAbac other)

public LegacyAbac.Builder mergeFrom(LegacyAbac other)
Parameter
NameDescription
otherLegacyAbac
Returns
TypeDescription
LegacyAbac.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LegacyAbac.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LegacyAbac.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LegacyAbac.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LegacyAbac.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LegacyAbac.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
LegacyAbac.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public LegacyAbac.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LegacyAbac.Builder
Overrides

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

public LegacyAbac.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LegacyAbac.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LegacyAbac.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LegacyAbac.Builder
Overrides