Interface InsertLocalInventoryRequestOrBuilder (0.21.0)

public interface InsertLocalInventoryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLocalInventory()

public abstract LocalInventory getLocalInventory()

Required. Local inventory information of the product. If the product already has a LocalInventory resource for the same storeCode, full replacement of the LocalInventory resource is performed.

.google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LocalInventory

The localInventory.

getLocalInventoryOrBuilder()

public abstract LocalInventoryOrBuilder getLocalInventoryOrBuilder()

Required. Local inventory information of the product. If the product already has a LocalInventory resource for the same storeCode, full replacement of the LocalInventory resource is performed.

.google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LocalInventoryOrBuilder

getParent()

public abstract String getParent()

Required. The account and product where this inventory will be inserted. Format: accounts/{account}/products/{product}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The account and product where this inventory will be inserted. Format: accounts/{account}/products/{product}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasLocalInventory()

public abstract boolean hasLocalInventory()

Required. Local inventory information of the product. If the product already has a LocalInventory resource for the same storeCode, full replacement of the LocalInventory resource is performed.

.google.shopping.merchant.inventories.v1beta.LocalInventory local_inventory = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the localInventory field is set.