Package com.google.openrtb
Class OpenRtb.NativeResponse.Asset.Title
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.NativeResponse.Asset.Title>
-
- com.google.openrtb.OpenRtb.NativeResponse.Asset.Title
-
- All Implemented Interfaces:
OpenRtb.NativeResponse.Asset.TitleOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse.Asset.Title>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- OpenRtb.NativeResponse.Asset
public static final class OpenRtb.NativeResponse.Asset.Title extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.NativeResponse.Asset.Title> implements OpenRtb.NativeResponse.Asset.TitleOrBuilder
OpenRTB Native 1.0: Corresponds to the Title Object in the request, with the value filled in. If using assetsurl or dcourl response rather than embedded asset response, it is recommended that three title objects be provided, the length of each is less than or equal to the three recommended maximum title lengths (25,90,140).
Protobuf typecom.google.openrtb.NativeResponse.Asset.Title- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenRtb.NativeResponse.Asset.Title.BuilderOpenRTB Native 1.0: Corresponds to the Title Object in the request, with the value filled in.-
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 intLEN_FIELD_NUMBERstatic com.google.protobuf.Parser<OpenRtb.NativeResponse.Asset.Title>PARSERDeprecated.static intTEXT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static OpenRtb.NativeResponse.Asset.TitlegetDefaultInstance()OpenRtb.NativeResponse.Asset.TitlegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()intgetLen()The length of the title being provided.com.google.protobuf.Parser<OpenRtb.NativeResponse.Asset.Title>getParserForType()intgetSerializedSize()StringgetText()The text associated with the text element.com.google.protobuf.ByteStringgetTextBytes()The text associated with the text element.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasLen()The length of the title being provided.booleanhasText()The text associated with the text element.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OpenRtb.NativeResponse.Asset.Title.BuildernewBuilder()static OpenRtb.NativeResponse.Asset.Title.BuildernewBuilder(OpenRtb.NativeResponse.Asset.Title prototype)OpenRtb.NativeResponse.Asset.Title.BuildernewBuilderForType()protected OpenRtb.NativeResponse.Asset.Title.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OpenRtb.NativeResponse.Asset.TitleparseDelimitedFrom(InputStream input)static OpenRtb.NativeResponse.Asset.TitleparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeResponse.Asset.TitleparseFrom(byte[] data)static OpenRtb.NativeResponse.Asset.TitleparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeResponse.Asset.TitleparseFrom(com.google.protobuf.ByteString data)static OpenRtb.NativeResponse.Asset.TitleparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeResponse.Asset.TitleparseFrom(com.google.protobuf.CodedInputStream input)static OpenRtb.NativeResponse.Asset.TitleparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeResponse.Asset.TitleparseFrom(InputStream input)static OpenRtb.NativeResponse.Asset.TitleparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeResponse.Asset.TitleparseFrom(ByteBuffer data)static OpenRtb.NativeResponse.Asset.TitleparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OpenRtb.NativeResponse.Asset.Title>parser()OpenRtb.NativeResponse.Asset.Title.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
-
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LEN_FIELD_NUMBER
public static final int LEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OpenRtb.NativeResponse.Asset.Title> 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
-
hasText
public boolean hasText()
The text associated with the text element. REQUIRED by the OpenRTB Native specification.
required string text = 1;- Specified by:
hasTextin interfaceOpenRtb.NativeResponse.Asset.TitleOrBuilder- Returns:
- Whether the text field is set.
-
getText
public String getText()
The text associated with the text element. REQUIRED by the OpenRTB Native specification.
required string text = 1;- Specified by:
getTextin interfaceOpenRtb.NativeResponse.Asset.TitleOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()
The text associated with the text element. REQUIRED by the OpenRTB Native specification.
required string text = 1;- Specified by:
getTextBytesin interfaceOpenRtb.NativeResponse.Asset.TitleOrBuilder- Returns:
- The bytes for text.
-
hasLen
public boolean hasLen()
The length of the title being provided. REQUIRED if using assetsurl/dcourl representation.
optional int32 len = 2;- Specified by:
hasLenin interfaceOpenRtb.NativeResponse.Asset.TitleOrBuilder- Returns:
- Whether the len field is set.
-
getLen
public int getLen()
The length of the title being provided. REQUIRED if using assetsurl/dcourl representation.
optional int32 len = 2;- Specified by:
getLenin interfaceOpenRtb.NativeResponse.Asset.TitleOrBuilder- Returns:
- The len.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.NativeResponse.Asset.Title>
-
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.NativeResponse.Asset.Title parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeResponse.Asset.Title parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeResponse.Asset.Title parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeResponse.Asset.Title 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.NativeResponse.Asset.Title parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeResponse.Asset.Title parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeResponse.Asset.Title parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.NativeResponse.Asset.Title parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.NativeResponse.Asset.Title parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.NativeResponse.Asset.Title parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.NativeResponse.Asset.Title parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.NativeResponse.Asset.Title parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpenRtb.NativeResponse.Asset.Title.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OpenRtb.NativeResponse.Asset.Title.Builder newBuilder()
-
newBuilder
public static OpenRtb.NativeResponse.Asset.Title.Builder newBuilder(OpenRtb.NativeResponse.Asset.Title prototype)
-
toBuilder
public OpenRtb.NativeResponse.Asset.Title.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpenRtb.NativeResponse.Asset.Title.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpenRtb.NativeResponse.Asset.Title getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OpenRtb.NativeResponse.Asset.Title> parser()
-
getParserForType
public com.google.protobuf.Parser<OpenRtb.NativeResponse.Asset.Title> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OpenRtb.NativeResponse.Asset.Title getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse.Asset.Title>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-