Package com.google.cloud.compute.v1
Class FirewallPolicyRuleMatcher.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder>
-
- com.google.cloud.compute.v1.FirewallPolicyRuleMatcher.Builder
-
- All Implemented Interfaces:
FirewallPolicyRuleMatcherOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- FirewallPolicyRuleMatcher
public static final class FirewallPolicyRuleMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder> implements FirewallPolicyRuleMatcherOrBuilder
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
Protobuf typegoogle.cloud.compute.v1.FirewallPolicyRuleMatcher
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FirewallPolicyRuleMatcher.Builder
addAllDestAddressGroups(Iterable<String> values)
Address groups which should be matched against the traffic destination.FirewallPolicyRuleMatcher.Builder
addAllDestFqdns(Iterable<String> values)
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.FirewallPolicyRuleMatcher.Builder
addAllDestIpRanges(Iterable<String> values)
CIDR IP address range.FirewallPolicyRuleMatcher.Builder
addAllDestRegionCodes(Iterable<String> values)
Region codes whose IP addresses will be used to match for destination of traffic.FirewallPolicyRuleMatcher.Builder
addAllDestThreatIntelligences(Iterable<String> values)
Names of Network Threat Intelligence lists.FirewallPolicyRuleMatcher.Builder
addAllLayer4Configs(Iterable<? extends FirewallPolicyRuleMatcherLayer4Config> values)
Pairs of IP protocols and ports that the rule should match.FirewallPolicyRuleMatcher.Builder
addAllSrcAddressGroups(Iterable<String> values)
Address groups which should be matched against the traffic source.FirewallPolicyRuleMatcher.Builder
addAllSrcFqdns(Iterable<String> values)
Fully Qualified Domain Name (FQDN) which should be matched against traffic source.FirewallPolicyRuleMatcher.Builder
addAllSrcIpRanges(Iterable<String> values)
CIDR IP address range.FirewallPolicyRuleMatcher.Builder
addAllSrcRegionCodes(Iterable<String> values)
Region codes whose IP addresses will be used to match for source of traffic.FirewallPolicyRuleMatcher.Builder
addAllSrcSecureTags(Iterable<? extends FirewallPolicyRuleSecureTag> values)
List of secure tag values, which should be matched at the source of the traffic.FirewallPolicyRuleMatcher.Builder
addAllSrcThreatIntelligences(Iterable<String> values)
Names of Network Threat Intelligence lists.FirewallPolicyRuleMatcher.Builder
addDestAddressGroups(String value)
Address groups which should be matched against the traffic destination.FirewallPolicyRuleMatcher.Builder
addDestAddressGroupsBytes(com.google.protobuf.ByteString value)
Address groups which should be matched against the traffic destination.FirewallPolicyRuleMatcher.Builder
addDestFqdns(String value)
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.FirewallPolicyRuleMatcher.Builder
addDestFqdnsBytes(com.google.protobuf.ByteString value)
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.FirewallPolicyRuleMatcher.Builder
addDestIpRanges(String value)
CIDR IP address range.FirewallPolicyRuleMatcher.Builder
addDestIpRangesBytes(com.google.protobuf.ByteString value)
CIDR IP address range.FirewallPolicyRuleMatcher.Builder
addDestRegionCodes(String value)
Region codes whose IP addresses will be used to match for destination of traffic.FirewallPolicyRuleMatcher.Builder
addDestRegionCodesBytes(com.google.protobuf.ByteString value)
Region codes whose IP addresses will be used to match for destination of traffic.FirewallPolicyRuleMatcher.Builder
addDestThreatIntelligences(String value)
Names of Network Threat Intelligence lists.FirewallPolicyRuleMatcher.Builder
addDestThreatIntelligencesBytes(com.google.protobuf.ByteString value)
Names of Network Threat Intelligence lists.FirewallPolicyRuleMatcher.Builder
addLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config value)
Pairs of IP protocols and ports that the rule should match.FirewallPolicyRuleMatcher.Builder
addLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)
Pairs of IP protocols and ports that the rule should match.FirewallPolicyRuleMatcher.Builder
addLayer4Configs(FirewallPolicyRuleMatcherLayer4Config value)
Pairs of IP protocols and ports that the rule should match.FirewallPolicyRuleMatcher.Builder
addLayer4Configs(FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)
Pairs of IP protocols and ports that the rule should match.FirewallPolicyRuleMatcherLayer4Config.Builder
addLayer4ConfigsBuilder()
Pairs of IP protocols and ports that the rule should match.FirewallPolicyRuleMatcherLayer4Config.Builder
addLayer4ConfigsBuilder(int index)
Pairs of IP protocols and ports that the rule should match.FirewallPolicyRuleMatcher.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FirewallPolicyRuleMatcher.Builder
addSrcAddressGroups(String value)
Address groups which should be matched against the traffic source.FirewallPolicyRuleMatcher.Builder
addSrcAddressGroupsBytes(com.google.protobuf.ByteString value)
Address groups which should be matched against the traffic source.FirewallPolicyRuleMatcher.Builder
addSrcFqdns(String value)
Fully Qualified Domain Name (FQDN) which should be matched against traffic source.FirewallPolicyRuleMatcher.Builder
addSrcFqdnsBytes(com.google.protobuf.ByteString value)
Fully Qualified Domain Name (FQDN) which should be matched against traffic source.FirewallPolicyRuleMatcher.Builder
addSrcIpRanges(String value)
CIDR IP address range.FirewallPolicyRuleMatcher.Builder
addSrcIpRangesBytes(com.google.protobuf.ByteString value)
CIDR IP address range.FirewallPolicyRuleMatcher.Builder
addSrcRegionCodes(String value)
Region codes whose IP addresses will be used to match for source of traffic.FirewallPolicyRuleMatcher.Builder
addSrcRegionCodesBytes(com.google.protobuf.ByteString value)
Region codes whose IP addresses will be used to match for source of traffic.FirewallPolicyRuleMatcher.Builder
addSrcSecureTags(int index, FirewallPolicyRuleSecureTag value)
List of secure tag values, which should be matched at the source of the traffic.FirewallPolicyRuleMatcher.Builder
addSrcSecureTags(int index, FirewallPolicyRuleSecureTag.Builder builderForValue)
List of secure tag values, which should be matched at the source of the traffic.FirewallPolicyRuleMatcher.Builder
addSrcSecureTags(FirewallPolicyRuleSecureTag value)
List of secure tag values, which should be matched at the source of the traffic.FirewallPolicyRuleMatcher.Builder
addSrcSecureTags(FirewallPolicyRuleSecureTag.Builder builderForValue)
List of secure tag values, which should be matched at the source of the traffic.FirewallPolicyRuleSecureTag.Builder
addSrcSecureTagsBuilder()
List of secure tag values, which should be matched at the source of the traffic.FirewallPolicyRuleSecureTag.Builder
addSrcSecureTagsBuilder(int index)
List of secure tag values, which should be matched at the source of the traffic.FirewallPolicyRuleMatcher.Builder
addSrcThreatIntelligences(String value)
Names of Network Threat Intelligence lists.FirewallPolicyRuleMatcher.Builder
addSrcThreatIntelligencesBytes(com.google.protobuf.ByteString value)
Names of Network Threat Intelligence lists.FirewallPolicyRuleMatcher
build()
FirewallPolicyRuleMatcher
buildPartial()
FirewallPolicyRuleMatcher.Builder
clear()
FirewallPolicyRuleMatcher.Builder
clearDestAddressGroups()
Address groups which should be matched against the traffic destination.FirewallPolicyRuleMatcher.Builder
clearDestFqdns()
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.FirewallPolicyRuleMatcher.Builder
clearDestIpRanges()
CIDR IP address range.FirewallPolicyRuleMatcher.Builder
clearDestRegionCodes()
Region codes whose IP addresses will be used to match for destination of traffic.FirewallPolicyRuleMatcher.Builder
clearDestThreatIntelligences()
Names of Network Threat Intelligence lists.FirewallPolicyRuleMatcher.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
FirewallPolicyRuleMatcher.Builder
clearLayer4Configs()
Pairs of IP protocols and ports that the rule should match.FirewallPolicyRuleMatcher.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
FirewallPolicyRuleMatcher.Builder
clearSrcAddressGroups()
Address groups which should be matched against the traffic source.FirewallPolicyRuleMatcher.Builder
clearSrcFqdns()
Fully Qualified Domain Name (FQDN) which should be matched against traffic source.FirewallPolicyRuleMatcher.Builder
clearSrcIpRanges()
CIDR IP address range.FirewallPolicyRuleMatcher.Builder
clearSrcRegionCodes()
Region codes whose IP addresses will be used to match for source of traffic.FirewallPolicyRuleMatcher.Builder
clearSrcSecureTags()
List of secure tag values, which should be matched at the source of the traffic.FirewallPolicyRuleMatcher.Builder
clearSrcThreatIntelligences()
Names of Network Threat Intelligence lists.FirewallPolicyRuleMatcher.Builder
clone()
FirewallPolicyRuleMatcher
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.FirewallPolicyRuleMatcherLayer4Config.Builder
getLayer4ConfigsBuilder(int index)
Pairs of IP protocols and ports that the rule should match.List<FirewallPolicyRuleMatcherLayer4Config.Builder>
getLayer4ConfigsBuilderList()
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.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.FirewallPolicyRuleSecureTag.Builder
getSrcSecureTagsBuilder(int index)
List of secure tag values, which should be matched at the source of the traffic.List<FirewallPolicyRuleSecureTag.Builder>
getSrcSecureTagsBuilderList()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
FirewallPolicyRuleMatcher.Builder
mergeFrom(FirewallPolicyRuleMatcher other)
FirewallPolicyRuleMatcher.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FirewallPolicyRuleMatcher.Builder
mergeFrom(com.google.protobuf.Message other)
FirewallPolicyRuleMatcher.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
FirewallPolicyRuleMatcher.Builder
removeLayer4Configs(int index)
Pairs of IP protocols and ports that the rule should match.FirewallPolicyRuleMatcher.Builder
removeSrcSecureTags(int index)
List of secure tag values, which should be matched at the source of the traffic.FirewallPolicyRuleMatcher.Builder
setDestAddressGroups(int index, String value)
Address groups which should be matched against the traffic destination.FirewallPolicyRuleMatcher.Builder
setDestFqdns(int index, String value)
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination.FirewallPolicyRuleMatcher.Builder
setDestIpRanges(int index, String value)
CIDR IP address range.FirewallPolicyRuleMatcher.Builder
setDestRegionCodes(int index, String value)
Region codes whose IP addresses will be used to match for destination of traffic.FirewallPolicyRuleMatcher.Builder
setDestThreatIntelligences(int index, String value)
Names of Network Threat Intelligence lists.FirewallPolicyRuleMatcher.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FirewallPolicyRuleMatcher.Builder
setLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config value)
Pairs of IP protocols and ports that the rule should match.FirewallPolicyRuleMatcher.Builder
setLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)
Pairs of IP protocols and ports that the rule should match.FirewallPolicyRuleMatcher.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
FirewallPolicyRuleMatcher.Builder
setSrcAddressGroups(int index, String value)
Address groups which should be matched against the traffic source.FirewallPolicyRuleMatcher.Builder
setSrcFqdns(int index, String value)
Fully Qualified Domain Name (FQDN) which should be matched against traffic source.FirewallPolicyRuleMatcher.Builder
setSrcIpRanges(int index, String value)
CIDR IP address range.FirewallPolicyRuleMatcher.Builder
setSrcRegionCodes(int index, String value)
Region codes whose IP addresses will be used to match for source of traffic.FirewallPolicyRuleMatcher.Builder
setSrcSecureTags(int index, FirewallPolicyRuleSecureTag value)
List of secure tag values, which should be matched at the source of the traffic.FirewallPolicyRuleMatcher.Builder
setSrcSecureTags(int index, FirewallPolicyRuleSecureTag.Builder builderForValue)
List of secure tag values, which should be matched at the source of the traffic.FirewallPolicyRuleMatcher.Builder
setSrcThreatIntelligences(int index, String value)
Names of Network Threat Intelligence lists.FirewallPolicyRuleMatcher.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<FirewallPolicyRuleMatcher.Builder>
-
clear
public FirewallPolicyRuleMatcher.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder>
-
getDefaultInstanceForType
public FirewallPolicyRuleMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public FirewallPolicyRuleMatcher build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FirewallPolicyRuleMatcher buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FirewallPolicyRuleMatcher.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder>
-
setField
public FirewallPolicyRuleMatcher.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder>
-
clearField
public FirewallPolicyRuleMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder>
-
clearOneof
public FirewallPolicyRuleMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder>
-
setRepeatedField
public FirewallPolicyRuleMatcher.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder>
-
addRepeatedField
public FirewallPolicyRuleMatcher.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder>
-
mergeFrom
public FirewallPolicyRuleMatcher.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FirewallPolicyRuleMatcher.Builder>
-
mergeFrom
public FirewallPolicyRuleMatcher.Builder mergeFrom(FirewallPolicyRuleMatcher other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder>
-
mergeFrom
public FirewallPolicyRuleMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FirewallPolicyRuleMatcher.Builder>
- Throws:
IOException
-
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.
-
setDestAddressGroups
public FirewallPolicyRuleMatcher.Builder setDestAddressGroups(int index, String value)
Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
repeated string dest_address_groups = 468760508;
- Parameters:
index
- The index to set the value at.value
- The destAddressGroups to set.- Returns:
- This builder for chaining.
-
addDestAddressGroups
public FirewallPolicyRuleMatcher.Builder addDestAddressGroups(String value)
Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
repeated string dest_address_groups = 468760508;
- Parameters:
value
- The destAddressGroups to add.- Returns:
- This builder for chaining.
-
addAllDestAddressGroups
public FirewallPolicyRuleMatcher.Builder addAllDestAddressGroups(Iterable<String> values)
Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
repeated string dest_address_groups = 468760508;
- Parameters:
values
- The destAddressGroups to add.- Returns:
- This builder for chaining.
-
clearDestAddressGroups
public FirewallPolicyRuleMatcher.Builder clearDestAddressGroups()
Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
repeated string dest_address_groups = 468760508;
- Returns:
- This builder for chaining.
-
addDestAddressGroupsBytes
public FirewallPolicyRuleMatcher.Builder addDestAddressGroupsBytes(com.google.protobuf.ByteString value)
Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.
repeated string dest_address_groups = 468760508;
- Parameters:
value
- The bytes of the destAddressGroups to add.- Returns:
- This builder for chaining.
-
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.
-
setDestFqdns
public FirewallPolicyRuleMatcher.Builder setDestFqdns(int index, String value)
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
repeated string dest_fqdns = 370712737;
- Parameters:
index
- The index to set the value at.value
- The destFqdns to set.- Returns:
- This builder for chaining.
-
addDestFqdns
public FirewallPolicyRuleMatcher.Builder addDestFqdns(String value)
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
repeated string dest_fqdns = 370712737;
- Parameters:
value
- The destFqdns to add.- Returns:
- This builder for chaining.
-
addAllDestFqdns
public FirewallPolicyRuleMatcher.Builder addAllDestFqdns(Iterable<String> values)
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
repeated string dest_fqdns = 370712737;
- Parameters:
values
- The destFqdns to add.- Returns:
- This builder for chaining.
-
clearDestFqdns
public FirewallPolicyRuleMatcher.Builder clearDestFqdns()
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
repeated string dest_fqdns = 370712737;
- Returns:
- This builder for chaining.
-
addDestFqdnsBytes
public FirewallPolicyRuleMatcher.Builder addDestFqdnsBytes(com.google.protobuf.ByteString value)
Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.
repeated string dest_fqdns = 370712737;
- Parameters:
value
- The bytes of the destFqdns to add.- Returns:
- This builder for chaining.
-
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.
-
setDestIpRanges
public FirewallPolicyRuleMatcher.Builder setDestIpRanges(int index, String value)
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
repeated string dest_ip_ranges = 337357713;
- Parameters:
index
- The index to set the value at.value
- The destIpRanges to set.- Returns:
- This builder for chaining.
-
addDestIpRanges
public FirewallPolicyRuleMatcher.Builder addDestIpRanges(String value)
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
repeated string dest_ip_ranges = 337357713;
- Parameters:
value
- The destIpRanges to add.- Returns:
- This builder for chaining.
-
addAllDestIpRanges
public FirewallPolicyRuleMatcher.Builder addAllDestIpRanges(Iterable<String> values)
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
repeated string dest_ip_ranges = 337357713;
- Parameters:
values
- The destIpRanges to add.- Returns:
- This builder for chaining.
-
clearDestIpRanges
public FirewallPolicyRuleMatcher.Builder clearDestIpRanges()
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
repeated string dest_ip_ranges = 337357713;
- Returns:
- This builder for chaining.
-
addDestIpRangesBytes
public FirewallPolicyRuleMatcher.Builder addDestIpRangesBytes(com.google.protobuf.ByteString value)
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
repeated string dest_ip_ranges = 337357713;
- Parameters:
value
- The bytes of the destIpRanges to add.- Returns:
- This builder for chaining.
-
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.
-
setDestRegionCodes
public FirewallPolicyRuleMatcher.Builder setDestRegionCodes(int index, String value)
Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
repeated string dest_region_codes = 199120280;
- Parameters:
index
- The index to set the value at.value
- The destRegionCodes to set.- Returns:
- This builder for chaining.
-
addDestRegionCodes
public FirewallPolicyRuleMatcher.Builder addDestRegionCodes(String value)
Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
repeated string dest_region_codes = 199120280;
- Parameters:
value
- The destRegionCodes to add.- Returns:
- This builder for chaining.
-
addAllDestRegionCodes
public FirewallPolicyRuleMatcher.Builder addAllDestRegionCodes(Iterable<String> values)
Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
repeated string dest_region_codes = 199120280;
- Parameters:
values
- The destRegionCodes to add.- Returns:
- This builder for chaining.
-
clearDestRegionCodes
public FirewallPolicyRuleMatcher.Builder clearDestRegionCodes()
Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
repeated string dest_region_codes = 199120280;
- Returns:
- This builder for chaining.
-
addDestRegionCodesBytes
public FirewallPolicyRuleMatcher.Builder addDestRegionCodesBytes(com.google.protobuf.ByteString value)
Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.
repeated string dest_region_codes = 199120280;
- Parameters:
value
- The bytes of the destRegionCodes to add.- Returns:
- This builder for chaining.
-
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.
-
setDestThreatIntelligences
public FirewallPolicyRuleMatcher.Builder setDestThreatIntelligences(int index, String value)
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
repeated string dest_threat_intelligences = 119896492;
- Parameters:
index
- The index to set the value at.value
- The destThreatIntelligences to set.- Returns:
- This builder for chaining.
-
addDestThreatIntelligences
public FirewallPolicyRuleMatcher.Builder addDestThreatIntelligences(String value)
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
repeated string dest_threat_intelligences = 119896492;
- Parameters:
value
- The destThreatIntelligences to add.- Returns:
- This builder for chaining.
-
addAllDestThreatIntelligences
public FirewallPolicyRuleMatcher.Builder addAllDestThreatIntelligences(Iterable<String> values)
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
repeated string dest_threat_intelligences = 119896492;
- Parameters:
values
- The destThreatIntelligences to add.- Returns:
- This builder for chaining.
-
clearDestThreatIntelligences
public FirewallPolicyRuleMatcher.Builder clearDestThreatIntelligences()
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
repeated string dest_threat_intelligences = 119896492;
- Returns:
- This builder for chaining.
-
addDestThreatIntelligencesBytes
public FirewallPolicyRuleMatcher.Builder addDestThreatIntelligencesBytes(com.google.protobuf.ByteString value)
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.
repeated string dest_threat_intelligences = 119896492;
- Parameters:
value
- The bytes of the destThreatIntelligences to add.- Returns:
- This builder for chaining.
-
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
-
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
-
setLayer4Configs
public FirewallPolicyRuleMatcher.Builder setLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config value)
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
-
setLayer4Configs
public FirewallPolicyRuleMatcher.Builder setLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
-
addLayer4Configs
public FirewallPolicyRuleMatcher.Builder addLayer4Configs(FirewallPolicyRuleMatcherLayer4Config value)
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
-
addLayer4Configs
public FirewallPolicyRuleMatcher.Builder addLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config value)
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
-
addLayer4Configs
public FirewallPolicyRuleMatcher.Builder addLayer4Configs(FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
-
addLayer4Configs
public FirewallPolicyRuleMatcher.Builder addLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
-
addAllLayer4Configs
public FirewallPolicyRuleMatcher.Builder addAllLayer4Configs(Iterable<? extends FirewallPolicyRuleMatcherLayer4Config> values)
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
-
clearLayer4Configs
public FirewallPolicyRuleMatcher.Builder clearLayer4Configs()
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
-
removeLayer4Configs
public FirewallPolicyRuleMatcher.Builder removeLayer4Configs(int index)
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
-
getLayer4ConfigsBuilder
public FirewallPolicyRuleMatcherLayer4Config.Builder getLayer4ConfigsBuilder(int index)
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
-
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
-
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
-
addLayer4ConfigsBuilder
public FirewallPolicyRuleMatcherLayer4Config.Builder addLayer4ConfigsBuilder()
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
-
addLayer4ConfigsBuilder
public FirewallPolicyRuleMatcherLayer4Config.Builder addLayer4ConfigsBuilder(int index)
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
-
getLayer4ConfigsBuilderList
public List<FirewallPolicyRuleMatcherLayer4Config.Builder> getLayer4ConfigsBuilderList()
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
-
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.
-
setSrcAddressGroups
public FirewallPolicyRuleMatcher.Builder setSrcAddressGroups(int index, String value)
Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
repeated string src_address_groups = 436423738;
- Parameters:
index
- The index to set the value at.value
- The srcAddressGroups to set.- Returns:
- This builder for chaining.
-
addSrcAddressGroups
public FirewallPolicyRuleMatcher.Builder addSrcAddressGroups(String value)
Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
repeated string src_address_groups = 436423738;
- Parameters:
value
- The srcAddressGroups to add.- Returns:
- This builder for chaining.
-
addAllSrcAddressGroups
public FirewallPolicyRuleMatcher.Builder addAllSrcAddressGroups(Iterable<String> values)
Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
repeated string src_address_groups = 436423738;
- Parameters:
values
- The srcAddressGroups to add.- Returns:
- This builder for chaining.
-
clearSrcAddressGroups
public FirewallPolicyRuleMatcher.Builder clearSrcAddressGroups()
Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
repeated string src_address_groups = 436423738;
- Returns:
- This builder for chaining.
-
addSrcAddressGroupsBytes
public FirewallPolicyRuleMatcher.Builder addSrcAddressGroupsBytes(com.google.protobuf.ByteString value)
Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.
repeated string src_address_groups = 436423738;
- Parameters:
value
- The bytes of the srcAddressGroups to add.- Returns:
- This builder for chaining.
-
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.
-
setSrcFqdns
public FirewallPolicyRuleMatcher.Builder setSrcFqdns(int index, String value)
Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
repeated string src_fqdns = 435906147;
- Parameters:
index
- The index to set the value at.value
- The srcFqdns to set.- Returns:
- This builder for chaining.
-
addSrcFqdns
public FirewallPolicyRuleMatcher.Builder addSrcFqdns(String value)
Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
repeated string src_fqdns = 435906147;
- Parameters:
value
- The srcFqdns to add.- Returns:
- This builder for chaining.
-
addAllSrcFqdns
public FirewallPolicyRuleMatcher.Builder addAllSrcFqdns(Iterable<String> values)
Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
repeated string src_fqdns = 435906147;
- Parameters:
values
- The srcFqdns to add.- Returns:
- This builder for chaining.
-
clearSrcFqdns
public FirewallPolicyRuleMatcher.Builder clearSrcFqdns()
Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
repeated string src_fqdns = 435906147;
- Returns:
- This builder for chaining.
-
addSrcFqdnsBytes
public FirewallPolicyRuleMatcher.Builder addSrcFqdnsBytes(com.google.protobuf.ByteString value)
Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.
repeated string src_fqdns = 435906147;
- Parameters:
value
- The bytes of the srcFqdns to add.- Returns:
- This builder for chaining.
-
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.
-
setSrcIpRanges
public FirewallPolicyRuleMatcher.Builder setSrcIpRanges(int index, String value)
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
repeated string src_ip_ranges = 432128083;
- Parameters:
index
- The index to set the value at.value
- The srcIpRanges to set.- Returns:
- This builder for chaining.
-
addSrcIpRanges
public FirewallPolicyRuleMatcher.Builder addSrcIpRanges(String value)
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
repeated string src_ip_ranges = 432128083;
- Parameters:
value
- The srcIpRanges to add.- Returns:
- This builder for chaining.
-
addAllSrcIpRanges
public FirewallPolicyRuleMatcher.Builder addAllSrcIpRanges(Iterable<String> values)
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
repeated string src_ip_ranges = 432128083;
- Parameters:
values
- The srcIpRanges to add.- Returns:
- This builder for chaining.
-
clearSrcIpRanges
public FirewallPolicyRuleMatcher.Builder clearSrcIpRanges()
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
repeated string src_ip_ranges = 432128083;
- Returns:
- This builder for chaining.
-
addSrcIpRangesBytes
public FirewallPolicyRuleMatcher.Builder addSrcIpRangesBytes(com.google.protobuf.ByteString value)
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
repeated string src_ip_ranges = 432128083;
- Parameters:
value
- The bytes of the srcIpRanges to add.- Returns:
- This builder for chaining.
-
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.
-
setSrcRegionCodes
public FirewallPolicyRuleMatcher.Builder setSrcRegionCodes(int index, String value)
Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
repeated string src_region_codes = 99086742;
- Parameters:
index
- The index to set the value at.value
- The srcRegionCodes to set.- Returns:
- This builder for chaining.
-
addSrcRegionCodes
public FirewallPolicyRuleMatcher.Builder addSrcRegionCodes(String value)
Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
repeated string src_region_codes = 99086742;
- Parameters:
value
- The srcRegionCodes to add.- Returns:
- This builder for chaining.
-
addAllSrcRegionCodes
public FirewallPolicyRuleMatcher.Builder addAllSrcRegionCodes(Iterable<String> values)
Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
repeated string src_region_codes = 99086742;
- Parameters:
values
- The srcRegionCodes to add.- Returns:
- This builder for chaining.
-
clearSrcRegionCodes
public FirewallPolicyRuleMatcher.Builder clearSrcRegionCodes()
Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
repeated string src_region_codes = 99086742;
- Returns:
- This builder for chaining.
-
addSrcRegionCodesBytes
public FirewallPolicyRuleMatcher.Builder addSrcRegionCodesBytes(com.google.protobuf.ByteString value)
Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.
repeated string src_region_codes = 99086742;
- Parameters:
value
- The bytes of the srcRegionCodes to add.- Returns:
- This builder for chaining.
-
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
-
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
-
setSrcSecureTags
public FirewallPolicyRuleMatcher.Builder setSrcSecureTags(int index, FirewallPolicyRuleSecureTag value)
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
-
setSrcSecureTags
public FirewallPolicyRuleMatcher.Builder setSrcSecureTags(int index, FirewallPolicyRuleSecureTag.Builder builderForValue)
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
-
addSrcSecureTags
public FirewallPolicyRuleMatcher.Builder addSrcSecureTags(FirewallPolicyRuleSecureTag value)
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
-
addSrcSecureTags
public FirewallPolicyRuleMatcher.Builder addSrcSecureTags(int index, FirewallPolicyRuleSecureTag value)
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
-
addSrcSecureTags
public FirewallPolicyRuleMatcher.Builder addSrcSecureTags(FirewallPolicyRuleSecureTag.Builder builderForValue)
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
-
addSrcSecureTags
public FirewallPolicyRuleMatcher.Builder addSrcSecureTags(int index, FirewallPolicyRuleSecureTag.Builder builderForValue)
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
-
addAllSrcSecureTags
public FirewallPolicyRuleMatcher.Builder addAllSrcSecureTags(Iterable<? extends FirewallPolicyRuleSecureTag> values)
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
-
clearSrcSecureTags
public FirewallPolicyRuleMatcher.Builder clearSrcSecureTags()
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
-
removeSrcSecureTags
public FirewallPolicyRuleMatcher.Builder removeSrcSecureTags(int index)
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
-
getSrcSecureTagsBuilder
public FirewallPolicyRuleSecureTag.Builder getSrcSecureTagsBuilder(int index)
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
-
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
-
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
-
addSrcSecureTagsBuilder
public FirewallPolicyRuleSecureTag.Builder addSrcSecureTagsBuilder()
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
-
addSrcSecureTagsBuilder
public FirewallPolicyRuleSecureTag.Builder addSrcSecureTagsBuilder(int index)
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
-
getSrcSecureTagsBuilderList
public List<FirewallPolicyRuleSecureTag.Builder> getSrcSecureTagsBuilderList()
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
-
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.
-
setSrcThreatIntelligences
public FirewallPolicyRuleMatcher.Builder setSrcThreatIntelligences(int index, String value)
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
repeated string src_threat_intelligences = 323631018;
- Parameters:
index
- The index to set the value at.value
- The srcThreatIntelligences to set.- Returns:
- This builder for chaining.
-
addSrcThreatIntelligences
public FirewallPolicyRuleMatcher.Builder addSrcThreatIntelligences(String value)
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
repeated string src_threat_intelligences = 323631018;
- Parameters:
value
- The srcThreatIntelligences to add.- Returns:
- This builder for chaining.
-
addAllSrcThreatIntelligences
public FirewallPolicyRuleMatcher.Builder addAllSrcThreatIntelligences(Iterable<String> values)
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
repeated string src_threat_intelligences = 323631018;
- Parameters:
values
- The srcThreatIntelligences to add.- Returns:
- This builder for chaining.
-
clearSrcThreatIntelligences
public FirewallPolicyRuleMatcher.Builder clearSrcThreatIntelligences()
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
repeated string src_threat_intelligences = 323631018;
- Returns:
- This builder for chaining.
-
addSrcThreatIntelligencesBytes
public FirewallPolicyRuleMatcher.Builder addSrcThreatIntelligencesBytes(com.google.protobuf.ByteString value)
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.
repeated string src_threat_intelligences = 323631018;
- Parameters:
value
- The bytes of the srcThreatIntelligences to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final FirewallPolicyRuleMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder>
-
mergeUnknownFields
public final FirewallPolicyRuleMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder>
-
-