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 class
FirewallPolicyRuleMatcher.Builder
Represents 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 int
DEST_ADDRESS_GROUPS_FIELD_NUMBER
static int
DEST_FQDNS_FIELD_NUMBER
static int
DEST_IP_RANGES_FIELD_NUMBER
static int
DEST_REGION_CODES_FIELD_NUMBER
static int
DEST_THREAT_INTELLIGENCES_FIELD_NUMBER
static int
LAYER4_CONFIGS_FIELD_NUMBER
static int
SRC_ADDRESS_GROUPS_FIELD_NUMBER
static int
SRC_FQDNS_FIELD_NUMBER
static int
SRC_IP_RANGES_FIELD_NUMBER
static int
SRC_REGION_CODES_FIELD_NUMBER
static int
SRC_SECURE_TAGS_FIELD_NUMBER
static int
SRC_THREAT_INTELLIGENCES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static FirewallPolicyRuleMatcher
getDefaultInstance()
FirewallPolicyRuleMatcher
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDestAddressGroups(int index)
Address groups which should be matched against the traffic destination.com.google.protobuf.ByteString
getDestAddressGroupsBytes(int index)
Address groups which should be matched against the traffic destination.int
getDestAddressGroupsCount()
Address groups which should be matched against the traffic destination.com.google.protobuf.ProtocolStringList
getDestAddressGroupsList()
Address groups which should be matched against the traffic destination.String
getDestFqdns(int index)
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.com.google.protobuf.ByteString
getDestFqdnsBytes(int index)
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.int
getDestFqdnsCount()
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.com.google.protobuf.ProtocolStringList
getDestFqdnsList()
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.String
getDestIpRanges(int index)
CIDR IP address range.com.google.protobuf.ByteString
getDestIpRangesBytes(int index)
CIDR IP address range.int
getDestIpRangesCount()
CIDR IP address range.com.google.protobuf.ProtocolStringList
getDestIpRangesList()
CIDR IP address range.String
getDestRegionCodes(int index)
Region codes whose IP addresses will be used to match for destination of traffic.com.google.protobuf.ByteString
getDestRegionCodesBytes(int index)
Region codes whose IP addresses will be used to match for destination of traffic.int
getDestRegionCodesCount()
Region codes whose IP addresses will be used to match for destination of traffic.com.google.protobuf.ProtocolStringList
getDestRegionCodesList()
Region codes whose IP addresses will be used to match for destination of traffic.String
getDestThreatIntelligences(int index)
Names of Network Threat Intelligence lists.com.google.protobuf.ByteString
getDestThreatIntelligencesBytes(int index)
Names of Network Threat Intelligence lists.int
getDestThreatIntelligencesCount()
Names of Network Threat Intelligence lists.com.google.protobuf.ProtocolStringList
getDestThreatIntelligencesList()
Names of Network Threat Intelligence lists.FirewallPolicyRuleMatcherLayer4Config
getLayer4Configs(int index)
Pairs of IP protocols and ports that the rule should match.int
getLayer4ConfigsCount()
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.FirewallPolicyRuleMatcherLayer4ConfigOrBuilder
getLayer4ConfigsOrBuilder(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()
int
getSerializedSize()
String
getSrcAddressGroups(int index)
Address groups which should be matched against the traffic source.com.google.protobuf.ByteString
getSrcAddressGroupsBytes(int index)
Address groups which should be matched against the traffic source.int
getSrcAddressGroupsCount()
Address groups which should be matched against the traffic source.com.google.protobuf.ProtocolStringList
getSrcAddressGroupsList()
Address groups which should be matched against the traffic source.String
getSrcFqdns(int index)
Fully Qualified Domain Name (FQDN) which should be matched against traffic source.com.google.protobuf.ByteString
getSrcFqdnsBytes(int index)
Fully Qualified Domain Name (FQDN) which should be matched against traffic source.int
getSrcFqdnsCount()
Fully Qualified Domain Name (FQDN) which should be matched against traffic source.com.google.protobuf.ProtocolStringList
getSrcFqdnsList()
Fully Qualified Domain Name (FQDN) which should be matched against traffic source.String
getSrcIpRanges(int index)
CIDR IP address range.com.google.protobuf.ByteString
getSrcIpRangesBytes(int index)
CIDR IP address range.int
getSrcIpRangesCount()
CIDR IP address range.com.google.protobuf.ProtocolStringList
getSrcIpRangesList()
CIDR IP address range.String
getSrcRegionCodes(int index)
Region codes whose IP addresses will be used to match for source of traffic.com.google.protobuf.ByteString
getSrcRegionCodesBytes(int index)
Region codes whose IP addresses will be used to match for source of traffic.int
getSrcRegionCodesCount()
Region codes whose IP addresses will be used to match for source of traffic.com.google.protobuf.ProtocolStringList
getSrcRegionCodesList()
Region codes whose IP addresses will be used to match for source of traffic.FirewallPolicyRuleSecureTag
getSrcSecureTags(int index)
List of secure tag values, which should be matched at the source of the traffic.int
getSrcSecureTagsCount()
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.FirewallPolicyRuleSecureTagOrBuilder
getSrcSecureTagsOrBuilder(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.String
getSrcThreatIntelligences(int index)
Names of Network Threat Intelligence lists.com.google.protobuf.ByteString
getSrcThreatIntelligencesBytes(int index)
Names of Network Threat Intelligence lists.int
getSrcThreatIntelligencesCount()
Names of Network Threat Intelligence lists.com.google.protobuf.ProtocolStringList
getSrcThreatIntelligencesList()
Names of Network Threat Intelligence lists.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static FirewallPolicyRuleMatcher.Builder
newBuilder()
static FirewallPolicyRuleMatcher.Builder
newBuilder(FirewallPolicyRuleMatcher prototype)
FirewallPolicyRuleMatcher.Builder
newBuilderForType()
protected FirewallPolicyRuleMatcher.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static FirewallPolicyRuleMatcher
parseDelimitedFrom(InputStream input)
static FirewallPolicyRuleMatcher
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FirewallPolicyRuleMatcher
parseFrom(byte[] data)
static FirewallPolicyRuleMatcher
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FirewallPolicyRuleMatcher
parseFrom(com.google.protobuf.ByteString data)
static FirewallPolicyRuleMatcher
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FirewallPolicyRuleMatcher
parseFrom(com.google.protobuf.CodedInputStream input)
static FirewallPolicyRuleMatcher
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FirewallPolicyRuleMatcher
parseFrom(InputStream input)
static FirewallPolicyRuleMatcher
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static FirewallPolicyRuleMatcher
parseFrom(ByteBuffer data)
static FirewallPolicyRuleMatcher
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<FirewallPolicyRuleMatcher>
parser()
FirewallPolicyRuleMatcher.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getDestAddressGroupsList
in 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:
getDestAddressGroupsCount
in 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:
getDestAddressGroups
in 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:
getDestAddressGroupsBytes
in 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:
getDestFqdnsList
in 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:
getDestFqdnsCount
in 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:
getDestFqdns
in 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:
getDestFqdnsBytes
in 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:
getDestIpRangesList
in 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:
getDestIpRangesCount
in 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:
getDestIpRanges
in 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:
getDestIpRangesBytes
in 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:
getDestRegionCodesList
in 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:
getDestRegionCodesCount
in 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:
getDestRegionCodes
in 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:
getDestRegionCodesBytes
in 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:
getDestThreatIntelligencesList
in 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:
getDestThreatIntelligencesCount
in 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:
getDestThreatIntelligences
in 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:
getDestThreatIntelligencesBytes
in 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:
getLayer4ConfigsList
in 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:
getLayer4ConfigsOrBuilderList
in 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:
getLayer4ConfigsCount
in 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:
getLayer4Configs
in 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:
getLayer4ConfigsOrBuilder
in 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:
getSrcAddressGroupsList
in 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:
getSrcAddressGroupsCount
in 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:
getSrcAddressGroups
in 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:
getSrcAddressGroupsBytes
in 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:
getSrcFqdnsList
in 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:
getSrcFqdnsCount
in 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:
getSrcFqdns
in 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:
getSrcFqdnsBytes
in 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:
getSrcIpRangesList
in 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:
getSrcIpRangesCount
in 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:
getSrcIpRanges
in 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:
getSrcIpRangesBytes
in 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:
getSrcRegionCodesList
in 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:
getSrcRegionCodesCount
in 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:
getSrcRegionCodes
in 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:
getSrcRegionCodesBytes
in 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:
getSrcSecureTagsList
in 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:
getSrcSecureTagsOrBuilderList
in 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:
getSrcSecureTagsCount
in 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:
getSrcSecureTags
in 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:
getSrcSecureTagsOrBuilder
in 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:
getSrcThreatIntelligencesList
in 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:
getSrcThreatIntelligencesCount
in 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:
getSrcThreatIntelligences
in 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:
getSrcThreatIntelligencesBytes
in 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:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FirewallPolicyRuleMatcher.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public FirewallPolicyRuleMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-