Class PriceFeedItem
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v14.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.v14.common.PriceFeedItem
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PriceFeedItem.Builder
Represents a Price 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
-
-
Field Summary
Fields Modifier and Type Field Description static int
FINAL_URL_SUFFIX_FIELD_NUMBER
static int
LANGUAGE_CODE_FIELD_NUMBER
static int
PRICE_OFFERINGS_FIELD_NUMBER
static int
PRICE_QUALIFIER_FIELD_NUMBER
static int
TRACKING_URL_TEMPLATE_FIELD_NUMBER
static int
TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static PriceFeedItem
getDefaultInstance()
PriceFeedItem
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
java.lang.String
getFinalUrlSuffix()
Tracking URL template for all offers of this price extension.com.google.protobuf.ByteString
getFinalUrlSuffixBytes()
Tracking URL template for all offers of this price extension.java.lang.String
getLanguageCode()
The code of the language used for this price extension.com.google.protobuf.ByteString
getLanguageCodeBytes()
The code of the language used for this price extension.com.google.protobuf.Parser<PriceFeedItem>
getParserForType()
PriceOffer
getPriceOfferings(int index)
The price offerings in this price extension.int
getPriceOfferingsCount()
The price offerings in this price extension.java.util.List<PriceOffer>
getPriceOfferingsList()
The price offerings in this price extension.PriceOfferOrBuilder
getPriceOfferingsOrBuilder(int index)
The price offerings in this price extension.java.util.List<? extends PriceOfferOrBuilder>
getPriceOfferingsOrBuilderList()
The price offerings in this price extension.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier
getPriceQualifier()
Price qualifier for all offers of this price extension.int
getPriceQualifierValue()
Price qualifier for all offers of this price extension.int
getSerializedSize()
java.lang.String
getTrackingUrlTemplate()
Tracking URL template for all offers of this price extension.com.google.protobuf.ByteString
getTrackingUrlTemplateBytes()
Tracking URL template for all offers of this price extension.PriceExtensionTypeEnum.PriceExtensionType
getType()
Price extension type of this extension.int
getTypeValue()
Price extension type of this extension.boolean
hasFinalUrlSuffix()
Tracking URL template for all offers of this price extension.int
hashCode()
boolean
hasLanguageCode()
The code of the language used for this price extension.boolean
hasTrackingUrlTemplate()
Tracking URL template for all offers of this price extension.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static PriceFeedItem.Builder
newBuilder()
static PriceFeedItem.Builder
newBuilder(PriceFeedItem prototype)
PriceFeedItem.Builder
newBuilderForType()
protected PriceFeedItem.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static PriceFeedItem
parseDelimitedFrom(java.io.InputStream input)
static PriceFeedItem
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PriceFeedItem
parseFrom(byte[] data)
static PriceFeedItem
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PriceFeedItem
parseFrom(com.google.protobuf.ByteString data)
static PriceFeedItem
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PriceFeedItem
parseFrom(com.google.protobuf.CodedInputStream input)
static PriceFeedItem
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PriceFeedItem
parseFrom(java.io.InputStream input)
static PriceFeedItem
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static PriceFeedItem
parseFrom(java.nio.ByteBuffer data)
static PriceFeedItem
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<PriceFeedItem>
parser()
PriceFeedItem.Builder
toBuilder()
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
-
-
-
-
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:
newInstance
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
getTypeValue
public int getTypeValue()
Price extension type of this extension.
.google.ads.googleads.v14.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1;
- Specified by:
getTypeValue
in 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.v14.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1;
- Specified by:
getType
in interfacePriceFeedItemOrBuilder
- Returns:
- The type.
-
getPriceQualifierValue
public int getPriceQualifierValue()
Price qualifier for all offers of this price extension.
.google.ads.googleads.v14.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2;
- Specified by:
getPriceQualifierValue
in 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.v14.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2;
- Specified by:
getPriceQualifier
in 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:
hasTrackingUrlTemplate
in 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:
getTrackingUrlTemplate
in 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:
getTrackingUrlTemplateBytes
in 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:
hasLanguageCode
in 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:
getLanguageCode
in 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:
getLanguageCodeBytes
in interfacePriceFeedItemOrBuilder
- Returns:
- The bytes for languageCode.
-
getPriceOfferingsList
public java.util.List<PriceOffer> getPriceOfferingsList()
The price offerings in this price extension.
repeated .google.ads.googleads.v14.common.PriceOffer price_offerings = 5;
- Specified by:
getPriceOfferingsList
in interfacePriceFeedItemOrBuilder
-
getPriceOfferingsOrBuilderList
public java.util.List<? extends PriceOfferOrBuilder> getPriceOfferingsOrBuilderList()
The price offerings in this price extension.
repeated .google.ads.googleads.v14.common.PriceOffer price_offerings = 5;
- Specified by:
getPriceOfferingsOrBuilderList
in interfacePriceFeedItemOrBuilder
-
getPriceOfferingsCount
public int getPriceOfferingsCount()
The price offerings in this price extension.
repeated .google.ads.googleads.v14.common.PriceOffer price_offerings = 5;
- Specified by:
getPriceOfferingsCount
in interfacePriceFeedItemOrBuilder
-
getPriceOfferings
public PriceOffer getPriceOfferings(int index)
The price offerings in this price extension.
repeated .google.ads.googleads.v14.common.PriceOffer price_offerings = 5;
- Specified by:
getPriceOfferings
in interfacePriceFeedItemOrBuilder
-
getPriceOfferingsOrBuilder
public PriceOfferOrBuilder getPriceOfferingsOrBuilder(int index)
The price offerings in this price extension.
repeated .google.ads.googleads.v14.common.PriceOffer price_offerings = 5;
- Specified by:
getPriceOfferingsOrBuilder
in interfacePriceFeedItemOrBuilder
-
hasFinalUrlSuffix
public boolean hasFinalUrlSuffix()
Tracking URL template for all offers of this price extension.
optional string final_url_suffix = 9;
- Specified by:
hasFinalUrlSuffix
in 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:
getFinalUrlSuffix
in 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:
getFinalUrlSuffixBytes
in interfacePriceFeedItemOrBuilder
- Returns:
- The bytes for finalUrlSuffix.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PriceFeedItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PriceFeedItem getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-