Class IdentityServiceConfig.Builder (2.4.0)

public static final class IdentityServiceConfig.Builder extends GeneratedMessageV3.Builder<IdentityServiceConfig.Builder> implements IdentityServiceConfigOrBuilder

IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API

Protobuf type google.container.v1beta1.IdentityServiceConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IdentityServiceConfig build()
Returns
TypeDescription
IdentityServiceConfig

buildPartial()

public IdentityServiceConfig buildPartial()
Returns
TypeDescription
IdentityServiceConfig

clear()

public IdentityServiceConfig.Builder clear()
Returns
TypeDescription
IdentityServiceConfig.Builder
Overrides

clearEnabled()

public IdentityServiceConfig.Builder clearEnabled()

Whether to enable the Identity Service component

bool enabled = 1;

Returns
TypeDescription
IdentityServiceConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public IdentityServiceConfig getDefaultInstanceForType()
Returns
TypeDescription
IdentityServiceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Whether to enable the Identity Service component

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(IdentityServiceConfig other)

public IdentityServiceConfig.Builder mergeFrom(IdentityServiceConfig other)
Parameter
NameDescription
otherIdentityServiceConfig
Returns
TypeDescription
IdentityServiceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IdentityServiceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IdentityServiceConfig.Builder
Overrides

setEnabled(boolean value)

public IdentityServiceConfig.Builder setEnabled(boolean value)

Whether to enable the Identity Service component

bool enabled = 1;

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
IdentityServiceConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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