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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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];
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];
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];
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];
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];
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectAccessConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ConnectAccessConfig build()
buildPartial()
public ConnectAccessConfig buildPartial()
clear()
public ConnectAccessConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ConnectAccessConfig.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectAccessConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ConnectAccessConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public ConnectAccessConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
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];
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];
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ConnectAccessConfig other)
public ConnectAccessConfig.Builder mergeFrom(ConnectAccessConfig other)
public ConnectAccessConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConnectAccessConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectAccessConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectAccessConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectAccessConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectAccessConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides