Send feedback Class ProductCatalogItem.PriceRange.Builder (0.43.0) Stay organized with collections Save and categorize content based on your preferences.
Version 0.43.0keyboard_arrow_down
public static final class ProductCatalogItem . PriceRange . Builder extends GeneratedMessageV3 . Builder<ProductCatalogItem . PriceRange . Builder > implements ProductCatalogItem . PriceRangeOrBuilder
Product price range when there are a range of prices for different variations of the same product.
Protobuf type google.cloud.recommendationengine.v1beta1.ProductCatalogItem.PriceRange
Inherited Members com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProductCatalogItem . PriceRange . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides build()
public ProductCatalogItem . PriceRange build ()
buildPartial()
public ProductCatalogItem . PriceRange buildPartial ()
clear()
public ProductCatalogItem . PriceRange . Builder clear ()
Overrides clearField(Descriptors.FieldDescriptor field)
public ProductCatalogItem . PriceRange . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides clearMax()
public ProductCatalogItem . PriceRange . Builder clearMax ()
Required. The maximum product price.
float max = 2 [(.google.api.field_behavior) = REQUIRED];
clearMin()
public ProductCatalogItem . PriceRange . Builder clearMin ()
Required. The minimum product price.
float min = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public ProductCatalogItem . PriceRange . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides clone()
public ProductCatalogItem . PriceRange . Builder clone ()
Overrides getDefaultInstanceForType()
public ProductCatalogItem . PriceRange getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides getMax() Required. The maximum product price.
float max = 2 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description float
The max.
getMin() Required. The minimum product price.
float min = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description float
The min.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides isInitialized()
public final boolean isInitialized ()
Overrides mergeFrom(ProductCatalogItem.PriceRange other)
public ProductCatalogItem . PriceRange . Builder mergeFrom ( ProductCatalogItem . PriceRange other )
public ProductCatalogItem . PriceRange . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides mergeFrom(Message other)
public ProductCatalogItem . PriceRange . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProductCatalogItem . PriceRange . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides setField(Descriptors.FieldDescriptor field, Object value)
public ProductCatalogItem . PriceRange . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides setMax(float value)
public ProductCatalogItem . PriceRange . Builder setMax ( float value )
Required. The maximum product price.
float max = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
float
The max to set.
setMin(float value)
public ProductCatalogItem . PriceRange . Builder setMin ( float value )
Required. The minimum product price.
float min = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
float
The min to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProductCatalogItem . PriceRange . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides setUnknownFields(UnknownFieldSet unknownFields)
public final ProductCatalogItem . PriceRange . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-12 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-12 UTC."],[],[]]