public static final class PriceInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.Builder> implements PriceInfoOrBuilder
The price information of a [Product][google.cloud.retail.v2alpha.Product].Protobuf type
google.cloud.retail.v2alpha.PriceInfo| Modifier and Type | Method and Description |
|---|---|
PriceInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PriceInfo |
build() |
PriceInfo |
buildPartial() |
PriceInfo.Builder |
clear() |
PriceInfo.Builder |
clearCost()
The costs associated with the sale of a particular product.
|
PriceInfo.Builder |
clearCurrencyCode()
The 3-letter currency code defined in [ISO
4217](https://www.iso.org/iso-4217-currency-codes.html).
|
PriceInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PriceInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PriceInfo.Builder |
clearOriginalPrice()
Price of the product without any discount.
|
PriceInfo.Builder |
clearPrice()
Price of the product.
|
PriceInfo.Builder |
clearPriceEffectiveTime()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
starts to be effective.
|
PriceInfo.Builder |
clearPriceExpireTime()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
stops to be effective.
|
PriceInfo.Builder |
clearPriceRange()
Output only.
|
PriceInfo.Builder |
clone() |
float |
getCost()
The costs associated with the sale of a particular product.
|
String |
getCurrencyCode()
The 3-letter currency code defined in [ISO
4217](https://www.iso.org/iso-4217-currency-codes.html).
|
com.google.protobuf.ByteString |
getCurrencyCodeBytes()
The 3-letter currency code defined in [ISO
4217](https://www.iso.org/iso-4217-currency-codes.html).
|
PriceInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
float |
getOriginalPrice()
Price of the product without any discount.
|
float |
getPrice()
Price of the product.
|
com.google.protobuf.Timestamp |
getPriceEffectiveTime()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
starts to be effective.
|
com.google.protobuf.Timestamp.Builder |
getPriceEffectiveTimeBuilder()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
starts to be effective.
|
com.google.protobuf.TimestampOrBuilder |
getPriceEffectiveTimeOrBuilder()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
starts to be effective.
|
com.google.protobuf.Timestamp |
getPriceExpireTime()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
stops to be effective.
|
com.google.protobuf.Timestamp.Builder |
getPriceExpireTimeBuilder()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
stops to be effective.
|
com.google.protobuf.TimestampOrBuilder |
getPriceExpireTimeOrBuilder()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
stops to be effective.
|
PriceInfo.PriceRange |
getPriceRange()
Output only.
|
PriceInfo.PriceRange.Builder |
getPriceRangeBuilder()
Output only.
|
PriceInfo.PriceRangeOrBuilder |
getPriceRangeOrBuilder()
Output only.
|
boolean |
hasPriceEffectiveTime()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
starts to be effective.
|
boolean |
hasPriceExpireTime()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
stops to be effective.
|
boolean |
hasPriceRange()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PriceInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PriceInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
PriceInfo.Builder |
mergeFrom(PriceInfo other) |
PriceInfo.Builder |
mergePriceEffectiveTime(com.google.protobuf.Timestamp value)
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
starts to be effective.
|
PriceInfo.Builder |
mergePriceExpireTime(com.google.protobuf.Timestamp value)
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
stops to be effective.
|
PriceInfo.Builder |
mergePriceRange(PriceInfo.PriceRange value)
Output only.
|
PriceInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PriceInfo.Builder |
setCost(float value)
The costs associated with the sale of a particular product.
|
PriceInfo.Builder |
setCurrencyCode(String value)
The 3-letter currency code defined in [ISO
4217](https://www.iso.org/iso-4217-currency-codes.html).
|
PriceInfo.Builder |
setCurrencyCodeBytes(com.google.protobuf.ByteString value)
The 3-letter currency code defined in [ISO
4217](https://www.iso.org/iso-4217-currency-codes.html).
|
PriceInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PriceInfo.Builder |
setOriginalPrice(float value)
Price of the product without any discount.
|
PriceInfo.Builder |
setPrice(float value)
Price of the product.
|
PriceInfo.Builder |
setPriceEffectiveTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
starts to be effective.
|
PriceInfo.Builder |
setPriceEffectiveTime(com.google.protobuf.Timestamp value)
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
starts to be effective.
|
PriceInfo.Builder |
setPriceExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
stops to be effective.
|
PriceInfo.Builder |
setPriceExpireTime(com.google.protobuf.Timestamp value)
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price]
stops to be effective.
|
PriceInfo.Builder |
setPriceRange(PriceInfo.PriceRange.Builder builderForValue)
Output only.
|
PriceInfo.Builder |
setPriceRange(PriceInfo.PriceRange value)
Output only.
|
PriceInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PriceInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.Builder>public PriceInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.Builder>public PriceInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PriceInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PriceInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PriceInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.Builder>public PriceInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.Builder>public PriceInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.Builder>public PriceInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.Builder>public PriceInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.Builder>public PriceInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.Builder>public PriceInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PriceInfo.Builder>public PriceInfo.Builder mergeFrom(PriceInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.Builder>public PriceInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PriceInfo.Builder>IOExceptionpublic String getCurrencyCode()
The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product]s with the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id] must share the same [currency_code][google.cloud.retail.v2alpha.PriceInfo.currency_code]. Otherwise, a FAILED_PRECONDITION error is returned.
string currency_code = 1;getCurrencyCode in interface PriceInfoOrBuilderpublic com.google.protobuf.ByteString getCurrencyCodeBytes()
The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product]s with the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id] must share the same [currency_code][google.cloud.retail.v2alpha.PriceInfo.currency_code]. Otherwise, a FAILED_PRECONDITION error is returned.
string currency_code = 1;getCurrencyCodeBytes in interface PriceInfoOrBuilderpublic PriceInfo.Builder setCurrencyCode(String value)
The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product]s with the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id] must share the same [currency_code][google.cloud.retail.v2alpha.PriceInfo.currency_code]. Otherwise, a FAILED_PRECONDITION error is returned.
string currency_code = 1;value - The currencyCode to set.public PriceInfo.Builder clearCurrencyCode()
The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product]s with the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id] must share the same [currency_code][google.cloud.retail.v2alpha.PriceInfo.currency_code]. Otherwise, a FAILED_PRECONDITION error is returned.
string currency_code = 1;public PriceInfo.Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value)
The 3-letter currency code defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html). If this field is an unrecognizable currency code, an INVALID_ARGUMENT error is returned. The [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product]s with the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id] must share the same [currency_code][google.cloud.retail.v2alpha.PriceInfo.currency_code]. Otherwise, a FAILED_PRECONDITION error is returned.
string currency_code = 1;value - The bytes for currencyCode to set.public float getPrice()
Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.price](https://schema.org/price).
float price = 2;getPrice in interface PriceInfoOrBuilderpublic PriceInfo.Builder setPrice(float value)
Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.price](https://schema.org/price).
float price = 2;value - The price to set.public PriceInfo.Builder clearPrice()
Price of the product. Google Merchant Center property [price](https://support.google.com/merchants/answer/6324371). Schema.org property [Offer.price](https://schema.org/price).
float price = 2;public float getOriginalPrice()
Price of the product without any discount. If zero, by default set to be the [price][google.cloud.retail.v2alpha.PriceInfo.price]. If set, [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] should be greater than or equal to [price][google.cloud.retail.v2alpha.PriceInfo.price], otherwise an INVALID_ARGUMENT error is thrown.
float original_price = 3;getOriginalPrice in interface PriceInfoOrBuilderpublic PriceInfo.Builder setOriginalPrice(float value)
Price of the product without any discount. If zero, by default set to be the [price][google.cloud.retail.v2alpha.PriceInfo.price]. If set, [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] should be greater than or equal to [price][google.cloud.retail.v2alpha.PriceInfo.price], otherwise an INVALID_ARGUMENT error is thrown.
float original_price = 3;value - The originalPrice to set.public PriceInfo.Builder clearOriginalPrice()
Price of the product without any discount. If zero, by default set to be the [price][google.cloud.retail.v2alpha.PriceInfo.price]. If set, [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] should be greater than or equal to [price][google.cloud.retail.v2alpha.PriceInfo.price], otherwise an INVALID_ARGUMENT error is thrown.
float original_price = 3;public float getCost()
The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = [price][google.cloud.retail.v2alpha.PriceInfo.price] - [cost][google.cloud.retail.v2alpha.PriceInfo.cost] Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895).
float cost = 4;getCost in interface PriceInfoOrBuilderpublic PriceInfo.Builder setCost(float value)
The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = [price][google.cloud.retail.v2alpha.PriceInfo.price] - [cost][google.cloud.retail.v2alpha.PriceInfo.cost] Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895).
float cost = 4;value - The cost to set.public PriceInfo.Builder clearCost()
The costs associated with the sale of a particular product. Used for gross profit reporting. * Profit = [price][google.cloud.retail.v2alpha.PriceInfo.price] - [cost][google.cloud.retail.v2alpha.PriceInfo.cost] Google Merchant Center property [cost_of_goods_sold](https://support.google.com/merchants/answer/9017895).
float cost = 4;public boolean hasPriceEffectiveTime()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] starts to be effective. This can be set as a future timestamp, and the [price][google.cloud.retail.v2alpha.PriceInfo.price] is only used for search after [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. If so, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used before [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_effective_time = 5;hasPriceEffectiveTime in interface PriceInfoOrBuilderpublic com.google.protobuf.Timestamp getPriceEffectiveTime()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] starts to be effective. This can be set as a future timestamp, and the [price][google.cloud.retail.v2alpha.PriceInfo.price] is only used for search after [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. If so, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used before [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_effective_time = 5;getPriceEffectiveTime in interface PriceInfoOrBuilderpublic PriceInfo.Builder setPriceEffectiveTime(com.google.protobuf.Timestamp value)
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] starts to be effective. This can be set as a future timestamp, and the [price][google.cloud.retail.v2alpha.PriceInfo.price] is only used for search after [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. If so, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used before [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_effective_time = 5;public PriceInfo.Builder setPriceEffectiveTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] starts to be effective. This can be set as a future timestamp, and the [price][google.cloud.retail.v2alpha.PriceInfo.price] is only used for search after [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. If so, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used before [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_effective_time = 5;public PriceInfo.Builder mergePriceEffectiveTime(com.google.protobuf.Timestamp value)
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] starts to be effective. This can be set as a future timestamp, and the [price][google.cloud.retail.v2alpha.PriceInfo.price] is only used for search after [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. If so, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used before [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_effective_time = 5;public PriceInfo.Builder clearPriceEffectiveTime()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] starts to be effective. This can be set as a future timestamp, and the [price][google.cloud.retail.v2alpha.PriceInfo.price] is only used for search after [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. If so, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used before [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_effective_time = 5;public com.google.protobuf.Timestamp.Builder getPriceEffectiveTimeBuilder()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] starts to be effective. This can be set as a future timestamp, and the [price][google.cloud.retail.v2alpha.PriceInfo.price] is only used for search after [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. If so, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used before [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_effective_time = 5;public com.google.protobuf.TimestampOrBuilder getPriceEffectiveTimeOrBuilder()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] starts to be effective. This can be set as a future timestamp, and the [price][google.cloud.retail.v2alpha.PriceInfo.price] is only used for search after [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. If so, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used before [price_effective_time][google.cloud.retail.v2alpha.PriceInfo.price_effective_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_effective_time = 5;getPriceEffectiveTimeOrBuilder in interface PriceInfoOrBuilderpublic boolean hasPriceExpireTime()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] stops to be effective. The [price][google.cloud.retail.v2alpha.PriceInfo.price] is used for search before [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. If this field is set, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used after [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_expire_time = 6;hasPriceExpireTime in interface PriceInfoOrBuilderpublic com.google.protobuf.Timestamp getPriceExpireTime()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] stops to be effective. The [price][google.cloud.retail.v2alpha.PriceInfo.price] is used for search before [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. If this field is set, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used after [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_expire_time = 6;getPriceExpireTime in interface PriceInfoOrBuilderpublic PriceInfo.Builder setPriceExpireTime(com.google.protobuf.Timestamp value)
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] stops to be effective. The [price][google.cloud.retail.v2alpha.PriceInfo.price] is used for search before [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. If this field is set, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used after [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_expire_time = 6;public PriceInfo.Builder setPriceExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] stops to be effective. The [price][google.cloud.retail.v2alpha.PriceInfo.price] is used for search before [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. If this field is set, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used after [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_expire_time = 6;public PriceInfo.Builder mergePriceExpireTime(com.google.protobuf.Timestamp value)
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] stops to be effective. The [price][google.cloud.retail.v2alpha.PriceInfo.price] is used for search before [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. If this field is set, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used after [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_expire_time = 6;public PriceInfo.Builder clearPriceExpireTime()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] stops to be effective. The [price][google.cloud.retail.v2alpha.PriceInfo.price] is used for search before [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. If this field is set, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used after [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_expire_time = 6;public com.google.protobuf.Timestamp.Builder getPriceExpireTimeBuilder()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] stops to be effective. The [price][google.cloud.retail.v2alpha.PriceInfo.price] is used for search before [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. If this field is set, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used after [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_expire_time = 6;public com.google.protobuf.TimestampOrBuilder getPriceExpireTimeOrBuilder()
The timestamp when the [price][google.cloud.retail.v2alpha.PriceInfo.price] stops to be effective. The [price][google.cloud.retail.v2alpha.PriceInfo.price] is used for search before [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. If this field is set, the [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] must be set and [original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] is used after [price_expire_time][google.cloud.retail.v2alpha.PriceInfo.price_expire_time]. Do not set if [price][google.cloud.retail.v2alpha.PriceInfo.price] is always effective because it will cause additional latency during search.
.google.protobuf.Timestamp price_expire_time = 6;getPriceExpireTimeOrBuilder in interface PriceInfoOrBuilderpublic boolean hasPriceRange()
Output only. The price range of all the child [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product]s grouped together on the [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]. Only populated for [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]s. Note: This field is OUTPUT_ONLY for [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]. Do not set this field in API requests.
.google.cloud.retail.v2alpha.PriceInfo.PriceRange price_range = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasPriceRange in interface PriceInfoOrBuilderpublic PriceInfo.PriceRange getPriceRange()
Output only. The price range of all the child [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product]s grouped together on the [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]. Only populated for [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]s. Note: This field is OUTPUT_ONLY for [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]. Do not set this field in API requests.
.google.cloud.retail.v2alpha.PriceInfo.PriceRange price_range = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPriceRange in interface PriceInfoOrBuilderpublic PriceInfo.Builder setPriceRange(PriceInfo.PriceRange value)
Output only. The price range of all the child [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product]s grouped together on the [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]. Only populated for [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]s. Note: This field is OUTPUT_ONLY for [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]. Do not set this field in API requests.
.google.cloud.retail.v2alpha.PriceInfo.PriceRange price_range = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PriceInfo.Builder setPriceRange(PriceInfo.PriceRange.Builder builderForValue)
Output only. The price range of all the child [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product]s grouped together on the [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]. Only populated for [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]s. Note: This field is OUTPUT_ONLY for [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]. Do not set this field in API requests.
.google.cloud.retail.v2alpha.PriceInfo.PriceRange price_range = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PriceInfo.Builder mergePriceRange(PriceInfo.PriceRange value)
Output only. The price range of all the child [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product]s grouped together on the [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]. Only populated for [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]s. Note: This field is OUTPUT_ONLY for [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]. Do not set this field in API requests.
.google.cloud.retail.v2alpha.PriceInfo.PriceRange price_range = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PriceInfo.Builder clearPriceRange()
Output only. The price range of all the child [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product]s grouped together on the [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]. Only populated for [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]s. Note: This field is OUTPUT_ONLY for [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]. Do not set this field in API requests.
.google.cloud.retail.v2alpha.PriceInfo.PriceRange price_range = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PriceInfo.PriceRange.Builder getPriceRangeBuilder()
Output only. The price range of all the child [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product]s grouped together on the [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]. Only populated for [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]s. Note: This field is OUTPUT_ONLY for [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]. Do not set this field in API requests.
.google.cloud.retail.v2alpha.PriceInfo.PriceRange price_range = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public PriceInfo.PriceRangeOrBuilder getPriceRangeOrBuilder()
Output only. The price range of all the child [Product.Type.VARIANT][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product]s grouped together on the [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]. Only populated for [Product.Type.PRIMARY][google.cloud.retail.v2alpha.Product.Type.PRIMARY] [Product][google.cloud.retail.v2alpha.Product]s. Note: This field is OUTPUT_ONLY for [ProductService.GetProduct][google.cloud.retail.v2alpha.ProductService.GetProduct]. Do not set this field in API requests.
.google.cloud.retail.v2alpha.PriceInfo.PriceRange price_range = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPriceRangeOrBuilder in interface PriceInfoOrBuilderpublic final PriceInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.Builder>public final PriceInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.Builder>Copyright © 2024 Google LLC. All rights reserved.