@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class BidThrift extends Object implements TBase<BidThrift,BidThrift._Fields>, Serializable, Cloneable, Comparable<BidThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
BidThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
String |
adid
ID that references the ad to be served if the bid wins.
|
String |
adm
Actual ad markup.
|
List<String> |
adomain
Advertiser’s primary or top-level domain for advertiser checking.
|
List<Short> |
attr
Array of creative attributes.
|
String |
cid
Campaign ID or similar that appears within the ad markup.
|
String |
crid
Creative ID for reporting content issues or defects.
|
String |
dealid
A unique identifier for the direct deal associated with the bid.
|
int |
h
Height of the ad in pixels.
|
String |
id
ID for the bid object chosen by the bidder for tracking and debugging purposes.
|
String |
impid
ID of the impression object to which this bid applies.
|
String |
lurl
Sample image URL (without cache busting) for content checking.
|
static Map<BidThrift._Fields,FieldMetaData> |
metaDataMap |
String |
nurl
Win notice URL.
|
double |
price
Bid price in CPM.
|
int |
w
Width of the ad in pixels.
|
| Constructor and Description |
|---|
BidThrift() |
BidThrift(BidThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToAdomain(String elem) |
void |
addToAttr(short elem) |
void |
clear() |
int |
compareTo(BidThrift other) |
BidThrift |
deepCopy() |
boolean |
equals(BidThrift that) |
boolean |
equals(Object that) |
BidThrift._Fields |
fieldForId(int fieldId) |
String |
getAdid()
ID that references the ad to be served if the bid wins.
|
String |
getAdm()
Actual ad markup.
|
List<String> |
getAdomain()
Advertiser’s primary or top-level domain for advertiser checking.
|
Iterator<String> |
getAdomainIterator() |
int |
getAdomainSize() |
List<Short> |
getAttr()
Array of creative attributes.
|
Iterator<Short> |
getAttrIterator() |
int |
getAttrSize() |
String |
getCid()
Campaign ID or similar that appears within the ad markup.
|
String |
getCrid()
Creative ID for reporting content issues or defects.
|
String |
getDealid()
A unique identifier for the direct deal associated with the bid.
|
Object |
getFieldValue(BidThrift._Fields field) |
int |
getH()
Height of the ad in pixels.
|
String |
getId()
ID for the bid object chosen by the bidder for tracking and debugging purposes.
|
String |
getImpid()
ID of the impression object to which this bid applies.
|
String |
getLurl()
Sample image URL (without cache busting) for content checking.
|
String |
getNurl()
Win notice URL.
|
double |
getPrice()
Bid price in CPM.
|
int |
getW()
Width of the ad in pixels.
|
int |
hashCode() |
boolean |
isSet(BidThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAdid()
Returns true if field adid is set (has been assigned a value) and false otherwise
|
boolean |
isSetAdm()
Returns true if field adm is set (has been assigned a value) and false otherwise
|
boolean |
isSetAdomain()
Returns true if field adomain is set (has been assigned a value) and false otherwise
|
boolean |
isSetAttr()
Returns true if field attr is set (has been assigned a value) and false otherwise
|
boolean |
isSetCid()
Returns true if field cid is set (has been assigned a value) and false otherwise
|
boolean |
isSetCrid()
Returns true if field crid is set (has been assigned a value) and false otherwise
|
boolean |
isSetDealid()
Returns true if field dealid is set (has been assigned a value) and false otherwise
|
boolean |
isSetH()
Returns true if field h is set (has been assigned a value) and false otherwise
|
boolean |
isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise
|
boolean |
isSetImpid()
Returns true if field impid is set (has been assigned a value) and false otherwise
|
boolean |
isSetLurl()
Returns true if field lurl is set (has been assigned a value) and false otherwise
|
boolean |
isSetNurl()
Returns true if field nurl is set (has been assigned a value) and false otherwise
|
boolean |
isSetPrice()
Returns true if field price is set (has been assigned a value) and false otherwise
|
boolean |
isSetW()
Returns true if field w is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
BidThrift |
setAdid(String adid)
ID that references the ad to be served if the bid wins.
|
void |
setAdidIsSet(boolean value) |
BidThrift |
setAdm(String adm)
Actual ad markup.
|
void |
setAdmIsSet(boolean value) |
BidThrift |
setAdomain(List<String> adomain)
Advertiser’s primary or top-level domain for advertiser checking.
|
void |
setAdomainIsSet(boolean value) |
BidThrift |
setAttr(List<Short> attr)
Array of creative attributes.
|
void |
setAttrIsSet(boolean value) |
BidThrift |
setCid(String cid)
Campaign ID or similar that appears within the ad markup.
|
void |
setCidIsSet(boolean value) |
BidThrift |
setCrid(String crid)
Creative ID for reporting content issues or defects.
|
void |
setCridIsSet(boolean value) |
BidThrift |
setDealid(String dealid)
A unique identifier for the direct deal associated with the bid.
|
void |
setDealidIsSet(boolean value) |
void |
setFieldValue(BidThrift._Fields field,
Object value) |
BidThrift |
setH(int h)
Height of the ad in pixels.
|
void |
setHIsSet(boolean value) |
BidThrift |
setId(String id)
ID for the bid object chosen by the bidder for tracking and debugging purposes.
|
void |
setIdIsSet(boolean value) |
BidThrift |
setImpid(String impid)
ID of the impression object to which this bid applies.
|
void |
setImpidIsSet(boolean value) |
BidThrift |
setLurl(String lurl)
Sample image URL (without cache busting) for content checking.
|
void |
setLurlIsSet(boolean value) |
BidThrift |
setNurl(String nurl)
Win notice URL.
|
void |
setNurlIsSet(boolean value) |
BidThrift |
setPrice(double price)
Bid price in CPM.
|
void |
setPriceIsSet(boolean value) |
BidThrift |
setW(int w)
Width of the ad in pixels.
|
void |
setWIsSet(boolean value) |
String |
toString() |
void |
unsetAdid() |
void |
unsetAdm() |
void |
unsetAdomain() |
void |
unsetAttr() |
void |
unsetCid() |
void |
unsetCrid() |
void |
unsetDealid() |
void |
unsetH() |
void |
unsetId() |
void |
unsetImpid() |
void |
unsetLurl() |
void |
unsetNurl() |
void |
unsetPrice() |
void |
unsetW() |
void |
validate() |
void |
write(TProtocol oprot) |
public String id
public String impid
public double price
public String adid
public String nurl
public String adm
public List<String> adomain
public String lurl
public String cid
public String crid
public String dealid
public int w
public int h
public static final Map<BidThrift._Fields,FieldMetaData> metaDataMap
public BidThrift()
public BidThrift(BidThrift other)
public BidThrift deepCopy()
deepCopy in interface TBase<BidThrift,BidThrift._Fields>public void clear()
clear in interface TBase<BidThrift,BidThrift._Fields>public String getId()
public BidThrift setId(String id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public String getImpid()
public BidThrift setImpid(String impid)
public void unsetImpid()
public boolean isSetImpid()
public void setImpidIsSet(boolean value)
public double getPrice()
public BidThrift setPrice(double price)
public void unsetPrice()
public boolean isSetPrice()
public void setPriceIsSet(boolean value)
public String getAdid()
public BidThrift setAdid(String adid)
public void unsetAdid()
public boolean isSetAdid()
public void setAdidIsSet(boolean value)
public String getNurl()
public BidThrift setNurl(String nurl)
public void unsetNurl()
public boolean isSetNurl()
public void setNurlIsSet(boolean value)
public String getAdm()
public BidThrift setAdm(String adm)
public void unsetAdm()
public boolean isSetAdm()
public void setAdmIsSet(boolean value)
public int getAdomainSize()
public void addToAdomain(String elem)
public List<String> getAdomain()
public BidThrift setAdomain(List<String> adomain)
public void unsetAdomain()
public boolean isSetAdomain()
public void setAdomainIsSet(boolean value)
public String getLurl()
public BidThrift setLurl(String lurl)
public void unsetLurl()
public boolean isSetLurl()
public void setLurlIsSet(boolean value)
public String getCid()
public BidThrift setCid(String cid)
public void unsetCid()
public boolean isSetCid()
public void setCidIsSet(boolean value)
public String getCrid()
public BidThrift setCrid(String crid)
public void unsetCrid()
public boolean isSetCrid()
public void setCridIsSet(boolean value)
public int getAttrSize()
public void addToAttr(short elem)
public List<Short> getAttr()
public BidThrift setAttr(List<Short> attr)
public void unsetAttr()
public boolean isSetAttr()
public void setAttrIsSet(boolean value)
public String getDealid()
public BidThrift setDealid(String dealid)
public void unsetDealid()
public boolean isSetDealid()
public void setDealidIsSet(boolean value)
public int getW()
public BidThrift setW(int w)
public void unsetW()
public boolean isSetW()
public void setWIsSet(boolean value)
public int getH()
public BidThrift setH(int h)
public void unsetH()
public boolean isSetH()
public void setHIsSet(boolean value)
public void setFieldValue(BidThrift._Fields field, Object value)
setFieldValue in interface TBase<BidThrift,BidThrift._Fields>public Object getFieldValue(BidThrift._Fields field)
getFieldValue in interface TBase<BidThrift,BidThrift._Fields>public boolean isSet(BidThrift._Fields field)
isSet in interface TBase<BidThrift,BidThrift._Fields>public boolean equals(BidThrift that)
public int compareTo(BidThrift other)
compareTo in interface Comparable<BidThrift>public BidThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<BidThrift,BidThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<BidThrift,BidThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<BidThrift,BidThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.