Class AppAdInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.AppAdInfo
- All Implemented Interfaces:
AppAdInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class AppAdInfo
extends com.google.protobuf.GeneratedMessageV3
implements AppAdInfoOrBuilder
An app ad.Protobuf type
google.ads.googleads.v18.common.AppAdInfo- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AppAdInfogetDescriptions(int index) List of text assets for descriptions.intList of text assets for descriptions.List of text assets for descriptions.getDescriptionsOrBuilder(int index) List of text assets for descriptions.List<? extends AdTextAssetOrBuilder>List of text assets for descriptions.static final com.google.protobuf.Descriptors.DescriptorgetHeadlines(int index) List of text assets for headlines.intList of text assets for headlines.List of text assets for headlines.getHeadlinesOrBuilder(int index) List of text assets for headlines.List<? extends AdTextAssetOrBuilder>List of text assets for headlines.getHtml5MediaBundles(int index) List of media bundle assets that may be used with the ad.intList of media bundle assets that may be used with the ad.List of media bundle assets that may be used with the ad.getHtml5MediaBundlesOrBuilder(int index) List of media bundle assets that may be used with the ad.List<? extends AdMediaBundleAssetOrBuilder>List of media bundle assets that may be used with the ad.getImages(int index) List of image assets that may be displayed with the ad.intList of image assets that may be displayed with the ad.List of image assets that may be displayed with the ad.getImagesOrBuilder(int index) List of image assets that may be displayed with the ad.List<? extends AdImageAssetOrBuilder>List of image assets that may be displayed with the ad.Mandatory ad text.Mandatory ad text.com.google.protobuf.Parser<AppAdInfo>intgetYoutubeVideos(int index) List of YouTube video assets that may be displayed with the ad.intList of YouTube video assets that may be displayed with the ad.List of YouTube video assets that may be displayed with the ad.getYoutubeVideosOrBuilder(int index) List of YouTube video assets that may be displayed with the ad.List<? extends AdVideoAssetOrBuilder>List of YouTube video assets that may be displayed with the ad.inthashCode()booleanMandatory ad text.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AppAdInfo.Builderstatic AppAdInfo.BuildernewBuilder(AppAdInfo prototype) protected AppAdInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AppAdInfoparseDelimitedFrom(InputStream input) static AppAdInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppAdInfoparseFrom(byte[] data) static AppAdInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppAdInfoparseFrom(com.google.protobuf.ByteString data) static AppAdInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppAdInfoparseFrom(com.google.protobuf.CodedInputStream input) static AppAdInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppAdInfoparseFrom(InputStream input) static AppAdInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppAdInfoparseFrom(ByteBuffer data) static AppAdInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AppAdInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
MANDATORY_AD_TEXT_FIELD_NUMBER
public static final int MANDATORY_AD_TEXT_FIELD_NUMBER- See Also:
-
HEADLINES_FIELD_NUMBER
public static final int HEADLINES_FIELD_NUMBER- See Also:
-
DESCRIPTIONS_FIELD_NUMBER
public static final int DESCRIPTIONS_FIELD_NUMBER- See Also:
-
IMAGES_FIELD_NUMBER
public static final int IMAGES_FIELD_NUMBER- See Also:
-
YOUTUBE_VIDEOS_FIELD_NUMBER
public static final int YOUTUBE_VIDEOS_FIELD_NUMBER- See Also:
-
HTML5_MEDIA_BUNDLES_FIELD_NUMBER
public static final int HTML5_MEDIA_BUNDLES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
-
hasMandatoryAdText
public boolean hasMandatoryAdText()Mandatory ad text.
.google.ads.googleads.v18.common.AdTextAsset mandatory_ad_text = 1;- Specified by:
hasMandatoryAdTextin interfaceAppAdInfoOrBuilder- Returns:
- Whether the mandatoryAdText field is set.
-
getMandatoryAdText
Mandatory ad text.
.google.ads.googleads.v18.common.AdTextAsset mandatory_ad_text = 1;- Specified by:
getMandatoryAdTextin interfaceAppAdInfoOrBuilder- Returns:
- The mandatoryAdText.
-
getMandatoryAdTextOrBuilder
Mandatory ad text.
.google.ads.googleads.v18.common.AdTextAsset mandatory_ad_text = 1;- Specified by:
getMandatoryAdTextOrBuilderin interfaceAppAdInfoOrBuilder
-
getHeadlinesList
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 2;- Specified by:
getHeadlinesListin interfaceAppAdInfoOrBuilder
-
getHeadlinesOrBuilderList
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 2;- Specified by:
getHeadlinesOrBuilderListin interfaceAppAdInfoOrBuilder
-
getHeadlinesCount
public int getHeadlinesCount()List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 2;- Specified by:
getHeadlinesCountin interfaceAppAdInfoOrBuilder
-
getHeadlines
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 2;- Specified by:
getHeadlinesin interfaceAppAdInfoOrBuilder
-
getHeadlinesOrBuilder
List of text assets for headlines. When the ad serves the headlines will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset headlines = 2;- Specified by:
getHeadlinesOrBuilderin interfaceAppAdInfoOrBuilder
-
getDescriptionsList
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 3;- Specified by:
getDescriptionsListin interfaceAppAdInfoOrBuilder
-
getDescriptionsOrBuilderList
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 3;- Specified by:
getDescriptionsOrBuilderListin interfaceAppAdInfoOrBuilder
-
getDescriptionsCount
public int getDescriptionsCount()List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 3;- Specified by:
getDescriptionsCountin interfaceAppAdInfoOrBuilder
-
getDescriptions
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 3;- Specified by:
getDescriptionsin interfaceAppAdInfoOrBuilder
-
getDescriptionsOrBuilder
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list.
repeated .google.ads.googleads.v18.common.AdTextAsset descriptions = 3;- Specified by:
getDescriptionsOrBuilderin interfaceAppAdInfoOrBuilder
-
getImagesList
List of image assets that may be displayed with the ad.
repeated .google.ads.googleads.v18.common.AdImageAsset images = 4;- Specified by:
getImagesListin interfaceAppAdInfoOrBuilder
-
getImagesOrBuilderList
List of image assets that may be displayed with the ad.
repeated .google.ads.googleads.v18.common.AdImageAsset images = 4;- Specified by:
getImagesOrBuilderListin interfaceAppAdInfoOrBuilder
-
getImagesCount
public int getImagesCount()List of image assets that may be displayed with the ad.
repeated .google.ads.googleads.v18.common.AdImageAsset images = 4;- Specified by:
getImagesCountin interfaceAppAdInfoOrBuilder
-
getImages
List of image assets that may be displayed with the ad.
repeated .google.ads.googleads.v18.common.AdImageAsset images = 4;- Specified by:
getImagesin interfaceAppAdInfoOrBuilder
-
getImagesOrBuilder
List of image assets that may be displayed with the ad.
repeated .google.ads.googleads.v18.common.AdImageAsset images = 4;- Specified by:
getImagesOrBuilderin interfaceAppAdInfoOrBuilder
-
getYoutubeVideosList
List of YouTube video assets that may be displayed with the ad.
repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 5;- Specified by:
getYoutubeVideosListin interfaceAppAdInfoOrBuilder
-
getYoutubeVideosOrBuilderList
List of YouTube video assets that may be displayed with the ad.
repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 5;- Specified by:
getYoutubeVideosOrBuilderListin interfaceAppAdInfoOrBuilder
-
getYoutubeVideosCount
public int getYoutubeVideosCount()List of YouTube video assets that may be displayed with the ad.
repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 5;- Specified by:
getYoutubeVideosCountin interfaceAppAdInfoOrBuilder
-
getYoutubeVideos
List of YouTube video assets that may be displayed with the ad.
repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 5;- Specified by:
getYoutubeVideosin interfaceAppAdInfoOrBuilder
-
getYoutubeVideosOrBuilder
List of YouTube video assets that may be displayed with the ad.
repeated .google.ads.googleads.v18.common.AdVideoAsset youtube_videos = 5;- Specified by:
getYoutubeVideosOrBuilderin interfaceAppAdInfoOrBuilder
-
getHtml5MediaBundlesList
List of media bundle assets that may be used with the ad.
repeated .google.ads.googleads.v18.common.AdMediaBundleAsset html5_media_bundles = 6;- Specified by:
getHtml5MediaBundlesListin interfaceAppAdInfoOrBuilder
-
getHtml5MediaBundlesOrBuilderList
List of media bundle assets that may be used with the ad.
repeated .google.ads.googleads.v18.common.AdMediaBundleAsset html5_media_bundles = 6;- Specified by:
getHtml5MediaBundlesOrBuilderListin interfaceAppAdInfoOrBuilder
-
getHtml5MediaBundlesCount
public int getHtml5MediaBundlesCount()List of media bundle assets that may be used with the ad.
repeated .google.ads.googleads.v18.common.AdMediaBundleAsset html5_media_bundles = 6;- Specified by:
getHtml5MediaBundlesCountin interfaceAppAdInfoOrBuilder
-
getHtml5MediaBundles
List of media bundle assets that may be used with the ad.
repeated .google.ads.googleads.v18.common.AdMediaBundleAsset html5_media_bundles = 6;- Specified by:
getHtml5MediaBundlesin interfaceAppAdInfoOrBuilder
-
getHtml5MediaBundlesOrBuilder
List of media bundle assets that may be used with the ad.
repeated .google.ads.googleads.v18.common.AdMediaBundleAsset html5_media_bundles = 6;- Specified by:
getHtml5MediaBundlesOrBuilderin interfaceAppAdInfoOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- 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
- 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 AppAdInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppAdInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppAdInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppAdInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppAdInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppAdInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AppAdInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AppAdInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AppAdInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AppAdInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-