public static final class Extension.VideoExtensions extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Extension.VideoExtensions> implements Extension.VideoExtensionsOrBuilder
Next available tag: 6Protobuf type
openrtb.VideoExtensions| Modifier and Type | Class and Description |
|---|---|
static class |
Extension.VideoExtensions.Builder
Next available tag: 6
|
static class |
Extension.VideoExtensions.PlacementType
Protobuf enum
openrtb.VideoExtensions.PlacementType |
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWritercom.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| Modifier and Type | Field and Description |
|---|---|
static com.google.protobuf.Parser<Extension.VideoExtensions> |
PARSER
Deprecated.
|
static int |
PLACEMENT_TYPE_FIELD_NUMBER |
static int |
PLAYER_SIZE_FIELD_NUMBER |
static int |
REQUIRED_ATTRS_FIELD_NUMBER |
static int |
REWARDED_FIELD_NUMBER |
static int |
SKIP_OFFSET_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Extension.VideoExtensions |
getDefaultInstance() |
Extension.VideoExtensions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Extension.VideoExtensions> |
getParserForType() |
Extension.VideoExtensions.PlacementType |
getPlacementType()
optional .openrtb.VideoExtensions.PlacementType placement_type = 3 [default = IN_STREAM]; |
String |
getPlayerSize()
player_size can be one of ["S", "M"., "L", "XL", "NA"].
|
com.google.protobuf.ByteString |
getPlayerSizeBytes()
player_size can be one of ["S", "M"., "L", "XL", "NA"].
|
OpenrtbCommon.CreativeAttribute |
getRequiredAttrs(int index)
Creative attributes that are required by the request.
|
int |
getRequiredAttrsCount()
Creative attributes that are required by the request.
|
List<OpenrtbCommon.CreativeAttribute> |
getRequiredAttrsList()
Creative attributes that are required by the request.
|
boolean |
getRewarded()
Some exchanges support "rewarded videos".
|
int |
getSerializedSize() |
int |
getSkipOffset()
Number of seconds into the video ad when the skip button appears.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasPlacementType()
optional .openrtb.VideoExtensions.PlacementType placement_type = 3 [default = IN_STREAM]; |
boolean |
hasPlayerSize()
player_size can be one of ["S", "M"., "L", "XL", "NA"].
|
boolean |
hasRewarded()
Some exchanges support "rewarded videos".
|
boolean |
hasSkipOffset()
Number of seconds into the video ad when the skip button appears.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Extension.VideoExtensions.Builder |
newBuilder() |
static Extension.VideoExtensions.Builder |
newBuilder(Extension.VideoExtensions prototype) |
Extension.VideoExtensions.Builder |
newBuilderForType() |
protected Extension.VideoExtensions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Extension.VideoExtensions |
parseDelimitedFrom(InputStream input) |
static Extension.VideoExtensions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension.VideoExtensions |
parseFrom(byte[] data) |
static Extension.VideoExtensions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension.VideoExtensions |
parseFrom(com.google.protobuf.ByteString data) |
static Extension.VideoExtensions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension.VideoExtensions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Extension.VideoExtensions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension.VideoExtensions |
parseFrom(InputStream input) |
static Extension.VideoExtensions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Extension.VideoExtensions> |
parser() |
Extension.VideoExtensions.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, parseUnknownFieldcomputeStringSize, computeStringSizeNoTag, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionpublic static final int PLAYER_SIZE_FIELD_NUMBER
public static final int REQUIRED_ATTRS_FIELD_NUMBER
public static final int PLACEMENT_TYPE_FIELD_NUMBER
public static final int SKIP_OFFSET_FIELD_NUMBER
public static final int REWARDED_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Extension.VideoExtensions> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasPlayerSize()
player_size can be one of ["S", "M"., "L", "XL", "NA"]. Computed by the LocalAugmentor in Stinger.
optional string player_size = 1;hasPlayerSize in interface Extension.VideoExtensionsOrBuilderpublic String getPlayerSize()
player_size can be one of ["S", "M"., "L", "XL", "NA"]. Computed by the LocalAugmentor in Stinger.
optional string player_size = 1;getPlayerSize in interface Extension.VideoExtensionsOrBuilderpublic com.google.protobuf.ByteString getPlayerSizeBytes()
player_size can be one of ["S", "M"., "L", "XL", "NA"]. Computed by the LocalAugmentor in Stinger.
optional string player_size = 1;getPlayerSizeBytes in interface Extension.VideoExtensionsOrBuilderpublic List<OpenrtbCommon.CreativeAttribute> getRequiredAttrsList()
Creative attributes that are required by the request. For e.g. Adx requests that require skippable ads are modeled as having required_attr = AD_CAN_BE_SKIPPED
repeated .openrtb.CreativeAttribute required_attrs = 2;getRequiredAttrsList in interface Extension.VideoExtensionsOrBuilderpublic int getRequiredAttrsCount()
Creative attributes that are required by the request. For e.g. Adx requests that require skippable ads are modeled as having required_attr = AD_CAN_BE_SKIPPED
repeated .openrtb.CreativeAttribute required_attrs = 2;getRequiredAttrsCount in interface Extension.VideoExtensionsOrBuilderpublic OpenrtbCommon.CreativeAttribute getRequiredAttrs(int index)
Creative attributes that are required by the request. For e.g. Adx requests that require skippable ads are modeled as having required_attr = AD_CAN_BE_SKIPPED
repeated .openrtb.CreativeAttribute required_attrs = 2;getRequiredAttrs in interface Extension.VideoExtensionsOrBuilderpublic boolean hasPlacementType()
optional .openrtb.VideoExtensions.PlacementType placement_type = 3 [default = IN_STREAM];hasPlacementType in interface Extension.VideoExtensionsOrBuilderpublic Extension.VideoExtensions.PlacementType getPlacementType()
optional .openrtb.VideoExtensions.PlacementType placement_type = 3 [default = IN_STREAM];getPlacementType in interface Extension.VideoExtensionsOrBuilderpublic boolean hasSkipOffset()
Number of seconds into the video ad when the skip button appears. This is only applicable to skippable video ads. Some inventory sources such as Google Ad Exchange do not specify this skip offset explicity in the bid request. For such sources, skip_offset of 5 seconds is a safe default.
optional int32 skip_offset = 4 [default = 5];hasSkipOffset in interface Extension.VideoExtensionsOrBuilderpublic int getSkipOffset()
Number of seconds into the video ad when the skip button appears. This is only applicable to skippable video ads. Some inventory sources such as Google Ad Exchange do not specify this skip offset explicity in the bid request. For such sources, skip_offset of 5 seconds is a safe default.
optional int32 skip_offset = 4 [default = 5];getSkipOffset in interface Extension.VideoExtensionsOrBuilderpublic boolean hasRewarded()
Some exchanges support "rewarded videos". This signifies that an end user
will recieve a reward for interacting with the ad. E.g. if the user watches
the whole video, they get game currency in a phone game.
Two things to note:
1. Protobufs sets bools false by default. Unless this field exists and
is explicitly set to true, a video is considered "nonrewarded".
2. No exchange actually defines this field here, it is a generalization
of the different ways that exchanges denote rewarded videos.
optional bool rewarded = 5;hasRewarded in interface Extension.VideoExtensionsOrBuilderpublic boolean getRewarded()
Some exchanges support "rewarded videos". This signifies that an end user
will recieve a reward for interacting with the ad. E.g. if the user watches
the whole video, they get game currency in a phone game.
Two things to note:
1. Protobufs sets bools false by default. Unless this field exists and
is explicitly set to true, a video is considered "nonrewarded".
2. No exchange actually defines this field here, it is a generalization
of the different ways that exchanges denote rewarded videos.
optional bool rewarded = 5;getRewarded in interface Extension.VideoExtensionsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Extension.VideoExtensions>public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Extension.VideoExtensions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension.VideoExtensions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension.VideoExtensions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension.VideoExtensions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension.VideoExtensions parseFrom(InputStream input) throws IOException
IOExceptionpublic static Extension.VideoExtensions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Extension.VideoExtensions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Extension.VideoExtensions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Extension.VideoExtensions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Extension.VideoExtensions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Extension.VideoExtensions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Extension.VideoExtensions.Builder newBuilder()
public static Extension.VideoExtensions.Builder newBuilder(Extension.VideoExtensions prototype)
public Extension.VideoExtensions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Extension.VideoExtensions.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Extension.VideoExtensions getDefaultInstance()
public static com.google.protobuf.Parser<Extension.VideoExtensions> parser()
public com.google.protobuf.Parser<Extension.VideoExtensions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Extension.VideoExtensions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<Extension.VideoExtensions>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.