Package com.google.cloud.compute.v1
Class FirewallPolicyRuleMatcher
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class FirewallPolicyRuleMatcher
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a match condition that incoming traffic is evaluated against.static enumNetwork context of the traffic destination.static enumNetwork type of the traffic destination.static enumNetwork context of the traffic source.static enumNetwork type of the traffic source.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FirewallPolicyRuleMatcherstatic final com.google.protobuf.Descriptors.DescriptorgetDestAddressGroups(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.intAddress groups which should be matched against the traffic destination.com.google.protobuf.ProtocolStringListAddress groups which should be matched against the traffic destination.getDestFqdns(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.intFully Qualified Domain Name (FQDN) which should be matched against traffic destination.com.google.protobuf.ProtocolStringListFully Qualified Domain Name (FQDN) which should be matched against traffic destination.getDestIpRanges(int index) CIDR IP address range.com.google.protobuf.ByteStringgetDestIpRangesBytes(int index) CIDR IP address range.intCIDR IP address range.com.google.protobuf.ProtocolStringListCIDR IP address range.Network context of the traffic destination.com.google.protobuf.ByteStringNetwork context of the traffic destination.Network type of the traffic destination.com.google.protobuf.ByteStringNetwork type of the traffic destination.getDestRegionCodes(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.intRegion codes whose IP addresses will be used to match for destination of traffic.com.google.protobuf.ProtocolStringListRegion codes whose IP addresses will be used to match for destination of traffic.getDestThreatIntelligences(int index) Names of Network Threat Intelligence lists.com.google.protobuf.ByteStringgetDestThreatIntelligencesBytes(int index) Names of Network Threat Intelligence lists.intNames of Network Threat Intelligence lists.com.google.protobuf.ProtocolStringListNames of Network Threat Intelligence lists.getLayer4Configs(int index) Pairs of IP protocols and ports that the rule should match.intPairs of IP protocols and ports that the rule should match.Pairs of IP protocols and ports that the rule should match.getLayer4ConfigsOrBuilder(int index) Pairs of IP protocols and ports that the rule should match.Pairs of IP protocols and ports that the rule should match.com.google.protobuf.Parser<FirewallPolicyRuleMatcher>intgetSrcAddressGroups(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.intAddress groups which should be matched against the traffic source.com.google.protobuf.ProtocolStringListAddress groups which should be matched against the traffic source.getSrcFqdns(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.intFully Qualified Domain Name (FQDN) which should be matched against traffic source.com.google.protobuf.ProtocolStringListFully Qualified Domain Name (FQDN) which should be matched against traffic source.getSrcIpRanges(int index) CIDR IP address range.com.google.protobuf.ByteStringgetSrcIpRangesBytes(int index) CIDR IP address range.intCIDR IP address range.com.google.protobuf.ProtocolStringListCIDR IP address range.Network context of the traffic source.com.google.protobuf.ByteStringNetwork context of the traffic source.getSrcNetworks(int index) Networks of the traffic source.com.google.protobuf.ByteStringgetSrcNetworksBytes(int index) Networks of the traffic source.intNetworks of the traffic source.com.google.protobuf.ProtocolStringListNetworks of the traffic source.Network type of the traffic source.com.google.protobuf.ByteStringNetwork type of the traffic source.getSrcRegionCodes(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.intRegion codes whose IP addresses will be used to match for source of traffic.com.google.protobuf.ProtocolStringListRegion codes whose IP addresses will be used to match for source of traffic.getSrcSecureTags(int index) List of secure tag values, which should be matched at the source of the traffic.intList of secure tag values, which should be matched at the source of the traffic.List of secure tag values, which should be matched at the source of the traffic.getSrcSecureTagsOrBuilder(int index) List of secure tag values, which should be matched at the source of the traffic.List<? extends FirewallPolicyRuleSecureTagOrBuilder>List of secure tag values, which should be matched at the source of the traffic.getSrcThreatIntelligences(int index) Names of Network Threat Intelligence lists.com.google.protobuf.ByteStringgetSrcThreatIntelligencesBytes(int index) Names of Network Threat Intelligence lists.intNames of Network Threat Intelligence lists.com.google.protobuf.ProtocolStringListNames of Network Threat Intelligence lists.booleanNetwork context of the traffic destination.booleanNetwork type of the traffic destination.inthashCode()booleanNetwork context of the traffic source.booleanNetwork type of the traffic source.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(FirewallPolicyRuleMatcher prototype) protected FirewallPolicyRuleMatcher.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DEST_ADDRESS_GROUPS_FIELD_NUMBER
public static final int DEST_ADDRESS_GROUPS_FIELD_NUMBER- See Also:
-
DEST_FQDNS_FIELD_NUMBER
public static final int DEST_FQDNS_FIELD_NUMBER- See Also:
-
DEST_IP_RANGES_FIELD_NUMBER
public static final int DEST_IP_RANGES_FIELD_NUMBER- See Also:
-
DEST_NETWORK_CONTEXT_FIELD_NUMBER
public static final int DEST_NETWORK_CONTEXT_FIELD_NUMBER- See Also:
-
DEST_NETWORK_TYPE_FIELD_NUMBER
public static final int DEST_NETWORK_TYPE_FIELD_NUMBER- See Also:
-
DEST_REGION_CODES_FIELD_NUMBER
public static final int DEST_REGION_CODES_FIELD_NUMBER- See Also:
-
DEST_THREAT_INTELLIGENCES_FIELD_NUMBER
public static final int DEST_THREAT_INTELLIGENCES_FIELD_NUMBER- See Also:
-
LAYER4_CONFIGS_FIELD_NUMBER
public static final int LAYER4_CONFIGS_FIELD_NUMBER- See Also:
-
SRC_ADDRESS_GROUPS_FIELD_NUMBER
public static final int SRC_ADDRESS_GROUPS_FIELD_NUMBER- See Also:
-
SRC_FQDNS_FIELD_NUMBER
public static final int SRC_FQDNS_FIELD_NUMBER- See Also:
-
SRC_IP_RANGES_FIELD_NUMBER
public static final int SRC_IP_RANGES_FIELD_NUMBER- See Also:
-
SRC_NETWORK_CONTEXT_FIELD_NUMBER
public static final int SRC_NETWORK_CONTEXT_FIELD_NUMBER- See Also:
-
SRC_NETWORK_TYPE_FIELD_NUMBER
public static final int SRC_NETWORK_TYPE_FIELD_NUMBER- See Also:
-
SRC_NETWORKS_FIELD_NUMBER
public static final int SRC_NETWORKS_FIELD_NUMBER- See Also:
-
SRC_REGION_CODES_FIELD_NUMBER
public static final int SRC_REGION_CODES_FIELD_NUMBER- See Also:
-
SRC_SECURE_TAGS_FIELD_NUMBER
public static final int SRC_SECURE_TAGS_FIELD_NUMBER- See Also:
-
SRC_THREAT_INTELLIGENCES_FIELD_NUMBER
public static final int SRC_THREAT_INTELLIGENCES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
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
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
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.
-
hasDestNetworkContext
public boolean hasDestNetworkContext()Network context of the traffic destination. Allowed values are: - UNSPECIFIED - INTERNET - NON_INTERNET Check the DestNetworkContext enum for the list of possible values.
optional string dest_network_context = 76347649;- Specified by:
hasDestNetworkContextin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- Whether the destNetworkContext field is set.
-
getDestNetworkContext
Network context of the traffic destination. Allowed values are: - UNSPECIFIED - INTERNET - NON_INTERNET Check the DestNetworkContext enum for the list of possible values.
optional string dest_network_context = 76347649;- Specified by:
getDestNetworkContextin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The destNetworkContext.
-
getDestNetworkContextBytes
public com.google.protobuf.ByteString getDestNetworkContextBytes()Network context of the traffic destination. Allowed values are: - UNSPECIFIED - INTERNET - NON_INTERNET Check the DestNetworkContext enum for the list of possible values.
optional string dest_network_context = 76347649;- Specified by:
getDestNetworkContextBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The bytes for destNetworkContext.
-
hasDestNetworkType
public boolean hasDestNetworkType()Network type of the traffic destination. Allowed values are: - UNSPECIFIED - INTERNET - NON_INTERNET Check the DestNetworkType enum for the list of possible values.
optional string dest_network_type = 409853224;- Specified by:
hasDestNetworkTypein interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- Whether the destNetworkType field is set.
-
getDestNetworkType
Network type of the traffic destination. Allowed values are: - UNSPECIFIED - INTERNET - NON_INTERNET Check the DestNetworkType enum for the list of possible values.
optional string dest_network_type = 409853224;- Specified by:
getDestNetworkTypein interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The destNetworkType.
-
getDestNetworkTypeBytes
public com.google.protobuf.ByteString getDestNetworkTypeBytes()Network type of the traffic destination. Allowed values are: - UNSPECIFIED - INTERNET - NON_INTERNET Check the DestNetworkType enum for the list of possible values.
optional string dest_network_type = 409853224;- Specified by:
getDestNetworkTypeBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The bytes for destNetworkType.
-
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
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
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
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
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
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
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
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
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.
-
hasSrcNetworkContext
public boolean hasSrcNetworkContext()Network context of the traffic source. Allowed values are: - UNSPECIFIED - INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS Check the SrcNetworkContext enum for the list of possible values.
optional string src_network_context = 147649603;- Specified by:
hasSrcNetworkContextin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- Whether the srcNetworkContext field is set.
-
getSrcNetworkContext
Network context of the traffic source. Allowed values are: - UNSPECIFIED - INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS Check the SrcNetworkContext enum for the list of possible values.
optional string src_network_context = 147649603;- Specified by:
getSrcNetworkContextin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The srcNetworkContext.
-
getSrcNetworkContextBytes
public com.google.protobuf.ByteString getSrcNetworkContextBytes()Network context of the traffic source. Allowed values are: - UNSPECIFIED - INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS Check the SrcNetworkContext enum for the list of possible values.
optional string src_network_context = 147649603;- Specified by:
getSrcNetworkContextBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The bytes for srcNetworkContext.
-
hasSrcNetworkType
public boolean hasSrcNetworkType()Network type of the traffic source. Allowed values are: - UNSPECIFIED - INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS Check the SrcNetworkType enum for the list of possible values.
optional string src_network_type = 309819686;- Specified by:
hasSrcNetworkTypein interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- Whether the srcNetworkType field is set.
-
getSrcNetworkType
Network type of the traffic source. Allowed values are: - UNSPECIFIED - INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS Check the SrcNetworkType enum for the list of possible values.
optional string src_network_type = 309819686;- Specified by:
getSrcNetworkTypein interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The srcNetworkType.
-
getSrcNetworkTypeBytes
public com.google.protobuf.ByteString getSrcNetworkTypeBytes()Network type of the traffic source. Allowed values are: - UNSPECIFIED - INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS Check the SrcNetworkType enum for the list of possible values.
optional string src_network_type = 309819686;- Specified by:
getSrcNetworkTypeBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The bytes for srcNetworkType.
-
getSrcNetworksList
public com.google.protobuf.ProtocolStringList getSrcNetworksList()Networks of the traffic source. It can be either a full or partial url.
repeated string src_networks = 247119872;- Specified by:
getSrcNetworksListin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- A list containing the srcNetworks.
-
getSrcNetworksCount
public int getSrcNetworksCount()Networks of the traffic source. It can be either a full or partial url.
repeated string src_networks = 247119872;- Specified by:
getSrcNetworksCountin interfaceFirewallPolicyRuleMatcherOrBuilder- Returns:
- The count of srcNetworks.
-
getSrcNetworks
Networks of the traffic source. It can be either a full or partial url.
repeated string src_networks = 247119872;- Specified by:
getSrcNetworksin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The srcNetworks at the given index.
-
getSrcNetworksBytes
public com.google.protobuf.ByteString getSrcNetworksBytes(int index) Networks of the traffic source. It can be either a full or partial url.
repeated string src_networks = 247119872;- Specified by:
getSrcNetworksBytesin interfaceFirewallPolicyRuleMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the srcNetworks 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
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
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
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
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
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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static FirewallPolicyRuleMatcher parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FirewallPolicyRuleMatcher.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-