public static final class OpenRtbProtobuf.Geo extends com.google.protobuf.GeneratedMessageV3 implements OpenRtbProtobuf.GeoOrBuilder
3.3.11 Geo Object The geo object itself and all of its parameters are optional, so default values are not provided. If an optional parameter is not specified, it should be considered unknown. Note that the Geo Object may appear in one or both the Device Object and the User Object. This is intentional, since the information may be derived from either a device-oriented source (such as IP geo lookup), or by user registration information (for example provided to a publisher through a user registration). If the information is in conflict, it’s up to the bidder to determine which information to use.Protobuf type
open_rtb.Geo| Modifier and Type | Class and Description |
|---|---|
static class |
OpenRtbProtobuf.Geo.Builder
3.3.11 Geo Object
The geo object itself and all of its parameters are optional, so default values are not provided.
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CITY_FIELD_NUMBER |
static int |
COUNTRY_FIELD_NUMBER |
static int |
LAT_FIELD_NUMBER |
static int |
LON_FIELD_NUMBER |
static int |
METRO_FIELD_NUMBER |
static com.google.protobuf.Parser<OpenRtbProtobuf.Geo> |
PARSER
Deprecated.
|
static int |
REGION_FIELD_NUMBER |
static int |
REGIONFIPS104_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
ZIP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCity()
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/ser vice/location.htm).
|
com.google.protobuf.ByteString |
getCityBytes()
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/ser vice/location.htm).
|
String |
getCountry()
Country using ISO-3166-1 Alpha-3.
|
com.google.protobuf.ByteString |
getCountryBytes()
Country using ISO-3166-1 Alpha-3.
|
static OpenRtbProtobuf.Geo |
getDefaultInstance() |
OpenRtbProtobuf.Geo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
float |
getLat()
Latitude from -90 to 90.
|
float |
getLon()
Longitude from -180 to 180.
|
String |
getMetro()
Pass the metro code (seehttp://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
|
com.google.protobuf.ByteString |
getMetroBytes()
Pass the metro code (seehttp://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
|
com.google.protobuf.Parser<OpenRtbProtobuf.Geo> |
getParserForType() |
String |
getRegion()
Region using ISO 3166-2.
|
com.google.protobuf.ByteString |
getRegionBytes()
Region using ISO 3166-2.
|
String |
getRegionfips104()
Region of a country using FIPS 10-4 notation (alternative to ISO 3166-2).
|
com.google.protobuf.ByteString |
getRegionfips104Bytes()
Region of a country using FIPS 10-4 notation (alternative to ISO 3166-2).
|
int |
getSerializedSize() |
int |
getType()
Indicate the source of the geo data (GPS, IP address, user provided).
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getZip()
Zip/postal code.
|
com.google.protobuf.ByteString |
getZipBytes()
Zip/postal code.
|
boolean |
hasCity()
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/ser vice/location.htm).
|
boolean |
hasCountry()
Country using ISO-3166-1 Alpha-3.
|
int |
hashCode() |
boolean |
hasLat()
Latitude from -90 to 90.
|
boolean |
hasLon()
Longitude from -180 to 180.
|
boolean |
hasMetro()
Pass the metro code (seehttp://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
|
boolean |
hasRegion()
Region using ISO 3166-2.
|
boolean |
hasRegionfips104()
Region of a country using FIPS 10-4 notation (alternative to ISO 3166-2).
|
boolean |
hasType()
Indicate the source of the geo data (GPS, IP address, user provided).
|
boolean |
hasZip()
Zip/postal code.
|
boolean |
isInitialized() |
static OpenRtbProtobuf.Geo.Builder |
newBuilder() |
static OpenRtbProtobuf.Geo.Builder |
newBuilder(OpenRtbProtobuf.Geo prototype) |
OpenRtbProtobuf.Geo.Builder |
newBuilderForType() |
static OpenRtbProtobuf.Geo |
parseDelimitedFrom(InputStream input) |
static OpenRtbProtobuf.Geo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.Geo |
parseFrom(byte[] data) |
static OpenRtbProtobuf.Geo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.Geo |
parseFrom(com.google.protobuf.ByteString data) |
static OpenRtbProtobuf.Geo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.Geo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OpenRtbProtobuf.Geo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.Geo |
parseFrom(InputStream input) |
static OpenRtbProtobuf.Geo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OpenRtbProtobuf.Geo> |
parser() |
OpenRtbProtobuf.Geo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int LAT_FIELD_NUMBER
public static final int LON_FIELD_NUMBER
public static final int COUNTRY_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
public static final int REGIONFIPS104_FIELD_NUMBER
public static final int METRO_FIELD_NUMBER
public static final int CITY_FIELD_NUMBER
public static final int ZIP_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<OpenRtbProtobuf.Geo> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public boolean hasLat()
Latitude from -90 to 90. South is negative. This should only be passed if known to be accurate (For example, not the centroid of a postal code).
optional float lat = 1;hasLat in interface OpenRtbProtobuf.GeoOrBuilderpublic float getLat()
Latitude from -90 to 90. South is negative. This should only be passed if known to be accurate (For example, not the centroid of a postal code).
optional float lat = 1;getLat in interface OpenRtbProtobuf.GeoOrBuilderpublic boolean hasLon()
Longitude from -180 to 180. West is negative. This should only be passed if known to be accurate.
optional float lon = 2;hasLon in interface OpenRtbProtobuf.GeoOrBuilderpublic float getLon()
Longitude from -180 to 180. West is negative. This should only be passed if known to be accurate.
optional float lon = 2;getLon in interface OpenRtbProtobuf.GeoOrBuilderpublic boolean hasCountry()
Country using ISO-3166-1 Alpha-3.
optional string country = 3;hasCountry in interface OpenRtbProtobuf.GeoOrBuilderpublic String getCountry()
Country using ISO-3166-1 Alpha-3.
optional string country = 3;getCountry in interface OpenRtbProtobuf.GeoOrBuilderpublic com.google.protobuf.ByteString getCountryBytes()
Country using ISO-3166-1 Alpha-3.
optional string country = 3;getCountryBytes in interface OpenRtbProtobuf.GeoOrBuilderpublic boolean hasRegion()
Region using ISO 3166-2.
optional string region = 4;hasRegion in interface OpenRtbProtobuf.GeoOrBuilderpublic String getRegion()
Region using ISO 3166-2.
optional string region = 4;getRegion in interface OpenRtbProtobuf.GeoOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
Region using ISO 3166-2.
optional string region = 4;getRegionBytes in interface OpenRtbProtobuf.GeoOrBuilderpublic boolean hasRegionfips104()
Region of a country using FIPS 10-4 notation (alternative to ISO 3166-2).
optional string regionfips104 = 5;hasRegionfips104 in interface OpenRtbProtobuf.GeoOrBuilderpublic String getRegionfips104()
Region of a country using FIPS 10-4 notation (alternative to ISO 3166-2).
optional string regionfips104 = 5;getRegionfips104 in interface OpenRtbProtobuf.GeoOrBuilderpublic com.google.protobuf.ByteString getRegionfips104Bytes()
Region of a country using FIPS 10-4 notation (alternative to ISO 3166-2).
optional string regionfips104 = 5;getRegionfips104Bytes in interface OpenRtbProtobuf.GeoOrBuilderpublic boolean hasMetro()
Pass the metro code (seehttp://code.google.com/apis/adwords/docs/appendix/metrocodes.html). Metro codes are similar to but not exactly the same as Nielsen DMAs.
optional string metro = 6;hasMetro in interface OpenRtbProtobuf.GeoOrBuilderpublic String getMetro()
Pass the metro code (seehttp://code.google.com/apis/adwords/docs/appendix/metrocodes.html). Metro codes are similar to but not exactly the same as Nielsen DMAs.
optional string metro = 6;getMetro in interface OpenRtbProtobuf.GeoOrBuilderpublic com.google.protobuf.ByteString getMetroBytes()
Pass the metro code (seehttp://code.google.com/apis/adwords/docs/appendix/metrocodes.html). Metro codes are similar to but not exactly the same as Nielsen DMAs.
optional string metro = 6;getMetroBytes in interface OpenRtbProtobuf.GeoOrBuilderpublic boolean hasCity()
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/ser vice/location.htm).
optional string city = 7;hasCity in interface OpenRtbProtobuf.GeoOrBuilderpublic String getCity()
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/ser vice/location.htm).
optional string city = 7;getCity in interface OpenRtbProtobuf.GeoOrBuilderpublic com.google.protobuf.ByteString getCityBytes()
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/ser vice/location.htm).
optional string city = 7;getCityBytes in interface OpenRtbProtobuf.GeoOrBuilderpublic boolean hasZip()
Zip/postal code.
optional string zip = 8;hasZip in interface OpenRtbProtobuf.GeoOrBuilderpublic String getZip()
Zip/postal code.
optional string zip = 8;getZip in interface OpenRtbProtobuf.GeoOrBuilderpublic com.google.protobuf.ByteString getZipBytes()
Zip/postal code.
optional string zip = 8;getZipBytes in interface OpenRtbProtobuf.GeoOrBuilderpublic boolean hasType()
Indicate the source of the geo data (GPS, IP address, user provided). See Table 6.15 Location Type for a list of potential values. Type should be provided when lat/lon is provided.
optional uint32 type = 9;hasType in interface OpenRtbProtobuf.GeoOrBuilderpublic int getType()
Indicate the source of the geo data (GPS, IP address, user provided). See Table 6.15 Location Type for a list of potential values. Type should be provided when lat/lon is provided.
optional uint32 type = 9;getType in interface OpenRtbProtobuf.GeoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static OpenRtbProtobuf.Geo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.Geo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.Geo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.Geo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.Geo parseFrom(InputStream input) throws IOException
IOExceptionpublic static OpenRtbProtobuf.Geo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OpenRtbProtobuf.Geo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OpenRtbProtobuf.Geo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OpenRtbProtobuf.Geo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OpenRtbProtobuf.Geo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OpenRtbProtobuf.Geo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OpenRtbProtobuf.Geo.Builder newBuilder()
public static OpenRtbProtobuf.Geo.Builder newBuilder(OpenRtbProtobuf.Geo prototype)
public OpenRtbProtobuf.Geo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static OpenRtbProtobuf.Geo getDefaultInstance()
public static com.google.protobuf.Parser<OpenRtbProtobuf.Geo> parser()
public com.google.protobuf.Parser<OpenRtbProtobuf.Geo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OpenRtbProtobuf.Geo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.