Class ConnectAccessConfig.Builder (0.16.1)

public static final class ConnectAccessConfig.Builder extends GeneratedMessageV3.Builder<ConnectAccessConfig.Builder> implements ConnectAccessConfigOrBuilder

The configuration of access to the Kafka Connect cluster.

Protobuf type google.cloud.managedkafka.v1.ConnectAccessConfig

Static Methods

getDescriptor()

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

Methods

addAllNetworkConfigs(Iterable<? extends ConnectNetworkConfig> values)

public ConnectAccessConfig.Builder addAllNetworkConfigs(Iterable<? extends ConnectNetworkConfig> values)

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.managedkafka.v1.ConnectNetworkConfig>
Returns
Type Description
ConnectAccessConfig.Builder

addNetworkConfigs(ConnectNetworkConfig value)

public ConnectAccessConfig.Builder addNetworkConfigs(ConnectNetworkConfig value)

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConnectNetworkConfig
Returns
Type Description
ConnectAccessConfig.Builder

addNetworkConfigs(ConnectNetworkConfig.Builder builderForValue)

public ConnectAccessConfig.Builder addNetworkConfigs(ConnectNetworkConfig.Builder builderForValue)

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ConnectNetworkConfig.Builder
Returns
Type Description
ConnectAccessConfig.Builder

addNetworkConfigs(int index, ConnectNetworkConfig value)

public ConnectAccessConfig.Builder addNetworkConfigs(int index, ConnectNetworkConfig value)

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value ConnectNetworkConfig
Returns
Type Description
ConnectAccessConfig.Builder

addNetworkConfigs(int index, ConnectNetworkConfig.Builder builderForValue)

public ConnectAccessConfig.Builder addNetworkConfigs(int index, ConnectNetworkConfig.Builder builderForValue)

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue ConnectNetworkConfig.Builder
Returns
Type Description
ConnectAccessConfig.Builder

addNetworkConfigsBuilder()

public ConnectNetworkConfig.Builder addNetworkConfigsBuilder()

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectNetworkConfig.Builder

addNetworkConfigsBuilder(int index)

public ConnectNetworkConfig.Builder addNetworkConfigsBuilder(int index)

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ConnectNetworkConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConnectAccessConfig build()
Returns
Type Description
ConnectAccessConfig

buildPartial()

public ConnectAccessConfig buildPartial()
Returns
Type Description
ConnectAccessConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkConfigs()

public ConnectAccessConfig.Builder clearNetworkConfigs()

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectAccessConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ConnectAccessConfig getDefaultInstanceForType()
Returns
Type Description
ConnectAccessConfig

getDescriptorForType()

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

getNetworkConfigs(int index)

public ConnectNetworkConfig getNetworkConfigs(int index)

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ConnectNetworkConfig

getNetworkConfigsBuilder(int index)

public ConnectNetworkConfig.Builder getNetworkConfigsBuilder(int index)

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ConnectNetworkConfig.Builder

getNetworkConfigsBuilderList()

public List<ConnectNetworkConfig.Builder> getNetworkConfigsBuilderList()

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getNetworkConfigsCount()

public int getNetworkConfigsCount()

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getNetworkConfigsList()

public List<ConnectNetworkConfig> getNetworkConfigsList()

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<ConnectNetworkConfig>

getNetworkConfigsOrBuilder(int index)

public ConnectNetworkConfigOrBuilder getNetworkConfigsOrBuilder(int index)

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ConnectNetworkConfigOrBuilder

getNetworkConfigsOrBuilderList()

public List<? extends ConnectNetworkConfigOrBuilder> getNetworkConfigsOrBuilderList()

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.managedkafka.v1.ConnectNetworkConfigOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ConnectAccessConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeNetworkConfigs(int index)

public ConnectAccessConfig.Builder removeNetworkConfigs(int index)

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ConnectAccessConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkConfigs(int index, ConnectNetworkConfig value)

public ConnectAccessConfig.Builder setNetworkConfigs(int index, ConnectNetworkConfig value)

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value ConnectNetworkConfig
Returns
Type Description
ConnectAccessConfig.Builder

setNetworkConfigs(int index, ConnectNetworkConfig.Builder builderForValue)

public ConnectAccessConfig.Builder setNetworkConfigs(int index, ConnectNetworkConfig.Builder builderForValue)

Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.

repeated .google.cloud.managedkafka.v1.ConnectNetworkConfig network_configs = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue ConnectNetworkConfig.Builder
Returns
Type Description
ConnectAccessConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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