public static final class PriceInfo.PriceRange.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.PriceRange.Builder> implements PriceInfo.PriceRangeOrBuilder
The price range of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].Protobuf type
google.cloud.retail.v2alpha.PriceInfo.PriceRange| Modifier and Type | Method and Description |
|---|---|
PriceInfo.PriceRange.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PriceInfo.PriceRange |
build() |
PriceInfo.PriceRange |
buildPartial() |
PriceInfo.PriceRange.Builder |
clear() |
PriceInfo.PriceRange.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PriceInfo.PriceRange.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PriceInfo.PriceRange.Builder |
clearOriginalPrice()
The inclusive
[Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price]
internal of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
PriceInfo.PriceRange.Builder |
clearPrice()
The inclusive
[Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price]
interval of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
PriceInfo.PriceRange.Builder |
clone() |
PriceInfo.PriceRange |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Interval |
getOriginalPrice()
The inclusive
[Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price]
internal of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
Interval.Builder |
getOriginalPriceBuilder()
The inclusive
[Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price]
internal of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
IntervalOrBuilder |
getOriginalPriceOrBuilder()
The inclusive
[Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price]
internal of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
Interval |
getPrice()
The inclusive
[Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price]
interval of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
Interval.Builder |
getPriceBuilder()
The inclusive
[Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price]
interval of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
IntervalOrBuilder |
getPriceOrBuilder()
The inclusive
[Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price]
interval of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
boolean |
hasOriginalPrice()
The inclusive
[Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price]
internal of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
boolean |
hasPrice()
The inclusive
[Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price]
interval of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PriceInfo.PriceRange.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PriceInfo.PriceRange.Builder |
mergeFrom(com.google.protobuf.Message other) |
PriceInfo.PriceRange.Builder |
mergeFrom(PriceInfo.PriceRange other) |
PriceInfo.PriceRange.Builder |
mergeOriginalPrice(Interval value)
The inclusive
[Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price]
internal of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
PriceInfo.PriceRange.Builder |
mergePrice(Interval value)
The inclusive
[Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price]
interval of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
PriceInfo.PriceRange.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PriceInfo.PriceRange.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PriceInfo.PriceRange.Builder |
setOriginalPrice(Interval.Builder builderForValue)
The inclusive
[Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price]
internal of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
PriceInfo.PriceRange.Builder |
setOriginalPrice(Interval value)
The inclusive
[Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price]
internal of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
PriceInfo.PriceRange.Builder |
setPrice(Interval.Builder builderForValue)
The inclusive
[Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price]
interval of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
PriceInfo.PriceRange.Builder |
setPrice(Interval value)
The inclusive
[Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price]
interval of all
[variant][google.cloud.retail.v2alpha.Product.Type.VARIANT]
[Product][google.cloud.retail.v2alpha.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
|
PriceInfo.PriceRange.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PriceInfo.PriceRange.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.PriceRange.Builder>public PriceInfo.PriceRange.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.PriceRange.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.PriceRange.Builder>public PriceInfo.PriceRange getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PriceInfo.PriceRange build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PriceInfo.PriceRange buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PriceInfo.PriceRange.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.PriceRange.Builder>public PriceInfo.PriceRange.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.PriceRange.Builder>public PriceInfo.PriceRange.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.PriceRange.Builder>public PriceInfo.PriceRange.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.PriceRange.Builder>public PriceInfo.PriceRange.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.PriceRange.Builder>public PriceInfo.PriceRange.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.PriceRange.Builder>public PriceInfo.PriceRange.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PriceInfo.PriceRange.Builder>public PriceInfo.PriceRange.Builder mergeFrom(PriceInfo.PriceRange other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.PriceRange.Builder>public PriceInfo.PriceRange.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.PriceRange.Builder>IOExceptionpublic boolean hasPrice()
The inclusive [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price] interval of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval price = 1;hasPrice in interface PriceInfo.PriceRangeOrBuilderpublic Interval getPrice()
The inclusive [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price] interval of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval price = 1;getPrice in interface PriceInfo.PriceRangeOrBuilderpublic PriceInfo.PriceRange.Builder setPrice(Interval value)
The inclusive [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price] interval of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval price = 1;public PriceInfo.PriceRange.Builder setPrice(Interval.Builder builderForValue)
The inclusive [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price] interval of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval price = 1;public PriceInfo.PriceRange.Builder mergePrice(Interval value)
The inclusive [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price] interval of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval price = 1;public PriceInfo.PriceRange.Builder clearPrice()
The inclusive [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price] interval of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval price = 1;public Interval.Builder getPriceBuilder()
The inclusive [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price] interval of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval price = 1;public IntervalOrBuilder getPriceOrBuilder()
The inclusive [Product.pricing_info.price][google.cloud.retail.v2alpha.PriceInfo.price] interval of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval price = 1;getPriceOrBuilder in interface PriceInfo.PriceRangeOrBuilderpublic boolean hasOriginalPrice()
The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval original_price = 2;hasOriginalPrice in interface PriceInfo.PriceRangeOrBuilderpublic Interval getOriginalPrice()
The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval original_price = 2;getOriginalPrice in interface PriceInfo.PriceRangeOrBuilderpublic PriceInfo.PriceRange.Builder setOriginalPrice(Interval value)
The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval original_price = 2;public PriceInfo.PriceRange.Builder setOriginalPrice(Interval.Builder builderForValue)
The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval original_price = 2;public PriceInfo.PriceRange.Builder mergeOriginalPrice(Interval value)
The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval original_price = 2;public PriceInfo.PriceRange.Builder clearOriginalPrice()
The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval original_price = 2;public Interval.Builder getOriginalPriceBuilder()
The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval original_price = 2;public IntervalOrBuilder getOriginalPriceOrBuilder()
The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2alpha.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2alpha.Product.Type.VARIANT] [Product][google.cloud.retail.v2alpha.Product] having the same [Product.primary_product_id][google.cloud.retail.v2alpha.Product.primary_product_id].
.google.cloud.retail.v2alpha.Interval original_price = 2;getOriginalPriceOrBuilder in interface PriceInfo.PriceRangeOrBuilderpublic final PriceInfo.PriceRange.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.PriceRange.Builder>public final PriceInfo.PriceRange.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PriceInfo.PriceRange.Builder>Copyright © 2024 Google LLC. All rights reserved.