Interface SecurityPolicyRuleNetworkMatcherOrBuilder (1.47.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder>