Package com.google.openrtb
Class OpenRtb.BidRequest.Source.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.BidRequest.Source,OpenRtb.BidRequest.Source.Builder>
-
- com.google.openrtb.OpenRtb.BidRequest.Source.Builder
-
- All Implemented Interfaces:
OpenRtb.BidRequest.SourceOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Source>,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OpenRtb.BidRequest.Source
public static final class OpenRtb.BidRequest.Source.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Source,OpenRtb.BidRequest.Source.Builder> implements OpenRtb.BidRequest.SourceOrBuilder
OpenRTB 2.5: This object describes the nature and behavior of the entity that is the source of the bid request upstream from the exchange. The primary purpose of this object is to define post-auction or upstream decisioning when the exchange itself does not control the final decision. A common example of this is header bidding, but it can also apply to upstream server entities such as another RTB exchange, a mediation platform, or an ad server combines direct campaigns with 3rd party demand in decisioning.
Protobuf typecom.google.openrtb.BidRequest.Source
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <Type> OpenRtb.BidRequest.Source.BuilderaddExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Source,List<Type>> extension, Type value)OpenRtb.BidRequest.Source.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OpenRtb.BidRequest.Sourcebuild()OpenRtb.BidRequest.SourcebuildPartial()OpenRtb.BidRequest.Source.Builderclear()<Type> OpenRtb.BidRequest.Source.BuilderclearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Source,?> extension)OpenRtb.BidRequest.Source.BuilderclearFd()Entity responsible for the final impression sale decision, where false = exchange, true = upstream source RECOMMENDED by the OpenRTB specification.OpenRtb.BidRequest.Source.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)OpenRtb.BidRequest.Source.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)OpenRtb.BidRequest.Source.BuilderclearPchain()Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0.OpenRtb.BidRequest.Source.BuilderclearTid()Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges).OpenRtb.BidRequest.Source.Builderclone()OpenRtb.BidRequest.SourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetFd()Entity responsible for the final impression sale decision, where false = exchange, true = upstream source RECOMMENDED by the OpenRTB specification.StringgetPchain()Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0.com.google.protobuf.ByteStringgetPchainBytes()Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0.StringgetTid()Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges).com.google.protobuf.ByteStringgetTidBytes()Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges).booleanhasFd()Entity responsible for the final impression sale decision, where false = exchange, true = upstream source RECOMMENDED by the OpenRTB specification.booleanhasPchain()Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0.booleanhasTid()Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()OpenRtb.BidRequest.Source.BuildermergeFrom(OpenRtb.BidRequest.Source other)OpenRtb.BidRequest.Source.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)OpenRtb.BidRequest.Source.BuildermergeFrom(com.google.protobuf.Message other)OpenRtb.BidRequest.Source.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)<Type> OpenRtb.BidRequest.Source.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Source,List<Type>> extension, int index, Type value)<Type> OpenRtb.BidRequest.Source.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Source,Type> extension, Type value)OpenRtb.BidRequest.Source.BuildersetFd(boolean value)Entity responsible for the final impression sale decision, where false = exchange, true = upstream source RECOMMENDED by the OpenRTB specification.OpenRtb.BidRequest.Source.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OpenRtb.BidRequest.Source.BuildersetPchain(String value)Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0.OpenRtb.BidRequest.Source.BuildersetPchainBytes(com.google.protobuf.ByteString value)Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0.OpenRtb.BidRequest.Source.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OpenRtb.BidRequest.Source.BuildersetTid(String value)Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges).OpenRtb.BidRequest.Source.BuildersetTidBytes(com.google.protobuf.ByteString value)Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges).OpenRtb.BidRequest.Source.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.BidRequest.Source.Builder>
-
clear
public OpenRtb.BidRequest.Source.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.BidRequest.Source,OpenRtb.BidRequest.Source.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.BidRequest.Source.Builder>
-
getDefaultInstanceForType
public OpenRtb.BidRequest.Source getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Source>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public OpenRtb.BidRequest.Source build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpenRtb.BidRequest.Source buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpenRtb.BidRequest.Source.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.BidRequest.Source.Builder>
-
setField
public OpenRtb.BidRequest.Source.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.BidRequest.Source,OpenRtb.BidRequest.Source.Builder>
-
clearField
public OpenRtb.BidRequest.Source.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Source,OpenRtb.BidRequest.Source.Builder>
-
clearOneof
public OpenRtb.BidRequest.Source.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Source.Builder>
-
setRepeatedField
public OpenRtb.BidRequest.Source.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.BidRequest.Source,OpenRtb.BidRequest.Source.Builder>
-
addRepeatedField
public OpenRtb.BidRequest.Source.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.BidRequest.Source,OpenRtb.BidRequest.Source.Builder>
-
setExtension
public <Type> OpenRtb.BidRequest.Source.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Source,Type> extension, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Source,OpenRtb.BidRequest.Source.Builder>
-
setExtension
public <Type> OpenRtb.BidRequest.Source.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Source,List<Type>> extension, int index, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Source,OpenRtb.BidRequest.Source.Builder>
-
addExtension
public <Type> OpenRtb.BidRequest.Source.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Source,List<Type>> extension, Type value)
- Overrides:
addExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Source,OpenRtb.BidRequest.Source.Builder>
-
clearExtension
public <Type> OpenRtb.BidRequest.Source.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Source,?> extension)
- Overrides:
clearExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Source,OpenRtb.BidRequest.Source.Builder>
-
mergeFrom
public OpenRtb.BidRequest.Source.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenRtb.BidRequest.Source.Builder>
-
mergeFrom
public OpenRtb.BidRequest.Source.Builder mergeFrom(OpenRtb.BidRequest.Source other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Source,OpenRtb.BidRequest.Source.Builder>
-
mergeFrom
public OpenRtb.BidRequest.Source.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.BidRequest.Source.Builder>- Throws:
IOException
-
hasFd
public boolean hasFd()
Entity responsible for the final impression sale decision, where false = exchange, true = upstream source RECOMMENDED by the OpenRTB specification.
optional bool fd = 1;- Specified by:
hasFdin interfaceOpenRtb.BidRequest.SourceOrBuilder- Returns:
- Whether the fd field is set.
-
getFd
public boolean getFd()
Entity responsible for the final impression sale decision, where false = exchange, true = upstream source RECOMMENDED by the OpenRTB specification.
optional bool fd = 1;- Specified by:
getFdin interfaceOpenRtb.BidRequest.SourceOrBuilder- Returns:
- The fd.
-
setFd
public OpenRtb.BidRequest.Source.Builder setFd(boolean value)
Entity responsible for the final impression sale decision, where false = exchange, true = upstream source RECOMMENDED by the OpenRTB specification.
optional bool fd = 1;- Parameters:
value- The fd to set.- Returns:
- This builder for chaining.
-
clearFd
public OpenRtb.BidRequest.Source.Builder clearFd()
Entity responsible for the final impression sale decision, where false = exchange, true = upstream source RECOMMENDED by the OpenRTB specification.
optional bool fd = 1;- Returns:
- This builder for chaining.
-
hasTid
public boolean hasTid()
Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges). RECOMMENDED by the OpenRTB specification.
optional string tid = 2;- Specified by:
hasTidin interfaceOpenRtb.BidRequest.SourceOrBuilder- Returns:
- Whether the tid field is set.
-
getTid
public String getTid()
Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges). RECOMMENDED by the OpenRTB specification.
optional string tid = 2;- Specified by:
getTidin interfaceOpenRtb.BidRequest.SourceOrBuilder- Returns:
- The tid.
-
getTidBytes
public com.google.protobuf.ByteString getTidBytes()
Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges). RECOMMENDED by the OpenRTB specification.
optional string tid = 2;- Specified by:
getTidBytesin interfaceOpenRtb.BidRequest.SourceOrBuilder- Returns:
- The bytes for tid.
-
setTid
public OpenRtb.BidRequest.Source.Builder setTid(String value)
Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges). RECOMMENDED by the OpenRTB specification.
optional string tid = 2;- Parameters:
value- The tid to set.- Returns:
- This builder for chaining.
-
clearTid
public OpenRtb.BidRequest.Source.Builder clearTid()
Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges). RECOMMENDED by the OpenRTB specification.
optional string tid = 2;- Returns:
- This builder for chaining.
-
setTidBytes
public OpenRtb.BidRequest.Source.Builder setTidBytes(com.google.protobuf.ByteString value)
Transaction ID that must be common across all participants in this bid request (e.g., potentially multiple exchanges). RECOMMENDED by the OpenRTB specification.
optional string tid = 2;- Parameters:
value- The bytes for tid to set.- Returns:
- This builder for chaining.
-
hasPchain
public boolean hasPchain()
Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0. RECOMMENDED by the OpenRTB specification.
optional string pchain = 3;- Specified by:
hasPchainin interfaceOpenRtb.BidRequest.SourceOrBuilder- Returns:
- Whether the pchain field is set.
-
getPchain
public String getPchain()
Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0. RECOMMENDED by the OpenRTB specification.
optional string pchain = 3;- Specified by:
getPchainin interfaceOpenRtb.BidRequest.SourceOrBuilder- Returns:
- The pchain.
-
getPchainBytes
public com.google.protobuf.ByteString getPchainBytes()
Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0. RECOMMENDED by the OpenRTB specification.
optional string pchain = 3;- Specified by:
getPchainBytesin interfaceOpenRtb.BidRequest.SourceOrBuilder- Returns:
- The bytes for pchain.
-
setPchain
public OpenRtb.BidRequest.Source.Builder setPchain(String value)
Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0. RECOMMENDED by the OpenRTB specification.
optional string pchain = 3;- Parameters:
value- The pchain to set.- Returns:
- This builder for chaining.
-
clearPchain
public OpenRtb.BidRequest.Source.Builder clearPchain()
Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0. RECOMMENDED by the OpenRTB specification.
optional string pchain = 3;- Returns:
- This builder for chaining.
-
setPchainBytes
public OpenRtb.BidRequest.Source.Builder setPchainBytes(com.google.protobuf.ByteString value)
Payment ID chain string containing embedded syntax described in the TAG Payment ID Protocol v1.0. RECOMMENDED by the OpenRTB specification.
optional string pchain = 3;- Parameters:
value- The bytes for pchain to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final OpenRtb.BidRequest.Source.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Source.Builder>
-
mergeUnknownFields
public final OpenRtb.BidRequest.Source.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Source.Builder>
-
-