- 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 SecurityPolicyRuleNetworkMatcher.Builder extends GeneratedMessageV3.Builder<SecurityPolicyRuleNetworkMatcher.Builder> implements SecurityPolicyRuleNetworkMatcherOrBuilder
Represents a match condition that incoming network traffic is evaluated against.
Protobuf type google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcher
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SecurityPolicyRuleNetworkMatcher.BuilderImplements
SecurityPolicyRuleNetworkMatcherOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDestIpRanges(Iterable<String> values)
public SecurityPolicyRuleNetworkMatcher.Builder addAllDestIpRanges(Iterable<String> values)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The destIpRanges to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addAllDestPorts(Iterable<String> values)
public SecurityPolicyRuleNetworkMatcher.Builder addAllDestPorts(Iterable<String> values)
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The destPorts to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addAllIpProtocols(Iterable<String> values)
public SecurityPolicyRuleNetworkMatcher.Builder addAllIpProtocols(Iterable<String> values)
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The ipProtocols to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addAllSrcAsns(Iterable<? extends Integer> values)
public SecurityPolicyRuleNetworkMatcher.Builder addAllSrcAsns(Iterable<? extends Integer> values)
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends java.lang.Integer> The srcAsns to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addAllSrcIpRanges(Iterable<String> values)
public SecurityPolicyRuleNetworkMatcher.Builder addAllSrcIpRanges(Iterable<String> values)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The srcIpRanges to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addAllSrcPorts(Iterable<String> values)
public SecurityPolicyRuleNetworkMatcher.Builder addAllSrcPorts(Iterable<String> values)
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The srcPorts to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addAllSrcRegionCodes(Iterable<String> values)
public SecurityPolicyRuleNetworkMatcher.Builder addAllSrcRegionCodes(Iterable<String> values)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The srcRegionCodes to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addAllUserDefinedFields(Iterable<? extends SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> values)
public SecurityPolicyRuleNetworkMatcher.Builder addAllUserDefinedFields(Iterable<? extends SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> values)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
addDestIpRanges(String value)
public SecurityPolicyRuleNetworkMatcher.Builder addDestIpRanges(String value)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;
Parameter | |
---|---|
Name | Description |
value |
String The destIpRanges to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addDestIpRangesBytes(ByteString value)
public SecurityPolicyRuleNetworkMatcher.Builder addDestIpRangesBytes(ByteString value)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the destIpRanges to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addDestPorts(String value)
public SecurityPolicyRuleNetworkMatcher.Builder addDestPorts(String value)
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;
Parameter | |
---|---|
Name | Description |
value |
String The destPorts to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addDestPortsBytes(ByteString value)
public SecurityPolicyRuleNetworkMatcher.Builder addDestPortsBytes(ByteString value)
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the destPorts to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addIpProtocols(String value)
public SecurityPolicyRuleNetworkMatcher.Builder addIpProtocols(String value)
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;
Parameter | |
---|---|
Name | Description |
value |
String The ipProtocols to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addIpProtocolsBytes(ByteString value)
public SecurityPolicyRuleNetworkMatcher.Builder addIpProtocolsBytes(ByteString value)
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the ipProtocols to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyRuleNetworkMatcher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
addSrcAsns(int value)
public SecurityPolicyRuleNetworkMatcher.Builder addSrcAsns(int value)
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;
Parameter | |
---|---|
Name | Description |
value |
int The srcAsns to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addSrcIpRanges(String value)
public SecurityPolicyRuleNetworkMatcher.Builder addSrcIpRanges(String value)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;
Parameter | |
---|---|
Name | Description |
value |
String The srcIpRanges to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addSrcIpRangesBytes(ByteString value)
public SecurityPolicyRuleNetworkMatcher.Builder addSrcIpRangesBytes(ByteString value)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the srcIpRanges to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addSrcPorts(String value)
public SecurityPolicyRuleNetworkMatcher.Builder addSrcPorts(String value)
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;
Parameter | |
---|---|
Name | Description |
value |
String The srcPorts to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addSrcPortsBytes(ByteString value)
public SecurityPolicyRuleNetworkMatcher.Builder addSrcPortsBytes(ByteString value)
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the srcPorts to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addSrcRegionCodes(String value)
public SecurityPolicyRuleNetworkMatcher.Builder addSrcRegionCodes(String value)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;
Parameter | |
---|---|
Name | Description |
value |
String The srcRegionCodes to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addSrcRegionCodesBytes(ByteString value)
public SecurityPolicyRuleNetworkMatcher.Builder addSrcRegionCodesBytes(ByteString value)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the srcRegionCodes to add. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
addUserDefinedFields(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value)
public SecurityPolicyRuleNetworkMatcher.Builder addUserDefinedFields(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Parameter | |
---|---|
Name | Description |
value |
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
addUserDefinedFields(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue)
public SecurityPolicyRuleNetworkMatcher.Builder addUserDefinedFields(SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Parameter | |
---|---|
Name | Description |
builderForValue |
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
addUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value)
public SecurityPolicyRuleNetworkMatcher.Builder addUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
addUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue)
public SecurityPolicyRuleNetworkMatcher.Builder addUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
addUserDefinedFieldsBuilder()
public SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder addUserDefinedFieldsBuilder()
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder |
addUserDefinedFieldsBuilder(int index)
public SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder addUserDefinedFieldsBuilder(int index)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder |
build()
public SecurityPolicyRuleNetworkMatcher build()
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher |
buildPartial()
public SecurityPolicyRuleNetworkMatcher buildPartial()
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher |
clear()
public SecurityPolicyRuleNetworkMatcher.Builder clear()
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
clearDestIpRanges()
public SecurityPolicyRuleNetworkMatcher.Builder clearDestIpRanges()
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
clearDestPorts()
public SecurityPolicyRuleNetworkMatcher.Builder clearDestPorts()
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SecurityPolicyRuleNetworkMatcher.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
clearIpProtocols()
public SecurityPolicyRuleNetworkMatcher.Builder clearIpProtocols()
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityPolicyRuleNetworkMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
clearSrcAsns()
public SecurityPolicyRuleNetworkMatcher.Builder clearSrcAsns()
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
clearSrcIpRanges()
public SecurityPolicyRuleNetworkMatcher.Builder clearSrcIpRanges()
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
clearSrcPorts()
public SecurityPolicyRuleNetworkMatcher.Builder clearSrcPorts()
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
clearSrcRegionCodes()
public SecurityPolicyRuleNetworkMatcher.Builder clearSrcRegionCodes()
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
clearUserDefinedFields()
public SecurityPolicyRuleNetworkMatcher.Builder clearUserDefinedFields()
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
clone()
public SecurityPolicyRuleNetworkMatcher.Builder clone()
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
getDefaultInstanceForType()
public SecurityPolicyRuleNetworkMatcher getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestIpRanges(int index)
public String getDestIpRanges(int index)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
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)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
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()
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;
Returns | |
---|---|
Type | Description |
int |
The count of destIpRanges. |
getDestIpRangesList()
public ProtocolStringList getDestIpRangesList()
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string dest_ip_ranges = 337357713;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the destIpRanges. |
getDestPorts(int index)
public String getDestPorts(int index)
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The destPorts at the given index. |
getDestPortsBytes(int index)
public ByteString getDestPortsBytes(int index)
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the destPorts at the given index. |
getDestPortsCount()
public int getDestPortsCount()
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;
Returns | |
---|---|
Type | Description |
int |
The count of destPorts. |
getDestPortsList()
public ProtocolStringList getDestPortsList()
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the destPorts. |
getIpProtocols(int index)
public String getIpProtocols(int index)
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The ipProtocols at the given index. |
getIpProtocolsBytes(int index)
public ByteString getIpProtocolsBytes(int index)
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the ipProtocols at the given index. |
getIpProtocolsCount()
public int getIpProtocolsCount()
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;
Returns | |
---|---|
Type | Description |
int |
The count of ipProtocols. |
getIpProtocolsList()
public ProtocolStringList getIpProtocolsList()
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the ipProtocols. |
getSrcAsns(int index)
public int getSrcAsns(int index)
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
int |
The srcAsns at the given index. |
getSrcAsnsCount()
public int getSrcAsnsCount()
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;
Returns | |
---|---|
Type | Description |
int |
The count of srcAsns. |
getSrcAsnsList()
public List<Integer> getSrcAsnsList()
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the srcAsns. |
getSrcIpRanges(int index)
public String getSrcIpRanges(int index)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
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)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
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()
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;
Returns | |
---|---|
Type | Description |
int |
The count of srcIpRanges. |
getSrcIpRangesList()
public ProtocolStringList getSrcIpRangesList()
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
repeated string src_ip_ranges = 432128083;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the srcIpRanges. |
getSrcPorts(int index)
public String getSrcPorts(int index)
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The srcPorts at the given index. |
getSrcPortsBytes(int index)
public ByteString getSrcPortsBytes(int index)
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the srcPorts at the given index. |
getSrcPortsCount()
public int getSrcPortsCount()
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;
Returns | |
---|---|
Type | Description |
int |
The count of srcPorts. |
getSrcPortsList()
public ProtocolStringList getSrcPortsList()
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the srcPorts. |
getSrcRegionCodes(int index)
public String getSrcRegionCodes(int index)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The srcRegionCodes at the given index. |
getSrcRegionCodesBytes(int index)
public ByteString getSrcRegionCodesBytes(int index)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the srcRegionCodes at the given index. |
getSrcRegionCodesCount()
public int getSrcRegionCodesCount()
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;
Returns | |
---|---|
Type | Description |
int |
The count of srcRegionCodes. |
getSrcRegionCodesList()
public ProtocolStringList getSrcRegionCodesList()
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the srcRegionCodes. |
getUserDefinedFields(int index)
public SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch getUserDefinedFields(int index)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch |
getUserDefinedFieldsBuilder(int index)
public SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder getUserDefinedFieldsBuilder(int index)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder |
getUserDefinedFieldsBuilderList()
public List<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder> getUserDefinedFieldsBuilderList()
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Returns | |
---|---|
Type | Description |
List<Builder> |
getUserDefinedFieldsCount()
public int getUserDefinedFieldsCount()
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Returns | |
---|---|
Type | Description |
int |
getUserDefinedFieldsList()
public List<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> getUserDefinedFieldsList()
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Returns | |
---|---|
Type | Description |
List<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> |
getUserDefinedFieldsOrBuilder(int index)
public SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder getUserDefinedFieldsOrBuilder(int index)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder |
getUserDefinedFieldsOrBuilderList()
public List<? extends SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder> getUserDefinedFieldsOrBuilderList()
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SecurityPolicyRuleNetworkMatcher other)
public SecurityPolicyRuleNetworkMatcher.Builder mergeFrom(SecurityPolicyRuleNetworkMatcher other)
Parameter | |
---|---|
Name | Description |
other |
SecurityPolicyRuleNetworkMatcher |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SecurityPolicyRuleNetworkMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SecurityPolicyRuleNetworkMatcher.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyRuleNetworkMatcher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
removeUserDefinedFields(int index)
public SecurityPolicyRuleNetworkMatcher.Builder removeUserDefinedFields(int index)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
setDestIpRanges(int index, String value)
public SecurityPolicyRuleNetworkMatcher.Builder setDestIpRanges(int index, String value)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
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 |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
setDestPorts(int index, String value)
public SecurityPolicyRuleNetworkMatcher.Builder setDestPorts(int index, String value)
Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string dest_ports = 379902005;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The destPorts to set. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyRuleNetworkMatcher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
setIpProtocols(int index, String value)
public SecurityPolicyRuleNetworkMatcher.Builder setIpProtocols(int index, String value)
IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp".
repeated string ip_protocols = 259213251;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The ipProtocols to set. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityPolicyRuleNetworkMatcher.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
setSrcAsns(int index, int value)
public SecurityPolicyRuleNetworkMatcher.Builder setSrcAsns(int index, int value)
BGP Autonomous System Number associated with the source IP address.
repeated uint32 src_asns = 117825266;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The srcAsns to set. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
setSrcIpRanges(int index, String value)
public SecurityPolicyRuleNetworkMatcher.Builder setSrcIpRanges(int index, String value)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
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 |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
setSrcPorts(int index, String value)
public SecurityPolicyRuleNetworkMatcher.Builder setSrcPorts(int index, String value)
Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
repeated string src_ports = 445095415;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The srcPorts to set. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
setSrcRegionCodes(int index, String value)
public SecurityPolicyRuleNetworkMatcher.Builder setSrcRegionCodes(int index, String value)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
repeated string src_region_codes = 99086742;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The srcRegionCodes to set. |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyRuleNetworkMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
setUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value)
public SecurityPolicyRuleNetworkMatcher.Builder setUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch value)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |
setUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue)
public SecurityPolicyRuleNetworkMatcher.Builder setUserDefinedFields(int index, SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder builderForValue)
User-defined fields. Each element names a defined field and lists the matching values for that field.
repeated .google.cloud.compute.v1.SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder |
Returns | |
---|---|
Type | Description |
SecurityPolicyRuleNetworkMatcher.Builder |