public interface NetworkConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getSubnet()
public abstract String getSubnet()
Required. Name of the VPC subnet in which to create Private Service Connect (PSC) endpoints for the Kafka brokers and bootstrap address. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}
The subnet must be located in the same region as the Kafka cluster. The project may differ. Multiple subnets from the same parent network must not be specified.
The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918.
string subnet = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The subnet. |
getSubnetBytes()
public abstract ByteString getSubnetBytes()
Required. Name of the VPC subnet in which to create Private Service Connect (PSC) endpoints for the Kafka brokers and bootstrap address. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}
The subnet must be located in the same region as the Kafka cluster. The project may differ. Multiple subnets from the same parent network must not be specified.
The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918.
string subnet = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for subnet. |