Interface SecurityPolicyRuleNetworkMatcherOrBuilder (1.62.0)

public interface SecurityPolicyRuleNetworkMatcherOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestIpRanges(int index)

public abstract String getDestIpRanges(int index)

Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.

repeated string dest_ip_ranges = 337357713;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The destIpRanges at the given index.

getDestIpRangesBytes(int index)

public abstract ByteString getDestIpRangesBytes(int index)

Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.

repeated string dest_ip_ranges = 337357713;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the destIpRanges at the given index.

getDestIpRangesCount()

public abstract int getDestIpRangesCount()

Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.

repeated string dest_ip_ranges = 337357713;

Returns
Type Description
int

The count of destIpRanges.

getDestIpRangesList()

public abstract List<String> getDestIpRangesList()

Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.

repeated string dest_ip_ranges = 337357713;

Returns
Type Description
List<String>

A list containing the destIpRanges.

getDestPorts(int index)

public abstract String getDestPorts(int index)

Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").

repeated string dest_ports = 379902005;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The destPorts at the given index.

getDestPortsBytes(int index)

public abstract ByteString getDestPortsBytes(int index)

Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").

repeated string dest_ports = 379902005;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the destPorts at the given index.

getDestPortsCount()

public abstract int getDestPortsCount()

Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").

repeated string dest_ports = 379902005;

Returns
Type Description
int

The count of destPorts.

getDestPortsList()

public abstract List<String> getDestPortsList()

Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").

repeated string dest_ports = 379902005;

Returns
Type Description
List<String>

A list containing the destPorts.

getIpProtocols(int index)

public abstract String getIpProtocols(int index)

IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".

repeated string ip_protocols = 259213251;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The ipProtocols at the given index.

getIpProtocolsBytes(int index)

public abstract ByteString getIpProtocolsBytes(int index)

IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".

repeated string ip_protocols = 259213251;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the ipProtocols at the given index.

getIpProtocolsCount()

public abstract int getIpProtocolsCount()

IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".

repeated string ip_protocols = 259213251;

Returns
Type Description
int

The count of ipProtocols.

getIpProtocolsList()

public abstract List<String> getIpProtocolsList()

IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".

repeated string ip_protocols = 259213251;

Returns
Type Description
List<String>

A list containing the ipProtocols.

getSrcAsns(int index)

public abstract int getSrcAsns(int index)

BGP Autonomous System Number associated with the source IP address.

repeated uint32 src_asns = 117825266;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
int

The srcAsns at the given index.

getSrcAsnsCount()

public abstract int getSrcAsnsCount()

BGP Autonomous System Number associated with the source IP address.

repeated uint32 src_asns = 117825266;

Returns
Type Description
int

The count of srcAsns.

getSrcAsnsList()

public abstract List<Integer> getSrcAsnsList()

BGP Autonomous System Number associated with the source IP address.

repeated uint32 src_asns = 117825266;

Returns
Type Description
List<Integer>

A list containing the srcAsns.

getSrcIpRanges(int index)

public abstract String getSrcIpRanges(int index)

Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.

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)

Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.

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()

Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.

repeated string src_ip_ranges = 432128083;

Returns
Type Description
int

The count of srcIpRanges.

getSrcIpRangesList()

public abstract List<String> getSrcIpRangesList()

Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.

repeated string src_ip_ranges = 432128083;

Returns
Type Description
List<String>

A list containing the srcIpRanges.

getSrcPorts(int index)

public abstract String getSrcPorts(int index)

Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").

repeated string src_ports = 445095415;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The srcPorts at the given index.

getSrcPortsBytes(int index)

public abstract ByteString getSrcPortsBytes(int index)

Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").

repeated string src_ports = 445095415;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the srcPorts at the given index.

getSrcPortsCount()

public abstract int getSrcPortsCount()

Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").

repeated string src_ports = 445095415;

Returns
Type Description
int

The count of srcPorts.

getSrcPortsList()

public abstract List<String> getSrcPortsList()

Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").

repeated string src_ports = 445095415;

Returns
Type Description
List<String>

A list containing the srcPorts.

getSrcRegionCodes(int index)

public abstract String getSrcRegionCodes(int index)

Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.

repeated string src_region_codes = 99086742;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The srcRegionCodes at the given index.

getSrcRegionCodesBytes(int index)

public abstract ByteString getSrcRegionCodesBytes(int index)

Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.

repeated string src_region_codes = 99086742;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the srcRegionCodes at the given index.

getSrcRegionCodesCount()

public abstract int getSrcRegionCodesCount()

Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.

repeated string src_region_codes = 99086742;

Returns
Type Description
int

The count of srcRegionCodes.

getSrcRegionCodesList()

public abstract List<String> getSrcRegionCodesList()

Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.

repeated string src_region_codes = 99086742;

Returns
Type Description
List<String>

A list containing the srcRegionCodes.

getUserDefinedFields(int index)

public abstract SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch getUserDefinedFields(int index)

User-defined fields. Each element names a defined field and lists the matching values for that field.

repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch

getUserDefinedFieldsCount()

public abstract int getUserDefinedFieldsCount()

User-defined fields. Each element names a defined field and lists the matching values for that field.

repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;

Returns
Type Description
int

getUserDefinedFieldsList()

public abstract List<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> getUserDefinedFieldsList()

User-defined fields. Each element names a defined field and lists the matching values for that field.

repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;

Returns
Type Description
List<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch>

getUserDefinedFieldsOrBuilder(int index)

public abstract SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder getUserDefinedFieldsOrBuilder(int index)

User-defined fields. Each element names a defined field and lists the matching values for that field.

repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;

Parameter
Name Description
index int
Returns
Type Description
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder

getUserDefinedFieldsOrBuilderList()

public abstract List<? extends SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder> getUserDefinedFieldsOrBuilderList()

User-defined fields. Each element names a defined field and lists the matching values for that field.

repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder>