public static final class BrxRtb095.BidRequest.Geo extends com.google.protobuf.GeneratedMessage implements BrxRtb095.BidRequest.GeoOrBuilder
BidRequest.Geo
Modifier and Type | Class and Description |
---|---|
static class |
BrxRtb095.BidRequest.Geo.Builder
Protobuf type
BidRequest.Geo |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, 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 |
---|---|
private int |
bitField0_ |
private Object |
city_ |
static int |
CITY_FIELD_NUMBER |
private Object |
country_ |
static int |
COUNTRY_FIELD_NUMBER |
private static BrxRtb095.BidRequest.Geo |
defaultInstance |
private float |
lat_ |
static int |
LAT_FIELD_NUMBER |
private float |
lon_ |
static int |
LON_FIELD_NUMBER |
private byte |
memoizedIsInitialized |
private int |
memoizedSerializedSize |
private Object |
metro_ |
static int |
METRO_FIELD_NUMBER |
static com.google.protobuf.Parser<BrxRtb095.BidRequest.Geo> |
PARSER |
private Object |
region_ |
static int |
REGION_FIELD_NUMBER |
private Object |
regionfips104_ |
static int |
REGIONFIPS104_FIELD_NUMBER |
private static long |
serialVersionUID |
private BrxRtb095.GeoType |
type_ |
static int |
TYPE_FIELD_NUMBER |
private com.google.protobuf.UnknownFieldSet |
unknownFields |
private Object |
zip_ |
static int |
ZIP_FIELD_NUMBER |
Modifier | Constructor and Description |
---|---|
private |
Geo(boolean noInit) |
private |
Geo(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
private |
Geo(com.google.protobuf.GeneratedMessage.Builder<?> builder) |
Modifier and Type | Method and Description |
---|---|
String |
getCity()
optional string city = 7; |
com.google.protobuf.ByteString |
getCityBytes()
optional string city = 7; |
String |
getCountry()
optional string country = 3; |
com.google.protobuf.ByteString |
getCountryBytes()
optional string country = 3; |
static BrxRtb095.BidRequest.Geo |
getDefaultInstance() |
BrxRtb095.BidRequest.Geo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
float |
getLat()
optional float lat = 1; |
float |
getLon()
optional float lon = 2; |
String |
getMetro()
optional string metro = 6; |
com.google.protobuf.ByteString |
getMetroBytes()
optional string metro = 6; |
com.google.protobuf.Parser<BrxRtb095.BidRequest.Geo> |
getParserForType() |
String |
getRegion()
optional string region = 4; |
com.google.protobuf.ByteString |
getRegionBytes()
optional string region = 4; |
String |
getRegionfips104()
optional string regionfips104 = 5; |
com.google.protobuf.ByteString |
getRegionfips104Bytes()
optional string regionfips104 = 5; |
int |
getSerializedSize() |
BrxRtb095.GeoType |
getType()
optional .GeoType type = 9 [default = GEOTYPE_UNKNOWN]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getZip()
optional string zip = 8; |
com.google.protobuf.ByteString |
getZipBytes()
optional string zip = 8; |
boolean |
hasCity()
optional string city = 7; |
boolean |
hasCountry()
optional string country = 3; |
boolean |
hasLat()
optional float lat = 1; |
boolean |
hasLon()
optional float lon = 2; |
boolean |
hasMetro()
optional string metro = 6; |
boolean |
hasRegion()
optional string region = 4; |
boolean |
hasRegionfips104()
optional string regionfips104 = 5; |
boolean |
hasType()
optional .GeoType type = 9 [default = GEOTYPE_UNKNOWN]; |
boolean |
hasZip()
optional string zip = 8; |
private void |
initFields() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BrxRtb095.BidRequest.Geo.Builder |
newBuilder() |
static BrxRtb095.BidRequest.Geo.Builder |
newBuilder(BrxRtb095.BidRequest.Geo prototype) |
BrxRtb095.BidRequest.Geo.Builder |
newBuilderForType() |
protected BrxRtb095.BidRequest.Geo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static BrxRtb095.BidRequest.Geo |
parseDelimitedFrom(InputStream input) |
static BrxRtb095.BidRequest.Geo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BrxRtb095.BidRequest.Geo |
parseFrom(byte[] data) |
static BrxRtb095.BidRequest.Geo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BrxRtb095.BidRequest.Geo |
parseFrom(com.google.protobuf.ByteString data) |
static BrxRtb095.BidRequest.Geo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BrxRtb095.BidRequest.Geo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BrxRtb095.BidRequest.Geo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BrxRtb095.BidRequest.Geo |
parseFrom(InputStream input) |
static BrxRtb095.BidRequest.Geo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BrxRtb095.BidRequest.Geo.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
private static final BrxRtb095.BidRequest.Geo defaultInstance
private final com.google.protobuf.UnknownFieldSet unknownFields
public static com.google.protobuf.Parser<BrxRtb095.BidRequest.Geo> PARSER
private int bitField0_
public static final int LAT_FIELD_NUMBER
private float lat_
public static final int LON_FIELD_NUMBER
private float lon_
public static final int COUNTRY_FIELD_NUMBER
private Object country_
public static final int REGION_FIELD_NUMBER
private Object region_
public static final int REGIONFIPS104_FIELD_NUMBER
private Object regionfips104_
public static final int METRO_FIELD_NUMBER
private Object metro_
public static final int CITY_FIELD_NUMBER
private Object city_
public static final int ZIP_FIELD_NUMBER
private Object zip_
public static final int TYPE_FIELD_NUMBER
private BrxRtb095.GeoType type_
private byte memoizedIsInitialized
private int memoizedSerializedSize
private static final long serialVersionUID
private Geo(com.google.protobuf.GeneratedMessage.Builder<?> builder)
private Geo(boolean noInit)
private Geo(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BrxRtb095.BidRequest.Geo getDefaultInstance()
public BrxRtb095.BidRequest.Geo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<BrxRtb095.BidRequest.Geo> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasLat()
optional float lat = 1;
BASED ON OPEN RTB 2.1 GEO OBJECT Child to Device and User objects 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. The geo object itself and all of its parameters are optional. If a parameter is not specified, it should be considered unknown.
hasLat
in interface BrxRtb095.BidRequest.GeoOrBuilder
public float getLat()
optional float lat = 1;
BASED ON OPEN RTB 2.1 GEO OBJECT Child to Device and User objects 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. The geo object itself and all of its parameters are optional. If a parameter is not specified, it should be considered unknown.
getLat
in interface BrxRtb095.BidRequest.GeoOrBuilder
public boolean hasLon()
optional float lon = 2;
Longitude from -180 to 180. West is negative. This will only be passed if known to be accurate.
hasLon
in interface BrxRtb095.BidRequest.GeoOrBuilder
public float getLon()
optional float lon = 2;
Longitude from -180 to 180. West is negative. This will only be passed if known to be accurate.
getLon
in interface BrxRtb095.BidRequest.GeoOrBuilder
public boolean hasCountry()
optional string country = 3;
Country using ISO-3166-1 Alpha-3
hasCountry
in interface BrxRtb095.BidRequest.GeoOrBuilder
public String getCountry()
optional string country = 3;
Country using ISO-3166-1 Alpha-3
getCountry
in interface BrxRtb095.BidRequest.GeoOrBuilder
public com.google.protobuf.ByteString getCountryBytes()
optional string country = 3;
Country using ISO-3166-1 Alpha-3
getCountryBytes
in interface BrxRtb095.BidRequest.GeoOrBuilder
public boolean hasRegion()
optional string region = 4;
Region using ISO 3166-2
hasRegion
in interface BrxRtb095.BidRequest.GeoOrBuilder
public String getRegion()
optional string region = 4;
Region using ISO 3166-2
getRegion
in interface BrxRtb095.BidRequest.GeoOrBuilder
public com.google.protobuf.ByteString getRegionBytes()
optional string region = 4;
Region using ISO 3166-2
getRegionBytes
in interface BrxRtb095.BidRequest.GeoOrBuilder
public boolean hasRegionfips104()
optional string regionfips104 = 5;
Region of a country using fips 10-4 notation (alternative to ISO 3166-2)
hasRegionfips104
in interface BrxRtb095.BidRequest.GeoOrBuilder
public String getRegionfips104()
optional string regionfips104 = 5;
Region of a country using fips 10-4 notation (alternative to ISO 3166-2)
getRegionfips104
in interface BrxRtb095.BidRequest.GeoOrBuilder
public com.google.protobuf.ByteString getRegionfips104Bytes()
optional string regionfips104 = 5;
Region of a country using fips 10-4 notation (alternative to ISO 3166-2)
getRegionfips104Bytes
in interface BrxRtb095.BidRequest.GeoOrBuilder
public boolean hasMetro()
optional string metro = 6;
Metro code. Metro codes are similar to but not exactly the same as Nielsen DMAs.
hasMetro
in interface BrxRtb095.BidRequest.GeoOrBuilder
public String getMetro()
optional string metro = 6;
Metro code. Metro codes are similar to but not exactly the same as Nielsen DMAs.
getMetro
in interface BrxRtb095.BidRequest.GeoOrBuilder
public com.google.protobuf.ByteString getMetroBytes()
optional string metro = 6;
Metro code. Metro codes are similar to but not exactly the same as Nielsen DMAs.
getMetroBytes
in interface BrxRtb095.BidRequest.GeoOrBuilder
public boolean hasCity()
optional string city = 7;
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/service/location.htm)
hasCity
in interface BrxRtb095.BidRequest.GeoOrBuilder
public String getCity()
optional string city = 7;
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/service/location.htm)
getCity
in interface BrxRtb095.BidRequest.GeoOrBuilder
public com.google.protobuf.ByteString getCityBytes()
optional string city = 7;
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/service/location.htm)
getCityBytes
in interface BrxRtb095.BidRequest.GeoOrBuilder
public boolean hasZip()
optional string zip = 8;
Zip/postal code
hasZip
in interface BrxRtb095.BidRequest.GeoOrBuilder
public String getZip()
optional string zip = 8;
Zip/postal code
getZip
in interface BrxRtb095.BidRequest.GeoOrBuilder
public com.google.protobuf.ByteString getZipBytes()
optional string zip = 8;
Zip/postal code
getZipBytes
in interface BrxRtb095.BidRequest.GeoOrBuilder
public boolean hasType()
optional .GeoType type = 9 [default = GEOTYPE_UNKNOWN];
Indicates the source of the geo data (GPS, IP address, user provided)
hasType
in interface BrxRtb095.BidRequest.GeoOrBuilder
public BrxRtb095.GeoType getType()
optional .GeoType type = 9 [default = GEOTYPE_UNKNOWN];
Indicates the source of the geo data (GPS, IP address, user provided)
getType
in interface BrxRtb095.BidRequest.GeoOrBuilder
private void initFields()
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static BrxRtb095.BidRequest.Geo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BrxRtb095.BidRequest.Geo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BrxRtb095.BidRequest.Geo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BrxRtb095.BidRequest.Geo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static BrxRtb095.BidRequest.Geo parseFrom(InputStream input) throws IOException
IOException
public static BrxRtb095.BidRequest.Geo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BrxRtb095.BidRequest.Geo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static BrxRtb095.BidRequest.Geo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BrxRtb095.BidRequest.Geo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static BrxRtb095.BidRequest.Geo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BrxRtb095.BidRequest.Geo.Builder newBuilder()
public BrxRtb095.BidRequest.Geo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static BrxRtb095.BidRequest.Geo.Builder newBuilder(BrxRtb095.BidRequest.Geo prototype)
public BrxRtb095.BidRequest.Geo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected BrxRtb095.BidRequest.Geo.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage