Required. Must be specified in the CIDR range format. A CIDR range
consists of an IP Address and a prefix length to construct the subnet
mask. By default, the prefix length is 32 (i.e. matches a single IP
address). Only IPV4 addresses are supported. Examples: "10.0.0.1" -
matches against this exact IP address. "10.0.0.0/8" - matches against any
IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0"
Required. Must be specified in the CIDR range format. A CIDR range
consists of an IP Address and a prefix length to construct the subnet
mask. By default, the prefix length is 32 (i.e. matches a single IP
address). Only IPV4 addresses are supported. Examples: "10.0.0.1" -
matches against this exact IP address. "10.0.0.0/8" - matches against any
IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0"
[[["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 TcpRoute.RouteMatchOrBuilder (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.networkservices.v1.TcpRoute.RouteMatchOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.networkservices.v1.TcpRoute.RouteMatchOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.networkservices.v1.TcpRoute.RouteMatchOrBuilder) \n\n public static interface TcpRoute.RouteMatchOrBuilder 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### getAddress()\n\n public abstract String getAddress()\n\nRequired. Must be specified in the CIDR range format. A CIDR range\nconsists of an IP Address and a prefix length to construct the subnet\nmask. By default, the prefix length is 32 (i.e. matches a single IP\naddress). Only IPV4 addresses are supported. Examples: \"10.0.0.1\" -\nmatches against this exact IP address. \"10.0.0.0/8\" - matches against any\nIP address within the 10.0.0.0 subnet and 255.255.255.0 mask. \"0.0.0.0/0\"\n\n- matches against any IP address'.\n\n`string address = 1;`\n\n### getAddressBytes()\n\n public abstract ByteString getAddressBytes()\n\nRequired. Must be specified in the CIDR range format. A CIDR range\nconsists of an IP Address and a prefix length to construct the subnet\nmask. By default, the prefix length is 32 (i.e. matches a single IP\naddress). Only IPV4 addresses are supported. Examples: \"10.0.0.1\" -\nmatches against this exact IP address. \"10.0.0.0/8\" - matches against any\nIP address within the 10.0.0.0 subnet and 255.255.255.0 mask. \"0.0.0.0/0\"\n\n- matches against any IP address'.\n\n`string address = 1;`\n\n### getPort()\n\n public abstract String getPort()\n\nRequired. Specifies the destination port to match against.\n\n`string port = 2;`\n\n### getPortBytes()\n\n public abstract ByteString getPortBytes()\n\nRequired. Specifies the destination port to match against.\n\n`string port = 2;`"]]