Class ConfigConnectorConfig.Builder (2.52.0)

public static final class ConfigConnectorConfig.Builder extends GeneratedMessageV3.Builder<ConfigConnectorConfig.Builder> implements ConfigConnectorConfigOrBuilder

Configuration options for the Config Connector add-on.

Protobuf type google.container.v1.ConfigConnectorConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConfigConnectorConfig build()
Returns
Type Description
ConfigConnectorConfig

buildPartial()

public ConfigConnectorConfig buildPartial()
Returns
Type Description
ConfigConnectorConfig

clear()

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

clearEnabled()

public ConfigConnectorConfig.Builder clearEnabled()

Whether Cloud Connector is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
ConfigConnectorConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ConfigConnectorConfig getDefaultInstanceForType()
Returns
Type Description
ConfigConnectorConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether Cloud Connector is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ConfigConnectorConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public ConfigConnectorConfig.Builder setEnabled(boolean value)

Whether Cloud Connector is enabled for this cluster.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
ConfigConnectorConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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