- 1.8.0 (latest)
- 1.6.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- 0.46.0
- 0.44.0
- 0.43.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.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.17.0
- 0.16.0
- 0.15.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
public static final class RegionalInventoryAttributes.Builder extends GeneratedMessageV3.Builder<RegionalInventoryAttributes.Builder> implements RegionalInventoryAttributesOrBuilderRegional inventory attributes.
Protobuf type google.shopping.merchant.inventories.v1.RegionalInventoryAttributes
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RegionalInventoryAttributes.BuilderImplements
RegionalInventoryAttributesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RegionalInventoryAttributes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
build()
public RegionalInventoryAttributes build()| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes |
|
buildPartial()
public RegionalInventoryAttributes buildPartial()| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes |
|
clear()
public RegionalInventoryAttributes.Builder clear()| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
clearAvailability()
public RegionalInventoryAttributes.Builder clearAvailability()Optional. Availability of the product in this region.
optional .google.shopping.merchant.inventories.v1.RegionalInventoryAttributes.Availability availability = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RegionalInventoryAttributes.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public RegionalInventoryAttributes.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
clearPrice()
public RegionalInventoryAttributes.Builder clearPrice()Optional. Price of the product in this region.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
clearSalePrice()
public RegionalInventoryAttributes.Builder clearSalePrice() Optional. Sale price of the product in this region. Mandatory if
salePriceEffectiveDate is
defined.
.google.shopping.type.Price sale_price = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
clearSalePriceEffectiveDate()
public RegionalInventoryAttributes.Builder clearSalePriceEffectiveDate() Optional. The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
clone()
public RegionalInventoryAttributes.Builder clone()| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
getAvailability()
public RegionalInventoryAttributes.Availability getAvailability()Optional. Availability of the product in this region.
optional .google.shopping.merchant.inventories.v1.RegionalInventoryAttributes.Availability availability = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Availability |
The availability. |
getAvailabilityValue()
public int getAvailabilityValue()Optional. Availability of the product in this region.
optional .google.shopping.merchant.inventories.v1.RegionalInventoryAttributes.Availability availability = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for availability. |
getDefaultInstanceForType()
public RegionalInventoryAttributes getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPrice()
public Price getPrice()Optional. Price of the product in this region.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.Price |
The price. |
getPriceBuilder()
public Price.Builder getPriceBuilder()Optional. Price of the product in this region.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.Price.Builder |
|
getPriceOrBuilder()
public PriceOrBuilder getPriceOrBuilder()Optional. Price of the product in this region.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.PriceOrBuilder |
|
getSalePrice()
public Price getSalePrice() Optional. Sale price of the product in this region. Mandatory if
salePriceEffectiveDate is
defined.
.google.shopping.type.Price sale_price = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.Price |
The salePrice. |
getSalePriceBuilder()
public Price.Builder getSalePriceBuilder() Optional. Sale price of the product in this region. Mandatory if
salePriceEffectiveDate is
defined.
.google.shopping.type.Price sale_price = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.Price.Builder |
|
getSalePriceEffectiveDate()
public Interval getSalePriceEffectiveDate() Optional. The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.Interval |
The salePriceEffectiveDate. |
getSalePriceEffectiveDateBuilder()
public Interval.Builder getSalePriceEffectiveDateBuilder() Optional. The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.Interval.Builder |
|
getSalePriceEffectiveDateOrBuilder()
public IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() Optional. The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.type.IntervalOrBuilder |
|
getSalePriceOrBuilder()
public PriceOrBuilder getSalePriceOrBuilder() Optional. Sale price of the product in this region. Mandatory if
salePriceEffectiveDate is
defined.
.google.shopping.type.Price sale_price = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.PriceOrBuilder |
|
hasAvailability()
public boolean hasAvailability()Optional. Availability of the product in this region.
optional .google.shopping.merchant.inventories.v1.RegionalInventoryAttributes.Availability availability = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the availability field is set. |
hasPrice()
public boolean hasPrice()Optional. Price of the product in this region.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the price field is set. |
hasSalePrice()
public boolean hasSalePrice() Optional. Sale price of the product in this region. Mandatory if
salePriceEffectiveDate is
defined.
.google.shopping.type.Price sale_price = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the salePrice field is set. |
hasSalePriceEffectiveDate()
public boolean hasSalePriceEffectiveDate() Optional. The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the salePriceEffectiveDate field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RegionalInventoryAttributes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RegionalInventoryAttributes.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
mergeFrom(RegionalInventoryAttributes other)
public RegionalInventoryAttributes.Builder mergeFrom(RegionalInventoryAttributes other)| Parameter | |
|---|---|
| Name | Description |
other |
RegionalInventoryAttributes |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
mergePrice(Price value)
public RegionalInventoryAttributes.Builder mergePrice(Price value)Optional. Price of the product in this region.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.shopping.type.Price |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
mergeSalePrice(Price value)
public RegionalInventoryAttributes.Builder mergeSalePrice(Price value) Optional. Sale price of the product in this region. Mandatory if
salePriceEffectiveDate is
defined.
.google.shopping.type.Price sale_price = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.shopping.type.Price |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
mergeSalePriceEffectiveDate(Interval value)
public RegionalInventoryAttributes.Builder mergeSalePriceEffectiveDate(Interval value) Optional. The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Interval |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RegionalInventoryAttributes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
setAvailability(RegionalInventoryAttributes.Availability value)
public RegionalInventoryAttributes.Builder setAvailability(RegionalInventoryAttributes.Availability value)Optional. Availability of the product in this region.
optional .google.shopping.merchant.inventories.v1.RegionalInventoryAttributes.Availability availability = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RegionalInventoryAttributes.AvailabilityThe availability to set. |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
This builder for chaining. |
setAvailabilityValue(int value)
public RegionalInventoryAttributes.Builder setAvailabilityValue(int value)Optional. Availability of the product in this region.
optional .google.shopping.merchant.inventories.v1.RegionalInventoryAttributes.Availability availability = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for availability to set. |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RegionalInventoryAttributes.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
setPrice(Price value)
public RegionalInventoryAttributes.Builder setPrice(Price value)Optional. Price of the product in this region.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.shopping.type.Price |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
setPrice(Price.Builder builderForValue)
public RegionalInventoryAttributes.Builder setPrice(Price.Builder builderForValue)Optional. Price of the product in this region.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.shopping.type.Price.Builder |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RegionalInventoryAttributes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
setSalePrice(Price value)
public RegionalInventoryAttributes.Builder setSalePrice(Price value) Optional. Sale price of the product in this region. Mandatory if
salePriceEffectiveDate is
defined.
.google.shopping.type.Price sale_price = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.shopping.type.Price |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
setSalePrice(Price.Builder builderForValue)
public RegionalInventoryAttributes.Builder setSalePrice(Price.Builder builderForValue) Optional. Sale price of the product in this region. Mandatory if
salePriceEffectiveDate is
defined.
.google.shopping.type.Price sale_price = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.shopping.type.Price.Builder |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
setSalePriceEffectiveDate(Interval value)
public RegionalInventoryAttributes.Builder setSalePriceEffectiveDate(Interval value) Optional. The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.Interval |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
setSalePriceEffectiveDate(Interval.Builder builderForValue)
public RegionalInventoryAttributes.Builder setSalePriceEffectiveDate(Interval.Builder builderForValue) Optional. The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.type.Interval.Builder |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RegionalInventoryAttributes.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
RegionalInventoryAttributes.Builder |
|