public static final class BrxRtb095.BidRequest.Geo.Builder extends com.google.protobuf.GeneratedMessage.Builder<BrxRtb095.BidRequest.Geo.Builder> implements BrxRtb095.BidRequest.GeoOrBuilder
BidRequest.Geo
Modifier and Type | Field and Description |
---|---|
private int |
bitField0_ |
private Object |
city_ |
private Object |
country_ |
private float |
lat_ |
private float |
lon_ |
private Object |
metro_ |
private Object |
region_ |
private Object |
regionfips104_ |
private BrxRtb095.GeoType |
type_ |
private Object |
zip_ |
Modifier | Constructor and Description |
---|---|
private |
Builder() |
private |
Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
Modifier and Type | Method and Description |
---|---|
BrxRtb095.BidRequest.Geo |
build() |
BrxRtb095.BidRequest.Geo |
buildPartial() |
BrxRtb095.BidRequest.Geo.Builder |
clear() |
BrxRtb095.BidRequest.Geo.Builder |
clearCity()
optional string city = 7; |
BrxRtb095.BidRequest.Geo.Builder |
clearCountry()
optional string country = 3; |
BrxRtb095.BidRequest.Geo.Builder |
clearLat()
optional float lat = 1; |
BrxRtb095.BidRequest.Geo.Builder |
clearLon()
optional float lon = 2; |
BrxRtb095.BidRequest.Geo.Builder |
clearMetro()
optional string metro = 6; |
BrxRtb095.BidRequest.Geo.Builder |
clearRegion()
optional string region = 4; |
BrxRtb095.BidRequest.Geo.Builder |
clearRegionfips104()
optional string regionfips104 = 5; |
BrxRtb095.BidRequest.Geo.Builder |
clearType()
optional .GeoType type = 9 [default = GEOTYPE_UNKNOWN]; |
BrxRtb095.BidRequest.Geo.Builder |
clearZip()
optional string zip = 8; |
BrxRtb095.BidRequest.Geo.Builder |
clone() |
private static BrxRtb095.BidRequest.Geo.Builder |
create() |
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; |
BrxRtb095.BidRequest.Geo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
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; |
BrxRtb095.GeoType |
getType()
optional .GeoType type = 9 [default = GEOTYPE_UNKNOWN]; |
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; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
private void |
maybeForceBuilderInitialization() |
BrxRtb095.BidRequest.Geo.Builder |
mergeFrom(BrxRtb095.BidRequest.Geo other) |
BrxRtb095.BidRequest.Geo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BrxRtb095.BidRequest.Geo.Builder |
mergeFrom(com.google.protobuf.Message other) |
BrxRtb095.BidRequest.Geo.Builder |
setCity(String value)
optional string city = 7; |
BrxRtb095.BidRequest.Geo.Builder |
setCityBytes(com.google.protobuf.ByteString value)
optional string city = 7; |
BrxRtb095.BidRequest.Geo.Builder |
setCountry(String value)
optional string country = 3; |
BrxRtb095.BidRequest.Geo.Builder |
setCountryBytes(com.google.protobuf.ByteString value)
optional string country = 3; |
BrxRtb095.BidRequest.Geo.Builder |
setLat(float value)
optional float lat = 1; |
BrxRtb095.BidRequest.Geo.Builder |
setLon(float value)
optional float lon = 2; |
BrxRtb095.BidRequest.Geo.Builder |
setMetro(String value)
optional string metro = 6; |
BrxRtb095.BidRequest.Geo.Builder |
setMetroBytes(com.google.protobuf.ByteString value)
optional string metro = 6; |
BrxRtb095.BidRequest.Geo.Builder |
setRegion(String value)
optional string region = 4; |
BrxRtb095.BidRequest.Geo.Builder |
setRegionBytes(com.google.protobuf.ByteString value)
optional string region = 4; |
BrxRtb095.BidRequest.Geo.Builder |
setRegionfips104(String value)
optional string regionfips104 = 5; |
BrxRtb095.BidRequest.Geo.Builder |
setRegionfips104Bytes(com.google.protobuf.ByteString value)
optional string regionfips104 = 5; |
BrxRtb095.BidRequest.Geo.Builder |
setType(BrxRtb095.GeoType value)
optional .GeoType type = 9 [default = GEOTYPE_UNKNOWN]; |
BrxRtb095.BidRequest.Geo.Builder |
setZip(String value)
optional string zip = 8; |
BrxRtb095.BidRequest.Geo.Builder |
setZipBytes(com.google.protobuf.ByteString value)
optional string zip = 8; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, newUninitializedMessageException
private int bitField0_
private float lat_
private float lon_
private Object country_
private Object region_
private Object regionfips104_
private Object metro_
private Object city_
private Object zip_
private BrxRtb095.GeoType type_
private Builder()
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<BrxRtb095.BidRequest.Geo.Builder>
private void maybeForceBuilderInitialization()
private static BrxRtb095.BidRequest.Geo.Builder create()
public BrxRtb095.BidRequest.Geo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<BrxRtb095.BidRequest.Geo.Builder>
public BrxRtb095.BidRequest.Geo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<BrxRtb095.BidRequest.Geo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<BrxRtb095.BidRequest.Geo.Builder>
public BrxRtb095.BidRequest.Geo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BrxRtb095.BidRequest.Geo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BrxRtb095.BidRequest.Geo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public BrxRtb095.BidRequest.Geo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BrxRtb095.BidRequest.Geo.Builder>
public BrxRtb095.BidRequest.Geo.Builder mergeFrom(BrxRtb095.BidRequest.Geo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<BrxRtb095.BidRequest.Geo.Builder>
public BrxRtb095.BidRequest.Geo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BrxRtb095.BidRequest.Geo.Builder>
IOException
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 BrxRtb095.BidRequest.Geo.Builder setLat(float value)
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.
public BrxRtb095.BidRequest.Geo.Builder clearLat()
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.
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 BrxRtb095.BidRequest.Geo.Builder setLon(float value)
optional float lon = 2;
Longitude from -180 to 180. West is negative. This will only be passed if known to be accurate.
public BrxRtb095.BidRequest.Geo.Builder clearLon()
optional float lon = 2;
Longitude from -180 to 180. West is negative. This will only be passed if known to be accurate.
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 BrxRtb095.BidRequest.Geo.Builder setCountry(String value)
optional string country = 3;
Country using ISO-3166-1 Alpha-3
public BrxRtb095.BidRequest.Geo.Builder clearCountry()
optional string country = 3;
Country using ISO-3166-1 Alpha-3
public BrxRtb095.BidRequest.Geo.Builder setCountryBytes(com.google.protobuf.ByteString value)
optional string country = 3;
Country using ISO-3166-1 Alpha-3
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 BrxRtb095.BidRequest.Geo.Builder setRegion(String value)
optional string region = 4;
Region using ISO 3166-2
public BrxRtb095.BidRequest.Geo.Builder clearRegion()
optional string region = 4;
Region using ISO 3166-2
public BrxRtb095.BidRequest.Geo.Builder setRegionBytes(com.google.protobuf.ByteString value)
optional string region = 4;
Region using ISO 3166-2
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 BrxRtb095.BidRequest.Geo.Builder setRegionfips104(String value)
optional string regionfips104 = 5;
Region of a country using fips 10-4 notation (alternative to ISO 3166-2)
public BrxRtb095.BidRequest.Geo.Builder clearRegionfips104()
optional string regionfips104 = 5;
Region of a country using fips 10-4 notation (alternative to ISO 3166-2)
public BrxRtb095.BidRequest.Geo.Builder setRegionfips104Bytes(com.google.protobuf.ByteString value)
optional string regionfips104 = 5;
Region of a country using fips 10-4 notation (alternative to ISO 3166-2)
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 BrxRtb095.BidRequest.Geo.Builder setMetro(String value)
optional string metro = 6;
Metro code. Metro codes are similar to but not exactly the same as Nielsen DMAs.
public BrxRtb095.BidRequest.Geo.Builder clearMetro()
optional string metro = 6;
Metro code. Metro codes are similar to but not exactly the same as Nielsen DMAs.
public BrxRtb095.BidRequest.Geo.Builder setMetroBytes(com.google.protobuf.ByteString value)
optional string metro = 6;
Metro code. Metro codes are similar to but not exactly the same as Nielsen DMAs.
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 BrxRtb095.BidRequest.Geo.Builder setCity(String value)
optional string city = 7;
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/service/location.htm)
public BrxRtb095.BidRequest.Geo.Builder clearCity()
optional string city = 7;
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/service/location.htm)
public BrxRtb095.BidRequest.Geo.Builder setCityBytes(com.google.protobuf.ByteString value)
optional string city = 7;
City using United Nations Code for Trade and Transport Locations (http://www.unece.org/cefact/locode/service/location.htm)
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 BrxRtb095.BidRequest.Geo.Builder setZip(String value)
optional string zip = 8;
Zip/postal code
public BrxRtb095.BidRequest.Geo.Builder clearZip()
optional string zip = 8;
Zip/postal code
public BrxRtb095.BidRequest.Geo.Builder setZipBytes(com.google.protobuf.ByteString value)
optional string zip = 8;
Zip/postal code
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
public BrxRtb095.BidRequest.Geo.Builder setType(BrxRtb095.GeoType value)
optional .GeoType type = 9 [default = GEOTYPE_UNKNOWN];
Indicates the source of the geo data (GPS, IP address, user provided)
public BrxRtb095.BidRequest.Geo.Builder clearType()
optional .GeoType type = 9 [default = GEOTYPE_UNKNOWN];
Indicates the source of the geo data (GPS, IP address, user provided)