public static final class Extension.TargetingGeoExtension extends com.google.protobuf.GeneratedMessage implements Extension.TargetingGeoExtensionOrBuilder
openrtb.TargetingGeoExtension
This field is used for Geo targeting. It is populated by the LocalAugmentor in Stinger.
| Modifier and Type | Class and Description |
|---|---|
static class |
Extension.TargetingGeoExtension.Builder
Protobuf type
openrtb.TargetingGeoExtension |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| 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 |
|---|---|
String |
getCity()
optional string city = 3 [default = "-1"]; |
com.google.protobuf.ByteString |
getCityBytes()
optional string city = 3 [default = "-1"]; |
String |
getCountry()
optional string country = 1 [default = "000"]; |
com.google.protobuf.ByteString |
getCountryBytes()
optional string country = 1 [default = "000"]; |
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()
optional string region = 2 [default = "000/00"]; |
com.google.protobuf.ByteString |
getRegionBytes()
optional string region = 2 [default = "000/00"]; |
int |
getSerializedSize() |
OpenrtbCommon.Enums.BidRequest.Geo.LocationType |
getType()
optional .openrtb.Enums.BidRequest.Geo.LocationType type = 9; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getZip()
optional string zip = 4 [default = "-1"]; |
com.google.protobuf.ByteString |
getZipBytes()
optional string zip = 4 [default = "-1"]; |
boolean |
hasCity()
optional string city = 3 [default = "-1"]; |
boolean |
hasCountry()
optional string country = 1 [default = "000"]; |
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()
optional string region = 2 [default = "000/00"]; |
boolean |
hasType()
optional .openrtb.Enums.BidRequest.Geo.LocationType type = 9; |
boolean |
hasZip()
optional string zip = 4 [default = "-1"]; |
protected com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, 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.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasCountry()
optional string country = 1 [default = "000"];
Country using ISO-3166-1 Alpha-3.
hasCountry in interface Extension.TargetingGeoExtensionOrBuilderpublic String getCountry()
optional string country = 1 [default = "000"];
Country using ISO-3166-1 Alpha-3.
getCountry in interface Extension.TargetingGeoExtensionOrBuilderpublic com.google.protobuf.ByteString getCountryBytes()
optional string country = 1 [default = "000"];
Country using ISO-3166-1 Alpha-3.
getCountryBytes in interface Extension.TargetingGeoExtensionOrBuilderpublic boolean hasRegion()
optional string region = 2 [default = "000/00"];
Region using ISO 3166-2
hasRegion in interface Extension.TargetingGeoExtensionOrBuilderpublic String getRegion()
optional string region = 2 [default = "000/00"];
Region using ISO 3166-2
getRegion in interface Extension.TargetingGeoExtensionOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
optional string region = 2 [default = "000/00"];
Region using ISO 3166-2
getRegionBytes in interface Extension.TargetingGeoExtensionOrBuilderpublic boolean hasCity()
optional string city = 3 [default = "-1"];
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/service/location.htm).
hasCity in interface Extension.TargetingGeoExtensionOrBuilderpublic String getCity()
optional string city = 3 [default = "-1"];
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/service/location.htm).
getCity in interface Extension.TargetingGeoExtensionOrBuilderpublic com.google.protobuf.ByteString getCityBytes()
optional string city = 3 [default = "-1"];
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/service/location.htm).
getCityBytes in interface Extension.TargetingGeoExtensionOrBuilderpublic boolean hasZip()
optional string zip = 4 [default = "-1"];
Zip/postal code.
hasZip in interface Extension.TargetingGeoExtensionOrBuilderpublic String getZip()
optional string zip = 4 [default = "-1"];
Zip/postal code.
getZip in interface Extension.TargetingGeoExtensionOrBuilderpublic com.google.protobuf.ByteString getZipBytes()
optional string zip = 4 [default = "-1"];
Zip/postal code.
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.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic 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.GeneratedMessagepublic Extension.TargetingGeoExtension getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.