- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class FirewallPolicyRuleMatcher.Builder extends GeneratedMessageV3.Builder<FirewallPolicyRuleMatcher.Builder> implements FirewallPolicyRuleMatcherOrBuilder
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
Protobuf type google.cloud.compute.v1.FirewallPolicyRuleMatcher
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FirewallPolicyRuleMatcher.BuilderImplements
FirewallPolicyRuleMatcherOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDestIpRanges(Iterable<String> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The destIpRanges to add. |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder | This builder for chaining. |
addAllLayer4Configs(Iterable<? extends FirewallPolicyRuleMatcherLayer4Config> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config> |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
addAllSrcIpRanges(Iterable<String> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The srcIpRanges to add. |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder | This builder for chaining. |
addAllSrcSecureTags(Iterable<? extends FirewallPolicyRuleSecureTag> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag> |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
addDestIpRanges(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The destIpRanges to add. |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder | This builder for chaining. |
addDestIpRangesBytes(ByteString value)
public FirewallPolicyRuleMatcher.Builder addDestIpRangesBytes(ByteString value)
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
repeated string dest_ip_ranges = 337357713;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the destIpRanges to add. |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder | This builder for chaining. |
addLayer4Configs(FirewallPolicyRuleMatcherLayer4Config value)
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;
Parameter | |
---|---|
Name | Description |
value | FirewallPolicyRuleMatcherLayer4Config |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
addLayer4Configs(FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | FirewallPolicyRuleMatcherLayer4Config.Builder |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
addLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | FirewallPolicyRuleMatcherLayer4Config |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
addLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | FirewallPolicyRuleMatcherLayer4Config.Builder |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
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;
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcherLayer4Config.Builder |
addLayer4ConfigsBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcherLayer4Config.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FirewallPolicyRuleMatcher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
addSrcIpRanges(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The srcIpRanges to add. |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder | This builder for chaining. |
addSrcIpRangesBytes(ByteString value)
public FirewallPolicyRuleMatcher.Builder addSrcIpRangesBytes(ByteString value)
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
repeated string src_ip_ranges = 432128083;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the srcIpRanges to add. |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder | This builder for chaining. |
addSrcSecureTags(FirewallPolicyRuleSecureTag value)
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;
Parameter | |
---|---|
Name | Description |
value | FirewallPolicyRuleSecureTag |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
addSrcSecureTags(FirewallPolicyRuleSecureTag.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | FirewallPolicyRuleSecureTag.Builder |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
addSrcSecureTags(int index, FirewallPolicyRuleSecureTag value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | FirewallPolicyRuleSecureTag |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
addSrcSecureTags(int index, FirewallPolicyRuleSecureTag.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | FirewallPolicyRuleSecureTag.Builder |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
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;
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleSecureTag.Builder |
addSrcSecureTagsBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleSecureTag.Builder |
build()
public FirewallPolicyRuleMatcher build()
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
buildPartial()
public FirewallPolicyRuleMatcher buildPartial()
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
clear()
public FirewallPolicyRuleMatcher.Builder clear()
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
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 | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public FirewallPolicyRuleMatcher.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
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;
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public FirewallPolicyRuleMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
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 | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder | This builder for chaining. |
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;
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
clone()
public FirewallPolicyRuleMatcher.Builder clone()
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
getDefaultInstanceForType()
public FirewallPolicyRuleMatcher getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestIpRanges(int index)
public String getDestIpRanges(int index)
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
repeated string dest_ip_ranges = 337357713;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The destIpRanges at the given index. |
getDestIpRangesBytes(int index)
public ByteString getDestIpRangesBytes(int index)
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
repeated string dest_ip_ranges = 337357713;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the destIpRanges at the given index. |
getDestIpRangesCount()
public int getDestIpRangesCount()
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
repeated string dest_ip_ranges = 337357713;
Returns | |
---|---|
Type | Description |
int | The count of destIpRanges. |
getDestIpRangesList()
public ProtocolStringList getDestIpRangesList()
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
repeated string dest_ip_ranges = 337357713;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the destIpRanges. |
getLayer4Configs(int index)
public FirewallPolicyRuleMatcherLayer4Config getLayer4Configs(int index)
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcherLayer4Config |
getLayer4ConfigsBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcherLayer4Config.Builder |
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
getLayer4ConfigsCount()
public int getLayer4ConfigsCount()
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
Returns | |
---|---|
Type | Description |
int |
getLayer4ConfigsList()
public List<FirewallPolicyRuleMatcherLayer4Config> getLayer4ConfigsList()
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
Returns | |
---|---|
Type | Description |
List<FirewallPolicyRuleMatcherLayer4Config> |
getLayer4ConfigsOrBuilder(int index)
public FirewallPolicyRuleMatcherLayer4ConfigOrBuilder getLayer4ConfigsOrBuilder(int index)
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcherLayer4ConfigOrBuilder |
getLayer4ConfigsOrBuilderList()
public List<? extends FirewallPolicyRuleMatcherLayer4ConfigOrBuilder> getLayer4ConfigsOrBuilderList()
Pairs of IP protocols and ports that the rule should match.
repeated .google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4ConfigOrBuilder> |
getSrcIpRanges(int index)
public String getSrcIpRanges(int index)
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
repeated string src_ip_ranges = 432128083;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The srcIpRanges at the given index. |
getSrcIpRangesBytes(int index)
public ByteString getSrcIpRangesBytes(int index)
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
repeated string src_ip_ranges = 432128083;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the srcIpRanges at the given index. |
getSrcIpRangesCount()
public int getSrcIpRangesCount()
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
repeated string src_ip_ranges = 432128083;
Returns | |
---|---|
Type | Description |
int | The count of srcIpRanges. |
getSrcIpRangesList()
public ProtocolStringList getSrcIpRangesList()
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
repeated string src_ip_ranges = 432128083;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the srcIpRanges. |
getSrcSecureTags(int index)
public FirewallPolicyRuleSecureTag getSrcSecureTags(int index)
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleSecureTag |
getSrcSecureTagsBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleSecureTag.Builder |
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
getSrcSecureTagsCount()
public int getSrcSecureTagsCount()
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
Returns | |
---|---|
Type | Description |
int |
getSrcSecureTagsList()
public List<FirewallPolicyRuleSecureTag> getSrcSecureTagsList()
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
Returns | |
---|---|
Type | Description |
List<FirewallPolicyRuleSecureTag> |
getSrcSecureTagsOrBuilder(int index)
public FirewallPolicyRuleSecureTagOrBuilder getSrcSecureTagsOrBuilder(int index)
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleSecureTagOrBuilder |
getSrcSecureTagsOrBuilderList()
public List<? extends FirewallPolicyRuleSecureTagOrBuilder> getSrcSecureTagsOrBuilderList()
List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(FirewallPolicyRuleMatcher other)
public FirewallPolicyRuleMatcher.Builder mergeFrom(FirewallPolicyRuleMatcher other)
Parameter | |
---|---|
Name | Description |
other | FirewallPolicyRuleMatcher |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FirewallPolicyRuleMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public FirewallPolicyRuleMatcher.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FirewallPolicyRuleMatcher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
removeLayer4Configs(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
removeSrcSecureTags(int index)
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
setDestIpRanges(int index, String value)
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 | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The destIpRanges to set. |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public FirewallPolicyRuleMatcher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
setLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | FirewallPolicyRuleMatcherLayer4Config |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
setLayer4Configs(int index, FirewallPolicyRuleMatcherLayer4Config.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | FirewallPolicyRuleMatcherLayer4Config.Builder |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FirewallPolicyRuleMatcher.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
setSrcIpRanges(int index, String value)
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 | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The srcIpRanges to set. |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder | This builder for chaining. |
setSrcSecureTags(int index, FirewallPolicyRuleSecureTag value)
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | FirewallPolicyRuleSecureTag |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
setSrcSecureTags(int index, FirewallPolicyRuleSecureTag.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | FirewallPolicyRuleSecureTag.Builder |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final FirewallPolicyRuleMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
FirewallPolicyRuleMatcher.Builder |