Interface SecurityPolicyRuleMatcherConfigOrBuilder (1.82.0)
Stay organized with collections
Save and categorize content based on your preferences.
public interface SecurityPolicyRuleMatcherConfigOrBuilder extends MessageOrBuilder
Methods
getSrcIpRanges(int index)
public abstract String getSrcIpRanges(int index)
CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
repeated string src_ip_ranges = 432128083;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The srcIpRanges at the given index.
|
getSrcIpRangesBytes(int index)
public abstract ByteString getSrcIpRangesBytes(int index)
CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
repeated string src_ip_ranges = 432128083;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the srcIpRanges at the given index.
|
getSrcIpRangesCount()
public abstract int getSrcIpRangesCount()
CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
repeated string src_ip_ranges = 432128083;
Returns |
Type |
Description |
int |
The count of srcIpRanges.
|
getSrcIpRangesList()
public abstract List<String> getSrcIpRangesList()
CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
repeated string src_ip_ranges = 432128083;
Returns |
Type |
Description |
List<String> |
A list containing the srcIpRanges.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["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-18 UTC."],[],[],null,["# Interface SecurityPolicyRuleMatcherConfigOrBuilder (1.82.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.82.0 (latest)](/java/docs/reference/google-cloud-compute/latest/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.80.0](/java/docs/reference/google-cloud-compute/1.80.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.78.0](/java/docs/reference/google-cloud-compute/1.78.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.77.0](/java/docs/reference/google-cloud-compute/1.77.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.74.0](/java/docs/reference/google-cloud-compute/1.74.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.73.0](/java/docs/reference/google-cloud-compute/1.73.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.72.0](/java/docs/reference/google-cloud-compute/1.72.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.70.0](/java/docs/reference/google-cloud-compute/1.70.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.69.0](/java/docs/reference/google-cloud-compute/1.69.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.68.0](/java/docs/reference/google-cloud-compute/1.68.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.67.0](/java/docs/reference/google-cloud-compute/1.67.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.66.0](/java/docs/reference/google-cloud-compute/1.66.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.65.0](/java/docs/reference/google-cloud-compute/1.65.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.64.0](/java/docs/reference/google-cloud-compute/1.64.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.63.0](/java/docs/reference/google-cloud-compute/1.63.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.62.0](/java/docs/reference/google-cloud-compute/1.62.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.61.0](/java/docs/reference/google-cloud-compute/1.61.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.59.0](/java/docs/reference/google-cloud-compute/1.59.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.58.0](/java/docs/reference/google-cloud-compute/1.58.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.57.0](/java/docs/reference/google-cloud-compute/1.57.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.56.0](/java/docs/reference/google-cloud-compute/1.56.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.55.0](/java/docs/reference/google-cloud-compute/1.55.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.54.0](/java/docs/reference/google-cloud-compute/1.54.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.53.0](/java/docs/reference/google-cloud-compute/1.53.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.52.0](/java/docs/reference/google-cloud-compute/1.52.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.51.0](/java/docs/reference/google-cloud-compute/1.51.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.50.0](/java/docs/reference/google-cloud-compute/1.50.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.49.0](/java/docs/reference/google-cloud-compute/1.49.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.47.0](/java/docs/reference/google-cloud-compute/1.47.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.46.0](/java/docs/reference/google-cloud-compute/1.46.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.45.0](/java/docs/reference/google-cloud-compute/1.45.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.44.0](/java/docs/reference/google-cloud-compute/1.44.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.43.0](/java/docs/reference/google-cloud-compute/1.43.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.42.0](/java/docs/reference/google-cloud-compute/1.42.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.41.0](/java/docs/reference/google-cloud-compute/1.41.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.40.0](/java/docs/reference/google-cloud-compute/1.40.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.39.0](/java/docs/reference/google-cloud-compute/1.39.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.38.0](/java/docs/reference/google-cloud-compute/1.38.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.37.0](/java/docs/reference/google-cloud-compute/1.37.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.34.0](/java/docs/reference/google-cloud-compute/1.34.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.33.0](/java/docs/reference/google-cloud-compute/1.33.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.32.0](/java/docs/reference/google-cloud-compute/1.32.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.31.0](/java/docs/reference/google-cloud-compute/1.31.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.30.0](/java/docs/reference/google-cloud-compute/1.30.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.29.0](/java/docs/reference/google-cloud-compute/1.29.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.28.0](/java/docs/reference/google-cloud-compute/1.28.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.27.0](/java/docs/reference/google-cloud-compute/1.27.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.26.0](/java/docs/reference/google-cloud-compute/1.26.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.25.0](/java/docs/reference/google-cloud-compute/1.25.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.24.0](/java/docs/reference/google-cloud-compute/1.24.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.23.0](/java/docs/reference/google-cloud-compute/1.23.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.22.0](/java/docs/reference/google-cloud-compute/1.22.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.21.0](/java/docs/reference/google-cloud-compute/1.21.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.20.0](/java/docs/reference/google-cloud-compute/1.20.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.19.0](/java/docs/reference/google-cloud-compute/1.19.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.18.0](/java/docs/reference/google-cloud-compute/1.18.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.17.0](/java/docs/reference/google-cloud-compute/1.17.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.16.0](/java/docs/reference/google-cloud-compute/1.16.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.15.0](/java/docs/reference/google-cloud-compute/1.15.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.14.0](/java/docs/reference/google-cloud-compute/1.14.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.13.0](/java/docs/reference/google-cloud-compute/1.13.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.12.1](/java/docs/reference/google-cloud-compute/1.12.1/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.11.0](/java/docs/reference/google-cloud-compute/1.11.0/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.9.1](/java/docs/reference/google-cloud-compute/1.9.1/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.8.1](/java/docs/reference/google-cloud-compute/1.8.1/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.7.2](/java/docs/reference/google-cloud-compute/1.7.2/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder)\n- [1.6.0-beta](/java/docs/reference/google-cloud-compute/1.6.0-beta/com.google.cloud.compute.v1.SecurityPolicyRuleMatcherConfigOrBuilder) \n\n public interface SecurityPolicyRuleMatcherConfigOrBuilder 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### getSrcIpRanges(int index)\n\n public abstract String getSrcIpRanges(int index)\n\nCIDR IP address range. Maximum number of src_ip_ranges allowed is 10.\n\n`repeated string src_ip_ranges = 432128083;`\n\n### getSrcIpRangesBytes(int index)\n\n public abstract ByteString getSrcIpRangesBytes(int index)\n\nCIDR IP address range. Maximum number of src_ip_ranges allowed is 10.\n\n`repeated string src_ip_ranges = 432128083;`\n\n### getSrcIpRangesCount()\n\n public abstract int getSrcIpRangesCount()\n\nCIDR IP address range. Maximum number of src_ip_ranges allowed is 10.\n\n`repeated string src_ip_ranges = 432128083;`\n\n### getSrcIpRangesList()\n\n public abstract List\u003cString\u003e getSrcIpRangesList()\n\nCIDR IP address range. Maximum number of src_ip_ranges allowed is 10.\n\n`repeated string src_ip_ranges = 432128083;`"]]