Class AppFeedItem

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.AppFeedItem
All Implemented Interfaces:
AppFeedItemOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class AppFeedItem extends com.google.protobuf.GeneratedMessageV3 implements AppFeedItemOrBuilder
 Represents an App extension.
 
Protobuf type google.ads.googleads.v18.common.AppFeedItem
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Represents an App extension.

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The store-specific ID for the target application.
    com.google.protobuf.ByteString
    The store-specific ID for the target application.
    The application store that the target application belongs to.
    int
    The application store that the target application belongs to.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    getFinalMobileUrls(int index)
    A list of possible final mobile URLs after all cross domain redirects.
    com.google.protobuf.ByteString
    A list of possible final mobile URLs after all cross domain redirects.
    int
    A list of possible final mobile URLs after all cross domain redirects.
    com.google.protobuf.ProtocolStringList
    A list of possible final mobile URLs after all cross domain redirects.
    getFinalUrls(int index)
    A list of possible final URLs after all cross domain redirects.
    com.google.protobuf.ByteString
    getFinalUrlsBytes(int index)
    A list of possible final URLs after all cross domain redirects.
    int
    A list of possible final URLs after all cross domain redirects.
    com.google.protobuf.ProtocolStringList
    A list of possible final URLs after all cross domain redirects.
    URL template for appending params to landing page URLs served with parallel tracking.
    com.google.protobuf.ByteString
    URL template for appending params to landing page URLs served with parallel tracking.
    The visible text displayed when the link is rendered in an ad.
    com.google.protobuf.ByteString
    The visible text displayed when the link is rendered in an ad.
    com.google.protobuf.Parser<AppFeedItem>
     
    int
     
    URL template for constructing a tracking URL.
    com.google.protobuf.ByteString
    URL template for constructing a tracking URL.
    A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
    int
    A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
    A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
    A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
    A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.
    boolean
    The store-specific ID for the target application.
    boolean
    URL template for appending params to landing page URLs served with parallel tracking.
    int
     
    boolean
    The visible text displayed when the link is rendered in an ad.
    boolean
    URL template for constructing a tracking URL.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<AppFeedItem>
     
     
    void
    writeTo(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, 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.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • APP_ID_FIELD_NUMBER

      public static final int APP_ID_FIELD_NUMBER
      See Also:
    • APP_STORE_FIELD_NUMBER

      public static final int APP_STORE_FIELD_NUMBER
      See Also:
    • FINAL_URLS_FIELD_NUMBER

      public static final int FINAL_URLS_FIELD_NUMBER
      See Also:
    • FINAL_MOBILE_URLS_FIELD_NUMBER

      public static final int FINAL_MOBILE_URLS_FIELD_NUMBER
      See Also:
    • TRACKING_URL_TEMPLATE_FIELD_NUMBER

      public static final int TRACKING_URL_TEMPLATE_FIELD_NUMBER
      See Also:
    • URL_CUSTOM_PARAMETERS_FIELD_NUMBER

      public static final int URL_CUSTOM_PARAMETERS_FIELD_NUMBER
      See Also:
    • FINAL_URL_SUFFIX_FIELD_NUMBER

      public static final int FINAL_URL_SUFFIX_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasLinkText

      public boolean hasLinkText()
       The visible text displayed when the link is rendered in an ad.
       This string must not be empty, and the length of this string should
       be between 1 and 25, inclusive.
       
      optional string link_text = 9;
      Specified by:
      hasLinkText in interface AppFeedItemOrBuilder
      Returns:
      Whether the linkText field is set.
    • getLinkText

      public String getLinkText()
       The visible text displayed when the link is rendered in an ad.
       This string must not be empty, and the length of this string should
       be between 1 and 25, inclusive.
       
      optional string link_text = 9;
      Specified by:
      getLinkText in interface AppFeedItemOrBuilder
      Returns:
      The linkText.
    • getLinkTextBytes

      public com.google.protobuf.ByteString getLinkTextBytes()
       The visible text displayed when the link is rendered in an ad.
       This string must not be empty, and the length of this string should
       be between 1 and 25, inclusive.
       
      optional string link_text = 9;
      Specified by:
      getLinkTextBytes in interface AppFeedItemOrBuilder
      Returns:
      The bytes for linkText.
    • hasAppId

      public boolean hasAppId()
       The store-specific ID for the target application.
       This string must not be empty.
       
      optional string app_id = 10;
      Specified by:
      hasAppId in interface AppFeedItemOrBuilder
      Returns:
      Whether the appId field is set.
    • getAppId

      public String getAppId()
       The store-specific ID for the target application.
       This string must not be empty.
       
      optional string app_id = 10;
      Specified by:
      getAppId in interface AppFeedItemOrBuilder
      Returns:
      The appId.
    • getAppIdBytes

      public com.google.protobuf.ByteString getAppIdBytes()
       The store-specific ID for the target application.
       This string must not be empty.
       
      optional string app_id = 10;
      Specified by:
      getAppIdBytes in interface AppFeedItemOrBuilder
      Returns:
      The bytes for appId.
    • getAppStoreValue

      public int getAppStoreValue()
       The application store that the target application belongs to.
       This field is required.
       
      .google.ads.googleads.v18.enums.AppStoreEnum.AppStore app_store = 3;
      Specified by:
      getAppStoreValue in interface AppFeedItemOrBuilder
      Returns:
      The enum numeric value on the wire for appStore.
    • getAppStore

      public AppStoreEnum.AppStore getAppStore()
       The application store that the target application belongs to.
       This field is required.
       
      .google.ads.googleads.v18.enums.AppStoreEnum.AppStore app_store = 3;
      Specified by:
      getAppStore in interface AppFeedItemOrBuilder
      Returns:
      The appStore.
    • getFinalUrlsList

      public com.google.protobuf.ProtocolStringList getFinalUrlsList()
       A list of possible final URLs after all cross domain redirects.
       This list must not be empty.
       
      repeated string final_urls = 11;
      Specified by:
      getFinalUrlsList in interface AppFeedItemOrBuilder
      Returns:
      A list containing the finalUrls.
    • getFinalUrlsCount

      public int getFinalUrlsCount()
       A list of possible final URLs after all cross domain redirects.
       This list must not be empty.
       
      repeated string final_urls = 11;
      Specified by:
      getFinalUrlsCount in interface AppFeedItemOrBuilder
      Returns:
      The count of finalUrls.
    • getFinalUrls

      public String getFinalUrls(int index)
       A list of possible final URLs after all cross domain redirects.
       This list must not be empty.
       
      repeated string final_urls = 11;
      Specified by:
      getFinalUrls in interface AppFeedItemOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The finalUrls at the given index.
    • getFinalUrlsBytes

      public com.google.protobuf.ByteString getFinalUrlsBytes(int index)
       A list of possible final URLs after all cross domain redirects.
       This list must not be empty.
       
      repeated string final_urls = 11;
      Specified by:
      getFinalUrlsBytes in interface AppFeedItemOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the finalUrls at the given index.
    • getFinalMobileUrlsList

      public com.google.protobuf.ProtocolStringList getFinalMobileUrlsList()
       A list of possible final mobile URLs after all cross domain redirects.
       
      repeated string final_mobile_urls = 12;
      Specified by:
      getFinalMobileUrlsList in interface AppFeedItemOrBuilder
      Returns:
      A list containing the finalMobileUrls.
    • getFinalMobileUrlsCount

      public int getFinalMobileUrlsCount()
       A list of possible final mobile URLs after all cross domain redirects.
       
      repeated string final_mobile_urls = 12;
      Specified by:
      getFinalMobileUrlsCount in interface AppFeedItemOrBuilder
      Returns:
      The count of finalMobileUrls.
    • getFinalMobileUrls

      public String getFinalMobileUrls(int index)
       A list of possible final mobile URLs after all cross domain redirects.
       
      repeated string final_mobile_urls = 12;
      Specified by:
      getFinalMobileUrls in interface AppFeedItemOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The finalMobileUrls at the given index.
    • getFinalMobileUrlsBytes

      public com.google.protobuf.ByteString getFinalMobileUrlsBytes(int index)
       A list of possible final mobile URLs after all cross domain redirects.
       
      repeated string final_mobile_urls = 12;
      Specified by:
      getFinalMobileUrlsBytes in interface AppFeedItemOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the finalMobileUrls at the given index.
    • hasTrackingUrlTemplate

      public boolean hasTrackingUrlTemplate()
       URL template for constructing a tracking URL. Default value is "{lpurl}".
       
      optional string tracking_url_template = 13;
      Specified by:
      hasTrackingUrlTemplate in interface AppFeedItemOrBuilder
      Returns:
      Whether the trackingUrlTemplate field is set.
    • getTrackingUrlTemplate

      public String getTrackingUrlTemplate()
       URL template for constructing a tracking URL. Default value is "{lpurl}".
       
      optional string tracking_url_template = 13;
      Specified by:
      getTrackingUrlTemplate in interface AppFeedItemOrBuilder
      Returns:
      The trackingUrlTemplate.
    • getTrackingUrlTemplateBytes

      public com.google.protobuf.ByteString getTrackingUrlTemplateBytes()
       URL template for constructing a tracking URL. Default value is "{lpurl}".
       
      optional string tracking_url_template = 13;
      Specified by:
      getTrackingUrlTemplateBytes in interface AppFeedItemOrBuilder
      Returns:
      The bytes for trackingUrlTemplate.
    • getUrlCustomParametersList

      public List<CustomParameter> getUrlCustomParametersList()
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
      Specified by:
      getUrlCustomParametersList in interface AppFeedItemOrBuilder
    • getUrlCustomParametersOrBuilderList

      public List<? extends CustomParameterOrBuilder> getUrlCustomParametersOrBuilderList()
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
      Specified by:
      getUrlCustomParametersOrBuilderList in interface AppFeedItemOrBuilder
    • getUrlCustomParametersCount

      public int getUrlCustomParametersCount()
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
      Specified by:
      getUrlCustomParametersCount in interface AppFeedItemOrBuilder
    • getUrlCustomParameters

      public CustomParameter getUrlCustomParameters(int index)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
      Specified by:
      getUrlCustomParameters in interface AppFeedItemOrBuilder
    • getUrlCustomParametersOrBuilder

      public CustomParameterOrBuilder getUrlCustomParametersOrBuilder(int index)
       A list of mappings to be used for substituting URL custom parameter tags in
       the tracking_url_template, final_urls, and/or final_mobile_urls.
       
      repeated .google.ads.googleads.v18.common.CustomParameter url_custom_parameters = 7;
      Specified by:
      getUrlCustomParametersOrBuilder in interface AppFeedItemOrBuilder
    • hasFinalUrlSuffix

      public boolean hasFinalUrlSuffix()
       URL template for appending params to landing page URLs served with parallel
       tracking.
       
      optional string final_url_suffix = 14;
      Specified by:
      hasFinalUrlSuffix in interface AppFeedItemOrBuilder
      Returns:
      Whether the finalUrlSuffix field is set.
    • getFinalUrlSuffix

      public String getFinalUrlSuffix()
       URL template for appending params to landing page URLs served with parallel
       tracking.
       
      optional string final_url_suffix = 14;
      Specified by:
      getFinalUrlSuffix in interface AppFeedItemOrBuilder
      Returns:
      The finalUrlSuffix.
    • getFinalUrlSuffixBytes

      public com.google.protobuf.ByteString getFinalUrlSuffixBytes()
       URL template for appending params to landing page URLs served with parallel
       tracking.
       
      optional string final_url_suffix = 14;
      Specified by:
      getFinalUrlSuffixBytes in interface AppFeedItemOrBuilder
      Returns:
      The bytes for finalUrlSuffix.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AppFeedItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AppFeedItem parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AppFeedItem parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AppFeedItem parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AppFeedItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AppFeedItem parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AppFeedItem parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AppFeedItem parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AppFeedItem parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AppFeedItem parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AppFeedItem parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AppFeedItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public AppFeedItem.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AppFeedItem.Builder newBuilder()
    • newBuilder

      public static AppFeedItem.Builder newBuilder(AppFeedItem prototype)
    • toBuilder

      public AppFeedItem.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AppFeedItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static AppFeedItem getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AppFeedItem> parser()
    • getParserForType

      public com.google.protobuf.Parser<AppFeedItem> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public AppFeedItem getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder