Class ConfigConnectorConfig.Builder (2.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConfigConnectorConfig build()
Returns
TypeDescription
ConfigConnectorConfig

buildPartial()

public ConfigConnectorConfig buildPartial()
Returns
TypeDescription
ConfigConnectorConfig

clear()

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

clearEnabled()

public ConfigConnectorConfig.Builder clearEnabled()

Whether Cloud Connector is enabled for this cluster.

bool enabled = 1;

Returns
TypeDescription
ConfigConnectorConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ConfigConnectorConfig getDefaultInstanceForType()
Returns
TypeDescription
ConfigConnectorConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Whether Cloud Connector is enabled for this cluster.

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

public ConfigConnectorConfig.Builder mergeFrom(ConfigConnectorConfig other)
Parameter
NameDescription
otherConfigConnectorConfig
Returns
TypeDescription
ConfigConnectorConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public ConfigConnectorConfig.Builder setEnabled(boolean value)

Whether Cloud Connector is enabled for this cluster.

bool enabled = 1;

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
ConfigConnectorConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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