Class KalmConfig.Builder (2.31.0)

public static final class KalmConfig.Builder extends GeneratedMessageV3.Builder<KalmConfig.Builder> implements KalmConfigOrBuilder

Configuration options for the KALM addon.

Protobuf type google.container.v1beta1.KalmConfig

Implements

KalmConfigOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public KalmConfig build()
Returns
TypeDescription
KalmConfig

buildPartial()

public KalmConfig buildPartial()
Returns
TypeDescription
KalmConfig

clear()

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

clearEnabled() (deprecated)

public KalmConfig.Builder clearEnabled()

Deprecated. google.container.v1beta1.KalmConfig.enabled is deprecated. See google/container/v1beta1/cluster_service.proto;l=1351

Whether KALM is enabled for this cluster.

bool enabled = 1 [deprecated = true];

Returns
TypeDescription
KalmConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public KalmConfig getDefaultInstanceForType()
Returns
TypeDescription
KalmConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled() (deprecated)

public boolean getEnabled()

Deprecated. google.container.v1beta1.KalmConfig.enabled is deprecated. See google/container/v1beta1/cluster_service.proto;l=1351

Whether KALM is enabled for this cluster.

bool enabled = 1 [deprecated = true];

Returns
TypeDescription
boolean

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(KalmConfig other)

public KalmConfig.Builder mergeFrom(KalmConfig other)
Parameter
NameDescription
otherKalmConfig
Returns
TypeDescription
KalmConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value) (deprecated)

public KalmConfig.Builder setEnabled(boolean value)

Deprecated. google.container.v1beta1.KalmConfig.enabled is deprecated. See google/container/v1beta1/cluster_service.proto;l=1351

Whether KALM is enabled for this cluster.

bool enabled = 1 [deprecated = true];

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
KalmConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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