- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public final class FirewallPolicyRuleMatcher extends GeneratedMessageV3 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FirewallPolicyRuleMatcherImplements
FirewallPolicyRuleMatcherOrBuilderStatic Fields
DEST_ADDRESS_GROUPS_FIELD_NUMBER
public static final int DEST_ADDRESS_GROUPS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DEST_FQDNS_FIELD_NUMBER
public static final int DEST_FQDNS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DEST_IP_RANGES_FIELD_NUMBER
public static final int DEST_IP_RANGES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DEST_REGION_CODES_FIELD_NUMBER
public static final int DEST_REGION_CODES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DEST_THREAT_INTELLIGENCES_FIELD_NUMBER
public static final int DEST_THREAT_INTELLIGENCES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
LAYER4_CONFIGS_FIELD_NUMBER
public static final int LAYER4_CONFIGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SRC_ADDRESS_GROUPS_FIELD_NUMBER
public static final int SRC_ADDRESS_GROUPS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SRC_FQDNS_FIELD_NUMBER
public static final int SRC_FQDNS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SRC_IP_RANGES_FIELD_NUMBER
public static final int SRC_IP_RANGES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SRC_REGION_CODES_FIELD_NUMBER
public static final int SRC_REGION_CODES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SRC_SECURE_TAGS_FIELD_NUMBER
public static final int SRC_SECURE_TAGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SRC_THREAT_INTELLIGENCES_FIELD_NUMBER
public static final int SRC_THREAT_INTELLIGENCES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static FirewallPolicyRuleMatcher getDefaultInstance()
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static FirewallPolicyRuleMatcher.Builder newBuilder()
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
newBuilder(FirewallPolicyRuleMatcher prototype)
public static FirewallPolicyRuleMatcher.Builder newBuilder(FirewallPolicyRuleMatcher prototype)
Parameter | |
---|---|
Name | Description |
prototype |
FirewallPolicyRuleMatcher |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
parseDelimitedFrom(InputStream input)
public static FirewallPolicyRuleMatcher parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyRuleMatcher parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static FirewallPolicyRuleMatcher parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyRuleMatcher parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static FirewallPolicyRuleMatcher parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyRuleMatcher parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static FirewallPolicyRuleMatcher parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyRuleMatcher parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static FirewallPolicyRuleMatcher parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyRuleMatcher parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static FirewallPolicyRuleMatcher parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyRuleMatcher parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<FirewallPolicyRuleMatcher> parser()
Returns | |
---|---|
Type | Description |
Parser<FirewallPolicyRuleMatcher> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public FirewallPolicyRuleMatcher getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
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 |
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> |
getParserForType()
public Parser<FirewallPolicyRuleMatcher> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<FirewallPolicyRuleMatcher> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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 |
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. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public FirewallPolicyRuleMatcher.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FirewallPolicyRuleMatcher.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public FirewallPolicyRuleMatcher.Builder toBuilder()
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |