public static final class Openrtb.NativeResponse.Asset.Image extends com.google.protobuf.GeneratedMessage.ExtendableMessage<Openrtb.NativeResponse.Asset.Image> implements Openrtb.NativeResponse.Asset.ImageOrBuilder
openrtb.NativeResponse.Asset.Image
OpenRTB Native 5.5: Corresponds to the Image Object in the request. The Image object to be used for all image elements of the Native ad such as Icons, Main Image, etc.
| Modifier and Type | Class and Description |
|---|---|
static class |
Openrtb.NativeResponse.Asset.Image.Builder
Protobuf type
openrtb.NativeResponse.Asset.Image |
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 |
H_FIELD_NUMBER |
static com.google.protobuf.Parser<Openrtb.NativeResponse.Asset.Image> |
PARSER
Deprecated.
|
static int |
URL_FIELD_NUMBER |
static int |
W_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static Openrtb.NativeResponse.Asset.Image |
getDefaultInstance() |
Openrtb.NativeResponse.Asset.Image |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getH()
optional int32 h = 3; |
com.google.protobuf.Parser<Openrtb.NativeResponse.Asset.Image> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getUrl()
optional string url = 1; |
com.google.protobuf.ByteString |
getUrlBytes()
optional string url = 1; |
int |
getW()
optional int32 w = 2; |
boolean |
hasH()
optional int32 h = 3; |
boolean |
hasUrl()
optional string url = 1; |
boolean |
hasW()
optional int32 w = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Openrtb.NativeResponse.Asset.Image.Builder |
newBuilder() |
static Openrtb.NativeResponse.Asset.Image.Builder |
newBuilder(Openrtb.NativeResponse.Asset.Image prototype) |
Openrtb.NativeResponse.Asset.Image.Builder |
newBuilderForType() |
protected Openrtb.NativeResponse.Asset.Image.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Openrtb.NativeResponse.Asset.Image |
parseDelimitedFrom(InputStream input) |
static Openrtb.NativeResponse.Asset.Image |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse.Asset.Image |
parseFrom(byte[] data) |
static Openrtb.NativeResponse.Asset.Image |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse.Asset.Image |
parseFrom(com.google.protobuf.ByteString data) |
static Openrtb.NativeResponse.Asset.Image |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse.Asset.Image |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Openrtb.NativeResponse.Asset.Image |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.NativeResponse.Asset.Image |
parseFrom(InputStream input) |
static Openrtb.NativeResponse.Asset.Image |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Openrtb.NativeResponse.Asset.Image> |
parser() |
Openrtb.NativeResponse.Asset.Image.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 URL_FIELD_NUMBER
public static final int W_FIELD_NUMBER
public static final int H_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Openrtb.NativeResponse.Asset.Image> 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 hasUrl()
optional string url = 1;
URL of the image asset.
hasUrl in interface Openrtb.NativeResponse.Asset.ImageOrBuilderpublic String getUrl()
optional string url = 1;
URL of the image asset.
getUrl in interface Openrtb.NativeResponse.Asset.ImageOrBuilderpublic com.google.protobuf.ByteString getUrlBytes()
optional string url = 1;
URL of the image asset.
getUrlBytes in interface Openrtb.NativeResponse.Asset.ImageOrBuilderpublic boolean hasW()
optional int32 w = 2;
Width of the image in pixels. This field is not required, but it's highly recommended.
hasW in interface Openrtb.NativeResponse.Asset.ImageOrBuilderpublic int getW()
optional int32 w = 2;
Width of the image in pixels. This field is not required, but it's highly recommended.
getW in interface Openrtb.NativeResponse.Asset.ImageOrBuilderpublic boolean hasH()
optional int32 h = 3;
Height of the image in pixels. This field is not required, but it's highly recommended.
hasH in interface Openrtb.NativeResponse.Asset.ImageOrBuilderpublic int getH()
optional int32 h = 3;
Height of the image in pixels. This field is not required, but it's highly recommended.
getH in interface Openrtb.NativeResponse.Asset.ImageOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<Openrtb.NativeResponse.Asset.Image>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.Image parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse.Asset.Image parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse.Asset.Image parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse.Asset.Image parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.NativeResponse.Asset.Image parseFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Asset.Image parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Asset.Image parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Asset.Image parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Asset.Image parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Openrtb.NativeResponse.Asset.Image parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Openrtb.NativeResponse.Asset.Image.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Openrtb.NativeResponse.Asset.Image.Builder newBuilder()
public static Openrtb.NativeResponse.Asset.Image.Builder newBuilder(Openrtb.NativeResponse.Asset.Image prototype)
public Openrtb.NativeResponse.Asset.Image.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Openrtb.NativeResponse.Asset.Image.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static Openrtb.NativeResponse.Asset.Image getDefaultInstance()
public static com.google.protobuf.Parser<Openrtb.NativeResponse.Asset.Image> parser()
public com.google.protobuf.Parser<Openrtb.NativeResponse.Asset.Image> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Openrtb.NativeResponse.Asset.Image getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<Openrtb.NativeResponse.Asset.Image>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.