Class PriceFeedItem

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

public final class PriceFeedItem extends com.google.protobuf.GeneratedMessageV3 implements PriceFeedItemOrBuilder
 Represents a Price extension.
 
Protobuf type google.ads.googleads.v18.common.PriceFeedItem
See Also:
  • Field Details

    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • PRICE_QUALIFIER_FIELD_NUMBER

      public static final int PRICE_QUALIFIER_FIELD_NUMBER
      See Also:
    • TRACKING_URL_TEMPLATE_FIELD_NUMBER

      public static final int TRACKING_URL_TEMPLATE_FIELD_NUMBER
      See Also:
    • LANGUAGE_CODE_FIELD_NUMBER

      public static final int LANGUAGE_CODE_FIELD_NUMBER
      See Also:
    • PRICE_OFFERINGS_FIELD_NUMBER

      public static final int PRICE_OFFERINGS_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
    • getTypeValue

      public int getTypeValue()
       Price extension type of this extension.
       
      .google.ads.googleads.v18.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1;
      Specified by:
      getTypeValue in interface PriceFeedItemOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Price extension type of this extension.
       
      .google.ads.googleads.v18.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1;
      Specified by:
      getType in interface PriceFeedItemOrBuilder
      Returns:
      The type.
    • getPriceQualifierValue

      public int getPriceQualifierValue()
       Price qualifier for all offers of this price extension.
       
      .google.ads.googleads.v18.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2;
      Specified by:
      getPriceQualifierValue in interface PriceFeedItemOrBuilder
      Returns:
      The enum numeric value on the wire for priceQualifier.
    • getPriceQualifier

       Price qualifier for all offers of this price extension.
       
      .google.ads.googleads.v18.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2;
      Specified by:
      getPriceQualifier in interface PriceFeedItemOrBuilder
      Returns:
      The priceQualifier.
    • hasTrackingUrlTemplate

      public boolean hasTrackingUrlTemplate()
       Tracking URL template for all offers of this price extension.
       
      optional string tracking_url_template = 7;
      Specified by:
      hasTrackingUrlTemplate in interface PriceFeedItemOrBuilder
      Returns:
      Whether the trackingUrlTemplate field is set.
    • getTrackingUrlTemplate

      public String getTrackingUrlTemplate()
       Tracking URL template for all offers of this price extension.
       
      optional string tracking_url_template = 7;
      Specified by:
      getTrackingUrlTemplate in interface PriceFeedItemOrBuilder
      Returns:
      The trackingUrlTemplate.
    • getTrackingUrlTemplateBytes

      public com.google.protobuf.ByteString getTrackingUrlTemplateBytes()
       Tracking URL template for all offers of this price extension.
       
      optional string tracking_url_template = 7;
      Specified by:
      getTrackingUrlTemplateBytes in interface PriceFeedItemOrBuilder
      Returns:
      The bytes for trackingUrlTemplate.
    • hasLanguageCode

      public boolean hasLanguageCode()
       The code of the language used for this price extension.
       
      optional string language_code = 8;
      Specified by:
      hasLanguageCode in interface PriceFeedItemOrBuilder
      Returns:
      Whether the languageCode field is set.
    • getLanguageCode

      public String getLanguageCode()
       The code of the language used for this price extension.
       
      optional string language_code = 8;
      Specified by:
      getLanguageCode in interface PriceFeedItemOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public com.google.protobuf.ByteString getLanguageCodeBytes()
       The code of the language used for this price extension.
       
      optional string language_code = 8;
      Specified by:
      getLanguageCodeBytes in interface PriceFeedItemOrBuilder
      Returns:
      The bytes for languageCode.
    • getPriceOfferingsList

      public List<PriceOffer> getPriceOfferingsList()
       The price offerings in this price extension.
       
      repeated .google.ads.googleads.v18.common.PriceOffer price_offerings = 5;
      Specified by:
      getPriceOfferingsList in interface PriceFeedItemOrBuilder
    • getPriceOfferingsOrBuilderList

      public List<? extends PriceOfferOrBuilder> getPriceOfferingsOrBuilderList()
       The price offerings in this price extension.
       
      repeated .google.ads.googleads.v18.common.PriceOffer price_offerings = 5;
      Specified by:
      getPriceOfferingsOrBuilderList in interface PriceFeedItemOrBuilder
    • getPriceOfferingsCount

      public int getPriceOfferingsCount()
       The price offerings in this price extension.
       
      repeated .google.ads.googleads.v18.common.PriceOffer price_offerings = 5;
      Specified by:
      getPriceOfferingsCount in interface PriceFeedItemOrBuilder
    • getPriceOfferings

      public PriceOffer getPriceOfferings(int index)
       The price offerings in this price extension.
       
      repeated .google.ads.googleads.v18.common.PriceOffer price_offerings = 5;
      Specified by:
      getPriceOfferings in interface PriceFeedItemOrBuilder
    • getPriceOfferingsOrBuilder

      public PriceOfferOrBuilder getPriceOfferingsOrBuilder(int index)
       The price offerings in this price extension.
       
      repeated .google.ads.googleads.v18.common.PriceOffer price_offerings = 5;
      Specified by:
      getPriceOfferingsOrBuilder in interface PriceFeedItemOrBuilder
    • hasFinalUrlSuffix

      public boolean hasFinalUrlSuffix()
       Tracking URL template for all offers of this price extension.
       
      optional string final_url_suffix = 9;
      Specified by:
      hasFinalUrlSuffix in interface PriceFeedItemOrBuilder
      Returns:
      Whether the finalUrlSuffix field is set.
    • getFinalUrlSuffix

      public String getFinalUrlSuffix()
       Tracking URL template for all offers of this price extension.
       
      optional string final_url_suffix = 9;
      Specified by:
      getFinalUrlSuffix in interface PriceFeedItemOrBuilder
      Returns:
      The finalUrlSuffix.
    • getFinalUrlSuffixBytes

      public com.google.protobuf.ByteString getFinalUrlSuffixBytes()
       Tracking URL template for all offers of this price extension.
       
      optional string final_url_suffix = 9;
      Specified by:
      getFinalUrlSuffixBytes in interface PriceFeedItemOrBuilder
      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 PriceFeedItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static PriceFeedItem.Builder newBuilder()
    • newBuilder

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

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

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

      public static PriceFeedItem getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<PriceFeedItem> 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 PriceFeedItem getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder