public static final class Extension.TargetingGeoExtension extends com.google.protobuf.GeneratedMessageV3 implements Extension.TargetingGeoExtensionOrBuilder
This field is used for Geo targeting. It is populated by the LocalAugmentor in Stinger.Protobuf type
openrtb.TargetingGeoExtension| Modifier and Type | Class and Description |
|---|---|
static class |
Extension.TargetingGeoExtension.Builder
This field is used for Geo targeting.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, 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 |
LAT_LONG_PRESENT_FIELD_NUMBER |
static int |
LON_FIELD_NUMBER |
static int |
METRO_FIELD_NUMBER |
static com.google.protobuf.Parser<Extension.TargetingGeoExtension> |
PARSER
Deprecated.
|
static int |
REGION_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/service/location.htm).
|
com.google.protobuf.ByteString |
getCityBytes()
City using United Nations Code for Trade and Transport Locations
(http://www.unece.org/cefact/locode/service/location.htm).
|
String |
getCountry()
Country using ISO-3166-1 Alpha-3.
|
com.google.protobuf.ByteString |
getCountryBytes()
Country using ISO-3166-1 Alpha-3.
|
static Extension.TargetingGeoExtension |
getDefaultInstance() |
Extension.TargetingGeoExtension |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
double |
getLat()
optional double lat = 7; |
boolean |
getLatLongPresent()
optional bool lat_long_present = 6 [default = false]; |
double |
getLon()
optional double lon = 8; |
String |
getMetro()
optional string metro = 5 [default = "000"]; |
com.google.protobuf.ByteString |
getMetroBytes()
optional string metro = 5 [default = "000"]; |
com.google.protobuf.Parser<Extension.TargetingGeoExtension> |
getParserForType() |
String |
getRegion()
Region using ISO 3166-2
|
com.google.protobuf.ByteString |
getRegionBytes()
Region using ISO 3166-2
|
int |
getSerializedSize() |
OpenrtbCommon.Enums.BidRequest.Geo.LocationType |
getType()
optional .openrtb.Enums.BidRequest.Geo.LocationType type = 9; |
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/service/location.htm).
|
boolean |
hasCountry()
Country using ISO-3166-1 Alpha-3.
|
int |
hashCode() |
boolean |
hasLat()
optional double lat = 7; |
boolean |
hasLatLongPresent()
optional bool lat_long_present = 6 [default = false]; |
boolean |
hasLon()
optional double lon = 8; |
boolean |
hasMetro()
optional string metro = 5 [default = "000"]; |
boolean |
hasRegion()
Region using ISO 3166-2
|
boolean |
hasType()
optional .openrtb.Enums.BidRequest.Geo.LocationType type = 9; |
boolean |
hasZip()
Zip/postal code.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Extension.TargetingGeoExtension.Builder |
newBuilder() |
static Extension.TargetingGeoExtension.Builder |
newBuilder(Extension.TargetingGeoExtension prototype) |
Extension.TargetingGeoExtension.Builder |
newBuilderForType() |
protected Extension.TargetingGeoExtension.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Extension.TargetingGeoExtension |
parseDelimitedFrom(InputStream input) |
static Extension.TargetingGeoExtension |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension.TargetingGeoExtension |
parseFrom(byte[] data) |
static Extension.TargetingGeoExtension |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension.TargetingGeoExtension |
parseFrom(com.google.protobuf.ByteString data) |
static Extension.TargetingGeoExtension |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension.TargetingGeoExtension |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Extension.TargetingGeoExtension |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension.TargetingGeoExtension |
parseFrom(InputStream input) |
static Extension.TargetingGeoExtension |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Extension.TargetingGeoExtension> |
parser() |
Extension.TargetingGeoExtension.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int COUNTRY_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
public static final int CITY_FIELD_NUMBER
public static final int ZIP_FIELD_NUMBER
public static final int METRO_FIELD_NUMBER
public static final int LAT_LONG_PRESENT_FIELD_NUMBER
public static final int LAT_FIELD_NUMBER
public static final int LON_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Extension.TargetingGeoExtension> 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()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasCountry()
Country using ISO-3166-1 Alpha-3.
optional string country = 1 [default = "000"];hasCountry in interface Extension.TargetingGeoExtensionOrBuilderpublic String getCountry()
Country using ISO-3166-1 Alpha-3.
optional string country = 1 [default = "000"];getCountry in interface Extension.TargetingGeoExtensionOrBuilderpublic com.google.protobuf.ByteString getCountryBytes()
Country using ISO-3166-1 Alpha-3.
optional string country = 1 [default = "000"];getCountryBytes in interface Extension.TargetingGeoExtensionOrBuilderpublic boolean hasRegion()
Region using ISO 3166-2
optional string region = 2 [default = "000/00"];hasRegion in interface Extension.TargetingGeoExtensionOrBuilderpublic String getRegion()
Region using ISO 3166-2
optional string region = 2 [default = "000/00"];getRegion in interface Extension.TargetingGeoExtensionOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
Region using ISO 3166-2
optional string region = 2 [default = "000/00"];getRegionBytes in interface Extension.TargetingGeoExtensionOrBuilderpublic boolean hasCity()
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/service/location.htm).
optional string city = 3 [default = "-1"];hasCity in interface Extension.TargetingGeoExtensionOrBuilderpublic String getCity()
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/service/location.htm).
optional string city = 3 [default = "-1"];getCity in interface Extension.TargetingGeoExtensionOrBuilderpublic com.google.protobuf.ByteString getCityBytes()
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/service/location.htm).
optional string city = 3 [default = "-1"];getCityBytes in interface Extension.TargetingGeoExtensionOrBuilderpublic boolean hasZip()
Zip/postal code.
optional string zip = 4 [default = "-1"];hasZip in interface Extension.TargetingGeoExtensionOrBuilderpublic String getZip()
Zip/postal code.
optional string zip = 4 [default = "-1"];getZip in interface Extension.TargetingGeoExtensionOrBuilderpublic com.google.protobuf.ByteString getZipBytes()
Zip/postal code.
optional string zip = 4 [default = "-1"];getZipBytes in interface Extension.TargetingGeoExtensionOrBuilderpublic boolean hasMetro()
optional string metro = 5 [default = "000"];hasMetro in interface Extension.TargetingGeoExtensionOrBuilderpublic String getMetro()
optional string metro = 5 [default = "000"];getMetro in interface Extension.TargetingGeoExtensionOrBuilderpublic com.google.protobuf.ByteString getMetroBytes()
optional string metro = 5 [default = "000"];getMetroBytes in interface Extension.TargetingGeoExtensionOrBuilderpublic boolean hasLatLongPresent()
optional bool lat_long_present = 6 [default = false];hasLatLongPresent in interface Extension.TargetingGeoExtensionOrBuilderpublic boolean getLatLongPresent()
optional bool lat_long_present = 6 [default = false];getLatLongPresent in interface Extension.TargetingGeoExtensionOrBuilderpublic boolean hasLat()
optional double lat = 7;hasLat in interface Extension.TargetingGeoExtensionOrBuilderpublic double getLat()
optional double lat = 7;getLat in interface Extension.TargetingGeoExtensionOrBuilderpublic boolean hasLon()
optional double lon = 8;hasLon in interface Extension.TargetingGeoExtensionOrBuilderpublic double getLon()
optional double lon = 8;getLon in interface Extension.TargetingGeoExtensionOrBuilderpublic boolean hasType()
optional .openrtb.Enums.BidRequest.Geo.LocationType type = 9;hasType in interface Extension.TargetingGeoExtensionOrBuilderpublic OpenrtbCommon.Enums.BidRequest.Geo.LocationType getType()
optional .openrtb.Enums.BidRequest.Geo.LocationType type = 9;getType in interface Extension.TargetingGeoExtensionOrBuilderpublic 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 Extension.TargetingGeoExtension parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension.TargetingGeoExtension parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension.TargetingGeoExtension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension.TargetingGeoExtension parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension.TargetingGeoExtension parseFrom(InputStream input) throws IOException
IOExceptionpublic static Extension.TargetingGeoExtension parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Extension.TargetingGeoExtension parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Extension.TargetingGeoExtension parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Extension.TargetingGeoExtension parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Extension.TargetingGeoExtension parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Extension.TargetingGeoExtension.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Extension.TargetingGeoExtension.Builder newBuilder()
public static Extension.TargetingGeoExtension.Builder newBuilder(Extension.TargetingGeoExtension prototype)
public Extension.TargetingGeoExtension.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Extension.TargetingGeoExtension.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Extension.TargetingGeoExtension getDefaultInstance()
public static com.google.protobuf.Parser<Extension.TargetingGeoExtension> parser()
public com.google.protobuf.Parser<Extension.TargetingGeoExtension> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Extension.TargetingGeoExtension getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.