Class PriceFeedItem
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.PriceFeedItem
-
- All Implemented Interfaces:
PriceFeedItemOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class PriceFeedItem extends com.google.protobuf.GeneratedMessageV3 implements PriceFeedItemOrBuilder
Represents a Price extension.
Protobuf typegoogle.ads.googleads.v10.common.PriceFeedItem- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPriceFeedItem.BuilderRepresents a Price extension.-
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 intFINAL_URL_SUFFIX_FIELD_NUMBERstatic intLANGUAGE_CODE_FIELD_NUMBERstatic intPRICE_OFFERINGS_FIELD_NUMBERstatic intPRICE_QUALIFIER_FIELD_NUMBERstatic intTRACKING_URL_TEMPLATE_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static PriceFeedItemgetDefaultInstance()PriceFeedItemgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetFinalUrlSuffix()Tracking URL template for all offers of this price extension.com.google.protobuf.ByteStringgetFinalUrlSuffixBytes()Tracking URL template for all offers of this price extension.java.lang.StringgetLanguageCode()The code of the language used for this price extension.com.google.protobuf.ByteStringgetLanguageCodeBytes()The code of the language used for this price extension.com.google.protobuf.Parser<PriceFeedItem>getParserForType()PriceOffergetPriceOfferings(int index)The price offerings in this price extension.intgetPriceOfferingsCount()The price offerings in this price extension.java.util.List<PriceOffer>getPriceOfferingsList()The price offerings in this price extension.PriceOfferOrBuildergetPriceOfferingsOrBuilder(int index)The price offerings in this price extension.java.util.List<? extends PriceOfferOrBuilder>getPriceOfferingsOrBuilderList()The price offerings in this price extension.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifiergetPriceQualifier()Price qualifier for all offers of this price extension.intgetPriceQualifierValue()Price qualifier for all offers of this price extension.intgetSerializedSize()java.lang.StringgetTrackingUrlTemplate()Tracking URL template for all offers of this price extension.com.google.protobuf.ByteStringgetTrackingUrlTemplateBytes()Tracking URL template for all offers of this price extension.PriceExtensionTypeEnum.PriceExtensionTypegetType()Price extension type of this extension.intgetTypeValue()Price extension type of this extension.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasFinalUrlSuffix()Tracking URL template for all offers of this price extension.inthashCode()booleanhasLanguageCode()The code of the language used for this price extension.booleanhasTrackingUrlTemplate()Tracking URL template for all offers of this price extension.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PriceFeedItem.BuildernewBuilder()static PriceFeedItem.BuildernewBuilder(PriceFeedItem prototype)PriceFeedItem.BuildernewBuilderForType()protected PriceFeedItem.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PriceFeedItemparseDelimitedFrom(java.io.InputStream input)static PriceFeedItemparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PriceFeedItemparseFrom(byte[] data)static PriceFeedItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PriceFeedItemparseFrom(com.google.protobuf.ByteString data)static PriceFeedItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PriceFeedItemparseFrom(com.google.protobuf.CodedInputStream input)static PriceFeedItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PriceFeedItemparseFrom(java.io.InputStream input)static PriceFeedItemparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PriceFeedItemparseFrom(java.nio.ByteBuffer data)static PriceFeedItemparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PriceFeedItem>parser()PriceFeedItem.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
-
-
-
-
Field Detail
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRICE_QUALIFIER_FIELD_NUMBER
public static final int PRICE_QUALIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACKING_URL_TEMPLATE_FIELD_NUMBER
public static final int TRACKING_URL_TEMPLATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LANGUAGE_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRICE_OFFERINGS_FIELD_NUMBER
public static final int PRICE_OFFERINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINAL_URL_SUFFIX_FIELD_NUMBER
public static final int FINAL_URL_SUFFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.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
-
getTypeValue
public int getTypeValue()
Price extension type of this extension.
.google.ads.googleads.v10.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1;- Specified by:
getTypeValuein interfacePriceFeedItemOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public PriceExtensionTypeEnum.PriceExtensionType getType()
Price extension type of this extension.
.google.ads.googleads.v10.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1;- Specified by:
getTypein interfacePriceFeedItemOrBuilder- Returns:
- The type.
-
getPriceQualifierValue
public int getPriceQualifierValue()
Price qualifier for all offers of this price extension.
.google.ads.googleads.v10.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2;- Specified by:
getPriceQualifierValuein interfacePriceFeedItemOrBuilder- Returns:
- The enum numeric value on the wire for priceQualifier.
-
getPriceQualifier
public PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier getPriceQualifier()
Price qualifier for all offers of this price extension.
.google.ads.googleads.v10.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2;- Specified by:
getPriceQualifierin interfacePriceFeedItemOrBuilder- 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:
hasTrackingUrlTemplatein interfacePriceFeedItemOrBuilder- Returns:
- Whether the trackingUrlTemplate field is set.
-
getTrackingUrlTemplate
public java.lang.String getTrackingUrlTemplate()
Tracking URL template for all offers of this price extension.
optional string tracking_url_template = 7;- Specified by:
getTrackingUrlTemplatein interfacePriceFeedItemOrBuilder- 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:
getTrackingUrlTemplateBytesin interfacePriceFeedItemOrBuilder- 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:
hasLanguageCodein interfacePriceFeedItemOrBuilder- Returns:
- Whether the languageCode field is set.
-
getLanguageCode
public java.lang.String getLanguageCode()
The code of the language used for this price extension.
optional string language_code = 8;- Specified by:
getLanguageCodein interfacePriceFeedItemOrBuilder- 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:
getLanguageCodeBytesin interfacePriceFeedItemOrBuilder- Returns:
- The bytes for languageCode.
-
getPriceOfferingsList
public java.util.List<PriceOffer> getPriceOfferingsList()
The price offerings in this price extension.
repeated .google.ads.googleads.v10.common.PriceOffer price_offerings = 5;- Specified by:
getPriceOfferingsListin interfacePriceFeedItemOrBuilder
-
getPriceOfferingsOrBuilderList
public java.util.List<? extends PriceOfferOrBuilder> getPriceOfferingsOrBuilderList()
The price offerings in this price extension.
repeated .google.ads.googleads.v10.common.PriceOffer price_offerings = 5;- Specified by:
getPriceOfferingsOrBuilderListin interfacePriceFeedItemOrBuilder
-
getPriceOfferingsCount
public int getPriceOfferingsCount()
The price offerings in this price extension.
repeated .google.ads.googleads.v10.common.PriceOffer price_offerings = 5;- Specified by:
getPriceOfferingsCountin interfacePriceFeedItemOrBuilder
-
getPriceOfferings
public PriceOffer getPriceOfferings(int index)
The price offerings in this price extension.
repeated .google.ads.googleads.v10.common.PriceOffer price_offerings = 5;- Specified by:
getPriceOfferingsin interfacePriceFeedItemOrBuilder
-
getPriceOfferingsOrBuilder
public PriceOfferOrBuilder getPriceOfferingsOrBuilder(int index)
The price offerings in this price extension.
repeated .google.ads.googleads.v10.common.PriceOffer price_offerings = 5;- Specified by:
getPriceOfferingsOrBuilderin interfacePriceFeedItemOrBuilder
-
hasFinalUrlSuffix
public boolean hasFinalUrlSuffix()
Tracking URL template for all offers of this price extension.
optional string final_url_suffix = 9;- Specified by:
hasFinalUrlSuffixin interfacePriceFeedItemOrBuilder- Returns:
- Whether the finalUrlSuffix field is set.
-
getFinalUrlSuffix
public java.lang.String getFinalUrlSuffix()
Tracking URL template for all offers of this price extension.
optional string final_url_suffix = 9;- Specified by:
getFinalUrlSuffixin interfacePriceFeedItemOrBuilder- 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:
getFinalUrlSuffixBytesin interfacePriceFeedItemOrBuilder- Returns:
- The bytes for finalUrlSuffix.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.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 PriceFeedItem parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PriceFeedItem parseFrom(java.nio.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(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PriceFeedItem parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PriceFeedItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PriceFeedItem parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PriceFeedItem parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PriceFeedItem parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public PriceFeedItem.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PriceFeedItem.Builder newBuilder()
-
newBuilder
public static PriceFeedItem.Builder newBuilder(PriceFeedItem prototype)
-
toBuilder
public PriceFeedItem.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PriceFeedItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PriceFeedItem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-