Interface CommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommonGeoipProviderConfig.GeolocationHeadersToAdd,CommonGeoipProviderConfig.GeolocationHeadersToAdd.Builder
- Enclosing class:
- CommonGeoipProviderConfig
public static interface CommonGeoipProviderConfig.GeolocationHeadersToAddOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCountry
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) = { ... }- Returns:
- The country.
-
getCountryBytes
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) = { ... }- Returns:
- The bytes for country.
-
getCity
String getCity()
If set, the header will be used to populate the city associated with the IP address.
string city = 2 [(.validate.rules) = { ... }- Returns:
- The city.
-
getCityBytes
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) = { ... }- Returns:
- The bytes for city.
-
getRegion
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) = { ... }- Returns:
- The region.
-
getRegionBytes
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) = { ... }- Returns:
- The bytes for region.
-
getAsn
String getAsn()
If set, the header will be used to populate the ASN associated with the IP address.
string asn = 4 [(.validate.rules) = { ... }- Returns:
- The asn.
-
getAsnBytes
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) = { ... }- Returns:
- The bytes for asn.
-
getIsAnon
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) = { ... }- Returns:
- The isAnon.
-
getIsAnonBytes
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) = { ... }- Returns:
- The bytes for isAnon.
-
getAnonVpn
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) = { ... }- Returns:
- The anonVpn.
-
getAnonVpnBytes
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) = { ... }- Returns:
- The bytes for anonVpn.
-
getAnonHosting
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) = { ... }- Returns:
- The anonHosting.
-
getAnonHostingBytes
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) = { ... }- Returns:
- The bytes for anonHosting.
-
getAnonTor
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) = { ... }- Returns:
- The anonTor.
-
getAnonTorBytes
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) = { ... }- Returns:
- The bytes for anonTor.
-
getAnonProxy
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) = { ... }- Returns:
- The anonProxy.
-
getAnonProxyBytes
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) = { ... }- Returns:
- The bytes for anonProxy.
-
-