public final class ConnectNetworkConfig extends GeneratedMessage implements ConnectNetworkConfigOrBuilder
The configuration of a Virtual Private Cloud (VPC) network that can access
the Kafka Connect cluster.
Protobuf type google.cloud.managedkafka.v1.ConnectNetworkConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ADDITIONAL_SUBNETS_FIELD_NUMBER
public static final int ADDITIONAL_SUBNETS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DNS_DOMAIN_NAMES_FIELD_NUMBER
public static final int DNS_DOMAIN_NAMES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PRIMARY_SUBNET_FIELD_NUMBER
public static final int PRIMARY_SUBNET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ConnectNetworkConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ConnectNetworkConfig.Builder newBuilder()
newBuilder(ConnectNetworkConfig prototype)
public static ConnectNetworkConfig.Builder newBuilder(ConnectNetworkConfig prototype)
public static ConnectNetworkConfig parseDelimitedFrom(InputStream input)
public static ConnectNetworkConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ConnectNetworkConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConnectNetworkConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ConnectNetworkConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConnectNetworkConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConnectNetworkConfig parseFrom(CodedInputStream input)
public static ConnectNetworkConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConnectNetworkConfig parseFrom(InputStream input)
public static ConnectNetworkConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ConnectNetworkConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConnectNetworkConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ConnectNetworkConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAdditionalSubnets(int index)
public String getAdditionalSubnets(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];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The additionalSubnets at the given index.
|
getAdditionalSubnetsBytes(int index)
public 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];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the additionalSubnets at the given index.
|
getAdditionalSubnetsCount()
public 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 |
| Type |
Description |
int |
The count of additionalSubnets.
|
getAdditionalSubnetsList()
public ProtocolStringList 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];
getDefaultInstanceForType()
public ConnectNetworkConfig getDefaultInstanceForType()
getDnsDomainNames(int index)
public String getDnsDomainNames(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];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The dnsDomainNames at the given index.
|
getDnsDomainNamesBytes(int index)
public 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];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the dnsDomainNames at the given index.
|
getDnsDomainNamesCount()
public 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 |
| Type |
Description |
int |
The count of dnsDomainNames.
|
getDnsDomainNamesList()
public ProtocolStringList 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];
getParserForType()
public Parser<ConnectNetworkConfig> getParserForType()
Overrides
getPrimarySubnet()
public 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 |
| Type |
Description |
String |
The primarySubnet.
|
getPrimarySubnetBytes()
public 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 |
| Type |
Description |
ByteString |
The bytes for primarySubnet.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ConnectNetworkConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ConnectNetworkConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ConnectNetworkConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides