Package com.google.cloud.managedkafka.v1
Interface ConnectNetworkConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConnectNetworkConfig,ConnectNetworkConfig.Builder
@Generated
public interface ConnectNetworkConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAdditionalSubnets(int index) Optional.com.google.protobuf.ByteStringgetAdditionalSubnetsBytes(int index) Optional.intOptional.Optional.getDnsDomainNames(int index) Optional.com.google.protobuf.ByteStringgetDnsDomainNamesBytes(int index) Optional.intOptional.Optional.Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPrimarySubnet
String getPrimarySubnet()Required. VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id} It is used to create a Private Service Connect (PSC) interface for the Kafka Connect workers. It must be located in the same region as the Kafka Connect cluster. The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918. The primary subnet CIDR range must have a minimum size of /22 (1024 addresses).string primary_subnet = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The primarySubnet.
-
getPrimarySubnetBytes
com.google.protobuf.ByteString getPrimarySubnetBytes()Required. VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id} It is used to create a Private Service Connect (PSC) interface for the Kafka Connect workers. It must be located in the same region as the Kafka Connect cluster. The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918. The primary subnet CIDR range must have a minimum size of /22 (1024 addresses).string primary_subnet = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for primarySubnet.
-
getAdditionalSubnetsList
Optional. Additional subnets may be specified. They may be in another region, but must be in the same VPC network. The Connect workers can communicate with network endpoints in either the primary or additional subnets.
repeated string additional_subnets = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the additionalSubnets.
-
getAdditionalSubnetsCount
int getAdditionalSubnetsCount()Optional. Additional subnets may be specified. They may be in another region, but must be in the same VPC network. The Connect workers can communicate with network endpoints in either the primary or additional subnets.
repeated string additional_subnets = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of additionalSubnets.
-
getAdditionalSubnets
Optional. Additional subnets may be specified. They may be in another region, but must be in the same VPC network. The Connect workers can communicate with network endpoints in either the primary or additional subnets.
repeated string additional_subnets = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The additionalSubnets at the given index.
-
getAdditionalSubnetsBytes
com.google.protobuf.ByteString getAdditionalSubnetsBytes(int index) Optional. Additional subnets may be specified. They may be in another region, but must be in the same VPC network. The Connect workers can communicate with network endpoints in either the primary or additional subnets.
repeated string additional_subnets = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the additionalSubnets at the given index.
-
getDnsDomainNamesList
Optional. Additional DNS domain names from the subnet's network to be made visible to the Connect Cluster. When using MirrorMaker2, it's necessary to add the bootstrap address's dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog
repeated string dns_domain_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the dnsDomainNames.
-
getDnsDomainNamesCount
int getDnsDomainNamesCount()Optional. Additional DNS domain names from the subnet's network to be made visible to the Connect Cluster. When using MirrorMaker2, it's necessary to add the bootstrap address's dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog
repeated string dns_domain_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of dnsDomainNames.
-
getDnsDomainNames
Optional. Additional DNS domain names from the subnet's network to be made visible to the Connect Cluster. When using MirrorMaker2, it's necessary to add the bootstrap address's dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog
repeated string dns_domain_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The dnsDomainNames at the given index.
-
getDnsDomainNamesBytes
com.google.protobuf.ByteString getDnsDomainNamesBytes(int index) Optional. Additional DNS domain names from the subnet's network to be made visible to the Connect Cluster. When using MirrorMaker2, it's necessary to add the bootstrap address's dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog
repeated string dns_domain_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dnsDomainNames at the given index.
-