public static final class Extension.BannerExtensions extends com.google.protobuf.GeneratedMessage.ExtendableMessage<Extension.BannerExtensions> implements Extension.BannerExtensionsOrBuilder
openrtb.BannerExtensions
Next available tag: 5
| Modifier and Type | Class and Description |
|---|---|
static class |
Extension.BannerExtensions.Builder
Protobuf type
openrtb.BannerExtensions |
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWritercom.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
ADDITIONAL_DIMENSIONS_FIELD_NUMBER |
static int |
BAPIS_FIELD_NUMBER |
static com.google.protobuf.Parser<Extension.BannerExtensions> |
PARSER
Deprecated.
|
static int |
REQUIRED_ATTRS_FIELD_NUMBER |
static int |
REWARDED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
Extension.Dimension |
getAdditionalDimensions(int index)
repeated .openrtb.Dimension additional_dimensions = 3; |
int |
getAdditionalDimensionsCount()
repeated .openrtb.Dimension additional_dimensions = 3; |
List<Extension.Dimension> |
getAdditionalDimensionsList()
repeated .openrtb.Dimension additional_dimensions = 3; |
Extension.DimensionOrBuilder |
getAdditionalDimensionsOrBuilder(int index)
repeated .openrtb.Dimension additional_dimensions = 3; |
List<? extends Extension.DimensionOrBuilder> |
getAdditionalDimensionsOrBuilderList()
repeated .openrtb.Dimension additional_dimensions = 3; |
OpenrtbCommon.Enums.BidRequest.Impression.ApiFramework |
getBapis(int index)
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework bapis = 1; |
int |
getBapisCount()
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework bapis = 1; |
List<OpenrtbCommon.Enums.BidRequest.Impression.ApiFramework> |
getBapisList()
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework bapis = 1; |
static Extension.BannerExtensions |
getDefaultInstance() |
Extension.BannerExtensions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Extension.BannerExtensions> |
getParserForType() |
OpenrtbCommon.CreativeAttribute |
getRequiredAttrs(int index)
repeated .openrtb.CreativeAttribute required_attrs = 2; |
int |
getRequiredAttrsCount()
repeated .openrtb.CreativeAttribute required_attrs = 2; |
List<OpenrtbCommon.CreativeAttribute> |
getRequiredAttrsList()
repeated .openrtb.CreativeAttribute required_attrs = 2; |
boolean |
getRewarded()
optional bool rewarded = 4; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasRewarded()
optional bool rewarded = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Extension.BannerExtensions.Builder |
newBuilder() |
static Extension.BannerExtensions.Builder |
newBuilder(Extension.BannerExtensions prototype) |
Extension.BannerExtensions.Builder |
newBuilderForType() |
protected Extension.BannerExtensions.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Extension.BannerExtensions |
parseDelimitedFrom(InputStream input) |
static Extension.BannerExtensions |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension.BannerExtensions |
parseFrom(byte[] data) |
static Extension.BannerExtensions |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension.BannerExtensions |
parseFrom(com.google.protobuf.ByteString data) |
static Extension.BannerExtensions |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension.BannerExtensions |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Extension.BannerExtensions |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Extension.BannerExtensions |
parseFrom(InputStream input) |
static Extension.BannerExtensions |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Extension.BannerExtensions> |
parser() |
Extension.BannerExtensions.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, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, 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 BAPIS_FIELD_NUMBER
public static final int REQUIRED_ATTRS_FIELD_NUMBER
public static final int ADDITIONAL_DIMENSIONS_FIELD_NUMBER
public static final int REWARDED_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Extension.BannerExtensions> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic List<OpenrtbCommon.Enums.BidRequest.Impression.ApiFramework> getBapisList()
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework bapis = 1;
Blocked ApiFrameworks
getBapisList in interface Extension.BannerExtensionsOrBuilderpublic int getBapisCount()
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework bapis = 1;
Blocked ApiFrameworks
getBapisCount in interface Extension.BannerExtensionsOrBuilderpublic OpenrtbCommon.Enums.BidRequest.Impression.ApiFramework getBapis(int index)
repeated .openrtb.Enums.BidRequest.Impression.ApiFramework bapis = 1;
Blocked ApiFrameworks
getBapis in interface Extension.BannerExtensionsOrBuilderpublic List<OpenrtbCommon.CreativeAttribute> getRequiredAttrsList()
repeated .openrtb.CreativeAttribute required_attrs = 2;
Creative attributes that are required by the request.
For e.g. MoPub request have "AD_HAS_THUMBNAIL" for the creative
to be returned in the response
getRequiredAttrsList in interface Extension.BannerExtensionsOrBuilderpublic int getRequiredAttrsCount()
repeated .openrtb.CreativeAttribute required_attrs = 2;
Creative attributes that are required by the request.
For e.g. MoPub request have "AD_HAS_THUMBNAIL" for the creative
to be returned in the response
getRequiredAttrsCount in interface Extension.BannerExtensionsOrBuilderpublic OpenrtbCommon.CreativeAttribute getRequiredAttrs(int index)
repeated .openrtb.CreativeAttribute required_attrs = 2;
Creative attributes that are required by the request.
For e.g. MoPub request have "AD_HAS_THUMBNAIL" for the creative
to be returned in the response
getRequiredAttrs in interface Extension.BannerExtensionsOrBuilderpublic List<Extension.Dimension> getAdditionalDimensionsList()
repeated .openrtb.Dimension additional_dimensions = 3;
Some exchanges such as Google Adx support multiple allowed sizes for an impression. In such cases, the additional dimensions (w, h) that are supported are present in this field. For example, if Adx supports 5 sets of allowed sizes in a request. The first allowed size will be in banner.w and banner.h The additional 4 sets will be in this field.
getAdditionalDimensionsList in interface Extension.BannerExtensionsOrBuilderpublic List<? extends Extension.DimensionOrBuilder> getAdditionalDimensionsOrBuilderList()
repeated .openrtb.Dimension additional_dimensions = 3;
Some exchanges such as Google Adx support multiple allowed sizes for an impression. In such cases, the additional dimensions (w, h) that are supported are present in this field. For example, if Adx supports 5 sets of allowed sizes in a request. The first allowed size will be in banner.w and banner.h The additional 4 sets will be in this field.
getAdditionalDimensionsOrBuilderList in interface Extension.BannerExtensionsOrBuilderpublic int getAdditionalDimensionsCount()
repeated .openrtb.Dimension additional_dimensions = 3;
Some exchanges such as Google Adx support multiple allowed sizes for an impression. In such cases, the additional dimensions (w, h) that are supported are present in this field. For example, if Adx supports 5 sets of allowed sizes in a request. The first allowed size will be in banner.w and banner.h The additional 4 sets will be in this field.
getAdditionalDimensionsCount in interface Extension.BannerExtensionsOrBuilderpublic Extension.Dimension getAdditionalDimensions(int index)
repeated .openrtb.Dimension additional_dimensions = 3;
Some exchanges such as Google Adx support multiple allowed sizes for an impression. In such cases, the additional dimensions (w, h) that are supported are present in this field. For example, if Adx supports 5 sets of allowed sizes in a request. The first allowed size will be in banner.w and banner.h The additional 4 sets will be in this field.
getAdditionalDimensions in interface Extension.BannerExtensionsOrBuilderpublic Extension.DimensionOrBuilder getAdditionalDimensionsOrBuilder(int index)
repeated .openrtb.Dimension additional_dimensions = 3;
Some exchanges such as Google Adx support multiple allowed sizes for an impression. In such cases, the additional dimensions (w, h) that are supported are present in this field. For example, if Adx supports 5 sets of allowed sizes in a request. The first allowed size will be in banner.w and banner.h The additional 4 sets will be in this field.
getAdditionalDimensionsOrBuilder in interface Extension.BannerExtensionsOrBuilderpublic boolean hasRewarded()
optional bool rewarded = 4;
Some exchanges support "rewarded banners". This signifies that an end user
will recieve a reward for interacting with the ad. E.g. if the user plays
a game in a playable banner, 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 banner is considered "nonrewarded".
2. No exchange actually defines this field here, it is a generalization
of the different ways that exchanges denote rewarded banners.
hasRewarded in interface Extension.BannerExtensionsOrBuilderpublic boolean getRewarded()
optional bool rewarded = 4;
Some exchanges support "rewarded banners". This signifies that an end user
will recieve a reward for interacting with the ad. E.g. if the user plays
a game in a playable banner, 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 banner is considered "nonrewarded".
2. No exchange actually defines this field here, it is a generalization
of the different ways that exchanges denote rewarded banners.
getRewarded in interface Extension.BannerExtensionsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<Extension.BannerExtensions>public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic static Extension.BannerExtensions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension.BannerExtensions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension.BannerExtensions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension.BannerExtensions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Extension.BannerExtensions parseFrom(InputStream input) throws IOException
IOExceptionpublic static Extension.BannerExtensions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Extension.BannerExtensions parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Extension.BannerExtensions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Extension.BannerExtensions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Extension.BannerExtensions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Extension.BannerExtensions.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Extension.BannerExtensions.Builder newBuilder()
public static Extension.BannerExtensions.Builder newBuilder(Extension.BannerExtensions prototype)
public Extension.BannerExtensions.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Extension.BannerExtensions.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static Extension.BannerExtensions getDefaultInstance()
public static com.google.protobuf.Parser<Extension.BannerExtensions> parser()
public com.google.protobuf.Parser<Extension.BannerExtensions> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Extension.BannerExtensions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<Extension.BannerExtensions>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.