Class CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder>
-
- io.envoyproxy.envoy.extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder,Cloneable
- Enclosing class:
- CommonGeoipProviderConfig.GeolocationHeadersToAdd
public static final class CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder> implements CommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder
The set of geolocation headers to add to request. If any of the configured headers is present in the incoming request, it will be overridden by the :ref:`Geoip filter <config_http_filters_geoip>`. [#next-free-field: 10]
Protobuf typeenvoy.extensions.geoip_providers.common.v3.CommonGeoipProviderConfig.GeolocationHeadersToAdd
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CommonGeoipProviderConfig.GeolocationHeadersToAddbuild()CommonGeoipProviderConfig.GeolocationHeadersToAddbuildPartial()CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builderclear()CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuilderclearAnonHosting()If set, the IP address will be checked if it belongs to a hosting provider and header will be populated with the check result.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuilderclearAnonProxy()If set, the IP address will be checked if it belongs to a public proxy and header will be populated with the check result.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuilderclearAnonTor()If set, the IP address will be checked if it belongs to a TOR exit node and header will be populated with the check result.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuilderclearAnonVpn()If set, the IP address will be checked if it belongs to a VPN and header will be populated with the check result.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuilderclearAsn()If set, the header will be used to populate the ASN associated with the IP address.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuilderclearCity()If set, the header will be used to populate the city associated with the IP address.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuilderclearCountry()If set, the header will be used to populate the country ISO code associated with the IP address.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuilderclearIsAnon()If set, the IP address will be checked if it belongs to any type of anonymization network (e.g.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuilderclearRegion()If set, the header will be used to populate the region ISO code associated with the IP address.CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builderclone()StringgetAnonHosting()If set, the IP address will be checked if it belongs to a hosting provider and header will be populated with the check result.com.google.protobuf.ByteStringgetAnonHostingBytes()If set, the IP address will be checked if it belongs to a hosting provider and header will be populated with the check result.StringgetAnonProxy()If set, the IP address will be checked if it belongs to a public proxy and header will be populated with the check result.com.google.protobuf.ByteStringgetAnonProxyBytes()If set, the IP address will be checked if it belongs to a public proxy and header will be populated with the check result.StringgetAnonTor()If set, the IP address will be checked if it belongs to a TOR exit node and header will be populated with the check result.com.google.protobuf.ByteStringgetAnonTorBytes()If set, the IP address will be checked if it belongs to a TOR exit node and header will be populated with the check result.StringgetAnonVpn()If set, the IP address will be checked if it belongs to a VPN and header will be populated with the check result.com.google.protobuf.ByteStringgetAnonVpnBytes()If set, the IP address will be checked if it belongs to a VPN and header will be populated with the check result.StringgetAsn()If set, the header will be used to populate the ASN associated with the IP address.com.google.protobuf.ByteStringgetAsnBytes()If set, the header will be used to populate the ASN associated with the IP address.StringgetCity()If set, the header will be used to populate the city associated with the IP address.com.google.protobuf.ByteStringgetCityBytes()If set, the header will be used to populate the city associated with the IP address.StringgetCountry()If set, the header will be used to populate the country ISO code associated with the IP address.com.google.protobuf.ByteStringgetCountryBytes()If set, the header will be used to populate the country ISO code associated with the IP address.CommonGeoipProviderConfig.GeolocationHeadersToAddgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetIsAnon()If set, the IP address will be checked if it belongs to any type of anonymization network (e.g.com.google.protobuf.ByteStringgetIsAnonBytes()If set, the IP address will be checked if it belongs to any type of anonymization network (e.g.StringgetRegion()If set, the header will be used to populate the region ISO code associated with the IP address.com.google.protobuf.ByteStringgetRegionBytes()If set, the header will be used to populate the region ISO code associated with the IP address.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildermergeFrom(com.google.protobuf.Message other)CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildermergeFrom(CommonGeoipProviderConfig.GeolocationHeadersToAdd other)CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetAnonHosting(String value)If set, the IP address will be checked if it belongs to a hosting provider and header will be populated with the check result.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetAnonHostingBytes(com.google.protobuf.ByteString value)If set, the IP address will be checked if it belongs to a hosting provider and header will be populated with the check result.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetAnonProxy(String value)If set, the IP address will be checked if it belongs to a public proxy and header will be populated with the check result.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetAnonProxyBytes(com.google.protobuf.ByteString value)If set, the IP address will be checked if it belongs to a public proxy and header will be populated with the check result.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetAnonTor(String value)If set, the IP address will be checked if it belongs to a TOR exit node and header will be populated with the check result.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetAnonTorBytes(com.google.protobuf.ByteString value)If set, the IP address will be checked if it belongs to a TOR exit node and header will be populated with the check result.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetAnonVpn(String value)If set, the IP address will be checked if it belongs to a VPN and header will be populated with the check result.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetAnonVpnBytes(com.google.protobuf.ByteString value)If set, the IP address will be checked if it belongs to a VPN and header will be populated with the check result.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetAsn(String value)If set, the header will be used to populate the ASN associated with the IP address.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetAsnBytes(com.google.protobuf.ByteString value)If set, the header will be used to populate the ASN associated with the IP address.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetCity(String value)If set, the header will be used to populate the city associated with the IP address.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetCityBytes(com.google.protobuf.ByteString value)If set, the header will be used to populate the city associated with the IP address.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetCountry(String value)If set, the header will be used to populate the country ISO code associated with the IP address.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetCountryBytes(com.google.protobuf.ByteString value)If set, the header will be used to populate the country ISO code associated with the IP address.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetIsAnon(String value)If set, the IP address will be checked if it belongs to any type of anonymization network (e.g.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetIsAnonBytes(com.google.protobuf.ByteString value)If set, the IP address will be checked if it belongs to any type of anonymization network (e.g.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetRegion(String value)If set, the header will be used to populate the region ISO code associated with the IP address.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetRegionBytes(com.google.protobuf.ByteString value)If set, the header will be used to populate the region ISO code associated with the IP address.CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CommonGeoipProviderConfig.GeolocationHeadersToAdd.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder>
-
clear
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.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.GeolocationHeadersToAdd.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.GeolocationHeadersToAdd.Builder>
-
getDefaultInstanceForType
public CommonGeoipProviderConfig.GeolocationHeadersToAdd getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CommonGeoipProviderConfig.GeolocationHeadersToAdd build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CommonGeoipProviderConfig.GeolocationHeadersToAdd buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.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.GeolocationHeadersToAdd.Builder>
-
setField
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.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.GeolocationHeadersToAdd.Builder>
-
clearField
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder>
-
clearOneof
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder>
-
setRepeatedField
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.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.GeolocationHeadersToAdd.Builder>
-
addRepeatedField
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.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.GeolocationHeadersToAdd.Builder>
-
mergeFrom
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder>
-
mergeFrom
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder mergeFrom(CommonGeoipProviderConfig.GeolocationHeadersToAdd other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder>
-
mergeFrom
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.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.GeolocationHeadersToAdd.Builder>- Throws:
IOException
-
getCountry
public String getCountry()
If set, the header will be used to populate the country ISO code associated with the IP address.
string country = 1 [(.validate.rules) = { ... }- Specified by:
getCountryin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The country.
-
getCountryBytes
public com.google.protobuf.ByteString getCountryBytes()
If set, the header will be used to populate the country ISO code associated with the IP address.
string country = 1 [(.validate.rules) = { ... }- Specified by:
getCountryBytesin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The bytes for country.
-
setCountry
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setCountry(String value)
If set, the header will be used to populate the country ISO code associated with the IP address.
string country = 1 [(.validate.rules) = { ... }- Parameters:
value- The country to set.- Returns:
- This builder for chaining.
-
clearCountry
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder clearCountry()
If set, the header will be used to populate the country ISO code associated with the IP address.
string country = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setCountryBytes
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setCountryBytes(com.google.protobuf.ByteString value)
If set, the header will be used to populate the country ISO code associated with the IP address.
string country = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for country to set.- Returns:
- This builder for chaining.
-
getCity
public String getCity()
If set, the header will be used to populate the city associated with the IP address.
string city = 2 [(.validate.rules) = { ... }- Specified by:
getCityin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The city.
-
getCityBytes
public com.google.protobuf.ByteString getCityBytes()
If set, the header will be used to populate the city associated with the IP address.
string city = 2 [(.validate.rules) = { ... }- Specified by:
getCityBytesin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The bytes for city.
-
setCity
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setCity(String value)
If set, the header will be used to populate the city associated with the IP address.
string city = 2 [(.validate.rules) = { ... }- Parameters:
value- The city to set.- Returns:
- This builder for chaining.
-
clearCity
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder clearCity()
If set, the header will be used to populate the city associated with the IP address.
string city = 2 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setCityBytes
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setCityBytes(com.google.protobuf.ByteString value)
If set, the header will be used to populate the city associated with the IP address.
string city = 2 [(.validate.rules) = { ... }- Parameters:
value- The bytes for city to set.- Returns:
- This builder for chaining.
-
getRegion
public String getRegion()
If set, the header will be used to populate the region ISO code associated with the IP address. The least specific subdivision will be selected as region value.
string region = 3 [(.validate.rules) = { ... }- Specified by:
getRegionin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
If set, the header will be used to populate the region ISO code associated with the IP address. The least specific subdivision will be selected as region value.
string region = 3 [(.validate.rules) = { ... }- Specified by:
getRegionBytesin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The bytes for region.
-
setRegion
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setRegion(String value)
If set, the header will be used to populate the region ISO code associated with the IP address. The least specific subdivision will be selected as region value.
string region = 3 [(.validate.rules) = { ... }- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder clearRegion()
If set, the header will be used to populate the region ISO code associated with the IP address. The least specific subdivision will be selected as region value.
string region = 3 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setRegionBytes
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setRegionBytes(com.google.protobuf.ByteString value)
If set, the header will be used to populate the region ISO code associated with the IP address. The least specific subdivision will be selected as region value.
string region = 3 [(.validate.rules) = { ... }- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
getAsn
public String getAsn()
If set, the header will be used to populate the ASN associated with the IP address.
string asn = 4 [(.validate.rules) = { ... }- Specified by:
getAsnin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The asn.
-
getAsnBytes
public com.google.protobuf.ByteString getAsnBytes()
If set, the header will be used to populate the ASN associated with the IP address.
string asn = 4 [(.validate.rules) = { ... }- Specified by:
getAsnBytesin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The bytes for asn.
-
setAsn
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setAsn(String value)
If set, the header will be used to populate the ASN associated with the IP address.
string asn = 4 [(.validate.rules) = { ... }- Parameters:
value- The asn to set.- Returns:
- This builder for chaining.
-
clearAsn
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder clearAsn()
If set, the header will be used to populate the ASN associated with the IP address.
string asn = 4 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setAsnBytes
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setAsnBytes(com.google.protobuf.ByteString value)
If set, the header will be used to populate the ASN associated with the IP address.
string asn = 4 [(.validate.rules) = { ... }- Parameters:
value- The bytes for asn to set.- Returns:
- This builder for chaining.
-
getIsAnon
public String getIsAnon()
If set, the IP address will be checked if it belongs to any type of anonymization network (e.g. VPN, public proxy etc) and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string is_anon = 5 [(.validate.rules) = { ... }- Specified by:
getIsAnonin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The isAnon.
-
getIsAnonBytes
public com.google.protobuf.ByteString getIsAnonBytes()
If set, the IP address will be checked if it belongs to any type of anonymization network (e.g. VPN, public proxy etc) and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string is_anon = 5 [(.validate.rules) = { ... }- Specified by:
getIsAnonBytesin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The bytes for isAnon.
-
setIsAnon
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setIsAnon(String value)
If set, the IP address will be checked if it belongs to any type of anonymization network (e.g. VPN, public proxy etc) and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string is_anon = 5 [(.validate.rules) = { ... }- Parameters:
value- The isAnon to set.- Returns:
- This builder for chaining.
-
clearIsAnon
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder clearIsAnon()
If set, the IP address will be checked if it belongs to any type of anonymization network (e.g. VPN, public proxy etc) and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string is_anon = 5 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setIsAnonBytes
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setIsAnonBytes(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 etc) and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string is_anon = 5 [(.validate.rules) = { ... }- Parameters:
value- The bytes for isAnon to set.- Returns:
- This builder for chaining.
-
getAnonVpn
public String getAnonVpn()
If set, the IP address will be checked if it belongs to a VPN and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_vpn = 6 [(.validate.rules) = { ... }- Specified by:
getAnonVpnin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- 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 header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_vpn = 6 [(.validate.rules) = { ... }- Specified by:
getAnonVpnBytesin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The bytes for anonVpn.
-
setAnonVpn
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setAnonVpn(String value)
If set, the IP address will be checked if it belongs to a VPN and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_vpn = 6 [(.validate.rules) = { ... }- Parameters:
value- The anonVpn to set.- Returns:
- This builder for chaining.
-
clearAnonVpn
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder clearAnonVpn()
If set, the IP address will be checked if it belongs to a VPN and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_vpn = 6 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setAnonVpnBytes
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setAnonVpnBytes(com.google.protobuf.ByteString value)
If set, the IP address will be checked if it belongs to a VPN and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_vpn = 6 [(.validate.rules) = { ... }- Parameters:
value- The bytes for anonVpn to set.- Returns:
- This builder for chaining.
-
getAnonHosting
public String getAnonHosting()
If set, the IP address will be checked if it belongs to a hosting provider and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_hosting = 7 [(.validate.rules) = { ... }- Specified by:
getAnonHostingin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- 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 header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_hosting = 7 [(.validate.rules) = { ... }- Specified by:
getAnonHostingBytesin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The bytes for anonHosting.
-
setAnonHosting
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setAnonHosting(String value)
If set, the IP address will be checked if it belongs to a hosting provider and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_hosting = 7 [(.validate.rules) = { ... }- Parameters:
value- The anonHosting to set.- Returns:
- This builder for chaining.
-
clearAnonHosting
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder clearAnonHosting()
If set, the IP address will be checked if it belongs to a hosting provider and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_hosting = 7 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setAnonHostingBytes
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setAnonHostingBytes(com.google.protobuf.ByteString value)
If set, the IP address will be checked if it belongs to a hosting provider and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_hosting = 7 [(.validate.rules) = { ... }- Parameters:
value- The bytes for anonHosting to set.- Returns:
- This builder for chaining.
-
getAnonTor
public String getAnonTor()
If set, the IP address will be checked if it belongs to a TOR exit node and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_tor = 8 [(.validate.rules) = { ... }- Specified by:
getAnonTorin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- 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 header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_tor = 8 [(.validate.rules) = { ... }- Specified by:
getAnonTorBytesin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The bytes for anonTor.
-
setAnonTor
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setAnonTor(String value)
If set, the IP address will be checked if it belongs to a TOR exit node and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_tor = 8 [(.validate.rules) = { ... }- Parameters:
value- The anonTor to set.- Returns:
- This builder for chaining.
-
clearAnonTor
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder clearAnonTor()
If set, the IP address will be checked if it belongs to a TOR exit node and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_tor = 8 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setAnonTorBytes
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setAnonTorBytes(com.google.protobuf.ByteString value)
If set, the IP address will be checked if it belongs to a TOR exit node and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_tor = 8 [(.validate.rules) = { ... }- Parameters:
value- The bytes for anonTor to set.- Returns:
- This builder for chaining.
-
getAnonProxy
public String getAnonProxy()
If set, the IP address will be checked if it belongs to a public proxy and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_proxy = 9 [(.validate.rules) = { ... }- Specified by:
getAnonProxyin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- 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 header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_proxy = 9 [(.validate.rules) = { ... }- Specified by:
getAnonProxyBytesin interfaceCommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder- Returns:
- The bytes for anonProxy.
-
setAnonProxy
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setAnonProxy(String value)
If set, the IP address will be checked if it belongs to a public proxy and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_proxy = 9 [(.validate.rules) = { ... }- Parameters:
value- The anonProxy to set.- Returns:
- This builder for chaining.
-
clearAnonProxy
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder clearAnonProxy()
If set, the IP address will be checked if it belongs to a public proxy and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_proxy = 9 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setAnonProxyBytes
public CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setAnonProxyBytes(com.google.protobuf.ByteString value)
If set, the IP address will be checked if it belongs to a public proxy and header will be populated with the check result. Header value will be set to either "true" or "false" depending on the check result.
string anon_proxy = 9 [(.validate.rules) = { ... }- Parameters:
value- The bytes for anonProxy to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder>
-
mergeUnknownFields
public final CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder>
-
-