public static final class PriceInfo.PriceRange extends com.google.protobuf.GeneratedMessageV3 implements PriceInfo.PriceRangeOrBuilder
The price range of all [variant][google.cloud.retail.v2beta.Product.Type.VARIANT] [Product][google.cloud.retail.v2beta.Product] having the same [Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].Protobuf type
google.cloud.retail.v2beta.PriceInfo.PriceRange| Modifier and Type | Class and Description |
|---|---|
static class |
PriceInfo.PriceRange.Builder
The price range of all
[variant][google.cloud.retail.v2beta.Product.Type.VARIANT]
[Product][google.cloud.retail.v2beta.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
ORIGINAL_PRICE_FIELD_NUMBER |
static int |
PRICE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static PriceInfo.PriceRange |
getDefaultInstance() |
PriceInfo.PriceRange |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Interval |
getOriginalPrice()
The inclusive
[Product.pricing_info.original_price][google.cloud.retail.v2beta.PriceInfo.original_price]
internal of all
[variant][google.cloud.retail.v2beta.Product.Type.VARIANT]
[Product][google.cloud.retail.v2beta.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].
|
IntervalOrBuilder |
getOriginalPriceOrBuilder()
The inclusive
[Product.pricing_info.original_price][google.cloud.retail.v2beta.PriceInfo.original_price]
internal of all
[variant][google.cloud.retail.v2beta.Product.Type.VARIANT]
[Product][google.cloud.retail.v2beta.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].
|
com.google.protobuf.Parser<PriceInfo.PriceRange> |
getParserForType() |
Interval |
getPrice()
The inclusive
[Product.pricing_info.price][google.cloud.retail.v2beta.PriceInfo.price]
interval of all
[variant][google.cloud.retail.v2beta.Product.Type.VARIANT]
[Product][google.cloud.retail.v2beta.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].
|
IntervalOrBuilder |
getPriceOrBuilder()
The inclusive
[Product.pricing_info.price][google.cloud.retail.v2beta.PriceInfo.price]
interval of all
[variant][google.cloud.retail.v2beta.Product.Type.VARIANT]
[Product][google.cloud.retail.v2beta.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].
|
int |
getSerializedSize() |
int |
hashCode() |
boolean |
hasOriginalPrice()
The inclusive
[Product.pricing_info.original_price][google.cloud.retail.v2beta.PriceInfo.original_price]
internal of all
[variant][google.cloud.retail.v2beta.Product.Type.VARIANT]
[Product][google.cloud.retail.v2beta.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].
|
boolean |
hasPrice()
The inclusive
[Product.pricing_info.price][google.cloud.retail.v2beta.PriceInfo.price]
interval of all
[variant][google.cloud.retail.v2beta.Product.Type.VARIANT]
[Product][google.cloud.retail.v2beta.Product] having the same
[Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PriceInfo.PriceRange.Builder |
newBuilder() |
static PriceInfo.PriceRange.Builder |
newBuilder(PriceInfo.PriceRange prototype) |
PriceInfo.PriceRange.Builder |
newBuilderForType() |
protected PriceInfo.PriceRange.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PriceInfo.PriceRange |
parseDelimitedFrom(InputStream input) |
static PriceInfo.PriceRange |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PriceInfo.PriceRange |
parseFrom(byte[] data) |
static PriceInfo.PriceRange |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PriceInfo.PriceRange |
parseFrom(ByteBuffer data) |
static PriceInfo.PriceRange |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PriceInfo.PriceRange |
parseFrom(com.google.protobuf.ByteString data) |
static PriceInfo.PriceRange |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PriceInfo.PriceRange |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PriceInfo.PriceRange |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PriceInfo.PriceRange |
parseFrom(InputStream input) |
static PriceInfo.PriceRange |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PriceInfo.PriceRange> |
parser() |
PriceInfo.PriceRange.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PRICE_FIELD_NUMBER
public static final int ORIGINAL_PRICE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasPrice()
The inclusive [Product.pricing_info.price][google.cloud.retail.v2beta.PriceInfo.price] interval of all [variant][google.cloud.retail.v2beta.Product.Type.VARIANT] [Product][google.cloud.retail.v2beta.Product] having the same [Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].
.google.cloud.retail.v2beta.Interval price = 1;hasPrice in interface PriceInfo.PriceRangeOrBuilderpublic Interval getPrice()
The inclusive [Product.pricing_info.price][google.cloud.retail.v2beta.PriceInfo.price] interval of all [variant][google.cloud.retail.v2beta.Product.Type.VARIANT] [Product][google.cloud.retail.v2beta.Product] having the same [Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].
.google.cloud.retail.v2beta.Interval price = 1;getPrice in interface PriceInfo.PriceRangeOrBuilderpublic IntervalOrBuilder getPriceOrBuilder()
The inclusive [Product.pricing_info.price][google.cloud.retail.v2beta.PriceInfo.price] interval of all [variant][google.cloud.retail.v2beta.Product.Type.VARIANT] [Product][google.cloud.retail.v2beta.Product] having the same [Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].
.google.cloud.retail.v2beta.Interval price = 1;getPriceOrBuilder in interface PriceInfo.PriceRangeOrBuilderpublic boolean hasOriginalPrice()
The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2beta.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2beta.Product.Type.VARIANT] [Product][google.cloud.retail.v2beta.Product] having the same [Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].
.google.cloud.retail.v2beta.Interval original_price = 2;hasOriginalPrice in interface PriceInfo.PriceRangeOrBuilderpublic Interval getOriginalPrice()
The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2beta.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2beta.Product.Type.VARIANT] [Product][google.cloud.retail.v2beta.Product] having the same [Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].
.google.cloud.retail.v2beta.Interval original_price = 2;getOriginalPrice in interface PriceInfo.PriceRangeOrBuilderpublic IntervalOrBuilder getOriginalPriceOrBuilder()
The inclusive [Product.pricing_info.original_price][google.cloud.retail.v2beta.PriceInfo.original_price] internal of all [variant][google.cloud.retail.v2beta.Product.Type.VARIANT] [Product][google.cloud.retail.v2beta.Product] having the same [Product.primary_product_id][google.cloud.retail.v2beta.Product.primary_product_id].
.google.cloud.retail.v2beta.Interval original_price = 2;getOriginalPriceOrBuilder in interface PriceInfo.PriceRangeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PriceInfo.PriceRange parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PriceInfo.PriceRange parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PriceInfo.PriceRange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PriceInfo.PriceRange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PriceInfo.PriceRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PriceInfo.PriceRange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PriceInfo.PriceRange parseFrom(InputStream input) throws IOException
IOExceptionpublic static PriceInfo.PriceRange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PriceInfo.PriceRange parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PriceInfo.PriceRange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PriceInfo.PriceRange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PriceInfo.PriceRange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PriceInfo.PriceRange.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PriceInfo.PriceRange.Builder newBuilder()
public static PriceInfo.PriceRange.Builder newBuilder(PriceInfo.PriceRange prototype)
public PriceInfo.PriceRange.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PriceInfo.PriceRange.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PriceInfo.PriceRange getDefaultInstance()
public static com.google.protobuf.Parser<PriceInfo.PriceRange> parser()
public com.google.protobuf.Parser<PriceInfo.PriceRange> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PriceInfo.PriceRange getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.