[[["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 ServiceConnectionPolicy.PscConfigOrBuilder (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.networkconnectivity.v1.ServiceConnectionPolicy.PscConfigOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConfigOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConfigOrBuilder) \n\n public static interface ServiceConnectionPolicy.PscConfigOrBuilder 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### getLimit()\n\n public abstract long getLimit()\n\nOptional. Max number of PSC connections for this policy.\n\n`optional int64 limit = 2;`\n\n### getSubnetworks(int index)\n\n public abstract String getSubnetworks(int index)\n\nThe resource paths of subnetworks to use for IP address management.\nExample:\nprojects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.\n\n`repeated string subnetworks = 1;`\n\n### getSubnetworksBytes(int index)\n\n public abstract ByteString getSubnetworksBytes(int index)\n\nThe resource paths of subnetworks to use for IP address management.\nExample:\nprojects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.\n\n`repeated string subnetworks = 1;`\n\n### getSubnetworksCount()\n\n public abstract int getSubnetworksCount()\n\nThe resource paths of subnetworks to use for IP address management.\nExample:\nprojects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.\n\n`repeated string subnetworks = 1;`\n\n### getSubnetworksList()\n\n public abstract List\u003cString\u003e getSubnetworksList()\n\nThe resource paths of subnetworks to use for IP address management.\nExample:\nprojects/{projectNumOrId}/regions/{region}/subnetworks/{resourceId}.\n\n`repeated string subnetworks = 1;`\n\n### hasLimit()\n\n public abstract boolean hasLimit()\n\nOptional. Max number of PSC connections for this policy.\n\n`optional int64 limit = 2;`"]]