Interface FirewallPolicyRuleMatcherOrBuilder (1.24.0)

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.

getSrcSecureTags(int index)

public abstract FirewallPolicyRuleSecureTag getSrcSecureTags(int index)

List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.

repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicyRuleSecureTag

getSrcSecureTagsCount()

public abstract int getSrcSecureTagsCount()

List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.

repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;

Returns
TypeDescription
int

getSrcSecureTagsList()

public abstract List<FirewallPolicyRuleSecureTag> getSrcSecureTagsList()

List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.

repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;

Returns
TypeDescription
List<FirewallPolicyRuleSecureTag>

getSrcSecureTagsOrBuilder(int index)

public abstract FirewallPolicyRuleSecureTagOrBuilder getSrcSecureTagsOrBuilder(int index)

List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.

repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicyRuleSecureTagOrBuilder

getSrcSecureTagsOrBuilderList()

public abstract List<? extends FirewallPolicyRuleSecureTagOrBuilder> getSrcSecureTagsOrBuilderList()

List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.

repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;

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