public static final class OpenRtbProtobuf.Geo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OpenRtbProtobuf.Geo.Builder> 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 | Method and Description |
|---|---|
OpenRtbProtobuf.Geo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OpenRtbProtobuf.Geo |
build() |
OpenRtbProtobuf.Geo |
buildPartial() |
OpenRtbProtobuf.Geo.Builder |
clear() |
OpenRtbProtobuf.Geo.Builder |
clearCity()
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/ser vice/location.htm).
|
OpenRtbProtobuf.Geo.Builder |
clearCountry()
Country using ISO-3166-1 Alpha-3.
|
OpenRtbProtobuf.Geo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OpenRtbProtobuf.Geo.Builder |
clearLat()
Latitude from -90 to 90.
|
OpenRtbProtobuf.Geo.Builder |
clearLon()
Longitude from -180 to 180.
|
OpenRtbProtobuf.Geo.Builder |
clearMetro()
Pass the metro code (seehttp://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
|
OpenRtbProtobuf.Geo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OpenRtbProtobuf.Geo.Builder |
clearRegion()
Region using ISO 3166-2.
|
OpenRtbProtobuf.Geo.Builder |
clearRegionfips104()
Region of a country using FIPS 10-4 notation (alternative to ISO 3166-2).
|
OpenRtbProtobuf.Geo.Builder |
clearType()
Indicate the source of the geo data (GPS, IP address, user provided).
|
OpenRtbProtobuf.Geo.Builder |
clearZip()
Zip/postal code.
|
OpenRtbProtobuf.Geo.Builder |
clone() |
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.
|
OpenRtbProtobuf.Geo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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).
|
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 |
getType()
Indicate the source of the geo data (GPS, IP address, user provided).
|
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.
|
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() |
OpenRtbProtobuf.Geo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpenRtbProtobuf.Geo.Builder |
mergeFrom(com.google.protobuf.Message other) |
OpenRtbProtobuf.Geo.Builder |
mergeFrom(OpenRtbProtobuf.Geo other) |
OpenRtbProtobuf.Geo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OpenRtbProtobuf.Geo.Builder |
setCity(String value)
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/ser vice/location.htm).
|
OpenRtbProtobuf.Geo.Builder |
setCityBytes(com.google.protobuf.ByteString value)
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/ser vice/location.htm).
|
OpenRtbProtobuf.Geo.Builder |
setCountry(String value)
Country using ISO-3166-1 Alpha-3.
|
OpenRtbProtobuf.Geo.Builder |
setCountryBytes(com.google.protobuf.ByteString value)
Country using ISO-3166-1 Alpha-3.
|
OpenRtbProtobuf.Geo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OpenRtbProtobuf.Geo.Builder |
setLat(float value)
Latitude from -90 to 90.
|
OpenRtbProtobuf.Geo.Builder |
setLon(float value)
Longitude from -180 to 180.
|
OpenRtbProtobuf.Geo.Builder |
setMetro(String value)
Pass the metro code (seehttp://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
|
OpenRtbProtobuf.Geo.Builder |
setMetroBytes(com.google.protobuf.ByteString value)
Pass the metro code (seehttp://code.google.com/apis/adwords/docs/appendix/metrocodes.html).
|
OpenRtbProtobuf.Geo.Builder |
setRegion(String value)
Region using ISO 3166-2.
|
OpenRtbProtobuf.Geo.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
Region using ISO 3166-2.
|
OpenRtbProtobuf.Geo.Builder |
setRegionfips104(String value)
Region of a country using FIPS 10-4 notation (alternative to ISO 3166-2).
|
OpenRtbProtobuf.Geo.Builder |
setRegionfips104Bytes(com.google.protobuf.ByteString value)
Region of a country using FIPS 10-4 notation (alternative to ISO 3166-2).
|
OpenRtbProtobuf.Geo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OpenRtbProtobuf.Geo.Builder |
setType(int value)
Indicate the source of the geo data (GPS, IP address, user provided).
|
OpenRtbProtobuf.Geo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OpenRtbProtobuf.Geo.Builder |
setZip(String value)
Zip/postal code.
|
OpenRtbProtobuf.Geo.Builder |
setZipBytes(com.google.protobuf.ByteString value)
Zip/postal code.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForFieldfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public OpenRtbProtobuf.Geo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtbProtobuf.Geo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtbProtobuf.Geo.Builder>public OpenRtbProtobuf.Geo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OpenRtbProtobuf.Geo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OpenRtbProtobuf.Geo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OpenRtbProtobuf.Geo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtbProtobuf.Geo.Builder>public OpenRtbProtobuf.Geo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtbProtobuf.Geo.Builder>public OpenRtbProtobuf.Geo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtbProtobuf.Geo.Builder>public OpenRtbProtobuf.Geo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtbProtobuf.Geo.Builder>public OpenRtbProtobuf.Geo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtbProtobuf.Geo.Builder>public OpenRtbProtobuf.Geo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtbProtobuf.Geo.Builder>public OpenRtbProtobuf.Geo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OpenRtbProtobuf.Geo.Builder>public OpenRtbProtobuf.Geo.Builder mergeFrom(OpenRtbProtobuf.Geo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtbProtobuf.Geo.Builder>public OpenRtbProtobuf.Geo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OpenRtbProtobuf.Geo.Builder>IOExceptionpublic 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 OpenRtbProtobuf.Geo.Builder setLat(float value)
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;public OpenRtbProtobuf.Geo.Builder clearLat()
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;public 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 OpenRtbProtobuf.Geo.Builder setLon(float value)
Longitude from -180 to 180. West is negative. This should only be passed if known to be accurate.
optional float lon = 2;public OpenRtbProtobuf.Geo.Builder clearLon()
Longitude from -180 to 180. West is negative. This should only be passed if known to be accurate.
optional float lon = 2;public 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 OpenRtbProtobuf.Geo.Builder setCountry(String value)
Country using ISO-3166-1 Alpha-3.
optional string country = 3;public OpenRtbProtobuf.Geo.Builder clearCountry()
Country using ISO-3166-1 Alpha-3.
optional string country = 3;public OpenRtbProtobuf.Geo.Builder setCountryBytes(com.google.protobuf.ByteString value)
Country using ISO-3166-1 Alpha-3.
optional string country = 3;public 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 OpenRtbProtobuf.Geo.Builder setRegion(String value)
Region using ISO 3166-2.
optional string region = 4;public OpenRtbProtobuf.Geo.Builder clearRegion()
Region using ISO 3166-2.
optional string region = 4;public OpenRtbProtobuf.Geo.Builder setRegionBytes(com.google.protobuf.ByteString value)
Region using ISO 3166-2.
optional string region = 4;public 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 OpenRtbProtobuf.Geo.Builder setRegionfips104(String value)
Region of a country using FIPS 10-4 notation (alternative to ISO 3166-2).
optional string regionfips104 = 5;public OpenRtbProtobuf.Geo.Builder clearRegionfips104()
Region of a country using FIPS 10-4 notation (alternative to ISO 3166-2).
optional string regionfips104 = 5;public OpenRtbProtobuf.Geo.Builder setRegionfips104Bytes(com.google.protobuf.ByteString value)
Region of a country using FIPS 10-4 notation (alternative to ISO 3166-2).
optional string regionfips104 = 5;public 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 OpenRtbProtobuf.Geo.Builder setMetro(String value)
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;public OpenRtbProtobuf.Geo.Builder clearMetro()
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;public OpenRtbProtobuf.Geo.Builder setMetroBytes(com.google.protobuf.ByteString value)
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;public 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 OpenRtbProtobuf.Geo.Builder setCity(String value)
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/ser vice/location.htm).
optional string city = 7;public OpenRtbProtobuf.Geo.Builder clearCity()
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/ser vice/location.htm).
optional string city = 7;public OpenRtbProtobuf.Geo.Builder setCityBytes(com.google.protobuf.ByteString value)
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/ser vice/location.htm).
optional string city = 7;public 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 OpenRtbProtobuf.Geo.Builder setZip(String value)
Zip/postal code.
optional string zip = 8;public OpenRtbProtobuf.Geo.Builder clearZip()
Zip/postal code.
optional string zip = 8;public OpenRtbProtobuf.Geo.Builder setZipBytes(com.google.protobuf.ByteString value)
Zip/postal code.
optional string zip = 8;public 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 OpenRtbProtobuf.Geo.Builder setType(int value)
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;public OpenRtbProtobuf.Geo.Builder clearType()
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;public final OpenRtbProtobuf.Geo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtbProtobuf.Geo.Builder>public final OpenRtbProtobuf.Geo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OpenRtbProtobuf.Geo.Builder>Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.