@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class BidRequestThrift extends Object implements TBase<BidRequestThrift,BidRequestThrift._Fields>, Serializable, Cloneable, Comparable<BidRequestThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
BidRequestThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
byte |
allimps
Flag to indicate whether Exchange can verify that all impressions offered represent all of the impressions available in context (e.g., all impressions available on the web page; all impressions available for a video [pre, mid and postroll spots], etc.) to support road-blocking.
|
AppThrift |
app
See App Object.
|
short |
at
Auction Type.
|
List<String> |
badv
Array of strings of blocked top-level domains of advertisers.
|
List<String> |
bcat
Blocked Advertiser Categories.
|
List<String> |
cur
Array of allowed currencies for bids on this bid request using ISO-4217 alphabetic codes.
|
DeviceThrift |
device
See Device Object.
|
String |
id
Unique ID of the bid request, provided by the exchange.
|
List<ImpressionThrift> |
imp
Array of impression objects.
|
static Map<BidRequestThrift._Fields,FieldMetaData> |
metaDataMap |
RegulationsThrift |
regs
This object is a container for any legal, governmental or industry regulations in force for the request.
|
SiteThrift |
site
See Site Object.
|
int |
tmax
Maximum amount of time in milliseconds to submit a bid (e.g., 120 means the bidder has 120ms to submit a bid before the auction is complete).
|
UserThrift |
user
See User Object.
|
List<String> |
wseat
Array of buyer seats allowed to bid on this auction.
|
| Constructor and Description |
|---|
BidRequestThrift() |
BidRequestThrift(BidRequestThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToBadv(String elem) |
void |
addToBcat(String elem) |
void |
addToCur(String elem) |
void |
addToImp(ImpressionThrift elem) |
void |
addToWseat(String elem) |
void |
clear() |
int |
compareTo(BidRequestThrift other) |
BidRequestThrift |
deepCopy() |
boolean |
equals(BidRequestThrift that) |
boolean |
equals(Object that) |
BidRequestThrift._Fields |
fieldForId(int fieldId) |
byte |
getAllimps()
Flag to indicate whether Exchange can verify that all impressions offered represent all of the impressions available in context (e.g., all impressions available on the web page; all impressions available for a video [pre, mid and postroll spots], etc.) to support road-blocking.
|
AppThrift |
getApp()
See App Object.
|
short |
getAt()
Auction Type.
|
List<String> |
getBadv()
Array of strings of blocked top-level domains of advertisers.
|
Iterator<String> |
getBadvIterator() |
int |
getBadvSize() |
List<String> |
getBcat()
Blocked Advertiser Categories.
|
Iterator<String> |
getBcatIterator() |
int |
getBcatSize() |
List<String> |
getCur()
Array of allowed currencies for bids on this bid request using ISO-4217 alphabetic codes.
|
Iterator<String> |
getCurIterator() |
int |
getCurSize() |
DeviceThrift |
getDevice()
See Device Object.
|
Object |
getFieldValue(BidRequestThrift._Fields field) |
String |
getId()
Unique ID of the bid request, provided by the exchange.
|
List<ImpressionThrift> |
getImp()
Array of impression objects.
|
Iterator<ImpressionThrift> |
getImpIterator() |
int |
getImpSize() |
RegulationsThrift |
getRegs()
This object is a container for any legal, governmental or industry regulations in force for the request.
|
SiteThrift |
getSite()
See Site Object.
|
int |
getTmax()
Maximum amount of time in milliseconds to submit a bid (e.g., 120 means the bidder has 120ms to submit a bid before the auction is complete).
|
UserThrift |
getUser()
See User Object.
|
List<String> |
getWseat()
Array of buyer seats allowed to bid on this auction.
|
Iterator<String> |
getWseatIterator() |
int |
getWseatSize() |
int |
hashCode() |
boolean |
isSet(BidRequestThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAllimps()
Returns true if field allimps is set (has been assigned a value) and false otherwise
|
boolean |
isSetApp()
Returns true if field app is set (has been assigned a value) and false otherwise
|
boolean |
isSetAt()
Returns true if field at is set (has been assigned a value) and false otherwise
|
boolean |
isSetBadv()
Returns true if field badv is set (has been assigned a value) and false otherwise
|
boolean |
isSetBcat()
Returns true if field bcat is set (has been assigned a value) and false otherwise
|
boolean |
isSetCur()
Returns true if field cur is set (has been assigned a value) and false otherwise
|
boolean |
isSetDevice()
Returns true if field device 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 |
isSetImp()
Returns true if field imp is set (has been assigned a value) and false otherwise
|
boolean |
isSetRegs()
Returns true if field regs is set (has been assigned a value) and false otherwise
|
boolean |
isSetSite()
Returns true if field site is set (has been assigned a value) and false otherwise
|
boolean |
isSetTmax()
Returns true if field tmax is set (has been assigned a value) and false otherwise
|
boolean |
isSetUser()
Returns true if field user is set (has been assigned a value) and false otherwise
|
boolean |
isSetWseat()
Returns true if field wseat is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
BidRequestThrift |
setAllimps(byte allimps)
Flag to indicate whether Exchange can verify that all impressions offered represent all of the impressions available in context (e.g., all impressions available on the web page; all impressions available for a video [pre, mid and postroll spots], etc.) to support road-blocking.
|
void |
setAllimpsIsSet(boolean value) |
BidRequestThrift |
setApp(AppThrift app)
See App Object.
|
void |
setAppIsSet(boolean value) |
BidRequestThrift |
setAt(short at)
Auction Type.
|
void |
setAtIsSet(boolean value) |
BidRequestThrift |
setBadv(List<String> badv)
Array of strings of blocked top-level domains of advertisers.
|
void |
setBadvIsSet(boolean value) |
BidRequestThrift |
setBcat(List<String> bcat)
Blocked Advertiser Categories.
|
void |
setBcatIsSet(boolean value) |
BidRequestThrift |
setCur(List<String> cur)
Array of allowed currencies for bids on this bid request using ISO-4217 alphabetic codes.
|
void |
setCurIsSet(boolean value) |
BidRequestThrift |
setDevice(DeviceThrift device)
See Device Object.
|
void |
setDeviceIsSet(boolean value) |
void |
setFieldValue(BidRequestThrift._Fields field,
Object value) |
BidRequestThrift |
setId(String id)
Unique ID of the bid request, provided by the exchange.
|
void |
setIdIsSet(boolean value) |
BidRequestThrift |
setImp(List<ImpressionThrift> imp)
Array of impression objects.
|
void |
setImpIsSet(boolean value) |
BidRequestThrift |
setRegs(RegulationsThrift regs)
This object is a container for any legal, governmental or industry regulations in force for the request.
|
void |
setRegsIsSet(boolean value) |
BidRequestThrift |
setSite(SiteThrift site)
See Site Object.
|
void |
setSiteIsSet(boolean value) |
BidRequestThrift |
setTmax(int tmax)
Maximum amount of time in milliseconds to submit a bid (e.g., 120 means the bidder has 120ms to submit a bid before the auction is complete).
|
void |
setTmaxIsSet(boolean value) |
BidRequestThrift |
setUser(UserThrift user)
See User Object.
|
void |
setUserIsSet(boolean value) |
BidRequestThrift |
setWseat(List<String> wseat)
Array of buyer seats allowed to bid on this auction.
|
void |
setWseatIsSet(boolean value) |
String |
toString() |
void |
unsetAllimps() |
void |
unsetApp() |
void |
unsetAt() |
void |
unsetBadv() |
void |
unsetBcat() |
void |
unsetCur() |
void |
unsetDevice() |
void |
unsetId() |
void |
unsetImp() |
void |
unsetRegs() |
void |
unsetSite() |
void |
unsetTmax() |
void |
unsetUser() |
void |
unsetWseat() |
void |
validate() |
void |
write(TProtocol oprot) |
public String id
public List<ImpressionThrift> imp
public SiteThrift site
public AppThrift app
public DeviceThrift device
public UserThrift user
public short at
public int tmax
public List<String> wseat
public byte allimps
public List<String> cur
public List<String> bcat
public List<String> badv
public RegulationsThrift regs
public static final Map<BidRequestThrift._Fields,FieldMetaData> metaDataMap
public BidRequestThrift()
public BidRequestThrift(BidRequestThrift other)
public BidRequestThrift deepCopy()
deepCopy in interface TBase<BidRequestThrift,BidRequestThrift._Fields>public void clear()
clear in interface TBase<BidRequestThrift,BidRequestThrift._Fields>public String getId()
public BidRequestThrift setId(String id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public int getImpSize()
public Iterator<ImpressionThrift> getImpIterator()
public void addToImp(ImpressionThrift elem)
public List<ImpressionThrift> getImp()
public BidRequestThrift setImp(List<ImpressionThrift> imp)
public void unsetImp()
public boolean isSetImp()
public void setImpIsSet(boolean value)
public SiteThrift getSite()
public BidRequestThrift setSite(SiteThrift site)
public void unsetSite()
public boolean isSetSite()
public void setSiteIsSet(boolean value)
public AppThrift getApp()
public BidRequestThrift setApp(AppThrift app)
public void unsetApp()
public boolean isSetApp()
public void setAppIsSet(boolean value)
public DeviceThrift getDevice()
public BidRequestThrift setDevice(DeviceThrift device)
public void unsetDevice()
public boolean isSetDevice()
public void setDeviceIsSet(boolean value)
public UserThrift getUser()
public BidRequestThrift setUser(UserThrift user)
public void unsetUser()
public boolean isSetUser()
public void setUserIsSet(boolean value)
public short getAt()
public BidRequestThrift setAt(short at)
public void unsetAt()
public boolean isSetAt()
public void setAtIsSet(boolean value)
public int getTmax()
public BidRequestThrift setTmax(int tmax)
public void unsetTmax()
public boolean isSetTmax()
public void setTmaxIsSet(boolean value)
public int getWseatSize()
public void addToWseat(String elem)
public List<String> getWseat()
public BidRequestThrift setWseat(List<String> wseat)
public void unsetWseat()
public boolean isSetWseat()
public void setWseatIsSet(boolean value)
public byte getAllimps()
public BidRequestThrift setAllimps(byte allimps)
public void unsetAllimps()
public boolean isSetAllimps()
public void setAllimpsIsSet(boolean value)
public int getCurSize()
public void addToCur(String elem)
public List<String> getCur()
public BidRequestThrift setCur(List<String> cur)
public void unsetCur()
public boolean isSetCur()
public void setCurIsSet(boolean value)
public int getBcatSize()
public void addToBcat(String elem)
public List<String> getBcat()
public BidRequestThrift setBcat(List<String> bcat)
public void unsetBcat()
public boolean isSetBcat()
public void setBcatIsSet(boolean value)
public int getBadvSize()
public void addToBadv(String elem)
public List<String> getBadv()
public BidRequestThrift setBadv(List<String> badv)
public void unsetBadv()
public boolean isSetBadv()
public void setBadvIsSet(boolean value)
public RegulationsThrift getRegs()
public BidRequestThrift setRegs(RegulationsThrift regs)
public void unsetRegs()
public boolean isSetRegs()
public void setRegsIsSet(boolean value)
public void setFieldValue(BidRequestThrift._Fields field, Object value)
setFieldValue in interface TBase<BidRequestThrift,BidRequestThrift._Fields>public Object getFieldValue(BidRequestThrift._Fields field)
getFieldValue in interface TBase<BidRequestThrift,BidRequestThrift._Fields>public boolean isSet(BidRequestThrift._Fields field)
isSet in interface TBase<BidRequestThrift,BidRequestThrift._Fields>public boolean equals(BidRequestThrift that)
public int compareTo(BidRequestThrift other)
compareTo in interface Comparable<BidRequestThrift>public BidRequestThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<BidRequestThrift,BidRequestThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<BidRequestThrift,BidRequestThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<BidRequestThrift,BidRequestThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.