Class FirewallPolicyRuleMatcher.Builder (1.58.0)

public static final class FirewallPolicyRuleMatcher.Builder extends GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder> implements FirewallPolicyRuleMatcherOrBuilder

Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.

Protobuf type google.cloud.compute.v1.FirewallPolicyRuleMatcher

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDestAddressGroups(Iterable<String> values)

public FirewallPolicyRuleMatcher.Builder addAllDestAddressGroups(Iterable<String> values)

Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.

repeated string dest_address_groups = 468760508;

Parameter
Name Description
values Iterable<String>

The destAddressGroups to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addAllDestFqdns(Iterable<String> values)

public FirewallPolicyRuleMatcher.Builder addAllDestFqdns(Iterable<String> values)

Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.

repeated string dest_fqdns = 370712737;

Parameter
Name Description
values Iterable<String>

The destFqdns to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addAllDestIpRanges(Iterable<String> values)

public FirewallPolicyRuleMatcher.Builder addAllDestIpRanges(Iterable<String> values)

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

repeated string dest_ip_ranges = 337357713;

Parameter
Name Description
values Iterable<String>

The destIpRanges to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addAllDestRegionCodes(Iterable<String> values)

public FirewallPolicyRuleMatcher.Builder addAllDestRegionCodes(Iterable<String> values)

Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.

repeated string dest_region_codes = 199120280;

Parameter
Name Description
values Iterable<String>

The destRegionCodes to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addAllDestThreatIntelligences(Iterable<String> values)

public FirewallPolicyRuleMatcher.Builder addAllDestThreatIntelligences(Iterable<String> values)

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.

repeated string dest_threat_intelligences = 119896492;

Parameter
Name Description
values Iterable<String>

The destThreatIntelligences to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addAllLayer4Configs(Iterable<? extends FirewallPolicyRuleMatcherLayer4Config> values)

public FirewallPolicyRuleMatcher.Builder addAllLayer4Configs(Iterable<? extends FirewallPolicyRuleMatcherLayer4Config> values)

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

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config>
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

addAllSrcAddressGroups(Iterable<String> values)

public FirewallPolicyRuleMatcher.Builder addAllSrcAddressGroups(Iterable<String> values)

Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.

repeated string src_address_groups = 436423738;

Parameter
Name Description
values Iterable<String>

The srcAddressGroups to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addAllSrcFqdns(Iterable<String> values)

public FirewallPolicyRuleMatcher.Builder addAllSrcFqdns(Iterable<String> values)

Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.

repeated string src_fqdns = 435906147;

Parameter
Name Description
values Iterable<String>

The srcFqdns to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addAllSrcIpRanges(Iterable<String> values)

public FirewallPolicyRuleMatcher.Builder addAllSrcIpRanges(Iterable<String> values)

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

repeated string src_ip_ranges = 432128083;

Parameter
Name Description
values Iterable<String>

The srcIpRanges to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addAllSrcRegionCodes(Iterable<String> values)

public FirewallPolicyRuleMatcher.Builder addAllSrcRegionCodes(Iterable<String> values)

Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.

repeated string src_region_codes = 99086742;

Parameter
Name Description
values Iterable<String>

The srcRegionCodes to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addAllSrcSecureTags(Iterable<? extends FirewallPolicyRuleSecureTag> values)

public FirewallPolicyRuleMatcher.Builder addAllSrcSecureTags(Iterable<? extends FirewallPolicyRuleSecureTag> values)

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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag>
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

addAllSrcThreatIntelligences(Iterable<String> values)

public FirewallPolicyRuleMatcher.Builder addAllSrcThreatIntelligences(Iterable<String> values)

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.

repeated string src_threat_intelligences = 323631018;

Parameter
Name Description
values Iterable<String>

The srcThreatIntelligences to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addDestAddressGroups(String value)

public FirewallPolicyRuleMatcher.Builder addDestAddressGroups(String value)

Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.

repeated string dest_address_groups = 468760508;

Parameter
Name Description
value String

The destAddressGroups to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addDestAddressGroupsBytes(ByteString value)

public FirewallPolicyRuleMatcher.Builder addDestAddressGroupsBytes(ByteString value)

Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.

repeated string dest_address_groups = 468760508;

Parameter
Name Description
value ByteString

The bytes of the destAddressGroups to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addDestFqdns(String value)

public FirewallPolicyRuleMatcher.Builder addDestFqdns(String value)

Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.

repeated string dest_fqdns = 370712737;

Parameter
Name Description
value String

The destFqdns to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addDestFqdnsBytes(ByteString value)

public FirewallPolicyRuleMatcher.Builder addDestFqdnsBytes(ByteString value)

Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.

repeated string dest_fqdns = 370712737;

Parameter
Name Description
value ByteString

The bytes of the destFqdns to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addDestIpRanges(String value)

public FirewallPolicyRuleMatcher.Builder addDestIpRanges(String value)

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

repeated string dest_ip_ranges = 337357713;

Parameter
Name Description
value String

The destIpRanges to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addDestIpRangesBytes(ByteString value)

public FirewallPolicyRuleMatcher.Builder addDestIpRangesBytes(ByteString value)

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

repeated string dest_ip_ranges = 337357713;

Parameter
Name Description
value ByteString

The bytes of the destIpRanges to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addDestRegionCodes(String value)

public FirewallPolicyRuleMatcher.Builder addDestRegionCodes(String value)

Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.

repeated string dest_region_codes = 199120280;

Parameter
Name Description
value String

The destRegionCodes to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addDestRegionCodesBytes(ByteString value)

public FirewallPolicyRuleMatcher.Builder addDestRegionCodesBytes(ByteString value)

Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.

repeated string dest_region_codes = 199120280;

Parameter
Name Description
value ByteString

The bytes of the destRegionCodes to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addDestThreatIntelligences(String value)

public FirewallPolicyRuleMatcher.Builder addDestThreatIntelligences(String value)

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.

repeated string dest_threat_intelligences = 119896492;

Parameter
Name Description
value String

The destThreatIntelligences to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addDestThreatIntelligencesBytes(ByteString value)

public FirewallPolicyRuleMatcher.Builder addDestThreatIntelligencesBytes(ByteString value)

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.

repeated string dest_threat_intelligences = 119896492;

Parameter
Name Description
value ByteString

The bytes of the destThreatIntelligences to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addLayer4Configs(FirewallPolicyRuleMatcherLayer4Config value)

public FirewallPolicyRuleMatcher.Builder addLayer4Configs(FirewallPolicyRuleMatcherLayer4Config value)

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

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

Parameter
Name Description
value FirewallPolicyRuleMatcherLayer4Config
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

addLayer4Configs(FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)

public FirewallPolicyRuleMatcher.Builder addLayer4Configs(FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue FirewallPolicyRuleMatcherLayer4Config.Builder
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

addLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config value)

public FirewallPolicyRuleMatcher.Builder addLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config value)

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

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

Parameters
Name Description
index int
value FirewallPolicyRuleMatcherLayer4Config
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

addLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)

public FirewallPolicyRuleMatcher.Builder addLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue FirewallPolicyRuleMatcherLayer4Config.Builder
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

addLayer4ConfigsBuilder()

public FirewallPolicyRuleMatcherLayer4Config.Builder addLayer4ConfigsBuilder()

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

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

Returns
Type Description
FirewallPolicyRuleMatcherLayer4Config.Builder

addLayer4ConfigsBuilder(int index)

public FirewallPolicyRuleMatcherLayer4Config.Builder addLayer4ConfigsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
FirewallPolicyRuleMatcherLayer4Config.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FirewallPolicyRuleMatcher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FirewallPolicyRuleMatcher.Builder
Overrides

addSrcAddressGroups(String value)

public FirewallPolicyRuleMatcher.Builder addSrcAddressGroups(String value)

Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.

repeated string src_address_groups = 436423738;

Parameter
Name Description
value String

The srcAddressGroups to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addSrcAddressGroupsBytes(ByteString value)

public FirewallPolicyRuleMatcher.Builder addSrcAddressGroupsBytes(ByteString value)

Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.

repeated string src_address_groups = 436423738;

Parameter
Name Description
value ByteString

The bytes of the srcAddressGroups to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addSrcFqdns(String value)

public FirewallPolicyRuleMatcher.Builder addSrcFqdns(String value)

Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.

repeated string src_fqdns = 435906147;

Parameter
Name Description
value String

The srcFqdns to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addSrcFqdnsBytes(ByteString value)

public FirewallPolicyRuleMatcher.Builder addSrcFqdnsBytes(ByteString value)

Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.

repeated string src_fqdns = 435906147;

Parameter
Name Description
value ByteString

The bytes of the srcFqdns to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addSrcIpRanges(String value)

public FirewallPolicyRuleMatcher.Builder addSrcIpRanges(String value)

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

repeated string src_ip_ranges = 432128083;

Parameter
Name Description
value String

The srcIpRanges to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addSrcIpRangesBytes(ByteString value)

public FirewallPolicyRuleMatcher.Builder addSrcIpRangesBytes(ByteString value)

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

repeated string src_ip_ranges = 432128083;

Parameter
Name Description
value ByteString

The bytes of the srcIpRanges to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addSrcRegionCodes(String value)

public FirewallPolicyRuleMatcher.Builder addSrcRegionCodes(String value)

Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.

repeated string src_region_codes = 99086742;

Parameter
Name Description
value String

The srcRegionCodes to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addSrcRegionCodesBytes(ByteString value)

public FirewallPolicyRuleMatcher.Builder addSrcRegionCodesBytes(ByteString value)

Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.

repeated string src_region_codes = 99086742;

Parameter
Name Description
value ByteString

The bytes of the srcRegionCodes to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addSrcSecureTags(FirewallPolicyRuleSecureTag value)

public FirewallPolicyRuleMatcher.Builder addSrcSecureTags(FirewallPolicyRuleSecureTag value)

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
Name Description
value FirewallPolicyRuleSecureTag
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

addSrcSecureTags(FirewallPolicyRuleSecureTag.Builder builderForValue)

public FirewallPolicyRuleMatcher.Builder addSrcSecureTags(FirewallPolicyRuleSecureTag.Builder builderForValue)

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
Name Description
builderForValue FirewallPolicyRuleSecureTag.Builder
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

addSrcSecureTags(int index, FirewallPolicyRuleSecureTag value)

public FirewallPolicyRuleMatcher.Builder addSrcSecureTags(int index, FirewallPolicyRuleSecureTag value)

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;

Parameters
Name Description
index int
value FirewallPolicyRuleSecureTag
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

addSrcSecureTags(int index, FirewallPolicyRuleSecureTag.Builder builderForValue)

public FirewallPolicyRuleMatcher.Builder addSrcSecureTags(int index, FirewallPolicyRuleSecureTag.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue FirewallPolicyRuleSecureTag.Builder
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

addSrcSecureTagsBuilder()

public FirewallPolicyRuleSecureTag.Builder addSrcSecureTagsBuilder()

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
Type Description
FirewallPolicyRuleSecureTag.Builder

addSrcSecureTagsBuilder(int index)

public FirewallPolicyRuleSecureTag.Builder addSrcSecureTagsBuilder(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
Name Description
index int
Returns
Type Description
FirewallPolicyRuleSecureTag.Builder

addSrcThreatIntelligences(String value)

public FirewallPolicyRuleMatcher.Builder addSrcThreatIntelligences(String value)

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.

repeated string src_threat_intelligences = 323631018;

Parameter
Name Description
value String

The srcThreatIntelligences to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

addSrcThreatIntelligencesBytes(ByteString value)

public FirewallPolicyRuleMatcher.Builder addSrcThreatIntelligencesBytes(ByteString value)

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.

repeated string src_threat_intelligences = 323631018;

Parameter
Name Description
value ByteString

The bytes of the srcThreatIntelligences to add.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

build()

public FirewallPolicyRuleMatcher build()
Returns
Type Description
FirewallPolicyRuleMatcher

buildPartial()

public FirewallPolicyRuleMatcher buildPartial()
Returns
Type Description
FirewallPolicyRuleMatcher

clear()

public FirewallPolicyRuleMatcher.Builder clear()
Returns
Type Description
FirewallPolicyRuleMatcher.Builder
Overrides

clearDestAddressGroups()

public FirewallPolicyRuleMatcher.Builder clearDestAddressGroups()

Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.

repeated string dest_address_groups = 468760508;

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

clearDestFqdns()

public FirewallPolicyRuleMatcher.Builder clearDestFqdns()

Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.

repeated string dest_fqdns = 370712737;

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

clearDestIpRanges()

public FirewallPolicyRuleMatcher.Builder clearDestIpRanges()

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

repeated string dest_ip_ranges = 337357713;

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

clearDestRegionCodes()

public FirewallPolicyRuleMatcher.Builder clearDestRegionCodes()

Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.

repeated string dest_region_codes = 199120280;

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

clearDestThreatIntelligences()

public FirewallPolicyRuleMatcher.Builder clearDestThreatIntelligences()

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.

repeated string dest_threat_intelligences = 119896492;

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FirewallPolicyRuleMatcher.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FirewallPolicyRuleMatcher.Builder
Overrides

clearLayer4Configs()

public FirewallPolicyRuleMatcher.Builder clearLayer4Configs()

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

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

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FirewallPolicyRuleMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FirewallPolicyRuleMatcher.Builder
Overrides

clearSrcAddressGroups()

public FirewallPolicyRuleMatcher.Builder clearSrcAddressGroups()

Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.

repeated string src_address_groups = 436423738;

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

clearSrcFqdns()

public FirewallPolicyRuleMatcher.Builder clearSrcFqdns()

Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.

repeated string src_fqdns = 435906147;

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

clearSrcIpRanges()

public FirewallPolicyRuleMatcher.Builder clearSrcIpRanges()

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

repeated string src_ip_ranges = 432128083;

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

clearSrcRegionCodes()

public FirewallPolicyRuleMatcher.Builder clearSrcRegionCodes()

Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.

repeated string src_region_codes = 99086742;

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

clearSrcSecureTags()

public FirewallPolicyRuleMatcher.Builder clearSrcSecureTags()

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
Type Description
FirewallPolicyRuleMatcher.Builder

clearSrcThreatIntelligences()

public FirewallPolicyRuleMatcher.Builder clearSrcThreatIntelligences()

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.

repeated string src_threat_intelligences = 323631018;

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

clone()

public FirewallPolicyRuleMatcher.Builder clone()
Returns
Type Description
FirewallPolicyRuleMatcher.Builder
Overrides

getDefaultInstanceForType()

public FirewallPolicyRuleMatcher getDefaultInstanceForType()
Returns
Type Description
FirewallPolicyRuleMatcher

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDestAddressGroups(int index)

public String getDestAddressGroups(int index)

Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.

repeated string dest_address_groups = 468760508;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The destAddressGroups at the given index.

getDestAddressGroupsBytes(int index)

public ByteString getDestAddressGroupsBytes(int index)

Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.

repeated string dest_address_groups = 468760508;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the destAddressGroups at the given index.

getDestAddressGroupsCount()

public int getDestAddressGroupsCount()

Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.

repeated string dest_address_groups = 468760508;

Returns
Type Description
int

The count of destAddressGroups.

getDestAddressGroupsList()

public ProtocolStringList getDestAddressGroupsList()

Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.

repeated string dest_address_groups = 468760508;

Returns
Type Description
ProtocolStringList

A list containing the destAddressGroups.

getDestFqdns(int index)

public String getDestFqdns(int index)

Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.

repeated string dest_fqdns = 370712737;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The destFqdns at the given index.

getDestFqdnsBytes(int index)

public ByteString getDestFqdnsBytes(int index)

Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.

repeated string dest_fqdns = 370712737;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the destFqdns at the given index.

getDestFqdnsCount()

public int getDestFqdnsCount()

Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.

repeated string dest_fqdns = 370712737;

Returns
Type Description
int

The count of destFqdns.

getDestFqdnsList()

public ProtocolStringList getDestFqdnsList()

Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.

repeated string dest_fqdns = 370712737;

Returns
Type Description
ProtocolStringList

A list containing the destFqdns.

getDestIpRanges(int index)

public 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
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 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
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 int getDestIpRangesCount()

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

repeated string dest_ip_ranges = 337357713;

Returns
Type Description
int

The count of destIpRanges.

getDestIpRangesList()

public ProtocolStringList getDestIpRangesList()

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

repeated string dest_ip_ranges = 337357713;

Returns
Type Description
ProtocolStringList

A list containing the destIpRanges.

getDestRegionCodes(int index)

public String getDestRegionCodes(int index)

Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.

repeated string dest_region_codes = 199120280;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The destRegionCodes at the given index.

getDestRegionCodesBytes(int index)

public ByteString getDestRegionCodesBytes(int index)

Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.

repeated string dest_region_codes = 199120280;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the destRegionCodes at the given index.

getDestRegionCodesCount()

public int getDestRegionCodesCount()

Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.

repeated string dest_region_codes = 199120280;

Returns
Type Description
int

The count of destRegionCodes.

getDestRegionCodesList()

public ProtocolStringList getDestRegionCodesList()

Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.

repeated string dest_region_codes = 199120280;

Returns
Type Description
ProtocolStringList

A list containing the destRegionCodes.

getDestThreatIntelligences(int index)

public String getDestThreatIntelligences(int index)

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.

repeated string dest_threat_intelligences = 119896492;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The destThreatIntelligences at the given index.

getDestThreatIntelligencesBytes(int index)

public ByteString getDestThreatIntelligencesBytes(int index)

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.

repeated string dest_threat_intelligences = 119896492;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the destThreatIntelligences at the given index.

getDestThreatIntelligencesCount()

public int getDestThreatIntelligencesCount()

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.

repeated string dest_threat_intelligences = 119896492;

Returns
Type Description
int

The count of destThreatIntelligences.

getDestThreatIntelligencesList()

public ProtocolStringList getDestThreatIntelligencesList()

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.

repeated string dest_threat_intelligences = 119896492;

Returns
Type Description
ProtocolStringList

A list containing the destThreatIntelligences.

getLayer4Configs(int index)

public 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
Name Description
index int
Returns
Type Description
FirewallPolicyRuleMatcherLayer4Config

getLayer4ConfigsBuilder(int index)

public FirewallPolicyRuleMatcherLayer4Config.Builder getLayer4ConfigsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
FirewallPolicyRuleMatcherLayer4Config.Builder

getLayer4ConfigsBuilderList()

public List<FirewallPolicyRuleMatcherLayer4Config.Builder> getLayer4ConfigsBuilderList()

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

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

Returns
Type Description
List<Builder>

getLayer4ConfigsCount()

public int getLayer4ConfigsCount()

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

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

Returns
Type Description
int

getLayer4ConfigsList()

public List<FirewallPolicyRuleMatcherLayer4Config> getLayer4ConfigsList()

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

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

Returns
Type Description
List<FirewallPolicyRuleMatcherLayer4Config>

getLayer4ConfigsOrBuilder(int index)

public 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
Name Description
index int
Returns
Type Description
FirewallPolicyRuleMatcherLayer4ConfigOrBuilder

getLayer4ConfigsOrBuilderList()

public 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
Type Description
List<? extends com.google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4ConfigOrBuilder>

getSrcAddressGroups(int index)

public String getSrcAddressGroups(int index)

Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.

repeated string src_address_groups = 436423738;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The srcAddressGroups at the given index.

getSrcAddressGroupsBytes(int index)

public ByteString getSrcAddressGroupsBytes(int index)

Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.

repeated string src_address_groups = 436423738;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the srcAddressGroups at the given index.

getSrcAddressGroupsCount()

public int getSrcAddressGroupsCount()

Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.

repeated string src_address_groups = 436423738;

Returns
Type Description
int

The count of srcAddressGroups.

getSrcAddressGroupsList()

public ProtocolStringList getSrcAddressGroupsList()

Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.

repeated string src_address_groups = 436423738;

Returns
Type Description
ProtocolStringList

A list containing the srcAddressGroups.

getSrcFqdns(int index)

public String getSrcFqdns(int index)

Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.

repeated string src_fqdns = 435906147;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The srcFqdns at the given index.

getSrcFqdnsBytes(int index)

public ByteString getSrcFqdnsBytes(int index)

Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.

repeated string src_fqdns = 435906147;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the srcFqdns at the given index.

getSrcFqdnsCount()

public int getSrcFqdnsCount()

Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.

repeated string src_fqdns = 435906147;

Returns
Type Description
int

The count of srcFqdns.

getSrcFqdnsList()

public ProtocolStringList getSrcFqdnsList()

Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.

repeated string src_fqdns = 435906147;

Returns
Type Description
ProtocolStringList

A list containing the srcFqdns.

getSrcIpRanges(int index)

public 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
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 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
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 int getSrcIpRangesCount()

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

repeated string src_ip_ranges = 432128083;

Returns
Type Description
int

The count of srcIpRanges.

getSrcIpRangesList()

public ProtocolStringList getSrcIpRangesList()

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

repeated string src_ip_ranges = 432128083;

Returns
Type Description
ProtocolStringList

A list containing the srcIpRanges.

getSrcRegionCodes(int index)

public String getSrcRegionCodes(int index)

Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.

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 ByteString getSrcRegionCodesBytes(int index)

Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.

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

Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.

repeated string src_region_codes = 99086742;

Returns
Type Description
int

The count of srcRegionCodes.

getSrcRegionCodesList()

public ProtocolStringList getSrcRegionCodesList()

Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.

repeated string src_region_codes = 99086742;

Returns
Type Description
ProtocolStringList

A list containing the srcRegionCodes.

getSrcSecureTags(int index)

public 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
Name Description
index int
Returns
Type Description
FirewallPolicyRuleSecureTag

getSrcSecureTagsBuilder(int index)

public FirewallPolicyRuleSecureTag.Builder getSrcSecureTagsBuilder(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
Name Description
index int
Returns
Type Description
FirewallPolicyRuleSecureTag.Builder

getSrcSecureTagsBuilderList()

public List<FirewallPolicyRuleSecureTag.Builder> getSrcSecureTagsBuilderList()

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
Type Description
List<Builder>

getSrcSecureTagsCount()

public 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
Type Description
int

getSrcSecureTagsList()

public 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
Type Description
List<FirewallPolicyRuleSecureTag>

getSrcSecureTagsOrBuilder(int index)

public 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
Name Description
index int
Returns
Type Description
FirewallPolicyRuleSecureTagOrBuilder

getSrcSecureTagsOrBuilderList()

public 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
Type Description
List<? extends com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder>

getSrcThreatIntelligences(int index)

public String getSrcThreatIntelligences(int index)

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.

repeated string src_threat_intelligences = 323631018;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The srcThreatIntelligences at the given index.

getSrcThreatIntelligencesBytes(int index)

public ByteString getSrcThreatIntelligencesBytes(int index)

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.

repeated string src_threat_intelligences = 323631018;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the srcThreatIntelligences at the given index.

getSrcThreatIntelligencesCount()

public int getSrcThreatIntelligencesCount()

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.

repeated string src_threat_intelligences = 323631018;

Returns
Type Description
int

The count of srcThreatIntelligences.

getSrcThreatIntelligencesList()

public ProtocolStringList getSrcThreatIntelligencesList()

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.

repeated string src_threat_intelligences = 323631018;

Returns
Type Description
ProtocolStringList

A list containing the srcThreatIntelligences.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FirewallPolicyRuleMatcher other)

public FirewallPolicyRuleMatcher.Builder mergeFrom(FirewallPolicyRuleMatcher other)
Parameter
Name Description
other FirewallPolicyRuleMatcher
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FirewallPolicyRuleMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallPolicyRuleMatcher.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FirewallPolicyRuleMatcher.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FirewallPolicyRuleMatcher.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FirewallPolicyRuleMatcher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FirewallPolicyRuleMatcher.Builder
Overrides

removeLayer4Configs(int index)

public FirewallPolicyRuleMatcher.Builder removeLayer4Configs(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

removeSrcSecureTags(int index)

public FirewallPolicyRuleMatcher.Builder removeSrcSecureTags(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
Name Description
index int
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

setDestAddressGroups(int index, String value)

public FirewallPolicyRuleMatcher.Builder setDestAddressGroups(int index, String value)

Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.

repeated string dest_address_groups = 468760508;

Parameters
Name Description
index int

The index to set the value at.

value String

The destAddressGroups to set.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

setDestFqdns(int index, String value)

public FirewallPolicyRuleMatcher.Builder setDestFqdns(int index, String value)

Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.

repeated string dest_fqdns = 370712737;

Parameters
Name Description
index int

The index to set the value at.

value String

The destFqdns to set.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

setDestIpRanges(int index, String value)

public FirewallPolicyRuleMatcher.Builder setDestIpRanges(int index, String value)

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

repeated string dest_ip_ranges = 337357713;

Parameters
Name Description
index int

The index to set the value at.

value String

The destIpRanges to set.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

setDestRegionCodes(int index, String value)

public FirewallPolicyRuleMatcher.Builder setDestRegionCodes(int index, String value)

Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.

repeated string dest_region_codes = 199120280;

Parameters
Name Description
index int

The index to set the value at.

value String

The destRegionCodes to set.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

setDestThreatIntelligences(int index, String value)

public FirewallPolicyRuleMatcher.Builder setDestThreatIntelligences(int index, String value)

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.

repeated string dest_threat_intelligences = 119896492;

Parameters
Name Description
index int

The index to set the value at.

value String

The destThreatIntelligences to set.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FirewallPolicyRuleMatcher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FirewallPolicyRuleMatcher.Builder
Overrides

setLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config value)

public FirewallPolicyRuleMatcher.Builder setLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config value)

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

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

Parameters
Name Description
index int
value FirewallPolicyRuleMatcherLayer4Config
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

setLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)

public FirewallPolicyRuleMatcher.Builder setLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue FirewallPolicyRuleMatcherLayer4Config.Builder
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FirewallPolicyRuleMatcher.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FirewallPolicyRuleMatcher.Builder
Overrides

setSrcAddressGroups(int index, String value)

public FirewallPolicyRuleMatcher.Builder setSrcAddressGroups(int index, String value)

Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.

repeated string src_address_groups = 436423738;

Parameters
Name Description
index int

The index to set the value at.

value String

The srcAddressGroups to set.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

setSrcFqdns(int index, String value)

public FirewallPolicyRuleMatcher.Builder setSrcFqdns(int index, String value)

Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.

repeated string src_fqdns = 435906147;

Parameters
Name Description
index int

The index to set the value at.

value String

The srcFqdns to set.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

setSrcIpRanges(int index, String value)

public FirewallPolicyRuleMatcher.Builder setSrcIpRanges(int index, String value)

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

repeated string src_ip_ranges = 432128083;

Parameters
Name Description
index int

The index to set the value at.

value String

The srcIpRanges to set.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

setSrcRegionCodes(int index, String value)

public FirewallPolicyRuleMatcher.Builder setSrcRegionCodes(int index, String value)

Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.

repeated string src_region_codes = 99086742;

Parameters
Name Description
index int

The index to set the value at.

value String

The srcRegionCodes to set.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

setSrcSecureTags(int index, FirewallPolicyRuleSecureTag value)

public FirewallPolicyRuleMatcher.Builder setSrcSecureTags(int index, FirewallPolicyRuleSecureTag value)

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;

Parameters
Name Description
index int
value FirewallPolicyRuleSecureTag
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

setSrcSecureTags(int index, FirewallPolicyRuleSecureTag.Builder builderForValue)

public FirewallPolicyRuleMatcher.Builder setSrcSecureTags(int index, FirewallPolicyRuleSecureTag.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue FirewallPolicyRuleSecureTag.Builder
Returns
Type Description
FirewallPolicyRuleMatcher.Builder

setSrcThreatIntelligences(int index, String value)

public FirewallPolicyRuleMatcher.Builder setSrcThreatIntelligences(int index, String value)

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.

repeated string src_threat_intelligences = 323631018;

Parameters
Name Description
index int

The index to set the value at.

value String

The srcThreatIntelligences to set.

Returns
Type Description
FirewallPolicyRuleMatcher.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FirewallPolicyRuleMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FirewallPolicyRuleMatcher.Builder
Overrides