Package com.google.openrtb
Class OpenRtb.BidRequest.Imp.Audio
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Imp.Audio>
-
- com.google.openrtb.OpenRtb.BidRequest.Imp.Audio
-
- All Implemented Interfaces:
OpenRtb.BidRequest.Imp.AudioOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Imp.Audio>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- OpenRtb.BidRequest.Imp
public static final class OpenRtb.BidRequest.Imp.Audio extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Imp.Audio> implements OpenRtb.BidRequest.Imp.AudioOrBuilder
This object represents an audio type impression. Many of the fields are non-essential for minimally viable transactions, but are included to offer fine control when needed. Audio in OpenRTB generally assumes compliance with the DAAST standard. As such, the notion of companion ads is supported by optionally including an array of Banner objects that define these companion ads. The presence of a Audio as a subordinate of the Imp object indicates that this impression is offered as an audio type impression. At the publisher's discretion, that same impression may also be offered as banner, video, and/or native by also including as Imp subordinates objects of those types. However, any given bid for the impression must conform to one of the offered types.
Protobuf typecom.google.openrtb.BidRequest.Imp.Audio- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenRtb.BidRequest.Imp.Audio.BuilderThis object represents an audio type impression.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAPI_FIELD_NUMBERstatic intBATTR_FIELD_NUMBERstatic intCOMPANIONAD_FIELD_NUMBERstatic intCOMPANIONTYPE_FIELD_NUMBERstatic intDELIVERY_FIELD_NUMBERstatic intFEED_FIELD_NUMBERstatic intMAXBITRATE_FIELD_NUMBERstatic intMAXDURATION_FIELD_NUMBERstatic intMAXEXTENDED_FIELD_NUMBERstatic intMAXSEQ_FIELD_NUMBERstatic intMIMES_FIELD_NUMBERstatic intMINBITRATE_FIELD_NUMBERstatic intMINDURATION_FIELD_NUMBERstatic intNVOL_FIELD_NUMBERstatic com.google.protobuf.Parser<OpenRtb.BidRequest.Imp.Audio>PARSERDeprecated.static intPROTOCOLS_FIELD_NUMBERstatic intSEQUENCE_FIELD_NUMBERstatic intSTARTDELAY_FIELD_NUMBERstatic intSTITCHED_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)OpenRtb.APIFrameworkgetApi(int index)List of supported API frameworks for this impression.intgetApiCount()List of supported API frameworks for this impression.List<OpenRtb.APIFramework>getApiList()List of supported API frameworks for this impression.OpenRtb.CreativeAttributegetBattr(int index)Blocked creative attributes.intgetBattrCount()Blocked creative attributes.List<OpenRtb.CreativeAttribute>getBattrList()Blocked creative attributes.OpenRtb.BidRequest.Imp.BannergetCompanionad(int index)Array of Banner objects if companion ads are available.intgetCompanionadCount()Array of Banner objects if companion ads are available.List<OpenRtb.BidRequest.Imp.Banner>getCompanionadList()Array of Banner objects if companion ads are available.OpenRtb.BidRequest.Imp.BannerOrBuildergetCompanionadOrBuilder(int index)Array of Banner objects if companion ads are available.List<? extends OpenRtb.BidRequest.Imp.BannerOrBuilder>getCompanionadOrBuilderList()Array of Banner objects if companion ads are available.OpenRtb.CompanionTypegetCompaniontype(int index)Supported DAAST companion ad types.intgetCompaniontypeCount()Supported DAAST companion ad types.List<OpenRtb.CompanionType>getCompaniontypeList()Supported DAAST companion ad types.static OpenRtb.BidRequest.Imp.AudiogetDefaultInstance()OpenRtb.BidRequest.Imp.AudiogetDefaultInstanceForType()OpenRtb.ContentDeliveryMethodgetDelivery(int index)Supported delivery methods (e.g., streaming, progressive).intgetDeliveryCount()Supported delivery methods (e.g., streaming, progressive).List<OpenRtb.ContentDeliveryMethod>getDeliveryList()Supported delivery methods (e.g., streaming, progressive).static com.google.protobuf.Descriptors.DescriptorgetDescriptor()OpenRtb.FeedTypegetFeed()Type of audio feed.intgetMaxbitrate()Maximum bit rate in Kbps.intgetMaxduration()Maximum audio ad duration in seconds.intgetMaxextended()Maximum extended video ad duration, if extension is allowed.intgetMaxseq()The maximum number of ads that can be played in an ad pod.StringgetMimes(int index)Content MIME types supported (e.g., "audio/mp4").com.google.protobuf.ByteStringgetMimesBytes(int index)Content MIME types supported (e.g., "audio/mp4").intgetMimesCount()Content MIME types supported (e.g., "audio/mp4").com.google.protobuf.ProtocolStringListgetMimesList()Content MIME types supported (e.g., "audio/mp4").intgetMinbitrate()Minimum bit rate in Kbps.intgetMinduration()Minimum audio ad duration in seconds.OpenRtb.VolumeNormalizationModegetNvol()Volume normalization mode.com.google.protobuf.Parser<OpenRtb.BidRequest.Imp.Audio>getParserForType()OpenRtb.ProtocolgetProtocols(int index)Array of supported audio protocols.intgetProtocolsCount()Array of supported audio protocols.List<OpenRtb.Protocol>getProtocolsList()Array of supported audio protocols.intgetSequence()If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.intgetSerializedSize()intgetStartdelay()Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements.booleangetStitched()Indicates if the ad is stitched with audio content or delivered independently.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasFeed()Type of audio feed.inthashCode()booleanhasMaxbitrate()Maximum bit rate in Kbps.booleanhasMaxduration()Maximum audio ad duration in seconds.booleanhasMaxextended()Maximum extended video ad duration, if extension is allowed.booleanhasMaxseq()The maximum number of ads that can be played in an ad pod.booleanhasMinbitrate()Minimum bit rate in Kbps.booleanhasMinduration()Minimum audio ad duration in seconds.booleanhasNvol()Volume normalization mode.booleanhasSequence()If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.booleanhasStartdelay()Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements.booleanhasStitched()Indicates if the ad is stitched with audio content or delivered independently.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OpenRtb.BidRequest.Imp.Audio.BuildernewBuilder()static OpenRtb.BidRequest.Imp.Audio.BuildernewBuilder(OpenRtb.BidRequest.Imp.Audio prototype)OpenRtb.BidRequest.Imp.Audio.BuildernewBuilderForType()protected OpenRtb.BidRequest.Imp.Audio.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OpenRtb.BidRequest.Imp.AudioparseDelimitedFrom(InputStream input)static OpenRtb.BidRequest.Imp.AudioparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.Imp.AudioparseFrom(byte[] data)static OpenRtb.BidRequest.Imp.AudioparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.Imp.AudioparseFrom(com.google.protobuf.ByteString data)static OpenRtb.BidRequest.Imp.AudioparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.Imp.AudioparseFrom(com.google.protobuf.CodedInputStream input)static OpenRtb.BidRequest.Imp.AudioparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.Imp.AudioparseFrom(InputStream input)static OpenRtb.BidRequest.Imp.AudioparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.Imp.AudioparseFrom(ByteBuffer data)static OpenRtb.BidRequest.Imp.AudioparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OpenRtb.BidRequest.Imp.Audio>parser()OpenRtb.BidRequest.Imp.Audio.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, isStringEmpty, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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
-
-
-
-
Field Detail
-
MIMES_FIELD_NUMBER
public static final int MIMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MINDURATION_FIELD_NUMBER
public static final int MINDURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAXDURATION_FIELD_NUMBER
public static final int MAXDURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROTOCOLS_FIELD_NUMBER
public static final int PROTOCOLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STARTDELAY_FIELD_NUMBER
public static final int STARTDELAY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQUENCE_FIELD_NUMBER
public static final int SEQUENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BATTR_FIELD_NUMBER
public static final int BATTR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAXEXTENDED_FIELD_NUMBER
public static final int MAXEXTENDED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MINBITRATE_FIELD_NUMBER
public static final int MINBITRATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAXBITRATE_FIELD_NUMBER
public static final int MAXBITRATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELIVERY_FIELD_NUMBER
public static final int DELIVERY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPANIONAD_FIELD_NUMBER
public static final int COMPANIONAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
API_FIELD_NUMBER
public static final int API_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPANIONTYPE_FIELD_NUMBER
public static final int COMPANIONTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAXSEQ_FIELD_NUMBER
public static final int MAXSEQ_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FEED_FIELD_NUMBER
public static final int FEED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STITCHED_FIELD_NUMBER
public static final int STITCHED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NVOL_FIELD_NUMBER
public static final int NVOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OpenRtb.BidRequest.Imp.Audio> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
getMimesList
public com.google.protobuf.ProtocolStringList getMimesList()
Content MIME types supported (e.g., "audio/mp4"). REQUIRED by the OpenRTB specification: at least 1 element.
repeated string mimes = 1;- Specified by:
getMimesListin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- A list containing the mimes.
-
getMimesCount
public int getMimesCount()
Content MIME types supported (e.g., "audio/mp4"). REQUIRED by the OpenRTB specification: at least 1 element.
repeated string mimes = 1;- Specified by:
getMimesCountin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The count of mimes.
-
getMimes
public String getMimes(int index)
Content MIME types supported (e.g., "audio/mp4"). REQUIRED by the OpenRTB specification: at least 1 element.
repeated string mimes = 1;- Specified by:
getMimesin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The mimes at the given index.
-
getMimesBytes
public com.google.protobuf.ByteString getMimesBytes(int index)
Content MIME types supported (e.g., "audio/mp4"). REQUIRED by the OpenRTB specification: at least 1 element.
repeated string mimes = 1;- Specified by:
getMimesBytesin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the mimes at the given index.
-
hasMinduration
public boolean hasMinduration()
Minimum audio ad duration in seconds. RECOMMENDED by the OpenRTB specification.
optional int32 minduration = 2 [default = 0];- Specified by:
hasMindurationin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- Whether the minduration field is set.
-
getMinduration
public int getMinduration()
Minimum audio ad duration in seconds. RECOMMENDED by the OpenRTB specification.
optional int32 minduration = 2 [default = 0];- Specified by:
getMindurationin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The minduration.
-
hasMaxduration
public boolean hasMaxduration()
Maximum audio ad duration in seconds. RECOMMENDED by the OpenRTB specification.
optional int32 maxduration = 3;- Specified by:
hasMaxdurationin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- Whether the maxduration field is set.
-
getMaxduration
public int getMaxduration()
Maximum audio ad duration in seconds. RECOMMENDED by the OpenRTB specification.
optional int32 maxduration = 3;- Specified by:
getMaxdurationin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The maxduration.
-
getProtocolsList
public List<OpenRtb.Protocol> getProtocolsList()
Array of supported audio protocols. RECOMMENDED by the OpenRTB specification.
repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];- Specified by:
getProtocolsListin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- A list containing the protocols.
-
getProtocolsCount
public int getProtocolsCount()
Array of supported audio protocols. RECOMMENDED by the OpenRTB specification.
repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];- Specified by:
getProtocolsCountin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The count of protocols.
-
getProtocols
public OpenRtb.Protocol getProtocols(int index)
Array of supported audio protocols. RECOMMENDED by the OpenRTB specification.
repeated .com.google.openrtb.Protocol protocols = 4 [packed = true];- Specified by:
getProtocolsin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The protocols at the given index.
-
hasStartdelay
public boolean hasStartdelay()
Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements. Refer to enum StartDelay for generic values. RECOMMENDED by the OpenRTB specification.
optional int32 startdelay = 5;- Specified by:
hasStartdelayin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- Whether the startdelay field is set.
-
getStartdelay
public int getStartdelay()
Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements. Refer to enum StartDelay for generic values. RECOMMENDED by the OpenRTB specification.
optional int32 startdelay = 5;- Specified by:
getStartdelayin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The startdelay.
-
hasSequence
public boolean hasSequence()
If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.
optional int32 sequence = 6 [default = 1];- Specified by:
hasSequencein interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- Whether the sequence field is set.
-
getSequence
public int getSequence()
If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.
optional int32 sequence = 6 [default = 1];- Specified by:
getSequencein interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The sequence.
-
getBattrList
public List<OpenRtb.CreativeAttribute> getBattrList()
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];- Specified by:
getBattrListin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- A list containing the battr.
-
getBattrCount
public int getBattrCount()
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];- Specified by:
getBattrCountin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The count of battr.
-
getBattr
public OpenRtb.CreativeAttribute getBattr(int index)
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 7 [packed = true];- Specified by:
getBattrin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The battr at the given index.
-
hasMaxextended
public boolean hasMaxextended()
Maximum extended video ad duration, if extension is allowed. If blank or 0, extension is not allowed. If -1, extension is allowed, and there is no time limit imposed. If greater than 0, then the value represents the number of seconds of extended play supported beyond the maxduration value.
optional int32 maxextended = 8;- Specified by:
hasMaxextendedin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- Whether the maxextended field is set.
-
getMaxextended
public int getMaxextended()
Maximum extended video ad duration, if extension is allowed. If blank or 0, extension is not allowed. If -1, extension is allowed, and there is no time limit imposed. If greater than 0, then the value represents the number of seconds of extended play supported beyond the maxduration value.
optional int32 maxextended = 8;- Specified by:
getMaxextendedin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The maxextended.
-
hasMinbitrate
public boolean hasMinbitrate()
Minimum bit rate in Kbps.
optional int32 minbitrate = 9;- Specified by:
hasMinbitratein interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- Whether the minbitrate field is set.
-
getMinbitrate
public int getMinbitrate()
Minimum bit rate in Kbps.
optional int32 minbitrate = 9;- Specified by:
getMinbitratein interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The minbitrate.
-
hasMaxbitrate
public boolean hasMaxbitrate()
Maximum bit rate in Kbps.
optional int32 maxbitrate = 10;- Specified by:
hasMaxbitratein interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- Whether the maxbitrate field is set.
-
getMaxbitrate
public int getMaxbitrate()
Maximum bit rate in Kbps.
optional int32 maxbitrate = 10;- Specified by:
getMaxbitratein interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The maxbitrate.
-
getDeliveryList
public List<OpenRtb.ContentDeliveryMethod> getDeliveryList()
Supported delivery methods (e.g., streaming, progressive). If none specified, assume all are supported.
repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];- Specified by:
getDeliveryListin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- A list containing the delivery.
-
getDeliveryCount
public int getDeliveryCount()
Supported delivery methods (e.g., streaming, progressive). If none specified, assume all are supported.
repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];- Specified by:
getDeliveryCountin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The count of delivery.
-
getDelivery
public OpenRtb.ContentDeliveryMethod getDelivery(int index)
Supported delivery methods (e.g., streaming, progressive). If none specified, assume all are supported.
repeated .com.google.openrtb.ContentDeliveryMethod delivery = 11 [packed = true];- Specified by:
getDeliveryin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The delivery at the given index.
-
getCompanionadList
public List<OpenRtb.BidRequest.Imp.Banner> getCompanionadList()
Array of Banner objects if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;- Specified by:
getCompanionadListin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder
-
getCompanionadOrBuilderList
public List<? extends OpenRtb.BidRequest.Imp.BannerOrBuilder> getCompanionadOrBuilderList()
Array of Banner objects if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;- Specified by:
getCompanionadOrBuilderListin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder
-
getCompanionadCount
public int getCompanionadCount()
Array of Banner objects if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;- Specified by:
getCompanionadCountin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder
-
getCompanionad
public OpenRtb.BidRequest.Imp.Banner getCompanionad(int index)
Array of Banner objects if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;- Specified by:
getCompanionadin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder
-
getCompanionadOrBuilder
public OpenRtb.BidRequest.Imp.BannerOrBuilder getCompanionadOrBuilder(int index)
Array of Banner objects if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 12;- Specified by:
getCompanionadOrBuilderin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder
-
getApiList
public List<OpenRtb.APIFramework> getApiList()
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
repeated .com.google.openrtb.APIFramework api = 13 [packed = true];- Specified by:
getApiListin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- A list containing the api.
-
getApiCount
public int getApiCount()
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
repeated .com.google.openrtb.APIFramework api = 13 [packed = true];- Specified by:
getApiCountin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The count of api.
-
getApi
public OpenRtb.APIFramework getApi(int index)
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
repeated .com.google.openrtb.APIFramework api = 13 [packed = true];- Specified by:
getApiin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The api at the given index.
-
getCompaniontypeList
public List<OpenRtb.CompanionType> getCompaniontypeList()
Supported DAAST companion ad types. Recommended if companion Banner objects are included via the companionad array.
repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];- Specified by:
getCompaniontypeListin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- A list containing the companiontype.
-
getCompaniontypeCount
public int getCompaniontypeCount()
Supported DAAST companion ad types. Recommended if companion Banner objects are included via the companionad array.
repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];- Specified by:
getCompaniontypeCountin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The count of companiontype.
-
getCompaniontype
public OpenRtb.CompanionType getCompaniontype(int index)
Supported DAAST companion ad types. Recommended if companion Banner objects are included via the companionad array.
repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];- Specified by:
getCompaniontypein interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The companiontype at the given index.
-
hasMaxseq
public boolean hasMaxseq()
The maximum number of ads that can be played in an ad pod.
optional int32 maxseq = 21;- Specified by:
hasMaxseqin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- Whether the maxseq field is set.
-
getMaxseq
public int getMaxseq()
The maximum number of ads that can be played in an ad pod.
optional int32 maxseq = 21;- Specified by:
getMaxseqin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The maxseq.
-
hasFeed
public boolean hasFeed()
Type of audio feed.
optional .com.google.openrtb.FeedType feed = 22;- Specified by:
hasFeedin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- Whether the feed field is set.
-
getFeed
public OpenRtb.FeedType getFeed()
Type of audio feed.
optional .com.google.openrtb.FeedType feed = 22;- Specified by:
getFeedin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The feed.
-
hasStitched
public boolean hasStitched()
Indicates if the ad is stitched with audio content or delivered independently.
optional bool stitched = 23;- Specified by:
hasStitchedin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- Whether the stitched field is set.
-
getStitched
public boolean getStitched()
Indicates if the ad is stitched with audio content or delivered independently.
optional bool stitched = 23;- Specified by:
getStitchedin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The stitched.
-
hasNvol
public boolean hasNvol()
Volume normalization mode.
optional .com.google.openrtb.VolumeNormalizationMode nvol = 24;- Specified by:
hasNvolin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- Whether the nvol field is set.
-
getNvol
public OpenRtb.VolumeNormalizationMode getNvol()
Volume normalization mode.
optional .com.google.openrtb.VolumeNormalizationMode nvol = 24;- Specified by:
getNvolin interfaceOpenRtb.BidRequest.Imp.AudioOrBuilder- Returns:
- The nvol.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Imp.Audio>
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OpenRtb.BidRequest.Imp.Audio parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Audio parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Audio parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Audio parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Audio parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Audio parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Audio parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Audio parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Imp.Audio parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Imp.Audio parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Audio parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Audio parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpenRtb.BidRequest.Imp.Audio.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OpenRtb.BidRequest.Imp.Audio.Builder newBuilder()
-
newBuilder
public static OpenRtb.BidRequest.Imp.Audio.Builder newBuilder(OpenRtb.BidRequest.Imp.Audio prototype)
-
toBuilder
public OpenRtb.BidRequest.Imp.Audio.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpenRtb.BidRequest.Imp.Audio.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpenRtb.BidRequest.Imp.Audio getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OpenRtb.BidRequest.Imp.Audio> parser()
-
getParserForType
public com.google.protobuf.Parser<OpenRtb.BidRequest.Imp.Audio> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OpenRtb.BidRequest.Imp.Audio getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Imp.Audio>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-