Interface FirewallPolicyRuleMatcherOrBuilder (1.7.2)

public interface FirewallPolicyRuleMatcherOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestIpRanges(int index)

public abstract String getDestIpRanges(int index)

CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.

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)

CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.

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

CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.

repeated string dest_ip_ranges = 337357713;

Returns
TypeDescription
int

The count of destIpRanges.

getDestIpRangesList()

public abstract List<String> getDestIpRangesList()

CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.

repeated string dest_ip_ranges = 337357713;

Returns
TypeDescription
List<String>

A list containing the destIpRanges.

getLayer4Configs(int index)

public abstract FirewallPolicyRuleMatcherLayer4Config getLayer4Configs(int index)

Pairs of IP protocols and ports that the rule should match.

repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicyRuleMatcherLayer4Config

getLayer4ConfigsCount()

public abstract int getLayer4ConfigsCount()

Pairs of IP protocols and ports that the rule should match.

repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;

Returns
TypeDescription
int

getLayer4ConfigsList()

public abstract List<FirewallPolicyRuleMatcherLayer4Config> getLayer4ConfigsList()

Pairs of IP protocols and ports that the rule should match.

repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;

Returns
TypeDescription
List<FirewallPolicyRuleMatcherLayer4Config>

getLayer4ConfigsOrBuilder(int index)

public abstract FirewallPolicyRuleMatcherLayer4ConfigOrBuilder getLayer4ConfigsOrBuilder(int index)

Pairs of IP protocols and ports that the rule should match.

repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicyRuleMatcherLayer4ConfigOrBuilder

getLayer4ConfigsOrBuilderList()

public abstract List<? extends FirewallPolicyRuleMatcherLayer4ConfigOrBuilder> getLayer4ConfigsOrBuilderList()

Pairs of IP protocols and ports that the rule should match.

repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4ConfigOrBuilder>

getSrcIpRanges(int index)

public abstract String getSrcIpRanges(int index)

CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.

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)

CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.

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

CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.

repeated string src_ip_ranges = 432128083;

Returns
TypeDescription
int

The count of srcIpRanges.

getSrcIpRangesList()

public abstract List<String> getSrcIpRangesList()

CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.

repeated string src_ip_ranges = 432128083;

Returns
TypeDescription
List<String>

A list containing the srcIpRanges.