Class CommonGeoipProviderConfig.GeolocationFieldKeys.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
io.envoyproxy.envoy.extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationFieldKeys.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder,Cloneable
- Enclosing class:
- CommonGeoipProviderConfig.GeolocationFieldKeys
public static final class CommonGeoipProviderConfig.GeolocationFieldKeys.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
implements CommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder
The set of geolocation field keys to use for storing lookup results. These keys define how the geolocation lookup results will be stored. The actual storage mechanism depends on the filter using the provider: - The :ref:`HTTP GeoIP filter <config_http_filters_geoip>` stores results as HTTP request headers. - The :ref:`Network GeoIP filter <config_network_filters_geoip>` stores results in the connection's filter state under the well-known key ``envoy.geoip``. [#next-free-field: 12]Protobuf type
envoy.extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationFieldKeys-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()If set, the IP address will be checked if it belongs to any type of anonymization network (e.g., VPN, public proxy).If set, the IP address will be checked if it belongs to a hosting provider and the result will be stored with this key.If set, the IP address will be checked if it belongs to a public proxy and the result will be stored with this key.If set, the IP address will be checked if it belongs to a TOR exit node and the result will be stored with this key.If set, the IP address will be checked if it belongs to a VPN and the result will be stored with this key.If set, the IP address will be checked if it belongs to the ISP named iCloud Private Relay and the result will be stored with this key.clearAsn()If set, the key will be used to populate the ASN associated with the IP address.If set, the key will be used to populate the city associated with the IP address.If set, the key will be used to populate the country ISO code associated with the IP address.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearIsp()If set, the key will be used to populate the ISP associated with the IP address.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) If set, the key will be used to populate the region ISO code associated with the IP address.clone()getAnon()If set, the IP address will be checked if it belongs to any type of anonymization network (e.g., VPN, public proxy).com.google.protobuf.ByteStringIf set, the IP address will be checked if it belongs to any type of anonymization network (e.g., VPN, public proxy).If set, the IP address will be checked if it belongs to a hosting provider and the result will be stored with this key.com.google.protobuf.ByteStringIf set, the IP address will be checked if it belongs to a hosting provider and the result will be stored with this key.If set, the IP address will be checked if it belongs to a public proxy and the result will be stored with this key.com.google.protobuf.ByteStringIf set, the IP address will be checked if it belongs to a public proxy and the result will be stored with this key.If set, the IP address will be checked if it belongs to a TOR exit node and the result will be stored with this key.com.google.protobuf.ByteStringIf set, the IP address will be checked if it belongs to a TOR exit node and the result will be stored with this key.If set, the IP address will be checked if it belongs to a VPN and the result will be stored with this key.com.google.protobuf.ByteStringIf set, the IP address will be checked if it belongs to a VPN and the result will be stored with this key.If set, the IP address will be checked if it belongs to the ISP named iCloud Private Relay and the result will be stored with this key.com.google.protobuf.ByteStringIf set, the IP address will be checked if it belongs to the ISP named iCloud Private Relay and the result will be stored with this key.getAsn()If set, the key will be used to populate the ASN associated with the IP address.com.google.protobuf.ByteStringIf set, the key will be used to populate the ASN associated with the IP address.getCity()If set, the key will be used to populate the city associated with the IP address.com.google.protobuf.ByteStringIf set, the key will be used to populate the city associated with the IP address.If set, the key will be used to populate the country ISO code associated with the IP address.com.google.protobuf.ByteStringIf set, the key will be used to populate the country ISO code associated with the IP address.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetIsp()If set, the key will be used to populate the ISP associated with the IP address.com.google.protobuf.ByteStringIf set, the key will be used to populate the ISP associated with the IP address.If set, the key will be used to populate the region ISO code associated with the IP address.com.google.protobuf.ByteStringIf set, the key will be used to populate the region ISO code associated with the IP address.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) If set, the IP address will be checked if it belongs to any type of anonymization network (e.g., VPN, public proxy).setAnonBytes(com.google.protobuf.ByteString value) If set, the IP address will be checked if it belongs to any type of anonymization network (e.g., VPN, public proxy).setAnonHosting(String value) If set, the IP address will be checked if it belongs to a hosting provider and the result will be stored with this key.setAnonHostingBytes(com.google.protobuf.ByteString value) If set, the IP address will be checked if it belongs to a hosting provider and the result will be stored with this key.setAnonProxy(String value) If set, the IP address will be checked if it belongs to a public proxy and the result will be stored with this key.setAnonProxyBytes(com.google.protobuf.ByteString value) If set, the IP address will be checked if it belongs to a public proxy and the result will be stored with this key.setAnonTor(String value) If set, the IP address will be checked if it belongs to a TOR exit node and the result will be stored with this key.setAnonTorBytes(com.google.protobuf.ByteString value) If set, the IP address will be checked if it belongs to a TOR exit node and the result will be stored with this key.setAnonVpn(String value) If set, the IP address will be checked if it belongs to a VPN and the result will be stored with this key.setAnonVpnBytes(com.google.protobuf.ByteString value) If set, the IP address will be checked if it belongs to a VPN and the result will be stored with this key.setApplePrivateRelay(String value) If set, the IP address will be checked if it belongs to the ISP named iCloud Private Relay and the result will be stored with this key.setApplePrivateRelayBytes(com.google.protobuf.ByteString value) If set, the IP address will be checked if it belongs to the ISP named iCloud Private Relay and the result will be stored with this key.If set, the key will be used to populate the ASN associated with the IP address.setAsnBytes(com.google.protobuf.ByteString value) If set, the key will be used to populate the ASN associated with the IP address.If set, the key will be used to populate the city associated with the IP address.setCityBytes(com.google.protobuf.ByteString value) If set, the key will be used to populate the city associated with the IP address.setCountry(String value) If set, the key will be used to populate the country ISO code associated with the IP address.setCountryBytes(com.google.protobuf.ByteString value) If set, the key will be used to populate the country ISO code associated with the IP address.If set, the key will be used to populate the ISP associated with the IP address.setIspBytes(com.google.protobuf.ByteString value) If set, the key will be used to populate the ISP associated with the IP address.If set, the key will be used to populate the region ISO code associated with the IP address.setRegionBytes(com.google.protobuf.ByteString value) If set, the key will be used to populate the region ISO code associated with the IP address.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
-
setField
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
-
clearField
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
-
clearOneof
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
-
setRepeatedField
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
-
addRepeatedField
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
-
mergeFrom
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
-
mergeFrom
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder mergeFrom(CommonGeoipProviderConfig.GeolocationFieldKeys other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
-
mergeFrom
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>- Throws:
IOException
-
getCountry
If set, the key will be used to populate the country ISO code associated with the IP address.
string country = 1;- Specified by:
getCountryin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The country.
-
getCountryBytes
public com.google.protobuf.ByteString getCountryBytes()If set, the key will be used to populate the country ISO code associated with the IP address.
string country = 1;- Specified by:
getCountryBytesin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The bytes for country.
-
setCountry
If set, the key will be used to populate the country ISO code associated with the IP address.
string country = 1;- Parameters:
value- The country to set.- Returns:
- This builder for chaining.
-
clearCountry
If set, the key will be used to populate the country ISO code associated with the IP address.
string country = 1;- Returns:
- This builder for chaining.
-
setCountryBytes
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setCountryBytes(com.google.protobuf.ByteString value) If set, the key will be used to populate the country ISO code associated with the IP address.
string country = 1;- Parameters:
value- The bytes for country to set.- Returns:
- This builder for chaining.
-
getCity
If set, the key will be used to populate the city associated with the IP address.
string city = 2;- Specified by:
getCityin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The city.
-
getCityBytes
public com.google.protobuf.ByteString getCityBytes()If set, the key will be used to populate the city associated with the IP address.
string city = 2;- Specified by:
getCityBytesin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The bytes for city.
-
setCity
If set, the key will be used to populate the city associated with the IP address.
string city = 2;- Parameters:
value- The city to set.- Returns:
- This builder for chaining.
-
clearCity
If set, the key will be used to populate the city associated with the IP address.
string city = 2;- Returns:
- This builder for chaining.
-
setCityBytes
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setCityBytes(com.google.protobuf.ByteString value) If set, the key will be used to populate the city associated with the IP address.
string city = 2;- Parameters:
value- The bytes for city to set.- Returns:
- This builder for chaining.
-
getRegion
If set, the key will be used to populate the region ISO code associated with the IP address. The least specific subdivision will be selected as the region value.
string region = 3;- Specified by:
getRegionin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()If set, the key will be used to populate the region ISO code associated with the IP address. The least specific subdivision will be selected as the region value.
string region = 3;- Specified by:
getRegionBytesin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The bytes for region.
-
setRegion
If set, the key will be used to populate the region ISO code associated with the IP address. The least specific subdivision will be selected as the region value.
string region = 3;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
If set, the key will be used to populate the region ISO code associated with the IP address. The least specific subdivision will be selected as the region value.
string region = 3;- Returns:
- This builder for chaining.
-
setRegionBytes
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setRegionBytes(com.google.protobuf.ByteString value) If set, the key will be used to populate the region ISO code associated with the IP address. The least specific subdivision will be selected as the region value.
string region = 3;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
getAsn
If set, the key will be used to populate the ASN associated with the IP address.
string asn = 4;- Specified by:
getAsnin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The asn.
-
getAsnBytes
public com.google.protobuf.ByteString getAsnBytes()If set, the key will be used to populate the ASN associated with the IP address.
string asn = 4;- Specified by:
getAsnBytesin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The bytes for asn.
-
setAsn
If set, the key will be used to populate the ASN associated with the IP address.
string asn = 4;- Parameters:
value- The asn to set.- Returns:
- This builder for chaining.
-
clearAsn
If set, the key will be used to populate the ASN associated with the IP address.
string asn = 4;- Returns:
- This builder for chaining.
-
setAsnBytes
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setAsnBytes(com.google.protobuf.ByteString value) If set, the key will be used to populate the ASN associated with the IP address.
string asn = 4;- Parameters:
value- The bytes for asn to set.- Returns:
- This builder for chaining.
-
getAnon
If set, the IP address will be checked if it belongs to any type of anonymization network (e.g., VPN, public proxy). The result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon = 5;- Specified by:
getAnonin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The anon.
-
getAnonBytes
public com.google.protobuf.ByteString getAnonBytes()If set, the IP address will be checked if it belongs to any type of anonymization network (e.g., VPN, public proxy). The result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon = 5;- Specified by:
getAnonBytesin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The bytes for anon.
-
setAnon
If set, the IP address will be checked if it belongs to any type of anonymization network (e.g., VPN, public proxy). The result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon = 5;- Parameters:
value- The anon to set.- Returns:
- This builder for chaining.
-
clearAnon
If set, the IP address will be checked if it belongs to any type of anonymization network (e.g., VPN, public proxy). The result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon = 5;- Returns:
- This builder for chaining.
-
setAnonBytes
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setAnonBytes(com.google.protobuf.ByteString value) If set, the IP address will be checked if it belongs to any type of anonymization network (e.g., VPN, public proxy). The result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon = 5;- Parameters:
value- The bytes for anon to set.- Returns:
- This builder for chaining.
-
getAnonVpn
If set, the IP address will be checked if it belongs to a VPN and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_vpn = 6;- Specified by:
getAnonVpnin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The anonVpn.
-
getAnonVpnBytes
public com.google.protobuf.ByteString getAnonVpnBytes()If set, the IP address will be checked if it belongs to a VPN and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_vpn = 6;- Specified by:
getAnonVpnBytesin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The bytes for anonVpn.
-
setAnonVpn
If set, the IP address will be checked if it belongs to a VPN and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_vpn = 6;- Parameters:
value- The anonVpn to set.- Returns:
- This builder for chaining.
-
clearAnonVpn
If set, the IP address will be checked if it belongs to a VPN and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_vpn = 6;- Returns:
- This builder for chaining.
-
setAnonVpnBytes
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setAnonVpnBytes(com.google.protobuf.ByteString value) If set, the IP address will be checked if it belongs to a VPN and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_vpn = 6;- Parameters:
value- The bytes for anonVpn to set.- Returns:
- This builder for chaining.
-
getAnonHosting
If set, the IP address will be checked if it belongs to a hosting provider and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_hosting = 7;- Specified by:
getAnonHostingin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The anonHosting.
-
getAnonHostingBytes
public com.google.protobuf.ByteString getAnonHostingBytes()If set, the IP address will be checked if it belongs to a hosting provider and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_hosting = 7;- Specified by:
getAnonHostingBytesin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The bytes for anonHosting.
-
setAnonHosting
If set, the IP address will be checked if it belongs to a hosting provider and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_hosting = 7;- Parameters:
value- The anonHosting to set.- Returns:
- This builder for chaining.
-
clearAnonHosting
If set, the IP address will be checked if it belongs to a hosting provider and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_hosting = 7;- Returns:
- This builder for chaining.
-
setAnonHostingBytes
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setAnonHostingBytes(com.google.protobuf.ByteString value) If set, the IP address will be checked if it belongs to a hosting provider and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_hosting = 7;- Parameters:
value- The bytes for anonHosting to set.- Returns:
- This builder for chaining.
-
getAnonTor
If set, the IP address will be checked if it belongs to a TOR exit node and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_tor = 8;- Specified by:
getAnonTorin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The anonTor.
-
getAnonTorBytes
public com.google.protobuf.ByteString getAnonTorBytes()If set, the IP address will be checked if it belongs to a TOR exit node and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_tor = 8;- Specified by:
getAnonTorBytesin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The bytes for anonTor.
-
setAnonTor
If set, the IP address will be checked if it belongs to a TOR exit node and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_tor = 8;- Parameters:
value- The anonTor to set.- Returns:
- This builder for chaining.
-
clearAnonTor
If set, the IP address will be checked if it belongs to a TOR exit node and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_tor = 8;- Returns:
- This builder for chaining.
-
setAnonTorBytes
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setAnonTorBytes(com.google.protobuf.ByteString value) If set, the IP address will be checked if it belongs to a TOR exit node and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_tor = 8;- Parameters:
value- The bytes for anonTor to set.- Returns:
- This builder for chaining.
-
getAnonProxy
If set, the IP address will be checked if it belongs to a public proxy and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_proxy = 9;- Specified by:
getAnonProxyin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The anonProxy.
-
getAnonProxyBytes
public com.google.protobuf.ByteString getAnonProxyBytes()If set, the IP address will be checked if it belongs to a public proxy and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_proxy = 9;- Specified by:
getAnonProxyBytesin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The bytes for anonProxy.
-
setAnonProxy
If set, the IP address will be checked if it belongs to a public proxy and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_proxy = 9;- Parameters:
value- The anonProxy to set.- Returns:
- This builder for chaining.
-
clearAnonProxy
If set, the IP address will be checked if it belongs to a public proxy and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_proxy = 9;- Returns:
- This builder for chaining.
-
setAnonProxyBytes
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setAnonProxyBytes(com.google.protobuf.ByteString value) If set, the IP address will be checked if it belongs to a public proxy and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string anon_proxy = 9;- Parameters:
value- The bytes for anonProxy to set.- Returns:
- This builder for chaining.
-
getIsp
If set, the key will be used to populate the ISP associated with the IP address.
string isp = 10;- Specified by:
getIspin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The isp.
-
getIspBytes
public com.google.protobuf.ByteString getIspBytes()If set, the key will be used to populate the ISP associated with the IP address.
string isp = 10;- Specified by:
getIspBytesin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The bytes for isp.
-
setIsp
If set, the key will be used to populate the ISP associated with the IP address.
string isp = 10;- Parameters:
value- The isp to set.- Returns:
- This builder for chaining.
-
clearIsp
If set, the key will be used to populate the ISP associated with the IP address.
string isp = 10;- Returns:
- This builder for chaining.
-
setIspBytes
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setIspBytes(com.google.protobuf.ByteString value) If set, the key will be used to populate the ISP associated with the IP address.
string isp = 10;- Parameters:
value- The bytes for isp to set.- Returns:
- This builder for chaining.
-
getApplePrivateRelay
If set, the IP address will be checked if it belongs to the ISP named iCloud Private Relay and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string apple_private_relay = 11;- Specified by:
getApplePrivateRelayin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The applePrivateRelay.
-
getApplePrivateRelayBytes
public com.google.protobuf.ByteString getApplePrivateRelayBytes()If set, the IP address will be checked if it belongs to the ISP named iCloud Private Relay and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string apple_private_relay = 11;- Specified by:
getApplePrivateRelayBytesin interfaceCommonGeoipProviderConfig.GeolocationFieldKeysOrBuilder- Returns:
- The bytes for applePrivateRelay.
-
setApplePrivateRelay
If set, the IP address will be checked if it belongs to the ISP named iCloud Private Relay and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string apple_private_relay = 11;- Parameters:
value- The applePrivateRelay to set.- Returns:
- This builder for chaining.
-
clearApplePrivateRelay
If set, the IP address will be checked if it belongs to the ISP named iCloud Private Relay and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string apple_private_relay = 11;- Returns:
- This builder for chaining.
-
setApplePrivateRelayBytes
public CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setApplePrivateRelayBytes(com.google.protobuf.ByteString value) If set, the IP address will be checked if it belongs to the ISP named iCloud Private Relay and the result will be stored with this key. Value will be set to either ``true`` or ``false`` depending on the check result.
string apple_private_relay = 11;- Parameters:
value- The bytes for applePrivateRelay to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CommonGeoipProviderConfig.GeolocationFieldKeys.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
-
mergeUnknownFields
public final CommonGeoipProviderConfig.GeolocationFieldKeys.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationFieldKeys.Builder>
-