Interface LocalInventoryOrBuilder (1.0.0)

public interface LocalInventoryOrBuilder 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.

getLocalInventoryAttributes()

public abstract LocalInventoryAttributes getLocalInventoryAttributes()

Optional. A list of local inventory attributes.

.google.shopping.merchant.inventories.v1.LocalInventoryAttributes local_inventory_attributes = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LocalInventoryAttributes

The localInventoryAttributes.

getLocalInventoryAttributesOrBuilder()

public abstract LocalInventoryAttributesOrBuilder getLocalInventoryAttributesOrBuilder()

Optional. A list of local inventory attributes.

.google.shopping.merchant.inventories.v1.LocalInventoryAttributes local_inventory_attributes = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LocalInventoryAttributesOrBuilder

getName()

public abstract String getName()

Output only. The name of the LocalInventory resource. Format: accounts/{account}/products/{product}/localInventories/{store_code}

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 LocalInventory resource. Format: accounts/{account}/products/{product}/localInventories/{store_code}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getStoreCode()

public abstract String getStoreCode()

Required. Immutable. Store code (the store ID from your Business Profile) of the physical store the product is sold in. See the Local product inventory data specification for more information.

string store_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The storeCode.

getStoreCodeBytes()

public abstract ByteString getStoreCodeBytes()

Required. Immutable. Store code (the store ID from your Business Profile) of the physical store the product is sold in. See the Local product inventory data specification for more information.

string store_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for storeCode.

hasLocalInventoryAttributes()

public abstract boolean hasLocalInventoryAttributes()

Optional. A list of local inventory attributes.

.google.shopping.merchant.inventories.v1.LocalInventoryAttributes local_inventory_attributes = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the localInventoryAttributes field is set.