Package com.google.cloud.compute.v1
Class FirewallPolicyRuleMatcher
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.FirewallPolicyRuleMatcher
-
- All Implemented Interfaces:
FirewallPolicyRuleMatcherOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class FirewallPolicyRuleMatcher extends com.google.protobuf.GeneratedMessageV3 implements FirewallPolicyRuleMatcherOrBuilder
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
Protobuf typegoogle.cloud.compute.v1.FirewallPolicyRuleMatcher- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFirewallPolicyRuleMatcher.BuilderRepresents a match condition that incoming traffic is evaluated against.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDEST_ADDRESS_GROUPS_FIELD_NUMBERstatic intDEST_FQDNS_FIELD_NUMBERstatic intDEST_IP_RANGES_FIELD_NUMBERstatic intDEST_REGION_CODES_FIELD_NUMBERstatic intDEST_THREAT_INTELLIGENCES_FIELD_NUMBERstatic intLAYER4_CONFIGS_FIELD_NUMBERstatic intSRC_ADDRESS_GROUPS_FIELD_NUMBERstatic intSRC_FQDNS_FIELD_NUMBERstatic intSRC_IP_RANGES_FIELD_NUMBERstatic intSRC_REGION_CODES_FIELD_NUMBERstatic intSRC_SECURE_TAGS_FIELD_NUMBERstatic intSRC_THREAT_INTELLIGENCES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static FirewallPolicyRuleMatchergetDefaultInstance()FirewallPolicyRuleMatchergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDestAddressGroups(int index)Address groups which should be matched against the traffic destination.com.google.protobuf.ByteStringgetDestAddressGroupsBytes(int index)Address groups which should be matched against the traffic destination.intgetDestAddressGroupsCount()Address groups which should be matched against the traffic destination.com.google.protobuf.ProtocolStringListgetDestAddressGroupsList()Address groups which should be matched against the traffic destination.StringgetDestFqdns(int index)Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.com.google.protobuf.ByteStringgetDestFqdnsBytes(int index)Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.intgetDestFqdnsCount()Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.com.google.protobuf.ProtocolStringListgetDestFqdnsList()Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.StringgetDestIpRanges(int index)CIDR IP address range.com.google.protobuf.ByteStringgetDestIpRangesBytes(int index)CIDR IP address range.intgetDestIpRangesCount()CIDR IP address range.com.google.protobuf.ProtocolStringListgetDestIpRangesList()CIDR IP address range.StringgetDestRegionCodes(int index)Region codes whose IP addresses will be used to match for destination of traffic.com.google.protobuf.ByteStringgetDestRegionCodesBytes(int index)Region codes whose IP addresses will be used to match for destination of traffic.intgetDestRegionCodesCount()Region codes whose IP addresses will be used to match for destination of traffic.com.google.protobuf.ProtocolStringListgetDestRegionCodesList()Region codes whose IP addresses will be used to match for destination of traffic.StringgetDestThreatIntelligences(int index)Names of Network Threat Intelligence lists.com.google.protobuf.ByteStringgetDestThreatIntelligencesBytes(int index)Names of Network Threat Intelligence lists.intgetDestThreatIntelligencesCount()Names of Network Threat Intelligence lists.com.google.protobuf.ProtocolStringListgetDestThreatIntelligencesList()Names of Network Threat Intelligence lists.FirewallPolicyRuleMatcherLayer4ConfiggetLayer4Configs(int index)Pairs of IP protocols and ports that the rule should match.intgetLayer4ConfigsCount()Pairs of IP protocols and ports that the rule should match.List<FirewallPolicyRuleMatcherLayer4Config>getLayer4ConfigsList()Pairs of IP protocols and ports that the rule should match.FirewallPolicyRuleMatcherLayer4ConfigOrBuildergetLayer4ConfigsOrBuilder(int index)Pairs of IP protocols and ports that the rule should match.List<? extends FirewallPolicyRuleMatcherLayer4ConfigOrBuilder>getLayer4ConfigsOrBuilderList()Pairs of IP protocols and ports that the rule should match.com.google.protobuf.Parser<FirewallPolicyRuleMatcher>getParserForType()intgetSerializedSize()StringgetSrcAddressGroups(int index)Address groups which should be matched against the traffic source.com.google.protobuf.ByteStringgetSrcAddressGroupsBytes(int index)Address groups which should be matched against the traffic source.intgetSrcAddressGroupsCount()Address groups which should be matched against the traffic source.com.google.protobuf.ProtocolStringListgetSrcAddressGroupsList()Address groups which should be matched against the traffic source.StringgetSrcFqdns(int index)Fully Qualified Domain Name (FQDN) which should be matched against traffic source.com.google.protobuf.ByteStringgetSrcFqdnsBytes(int index)Fully Qualified Domain Name (FQDN) which should be matched against traffic source.intgetSrcFqdnsCount()Fully Qualified Domain Name (FQDN) which should be matched against traffic source.com.google.protobuf.ProtocolStringListgetSrcFqdnsList()Fully Qualified Domain Name (FQDN) which should be matched against traffic source.StringgetSrcIpRanges(int index)CIDR IP address range.com.google.protobuf.ByteStringgetSrcIpRangesBytes(int index)CIDR IP address range.intgetSrcIpRangesCount()CIDR IP address range.com.google.protobuf.ProtocolStringListgetSrcIpRangesList()CIDR IP address range.StringgetSrcRegionCodes(int index)Region codes whose IP addresses will be used to match for source of traffic.com.google.protobuf.ByteStringgetSrcRegionCodesBytes(int index)Region codes whose IP addresses will be used to match for source of traffic.intgetSrcRegionCodesCount()Region codes whose IP addresses will be used to match for source of traffic.com.google.protobuf.ProtocolStringListgetSrcRegionCodesList()Region codes whose IP addresses will be used to match for source of traffic.FirewallPolicyRuleSecureTaggetSrcSecureTags(int index)List of secure tag values, which should be matched at the source of the traffic.intgetSrcSecureTagsCount()List of secure tag values, which should be matched at the source of the traffic.List<FirewallPolicyRuleSecureTag>getSrcSecureTagsList()List of secure tag values, which should be matched at the source of the traffic.FirewallPolicyRuleSecureTagOrBuildergetSrcSecureTagsOrBuilder(int index)List of secure tag values, which should be matched at the source of the traffic.List<? extends FirewallPolicyRuleSecureTagOrBuilder>getSrcSecureTagsOrBuilderList()List of secure tag values, which should be matched at the source of the traffic.StringgetSrcThreatIntelligences(int index)Names of Network Threat Intelligence lists.com.google.protobuf.ByteStringgetSrcThreatIntelligencesBytes(int index)Names of Network Threat Intelligence lists.intgetSrcThreatIntelligencesCount()Names of Network Threat Intelligence lists.com.google.protobuf.ProtocolStringListgetSrcThreatIntelligencesList()Names of Network Threat Intelligence lists.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static FirewallPolicyRuleMatcher.BuildernewBuilder()static FirewallPolicyRuleMatcher.BuildernewBuilder(FirewallPolicyRuleMatcher prototype)FirewallPolicyRuleMatcher.BuildernewBuilderForType()protected FirewallPolicyRuleMatcher.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static FirewallPolicyRuleMatcherparseDelimitedFrom(InputStream input)static FirewallPolicyRuleMatcherparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FirewallPolicyRuleMatcherparseFrom(byte[] data)static FirewallPolicyRuleMatcherparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FirewallPolicyRuleMatcherparseFrom(com.google.protobuf.ByteString data)static FirewallPolicyRuleMatcherparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FirewallPolicyRuleMatcherparseFrom(com.google.protobuf.CodedInputStream input)static FirewallPolicyRuleMatcherparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FirewallPolicyRuleMatcherparseFrom(InputStream input)static FirewallPolicyRuleMatcherparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FirewallPolicyRuleMatcherparseFrom(ByteBuffer data)static FirewallPolicyRuleMatcherparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<FirewallPolicyRuleMatcher>parser()FirewallPolicyRuleMatcher.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DEST_ADDRESS_GROUPS_FIELD_NUMBER
public static final int DEST_ADDRESS_GROUPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEST_FQDNS_FIELD_NUMBER
public static final int DEST_FQDNS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEST_IP_RANGES_FIELD_NUMBER
public static final int DEST_IP_RANGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEST_REGION_CODES_FIELD_NUMBER
public static final int DEST_REGION_CODES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEST_THREAT_INTELLIGENCES_FIELD_NUMBER
public static final int DEST_THREAT_INTELLIGENCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAYER4_CONFIGS_FIELD_NUMBER
public static final int LAYER4_CONFIGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SRC_ADDRESS_GROUPS_FIELD_NUMBER
public static final int SRC_ADDRESS_GROUPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SRC_FQDNS_FIELD_NUMBER
public static final int SRC_FQDNS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SRC_IP_RANGES_FIELD_NUMBER
public static final int SRC_IP_RANGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SRC_REGION_CODES_FIELD_NUMBER
public static final int SRC_REGION_CODES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SRC_SECURE_TAGS_FIELD_NUMBER
public static final int SRC_SECURE_TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SRC_THREAT_INTELLIGENCES_FIELD_NUMBER
public static final int SRC_THREAT_INTELLIGENCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDestAddressGroupsList
public com.google.protobuf.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;- Specified by:
getDestAddressGroupsListin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- A list containing the destAddressGroups.
-
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;- Specified by:
getDestAddressGroupsCountin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The count of destAddressGroups.
-
getDestAddressGroups
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;- Specified by:
getDestAddressGroupsin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The destAddressGroups at the given index.
-
getDestAddressGroupsBytes
public com.google.protobuf.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;- Specified by:
getDestAddressGroupsBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the destAddressGroups at the given index.
-
getDestFqdnsList
public com.google.protobuf.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;- Specified by:
getDestFqdnsListin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- A list containing the destFqdns.
-
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;- Specified by:
getDestFqdnsCountin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The count of destFqdns.
-
getDestFqdns
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;- Specified by:
getDestFqdnsin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The destFqdns at the given index.
-
getDestFqdnsBytes
public com.google.protobuf.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;- Specified by:
getDestFqdnsBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the destFqdns at the given index.
-
getDestIpRangesList
public com.google.protobuf.ProtocolStringList getDestIpRangesList()
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
repeated string dest_ip_ranges = 337357713;- Specified by:
getDestIpRangesListin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- A list containing the destIpRanges.
-
getDestIpRangesCount
public int getDestIpRangesCount()
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
repeated string dest_ip_ranges = 337357713;- Specified by:
getDestIpRangesCountin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The count of destIpRanges.
-
getDestIpRanges
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;- Specified by:
getDestIpRangesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The destIpRanges at the given index.
-
getDestIpRangesBytes
public com.google.protobuf.ByteString getDestIpRangesBytes(int index)
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
repeated string dest_ip_ranges = 337357713;- Specified by:
getDestIpRangesBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the destIpRanges at the given index.
-
getDestRegionCodesList
public com.google.protobuf.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;- Specified by:
getDestRegionCodesListin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- A list containing the destRegionCodes.
-
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;- Specified by:
getDestRegionCodesCountin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The count of destRegionCodes.
-
getDestRegionCodes
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;- Specified by:
getDestRegionCodesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The destRegionCodes at the given index.
-
getDestRegionCodesBytes
public com.google.protobuf.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;- Specified by:
getDestRegionCodesBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the destRegionCodes at the given index.
-
getDestThreatIntelligencesList
public com.google.protobuf.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;- Specified by:
getDestThreatIntelligencesListin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- A list containing the destThreatIntelligences.
-
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;- Specified by:
getDestThreatIntelligencesCountin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The count of destThreatIntelligences.
-
getDestThreatIntelligences
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;- Specified by:
getDestThreatIntelligencesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The destThreatIntelligences at the given index.
-
getDestThreatIntelligencesBytes
public com.google.protobuf.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;- Specified by:
getDestThreatIntelligencesBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the destThreatIntelligences at the given index.
-
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;- Specified by:
getLayer4ConfigsListin interfaceFirewallPolicyRuleMatcherOrBuilder
-
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;- Specified by:
getLayer4ConfigsOrBuilderListin interfaceFirewallPolicyRuleMatcherOrBuilder
-
getLayer4ConfigsCount
public int getLayer4ConfigsCount()
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;- Specified by:
getLayer4ConfigsCountin interfaceFirewallPolicyRuleMatcherOrBuilder
-
getLayer4Configs
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;- Specified by:
getLayer4Configsin interfaceFirewallPolicyRuleMatcherOrBuilder
-
getLayer4ConfigsOrBuilder
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;- Specified by:
getLayer4ConfigsOrBuilderin interfaceFirewallPolicyRuleMatcherOrBuilder
-
getSrcAddressGroupsList
public com.google.protobuf.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;- Specified by:
getSrcAddressGroupsListin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- A list containing the srcAddressGroups.
-
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;- Specified by:
getSrcAddressGroupsCountin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The count of srcAddressGroups.
-
getSrcAddressGroups
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;- Specified by:
getSrcAddressGroupsin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The srcAddressGroups at the given index.
-
getSrcAddressGroupsBytes
public com.google.protobuf.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;- Specified by:
getSrcAddressGroupsBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the srcAddressGroups at the given index.
-
getSrcFqdnsList
public com.google.protobuf.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;- Specified by:
getSrcFqdnsListin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- A list containing the srcFqdns.
-
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;- Specified by:
getSrcFqdnsCountin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The count of srcFqdns.
-
getSrcFqdns
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;- Specified by:
getSrcFqdnsin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The srcFqdns at the given index.
-
getSrcFqdnsBytes
public com.google.protobuf.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;- Specified by:
getSrcFqdnsBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the srcFqdns at the given index.
-
getSrcIpRangesList
public com.google.protobuf.ProtocolStringList getSrcIpRangesList()
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
repeated string src_ip_ranges = 432128083;- Specified by:
getSrcIpRangesListin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- A list containing the srcIpRanges.
-
getSrcIpRangesCount
public int getSrcIpRangesCount()
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
repeated string src_ip_ranges = 432128083;- Specified by:
getSrcIpRangesCountin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The count of srcIpRanges.
-
getSrcIpRanges
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;- Specified by:
getSrcIpRangesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The srcIpRanges at the given index.
-
getSrcIpRangesBytes
public com.google.protobuf.ByteString getSrcIpRangesBytes(int index)
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
repeated string src_ip_ranges = 432128083;- Specified by:
getSrcIpRangesBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the srcIpRanges at the given index.
-
getSrcRegionCodesList
public com.google.protobuf.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;- Specified by:
getSrcRegionCodesListin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- A list containing the srcRegionCodes.
-
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;- Specified by:
getSrcRegionCodesCountin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The count of srcRegionCodes.
-
getSrcRegionCodes
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;- Specified by:
getSrcRegionCodesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The srcRegionCodes at the given index.
-
getSrcRegionCodesBytes
public com.google.protobuf.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;- Specified by:
getSrcRegionCodesBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the srcRegionCodes at the given index.
-
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;- Specified by:
getSrcSecureTagsListin interfaceFirewallPolicyRuleMatcherOrBuilder
-
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;- Specified by:
getSrcSecureTagsOrBuilderListin interfaceFirewallPolicyRuleMatcherOrBuilder
-
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;- Specified by:
getSrcSecureTagsCountin interfaceFirewallPolicyRuleMatcherOrBuilder
-
getSrcSecureTags
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;- Specified by:
getSrcSecureTagsin interfaceFirewallPolicyRuleMatcherOrBuilder
-
getSrcSecureTagsOrBuilder
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;- Specified by:
getSrcSecureTagsOrBuilderin interfaceFirewallPolicyRuleMatcherOrBuilder
-
getSrcThreatIntelligencesList
public com.google.protobuf.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;- Specified by:
getSrcThreatIntelligencesListin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- A list containing the srcThreatIntelligences.
-
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;- Specified by:
getSrcThreatIntelligencesCountin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The count of srcThreatIntelligences.
-
getSrcThreatIntelligences
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;- Specified by:
getSrcThreatIntelligencesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The srcThreatIntelligences at the given index.
-
getSrcThreatIntelligencesBytes
public com.google.protobuf.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;- Specified by:
getSrcThreatIntelligencesBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the srcThreatIntelligences at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FirewallPolicyRuleMatcher parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FirewallPolicyRuleMatcher parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FirewallPolicyRuleMatcher parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FirewallPolicyRuleMatcher parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FirewallPolicyRuleMatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FirewallPolicyRuleMatcher parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FirewallPolicyRuleMatcher parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FirewallPolicyRuleMatcher parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FirewallPolicyRuleMatcher parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FirewallPolicyRuleMatcher parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static FirewallPolicyRuleMatcher parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FirewallPolicyRuleMatcher parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public FirewallPolicyRuleMatcher.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static FirewallPolicyRuleMatcher.Builder newBuilder()
-
newBuilder
public static FirewallPolicyRuleMatcher.Builder newBuilder(FirewallPolicyRuleMatcher prototype)
-
toBuilder
public FirewallPolicyRuleMatcher.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FirewallPolicyRuleMatcher.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static FirewallPolicyRuleMatcher getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<FirewallPolicyRuleMatcher> parser()
-
getParserForType
public com.google.protobuf.Parser<FirewallPolicyRuleMatcher> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public FirewallPolicyRuleMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-