- 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 interface RegionalInventoryOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAccount()
public abstract long getAccount()Output only. The account that owns the product. This field will be ignored if set by the client.
int64 account = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The account. |
getAvailability()
public abstract String getAvailability()Availability of the product in this region. For accepted attribute values, see the regional product inventory data specification
optional string availability = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The availability. |
getAvailabilityBytes()
public abstract ByteString getAvailabilityBytes()Availability of the product in this region. For accepted attribute values, see the regional product inventory data specification
optional string availability = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for availability. |
getCustomAttributes(int index)
public abstract CustomAttribute getCustomAttributes(int index) A list of custom (merchant-provided) attributes. You can also use
CustomAttribute to submit any attribute of the data specification in its
generic form.
repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.CustomAttribute |
|
getCustomAttributesCount()
public abstract int getCustomAttributesCount() A list of custom (merchant-provided) attributes. You can also use
CustomAttribute to submit any attribute of the data specification in its
generic form.
repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
| Returns | |
|---|---|
| Type | Description |
int |
|
getCustomAttributesList()
public abstract List<CustomAttribute> getCustomAttributesList() A list of custom (merchant-provided) attributes. You can also use
CustomAttribute to submit any attribute of the data specification in its
generic form.
repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
| Returns | |
|---|---|
| Type | Description |
List<com.google.shopping.type.CustomAttribute> |
|
getCustomAttributesOrBuilder(int index)
public abstract CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index) A list of custom (merchant-provided) attributes. You can also use
CustomAttribute to submit any attribute of the data specification in its
generic form.
repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.CustomAttributeOrBuilder |
|
getCustomAttributesOrBuilderList()
public abstract List<? extends CustomAttributeOrBuilder> getCustomAttributesOrBuilderList() A list of custom (merchant-provided) attributes. You can also use
CustomAttribute to submit any attribute of the data specification in its
generic form.
repeated .google.shopping.type.CustomAttribute custom_attributes = 8;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.type.CustomAttributeOrBuilder> |
|
getName()
public abstract String getName() Output only. The name of the RegionalInventory resource.
Format:
{regional_inventory.name=accounts/{account}/products/{product}/regionalInventories/{region}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Output only. The name of the RegionalInventory resource.
Format:
{regional_inventory.name=accounts/{account}/products/{product}/regionalInventories/{region}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPrice()
public abstract Price getPrice()Price of the product in this region.
.google.shopping.type.Price price = 4;
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.Price |
The price. |
getPriceOrBuilder()
public abstract PriceOrBuilder getPriceOrBuilder()Price of the product in this region.
.google.shopping.type.Price price = 4;
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.PriceOrBuilder |
|
getRegion()
public abstract String getRegion() Required. Immutable. ID of the region for this
RegionalInventory resource. See the Regional availability and
pricing for more
details.
string region = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The region. |
getRegionBytes()
public abstract ByteString getRegionBytes() Required. Immutable. ID of the region for this
RegionalInventory resource. See the Regional availability and
pricing for more
details.
string region = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for region. |
getSalePrice()
public abstract Price getSalePrice() Sale price of the product in this region. Mandatory if
salePriceEffectiveDate
is defined.
.google.shopping.type.Price sale_price = 5;
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.Price |
The salePrice. |
getSalePriceEffectiveDate()
public abstract Interval getSalePriceEffectiveDate() The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 6;
| Returns | |
|---|---|
| Type | Description |
com.google.type.Interval |
The salePriceEffectiveDate. |
getSalePriceEffectiveDateOrBuilder()
public abstract IntervalOrBuilder getSalePriceEffectiveDateOrBuilder() The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 6;
| Returns | |
|---|---|
| Type | Description |
com.google.type.IntervalOrBuilder |
|
getSalePriceOrBuilder()
public abstract PriceOrBuilder getSalePriceOrBuilder() Sale price of the product in this region. Mandatory if
salePriceEffectiveDate
is defined.
.google.shopping.type.Price sale_price = 5;
| Returns | |
|---|---|
| Type | Description |
com.google.shopping.type.PriceOrBuilder |
|
hasAvailability()
public abstract boolean hasAvailability()Availability of the product in this region. For accepted attribute values, see the regional product inventory data specification
optional string availability = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the availability field is set. |
hasPrice()
public abstract boolean hasPrice()Price of the product in this region.
.google.shopping.type.Price price = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the price field is set. |
hasSalePrice()
public abstract boolean hasSalePrice() Sale price of the product in this region. Mandatory if
salePriceEffectiveDate
is defined.
.google.shopping.type.Price sale_price = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the salePrice field is set. |
hasSalePriceEffectiveDate()
public abstract boolean hasSalePriceEffectiveDate() The TimePeriod of the
sale price in this region.
.google.type.Interval sale_price_effective_date = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the salePriceEffectiveDate field is set. |