Class AuthenticatorGroupsConfig.Builder (2.56.0)

public static final class AuthenticatorGroupsConfig.Builder extends GeneratedMessageV3.Builder<AuthenticatorGroupsConfig.Builder> implements AuthenticatorGroupsConfigOrBuilder

Configuration for returning group information from authenticators.

Protobuf type google.container.v1.AuthenticatorGroupsConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AuthenticatorGroupsConfig build()
Returns
Type Description
AuthenticatorGroupsConfig

buildPartial()

public AuthenticatorGroupsConfig buildPartial()
Returns
Type Description
AuthenticatorGroupsConfig

clear()

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

clearEnabled()

public AuthenticatorGroupsConfig.Builder clearEnabled()

Whether this cluster should return group membership lookups during authentication using a group of security groups.

bool enabled = 1;

Returns
Type Description
AuthenticatorGroupsConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSecurityGroup()

public AuthenticatorGroupsConfig.Builder clearSecurityGroup()

The name of the security group-of-groups to be used. Only relevant if enabled = true.

string security_group = 2;

Returns
Type Description
AuthenticatorGroupsConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AuthenticatorGroupsConfig getDefaultInstanceForType()
Returns
Type Description
AuthenticatorGroupsConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether this cluster should return group membership lookups during authentication using a group of security groups.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getSecurityGroup()

public String getSecurityGroup()

The name of the security group-of-groups to be used. Only relevant if enabled = true.

string security_group = 2;

Returns
Type Description
String

The securityGroup.

getSecurityGroupBytes()

public ByteString getSecurityGroupBytes()

The name of the security group-of-groups to be used. Only relevant if enabled = true.

string security_group = 2;

Returns
Type Description
ByteString

The bytes for securityGroup.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AuthenticatorGroupsConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AuthenticatorGroupsConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AuthenticatorGroupsConfig.Builder
Overrides

setEnabled(boolean value)

public AuthenticatorGroupsConfig.Builder setEnabled(boolean value)

Whether this cluster should return group membership lookups during authentication using a group of security groups.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
AuthenticatorGroupsConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSecurityGroup(String value)

public AuthenticatorGroupsConfig.Builder setSecurityGroup(String value)

The name of the security group-of-groups to be used. Only relevant if enabled = true.

string security_group = 2;

Parameter
Name Description
value String

The securityGroup to set.

Returns
Type Description
AuthenticatorGroupsConfig.Builder

This builder for chaining.

setSecurityGroupBytes(ByteString value)

public AuthenticatorGroupsConfig.Builder setSecurityGroupBytes(ByteString value)

The name of the security group-of-groups to be used. Only relevant if enabled = true.

string security_group = 2;

Parameter
Name Description
value ByteString

The bytes for securityGroup to set.

Returns
Type Description
AuthenticatorGroupsConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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