public interface LocalInventoryAttributesOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAvailability()
public abstract LocalInventoryAttributes.Availability getAvailability()
Availability of the product at this store.
optional .google.shopping.merchant.inventories.v1.LocalInventoryAttributes.Availability availability = 4;
Returns | |
---|---|
Type | Description |
LocalInventoryAttributes.Availability |
The availability. |
getAvailabilityValue()
public abstract int getAvailabilityValue()
Availability of the product at this store.
optional .google.shopping.merchant.inventories.v1.LocalInventoryAttributes.Availability availability = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for availability. |
getInstoreProductLocation()
public abstract String getInstoreProductLocation()
Optional. Location of the product inside the store. Maximum length is 20 bytes.
optional string instore_product_location = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The instoreProductLocation. |
getInstoreProductLocationBytes()
public abstract ByteString getInstoreProductLocationBytes()
Optional. Location of the product inside the store. Maximum length is 20 bytes.
optional string instore_product_location = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for instoreProductLocation. |
getPickupMethod()
public abstract LocalInventoryAttributes.PickupMethod getPickupMethod()
Optional. Supported pickup
method for this
product. Unless the value is "not supported"
, this field must be
submitted together with pickupSla
.
optional .google.shopping.merchant.inventories.v1.LocalInventoryAttributes.PickupMethod pickup_method = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
LocalInventoryAttributes.PickupMethod |
The pickupMethod. |
getPickupMethodValue()
public abstract int getPickupMethodValue()
Optional. Supported pickup
method for this
product. Unless the value is "not supported"
, this field must be
submitted together with pickupSla
.
optional .google.shopping.merchant.inventories.v1.LocalInventoryAttributes.PickupMethod pickup_method = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for pickupMethod. |
getPickupSla()
public abstract LocalInventoryAttributes.PickupSla getPickupSla()
Optional. Relative time period from the order date for an order for this
product, from this store, to be ready for pickup. Must be submitted with
pickupMethod
. See more details
here.
optional .google.shopping.merchant.inventories.v1.LocalInventoryAttributes.PickupSla pickup_sla = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
LocalInventoryAttributes.PickupSla |
The pickupSla. |
getPickupSlaValue()
public abstract int getPickupSlaValue()
Optional. Relative time period from the order date for an order for this
product, from this store, to be ready for pickup. Must be submitted with
pickupMethod
. See more details
here.
optional .google.shopping.merchant.inventories.v1.LocalInventoryAttributes.PickupSla pickup_sla = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for pickupSla. |
getPrice()
public abstract Price getPrice()
Optional. Price of the product at this store.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
com.google.shopping.type.Price |
The price. |
getPriceOrBuilder()
public abstract PriceOrBuilder getPriceOrBuilder()
Optional. Price of the product at this store.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
com.google.shopping.type.PriceOrBuilder |
getQuantity()
public abstract long getQuantity()
Optional. Quantity of the product available at this store. Must be greater than or equal to zero.
optional int64 quantity = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The quantity. |
getSalePrice()
public abstract Price getSalePrice()
Optional. Sale price of the product at this store. 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. |
getSalePriceEffectiveDate()
public abstract Interval getSalePriceEffectiveDate()
Optional. The TimePeriod
of the
sale at this store.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
com.google.type.Interval |
The salePriceEffectiveDate. |
getSalePriceEffectiveDateOrBuilder()
public abstract IntervalOrBuilder getSalePriceEffectiveDateOrBuilder()
Optional. The TimePeriod
of the
sale at this store.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
com.google.type.IntervalOrBuilder |
getSalePriceOrBuilder()
public abstract PriceOrBuilder getSalePriceOrBuilder()
Optional. Sale price of the product at this store. 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 abstract boolean hasAvailability()
Availability of the product at this store.
optional .google.shopping.merchant.inventories.v1.LocalInventoryAttributes.Availability availability = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the availability field is set. |
hasInstoreProductLocation()
public abstract boolean hasInstoreProductLocation()
Optional. Location of the product inside the store. Maximum length is 20 bytes.
optional string instore_product_location = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the instoreProductLocation field is set. |
hasPickupMethod()
public abstract boolean hasPickupMethod()
Optional. Supported pickup
method for this
product. Unless the value is "not supported"
, this field must be
submitted together with pickupSla
.
optional .google.shopping.merchant.inventories.v1.LocalInventoryAttributes.PickupMethod pickup_method = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the pickupMethod field is set. |
hasPickupSla()
public abstract boolean hasPickupSla()
Optional. Relative time period from the order date for an order for this
product, from this store, to be ready for pickup. Must be submitted with
pickupMethod
. See more details
here.
optional .google.shopping.merchant.inventories.v1.LocalInventoryAttributes.PickupSla pickup_sla = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the pickupSla field is set. |
hasPrice()
public abstract boolean hasPrice()
Optional. Price of the product at this store.
.google.shopping.type.Price price = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the price field is set. |
hasQuantity()
public abstract boolean hasQuantity()
Optional. Quantity of the product available at this store. Must be greater than or equal to zero.
optional int64 quantity = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the quantity field is set. |
hasSalePrice()
public abstract boolean hasSalePrice()
Optional. Sale price of the product at this store. 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 abstract boolean hasSalePriceEffectiveDate()
Optional. The TimePeriod
of the
sale at this store.
.google.type.Interval sale_price_effective_date = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the salePriceEffectiveDate field is set. |