Class AuthenticatorGroupsConfig.Builder (2.86.0)

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

Configuration for returning group information from authenticators.

Protobuf type google.container.v1beta1.AuthenticatorGroupsConfig

Static Methods

getDescriptor()

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

Methods

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.

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.

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

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.

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.