Class AuthenticatorGroupsConfig.Builder (2.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AuthenticatorGroupsConfig build()
Returns
TypeDescription
AuthenticatorGroupsConfig

buildPartial()

public AuthenticatorGroupsConfig buildPartial()
Returns
TypeDescription
AuthenticatorGroupsConfig

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public AuthenticatorGroupsConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AuthenticatorGroupsConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public AuthenticatorGroupsConfig getDefaultInstanceForType()
Returns
TypeDescription
AuthenticatorGroupsConfig

getDescriptorForType()

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

The bytes for securityGroup.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AuthenticatorGroupsConfig other)

public AuthenticatorGroupsConfig.Builder mergeFrom(AuthenticatorGroupsConfig other)
Parameter
NameDescription
otherAuthenticatorGroupsConfig
Returns
TypeDescription
AuthenticatorGroupsConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The enabled to set.

Returns
TypeDescription
AuthenticatorGroupsConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AuthenticatorGroupsConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The securityGroup to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for securityGroup to set.

Returns
TypeDescription
AuthenticatorGroupsConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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