Immutable. The subnetwork of the customer project from which an IP
address is reserved and used as the Dataproc Metastore service's
endpoint. It is accessible to hosts in the subnet and to all
hosts in a subnet in the same region and same network. There must
be at least one IP address available in the subnet's primary range. The
subnet is specified in the following form:
projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}
Immutable. The subnetwork of the customer project from which an IP
address is reserved and used as the Dataproc Metastore service's
endpoint. It is accessible to hosts in the subnet and to all
hosts in a subnet in the same region and same network. There must
be at least one IP address available in the subnet's primary range. The
subnet is specified in the following form:
projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}
Immutable. The subnetwork of the customer project from which an IP
address is reserved and used as the Dataproc Metastore service's
endpoint. It is accessible to hosts in the subnet and to all
hosts in a subnet in the same region and same network. There must
be at least one IP address available in the subnet's primary range. The
subnet is specified in the following form:
projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface NetworkConfig.ConsumerOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.metastore.v1.NetworkConfig.ConsumerOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.metastore.v1.NetworkConfig.ConsumerOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.metastore.v1.NetworkConfig.ConsumerOrBuilder) \n\n public static interface NetworkConfig.ConsumerOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getEndpointUri()\n\n public abstract String getEndpointUri()\n\nOutput only. The URI of the endpoint used to access the metastore\nservice.\n\n`string endpoint_uri = 3;`\n\n### getEndpointUriBytes()\n\n public abstract ByteString getEndpointUriBytes()\n\nOutput only. The URI of the endpoint used to access the metastore\nservice.\n\n`string endpoint_uri = 3;`\n\n### getSubnetwork()\n\n public abstract String getSubnetwork()\n\nImmutable. The subnetwork of the customer project from which an IP\naddress is reserved and used as the Dataproc Metastore service's\nendpoint. It is accessible to hosts in the subnet and to all\nhosts in a subnet in the same region and same network. There must\nbe at least one IP address available in the subnet's primary range. The\nsubnet is specified in the following form:\n`projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}`\n\n`string subnetwork = 1;`\n\n### getSubnetworkBytes()\n\n public abstract ByteString getSubnetworkBytes()\n\nImmutable. The subnetwork of the customer project from which an IP\naddress is reserved and used as the Dataproc Metastore service's\nendpoint. It is accessible to hosts in the subnet and to all\nhosts in a subnet in the same region and same network. There must\nbe at least one IP address available in the subnet's primary range. The\nsubnet is specified in the following form:\n`projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}`\n\n`string subnetwork = 1;`\n\n### getVpcResourceCase()\n\n public abstract NetworkConfig.Consumer.VpcResourceCase getVpcResourceCase()\n\n### hasSubnetwork()\n\n public abstract boolean hasSubnetwork()\n\nImmutable. The subnetwork of the customer project from which an IP\naddress is reserved and used as the Dataproc Metastore service's\nendpoint. It is accessible to hosts in the subnet and to all\nhosts in a subnet in the same region and same network. There must\nbe at least one IP address available in the subnet's primary range. The\nsubnet is specified in the following form:\n`projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}`\n\n`string subnetwork = 1;`"]]