public static final class Openrtb.NativeResponse.Asset.Data extends com.google.protobuf.GeneratedMessage.ExtendableMessage<Openrtb.NativeResponse.Asset.Data> implements Openrtb.NativeResponse.Asset.DataOrBuilder
openrtb.NativeResponse.Asset.Data
OpenRTB Native 5.6: Corresponds to the Data Object in the request, with the value filled in. The Data Object is to be used for all miscellaneous elements of the native unit such as Ratings, Review Count, Stars, Downloads, Price count etc. It is also generic for future of Native elements not contemplated at the time of the writing of this document.
| Modifier and Type | Class and Description |
|---|---|
static class |
Openrtb.NativeResponse.Asset.Data.Builder
Protobuf type
openrtb.NativeResponse.Asset.Data |
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 |
LABEL_FIELD_NUMBER |
static com.google.protobuf.Parser<Openrtb.NativeResponse.Asset.Data> |
PARSER
Deprecated.
|
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static Openrtb.NativeResponse.Asset.Data |
getDefaultInstance() |
Openrtb.NativeResponse.Asset.Data |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getLabel()
optional string label = 1; |
com.google.protobuf.ByteString |
getLabelBytes()
optional string label = 1; |
com.google.protobuf.Parser<Openrtb.NativeResponse.Asset.Data> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getValue()
required string value = 2; |
com.google.protobuf.ByteString |
getValueBytes()
required string value = 2; |
boolean |
hasLabel()
optional string label = 1; |
boolean |
hasValue()
required string value = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Openrtb.NativeResponse.Asset.Data.Builder |
newBuilder() |
static Openrtb.NativeResponse.Asset.Data.Builder |
newBuilder(Openrtb.NativeResponse.Asset.Data prototype) |
Openrtb.NativeResponse.Asset.Data.Builder |
newBuilderForType() |
protected Openrtb.NativeResponse.Asset.Data.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Openrtb.NativeResponse.Asset.Data |
parseDelimitedFrom(InputStream input) |
static Openrtb.NativeResponse.Asset.Data |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse.Asset.Data |
parseFrom(byte[] data) |
static Openrtb.NativeResponse.Asset.Data |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse.Asset.Data |
parseFrom(com.google.protobuf.ByteString data) |
static Openrtb.NativeResponse.Asset.Data |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse.Asset.Data |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Openrtb.NativeResponse.Asset.Data |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse.Asset.Data |
parseFrom(InputStream input) |
static Openrtb.NativeResponse.Asset.Data |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Openrtb.NativeResponse.Asset.Data> |
parser() |
Openrtb.NativeResponse.Asset.Data.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 LABEL_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Openrtb.NativeResponse.Asset.Data> 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 boolean hasLabel()
optional string label = 1;
The optional formatted string name of the data type to be displayed.
hasLabel in interface Openrtb.NativeResponse.Asset.DataOrBuilderpublic String getLabel()
optional string label = 1;
The optional formatted string name of the data type to be displayed.
getLabel in interface Openrtb.NativeResponse.Asset.DataOrBuilderpublic com.google.protobuf.ByteString getLabelBytes()
optional string label = 1;
The optional formatted string name of the data type to be displayed.
getLabelBytes in interface Openrtb.NativeResponse.Asset.DataOrBuilderpublic boolean hasValue()
required string value = 2;
The formatted string of data to be displayed. Can contain a formatted value such as "5 stars" or "$10" or "3.4 stars out of 5".
hasValue in interface Openrtb.NativeResponse.Asset.DataOrBuilderpublic String getValue()
required string value = 2;
The formatted string of data to be displayed. Can contain a formatted value such as "5 stars" or "$10" or "3.4 stars out of 5".
getValue in interface Openrtb.NativeResponse.Asset.DataOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
required string value = 2;
The formatted string of data to be displayed. Can contain a formatted value such as "5 stars" or "$10" or "3.4 stars out of 5".
getValueBytes in interface Openrtb.NativeResponse.Asset.DataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<Openrtb.NativeResponse.Asset.Data>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 Openrtb.NativeResponse.Asset.Data parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse.Asset.Data parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse.Asset.Data parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse.Asset.Data parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse.Asset.Data parseFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Asset.Data parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Asset.Data parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Asset.Data parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Asset.Data parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Asset.Data parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Openrtb.NativeResponse.Asset.Data.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Openrtb.NativeResponse.Asset.Data.Builder newBuilder()
public static Openrtb.NativeResponse.Asset.Data.Builder newBuilder(Openrtb.NativeResponse.Asset.Data prototype)
public Openrtb.NativeResponse.Asset.Data.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Openrtb.NativeResponse.Asset.Data.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static Openrtb.NativeResponse.Asset.Data getDefaultInstance()
public static com.google.protobuf.Parser<Openrtb.NativeResponse.Asset.Data> parser()
public com.google.protobuf.Parser<Openrtb.NativeResponse.Asset.Data> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Openrtb.NativeResponse.Asset.Data getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<Openrtb.NativeResponse.Asset.Data>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.