Package com.google.openrtb
Class OpenRtb.BidResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidResponse,OpenRtb.BidResponse.Builder>
-
- com.google.openrtb.OpenRtb.BidResponse.Builder
-
- All Implemented Interfaces:
OpenRtb.BidResponseOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidResponse>,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OpenRtb.BidResponse
public static final class OpenRtb.BidResponse.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidResponse,OpenRtb.BidResponse.Builder> implements OpenRtb.BidResponseOrBuilder
OpenRTB 2.0: This object is the top-level bid response object (i.e., the unnamed outer JSON object). The id attribute is a reflection of the bid request ID for logging purposes. Similarly, bidid is an optional response tracking ID for bidders. If specified, it can be included in the subsequent win notice call if the bidder wins. At least one seatbid object is required, which contains at least one bid for an impression. Other attributes are optional. To express a "no-bid", the options are to return an empty response with HTTP 204. Alternately if the bidder wishes to convey to the exchange a reason for not bidding, just a BidResponse object is returned with a reason code in the nbr attribute.
Protobuf typecom.google.openrtb.BidResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenRtb.BidResponse.BuilderaddAllSeatbid(Iterable<? extends OpenRtb.BidResponse.SeatBid> values)Array of seatbid objects; 1+ required if a bid is to be made.<Type> OpenRtb.BidResponse.BuilderaddExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidResponse,List<Type>> extension, Type value)OpenRtb.BidResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OpenRtb.BidResponse.BuilderaddSeatbid(int index, OpenRtb.BidResponse.SeatBid value)Array of seatbid objects; 1+ required if a bid is to be made.OpenRtb.BidResponse.BuilderaddSeatbid(int index, OpenRtb.BidResponse.SeatBid.Builder builderForValue)Array of seatbid objects; 1+ required if a bid is to be made.OpenRtb.BidResponse.BuilderaddSeatbid(OpenRtb.BidResponse.SeatBid value)Array of seatbid objects; 1+ required if a bid is to be made.OpenRtb.BidResponse.BuilderaddSeatbid(OpenRtb.BidResponse.SeatBid.Builder builderForValue)Array of seatbid objects; 1+ required if a bid is to be made.OpenRtb.BidResponse.SeatBid.BuilderaddSeatbidBuilder()Array of seatbid objects; 1+ required if a bid is to be made.OpenRtb.BidResponse.SeatBid.BuilderaddSeatbidBuilder(int index)Array of seatbid objects; 1+ required if a bid is to be made.OpenRtb.BidResponsebuild()OpenRtb.BidResponsebuildPartial()OpenRtb.BidResponse.Builderclear()OpenRtb.BidResponse.BuilderclearBidid()Bidder generated response ID to assist with logging/tracking.OpenRtb.BidResponse.BuilderclearCur()Bid currency using ISO-4217 alpha codes.OpenRtb.BidResponse.BuilderclearCustomdata()Optional feature to allow a bidder to set data in the exchange's cookie.<Type> OpenRtb.BidResponse.BuilderclearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidResponse,?> extension)OpenRtb.BidResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)OpenRtb.BidResponse.BuilderclearId()ID of the bid request to which this is a response.OpenRtb.BidResponse.BuilderclearNbr()Reason for not bidding.OpenRtb.BidResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)OpenRtb.BidResponse.BuilderclearSeatbid()Array of seatbid objects; 1+ required if a bid is to be made.OpenRtb.BidResponse.Builderclone()StringgetBidid()Bidder generated response ID to assist with logging/tracking.com.google.protobuf.ByteStringgetBididBytes()Bidder generated response ID to assist with logging/tracking.StringgetCur()Bid currency using ISO-4217 alpha codes.com.google.protobuf.ByteStringgetCurBytes()Bid currency using ISO-4217 alpha codes.StringgetCustomdata()Optional feature to allow a bidder to set data in the exchange's cookie.com.google.protobuf.ByteStringgetCustomdataBytes()Optional feature to allow a bidder to set data in the exchange's cookie.OpenRtb.BidResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetId()ID of the bid request to which this is a response.com.google.protobuf.ByteStringgetIdBytes()ID of the bid request to which this is a response.OpenRtb.NoBidReasongetNbr()Reason for not bidding.OpenRtb.BidResponse.SeatBidgetSeatbid(int index)Array of seatbid objects; 1+ required if a bid is to be made.OpenRtb.BidResponse.SeatBid.BuildergetSeatbidBuilder(int index)Array of seatbid objects; 1+ required if a bid is to be made.List<OpenRtb.BidResponse.SeatBid.Builder>getSeatbidBuilderList()Array of seatbid objects; 1+ required if a bid is to be made.intgetSeatbidCount()Array of seatbid objects; 1+ required if a bid is to be made.List<OpenRtb.BidResponse.SeatBid>getSeatbidList()Array of seatbid objects; 1+ required if a bid is to be made.OpenRtb.BidResponse.SeatBidOrBuildergetSeatbidOrBuilder(int index)Array of seatbid objects; 1+ required if a bid is to be made.List<? extends OpenRtb.BidResponse.SeatBidOrBuilder>getSeatbidOrBuilderList()Array of seatbid objects; 1+ required if a bid is to be made.booleanhasBidid()Bidder generated response ID to assist with logging/tracking.booleanhasCur()Bid currency using ISO-4217 alpha codes.booleanhasCustomdata()Optional feature to allow a bidder to set data in the exchange's cookie.booleanhasId()ID of the bid request to which this is a response.booleanhasNbr()Reason for not bidding.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()OpenRtb.BidResponse.BuildermergeFrom(OpenRtb.BidResponse other)OpenRtb.BidResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)OpenRtb.BidResponse.BuildermergeFrom(com.google.protobuf.Message other)OpenRtb.BidResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OpenRtb.BidResponse.BuilderremoveSeatbid(int index)Array of seatbid objects; 1+ required if a bid is to be made.OpenRtb.BidResponse.BuildersetBidid(String value)Bidder generated response ID to assist with logging/tracking.OpenRtb.BidResponse.BuildersetBididBytes(com.google.protobuf.ByteString value)Bidder generated response ID to assist with logging/tracking.OpenRtb.BidResponse.BuildersetCur(String value)Bid currency using ISO-4217 alpha codes.OpenRtb.BidResponse.BuildersetCurBytes(com.google.protobuf.ByteString value)Bid currency using ISO-4217 alpha codes.OpenRtb.BidResponse.BuildersetCustomdata(String value)Optional feature to allow a bidder to set data in the exchange's cookie.OpenRtb.BidResponse.BuildersetCustomdataBytes(com.google.protobuf.ByteString value)Optional feature to allow a bidder to set data in the exchange's cookie.<Type> OpenRtb.BidResponse.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidResponse,List<Type>> extension, int index, Type value)<Type> OpenRtb.BidResponse.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidResponse,Type> extension, Type value)OpenRtb.BidResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OpenRtb.BidResponse.BuildersetId(String value)ID of the bid request to which this is a response.OpenRtb.BidResponse.BuildersetIdBytes(com.google.protobuf.ByteString value)ID of the bid request to which this is a response.OpenRtb.BidResponse.BuildersetNbr(OpenRtb.NoBidReason value)Reason for not bidding.OpenRtb.BidResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OpenRtb.BidResponse.BuildersetSeatbid(int index, OpenRtb.BidResponse.SeatBid value)Array of seatbid objects; 1+ required if a bid is to be made.OpenRtb.BidResponse.BuildersetSeatbid(int index, OpenRtb.BidResponse.SeatBid.Builder builderForValue)Array of seatbid objects; 1+ required if a bid is to be made.OpenRtb.BidResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder
addExtension, addExtension, clearExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, mergeExtensionFields, newBuilderForField, setExtension, setExtension, setExtension, setExtension
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getOneofFieldDescriptor, getParentForChildren, getUnknownFields, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidResponse.Builder>
-
clear
public OpenRtb.BidResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidResponse,OpenRtb.BidResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidResponse.Builder>
-
getDefaultInstanceForType
public OpenRtb.BidResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidResponse>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public OpenRtb.BidResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpenRtb.BidResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpenRtb.BidResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidResponse.Builder>
-
setField
public OpenRtb.BidResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidResponse,OpenRtb.BidResponse.Builder>
-
clearField
public OpenRtb.BidResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidResponse,OpenRtb.BidResponse.Builder>
-
clearOneof
public OpenRtb.BidResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidResponse.Builder>
-
setRepeatedField
public OpenRtb.BidResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidResponse,OpenRtb.BidResponse.Builder>
-
addRepeatedField
public OpenRtb.BidResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidResponse,OpenRtb.BidResponse.Builder>
-
setExtension
public <Type> OpenRtb.BidResponse.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidResponse,Type> extension, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidResponse,OpenRtb.BidResponse.Builder>
-
setExtension
public <Type> OpenRtb.BidResponse.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidResponse,List<Type>> extension, int index, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidResponse,OpenRtb.BidResponse.Builder>
-
addExtension
public <Type> OpenRtb.BidResponse.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidResponse,List<Type>> extension, Type value)
- Overrides:
addExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidResponse,OpenRtb.BidResponse.Builder>
-
clearExtension
public <Type> OpenRtb.BidResponse.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidResponse,?> extension)
- Overrides:
clearExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidResponse,OpenRtb.BidResponse.Builder>
-
mergeFrom
public OpenRtb.BidResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenRtb.BidResponse.Builder>
-
mergeFrom
public OpenRtb.BidResponse.Builder mergeFrom(OpenRtb.BidResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidResponse,OpenRtb.BidResponse.Builder>
-
mergeFrom
public OpenRtb.BidResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenRtb.BidResponse.Builder>- Throws:
IOException
-
hasId
public boolean hasId()
ID of the bid request to which this is a response. REQUIRED by the OpenRTB specification.
required string id = 1;- Specified by:
hasIdin interfaceOpenRtb.BidResponseOrBuilder- Returns:
- Whether the id field is set.
-
getId
public String getId()
ID of the bid request to which this is a response. REQUIRED by the OpenRTB specification.
required string id = 1;- Specified by:
getIdin interfaceOpenRtb.BidResponseOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
ID of the bid request to which this is a response. REQUIRED by the OpenRTB specification.
required string id = 1;- Specified by:
getIdBytesin interfaceOpenRtb.BidResponseOrBuilder- Returns:
- The bytes for id.
-
setId
public OpenRtb.BidResponse.Builder setId(String value)
ID of the bid request to which this is a response. REQUIRED by the OpenRTB specification.
required string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public OpenRtb.BidResponse.Builder clearId()
ID of the bid request to which this is a response. REQUIRED by the OpenRTB specification.
required string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public OpenRtb.BidResponse.Builder setIdBytes(com.google.protobuf.ByteString value)
ID of the bid request to which this is a response. REQUIRED by the OpenRTB specification.
required string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getSeatbidList
public List<OpenRtb.BidResponse.SeatBid> getSeatbidList()
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;- Specified by:
getSeatbidListin interfaceOpenRtb.BidResponseOrBuilder
-
getSeatbidCount
public int getSeatbidCount()
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;- Specified by:
getSeatbidCountin interfaceOpenRtb.BidResponseOrBuilder
-
getSeatbid
public OpenRtb.BidResponse.SeatBid getSeatbid(int index)
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;- Specified by:
getSeatbidin interfaceOpenRtb.BidResponseOrBuilder
-
setSeatbid
public OpenRtb.BidResponse.Builder setSeatbid(int index, OpenRtb.BidResponse.SeatBid value)
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;
-
setSeatbid
public OpenRtb.BidResponse.Builder setSeatbid(int index, OpenRtb.BidResponse.SeatBid.Builder builderForValue)
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;
-
addSeatbid
public OpenRtb.BidResponse.Builder addSeatbid(OpenRtb.BidResponse.SeatBid value)
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;
-
addSeatbid
public OpenRtb.BidResponse.Builder addSeatbid(int index, OpenRtb.BidResponse.SeatBid value)
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;
-
addSeatbid
public OpenRtb.BidResponse.Builder addSeatbid(OpenRtb.BidResponse.SeatBid.Builder builderForValue)
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;
-
addSeatbid
public OpenRtb.BidResponse.Builder addSeatbid(int index, OpenRtb.BidResponse.SeatBid.Builder builderForValue)
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;
-
addAllSeatbid
public OpenRtb.BidResponse.Builder addAllSeatbid(Iterable<? extends OpenRtb.BidResponse.SeatBid> values)
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;
-
clearSeatbid
public OpenRtb.BidResponse.Builder clearSeatbid()
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;
-
removeSeatbid
public OpenRtb.BidResponse.Builder removeSeatbid(int index)
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;
-
getSeatbidBuilder
public OpenRtb.BidResponse.SeatBid.Builder getSeatbidBuilder(int index)
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;
-
getSeatbidOrBuilder
public OpenRtb.BidResponse.SeatBidOrBuilder getSeatbidOrBuilder(int index)
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;- Specified by:
getSeatbidOrBuilderin interfaceOpenRtb.BidResponseOrBuilder
-
getSeatbidOrBuilderList
public List<? extends OpenRtb.BidResponse.SeatBidOrBuilder> getSeatbidOrBuilderList()
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;- Specified by:
getSeatbidOrBuilderListin interfaceOpenRtb.BidResponseOrBuilder
-
addSeatbidBuilder
public OpenRtb.BidResponse.SeatBid.Builder addSeatbidBuilder()
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;
-
addSeatbidBuilder
public OpenRtb.BidResponse.SeatBid.Builder addSeatbidBuilder(int index)
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;
-
getSeatbidBuilderList
public List<OpenRtb.BidResponse.SeatBid.Builder> getSeatbidBuilderList()
Array of seatbid objects; 1+ required if a bid is to be made.
repeated .com.google.openrtb.BidResponse.SeatBid seatbid = 2;
-
hasBidid
public boolean hasBidid()
Bidder generated response ID to assist with logging/tracking.
optional string bidid = 3;- Specified by:
hasBididin interfaceOpenRtb.BidResponseOrBuilder- Returns:
- Whether the bidid field is set.
-
getBidid
public String getBidid()
Bidder generated response ID to assist with logging/tracking.
optional string bidid = 3;- Specified by:
getBididin interfaceOpenRtb.BidResponseOrBuilder- Returns:
- The bidid.
-
getBididBytes
public com.google.protobuf.ByteString getBididBytes()
Bidder generated response ID to assist with logging/tracking.
optional string bidid = 3;- Specified by:
getBididBytesin interfaceOpenRtb.BidResponseOrBuilder- Returns:
- The bytes for bidid.
-
setBidid
public OpenRtb.BidResponse.Builder setBidid(String value)
Bidder generated response ID to assist with logging/tracking.
optional string bidid = 3;- Parameters:
value- The bidid to set.- Returns:
- This builder for chaining.
-
clearBidid
public OpenRtb.BidResponse.Builder clearBidid()
Bidder generated response ID to assist with logging/tracking.
optional string bidid = 3;- Returns:
- This builder for chaining.
-
setBididBytes
public OpenRtb.BidResponse.Builder setBididBytes(com.google.protobuf.ByteString value)
Bidder generated response ID to assist with logging/tracking.
optional string bidid = 3;- Parameters:
value- The bytes for bidid to set.- Returns:
- This builder for chaining.
-
hasCur
public boolean hasCur()
Bid currency using ISO-4217 alpha codes. This field will be required starting in Q4 2022. If this field is populated and differs from the bidding currency, the bid will be filtered. If this field is not populated, the currency will be assumed to be the bidding currency. The bidding currency is determined by: 1. The bidder-level currency, if configured in RTB account settings. 2. Otherwise, the currency of the buyer account indicated by the billing ID in the cid field of the bid response. 3. Otherwise, if cid is not populated in the bid response, the currency of the buyer account indicated by the sole billing ID in the bid request. The currency of the buyer account is set on account creation and can be checked by contacting a Technical Account Manager.
optional string cur = 4;- Specified by:
hasCurin interfaceOpenRtb.BidResponseOrBuilder- Returns:
- Whether the cur field is set.
-
getCur
public String getCur()
Bid currency using ISO-4217 alpha codes. This field will be required starting in Q4 2022. If this field is populated and differs from the bidding currency, the bid will be filtered. If this field is not populated, the currency will be assumed to be the bidding currency. The bidding currency is determined by: 1. The bidder-level currency, if configured in RTB account settings. 2. Otherwise, the currency of the buyer account indicated by the billing ID in the cid field of the bid response. 3. Otherwise, if cid is not populated in the bid response, the currency of the buyer account indicated by the sole billing ID in the bid request. The currency of the buyer account is set on account creation and can be checked by contacting a Technical Account Manager.
optional string cur = 4;- Specified by:
getCurin interfaceOpenRtb.BidResponseOrBuilder- Returns:
- The cur.
-
getCurBytes
public com.google.protobuf.ByteString getCurBytes()
Bid currency using ISO-4217 alpha codes. This field will be required starting in Q4 2022. If this field is populated and differs from the bidding currency, the bid will be filtered. If this field is not populated, the currency will be assumed to be the bidding currency. The bidding currency is determined by: 1. The bidder-level currency, if configured in RTB account settings. 2. Otherwise, the currency of the buyer account indicated by the billing ID in the cid field of the bid response. 3. Otherwise, if cid is not populated in the bid response, the currency of the buyer account indicated by the sole billing ID in the bid request. The currency of the buyer account is set on account creation and can be checked by contacting a Technical Account Manager.
optional string cur = 4;- Specified by:
getCurBytesin interfaceOpenRtb.BidResponseOrBuilder- Returns:
- The bytes for cur.
-
setCur
public OpenRtb.BidResponse.Builder setCur(String value)
Bid currency using ISO-4217 alpha codes. This field will be required starting in Q4 2022. If this field is populated and differs from the bidding currency, the bid will be filtered. If this field is not populated, the currency will be assumed to be the bidding currency. The bidding currency is determined by: 1. The bidder-level currency, if configured in RTB account settings. 2. Otherwise, the currency of the buyer account indicated by the billing ID in the cid field of the bid response. 3. Otherwise, if cid is not populated in the bid response, the currency of the buyer account indicated by the sole billing ID in the bid request. The currency of the buyer account is set on account creation and can be checked by contacting a Technical Account Manager.
optional string cur = 4;- Parameters:
value- The cur to set.- Returns:
- This builder for chaining.
-
clearCur
public OpenRtb.BidResponse.Builder clearCur()
Bid currency using ISO-4217 alpha codes. This field will be required starting in Q4 2022. If this field is populated and differs from the bidding currency, the bid will be filtered. If this field is not populated, the currency will be assumed to be the bidding currency. The bidding currency is determined by: 1. The bidder-level currency, if configured in RTB account settings. 2. Otherwise, the currency of the buyer account indicated by the billing ID in the cid field of the bid response. 3. Otherwise, if cid is not populated in the bid response, the currency of the buyer account indicated by the sole billing ID in the bid request. The currency of the buyer account is set on account creation and can be checked by contacting a Technical Account Manager.
optional string cur = 4;- Returns:
- This builder for chaining.
-
setCurBytes
public OpenRtb.BidResponse.Builder setCurBytes(com.google.protobuf.ByteString value)
Bid currency using ISO-4217 alpha codes. This field will be required starting in Q4 2022. If this field is populated and differs from the bidding currency, the bid will be filtered. If this field is not populated, the currency will be assumed to be the bidding currency. The bidding currency is determined by: 1. The bidder-level currency, if configured in RTB account settings. 2. Otherwise, the currency of the buyer account indicated by the billing ID in the cid field of the bid response. 3. Otherwise, if cid is not populated in the bid response, the currency of the buyer account indicated by the sole billing ID in the bid request. The currency of the buyer account is set on account creation and can be checked by contacting a Technical Account Manager.
optional string cur = 4;- Parameters:
value- The bytes for cur to set.- Returns:
- This builder for chaining.
-
hasCustomdata
public boolean hasCustomdata()
Optional feature to allow a bidder to set data in the exchange's cookie. The string must be in base85 cookie safe characters and be in any format. Proper JSON encoding must be used to include "escaped" quotation marks.
optional string customdata = 5;- Specified by:
hasCustomdatain interfaceOpenRtb.BidResponseOrBuilder- Returns:
- Whether the customdata field is set.
-
getCustomdata
public String getCustomdata()
Optional feature to allow a bidder to set data in the exchange's cookie. The string must be in base85 cookie safe characters and be in any format. Proper JSON encoding must be used to include "escaped" quotation marks.
optional string customdata = 5;- Specified by:
getCustomdatain interfaceOpenRtb.BidResponseOrBuilder- Returns:
- The customdata.
-
getCustomdataBytes
public com.google.protobuf.ByteString getCustomdataBytes()
Optional feature to allow a bidder to set data in the exchange's cookie. The string must be in base85 cookie safe characters and be in any format. Proper JSON encoding must be used to include "escaped" quotation marks.
optional string customdata = 5;- Specified by:
getCustomdataBytesin interfaceOpenRtb.BidResponseOrBuilder- Returns:
- The bytes for customdata.
-
setCustomdata
public OpenRtb.BidResponse.Builder setCustomdata(String value)
Optional feature to allow a bidder to set data in the exchange's cookie. The string must be in base85 cookie safe characters and be in any format. Proper JSON encoding must be used to include "escaped" quotation marks.
optional string customdata = 5;- Parameters:
value- The customdata to set.- Returns:
- This builder for chaining.
-
clearCustomdata
public OpenRtb.BidResponse.Builder clearCustomdata()
Optional feature to allow a bidder to set data in the exchange's cookie. The string must be in base85 cookie safe characters and be in any format. Proper JSON encoding must be used to include "escaped" quotation marks.
optional string customdata = 5;- Returns:
- This builder for chaining.
-
setCustomdataBytes
public OpenRtb.BidResponse.Builder setCustomdataBytes(com.google.protobuf.ByteString value)
Optional feature to allow a bidder to set data in the exchange's cookie. The string must be in base85 cookie safe characters and be in any format. Proper JSON encoding must be used to include "escaped" quotation marks.
optional string customdata = 5;- Parameters:
value- The bytes for customdata to set.- Returns:
- This builder for chaining.
-
hasNbr
public boolean hasNbr()
Reason for not bidding.
optional .com.google.openrtb.NoBidReason nbr = 6;- Specified by:
hasNbrin interfaceOpenRtb.BidResponseOrBuilder- Returns:
- Whether the nbr field is set.
-
getNbr
public OpenRtb.NoBidReason getNbr()
Reason for not bidding.
optional .com.google.openrtb.NoBidReason nbr = 6;- Specified by:
getNbrin interfaceOpenRtb.BidResponseOrBuilder- Returns:
- The nbr.
-
setNbr
public OpenRtb.BidResponse.Builder setNbr(OpenRtb.NoBidReason value)
Reason for not bidding.
optional .com.google.openrtb.NoBidReason nbr = 6;- Parameters:
value- The nbr to set.- Returns:
- This builder for chaining.
-
clearNbr
public OpenRtb.BidResponse.Builder clearNbr()
Reason for not bidding.
optional .com.google.openrtb.NoBidReason nbr = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
public final OpenRtb.BidResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidResponse.Builder>
-
mergeUnknownFields
public final OpenRtb.BidResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidResponse.Builder>
-
-