- 0.60.0 (latest)
- 0.59.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.4
- 0.8.10
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProductCatalogItem.PriceRange.BuilderImplements
ProductCatalogItem.PriceRangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProductCatalogItem.PriceRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
build()
public ProductCatalogItem.PriceRange build()
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange |
buildPartial()
public ProductCatalogItem.PriceRange buildPartial()
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange |
clear()
public ProductCatalogItem.PriceRange.Builder clear()
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
clearField(Descriptors.FieldDescriptor field)
public ProductCatalogItem.PriceRange.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
clearMax()
public ProductCatalogItem.PriceRange.Builder clearMax()
Required. The maximum product price.
float max = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
This builder for chaining. |
clearMin()
public ProductCatalogItem.PriceRange.Builder clearMin()
Required. The minimum product price.
float min = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProductCatalogItem.PriceRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
clone()
public ProductCatalogItem.PriceRange.Builder clone()
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
getDefaultInstanceForType()
public ProductCatalogItem.PriceRange getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMax()
public float getMax()
Required. The maximum product price.
float max = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
float |
The max. |
getMin()
public float 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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ProductCatalogItem.PriceRange other)
public ProductCatalogItem.PriceRange.Builder mergeFrom(ProductCatalogItem.PriceRange other)
Parameter | |
---|---|
Name | Description |
other |
ProductCatalogItem.PriceRange |
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProductCatalogItem.PriceRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ProductCatalogItem.PriceRange.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProductCatalogItem.PriceRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ProductCatalogItem.PriceRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
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. |
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProductCatalogItem.PriceRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProductCatalogItem.PriceRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ProductCatalogItem.PriceRange.Builder |