Interface RegionalInventoryOrBuilder (1.0.0)

public interface RegionalInventoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.

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.

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.

getRegionalInventoryAttributes()

public abstract RegionalInventoryAttributes getRegionalInventoryAttributes()

Optional. A list of regional inventory attributes.

.google.shopping.merchant.inventories.v1.RegionalInventoryAttributes regional_inventory_attributes = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RegionalInventoryAttributes

The regionalInventoryAttributes.

getRegionalInventoryAttributesOrBuilder()

public abstract RegionalInventoryAttributesOrBuilder getRegionalInventoryAttributesOrBuilder()

Optional. A list of regional inventory attributes.

.google.shopping.merchant.inventories.v1.RegionalInventoryAttributes regional_inventory_attributes = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RegionalInventoryAttributesOrBuilder

hasRegionalInventoryAttributes()

public abstract boolean hasRegionalInventoryAttributes()

Optional. A list of regional inventory attributes.

.google.shopping.merchant.inventories.v1.RegionalInventoryAttributes regional_inventory_attributes = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the regionalInventoryAttributes field is set.