public static final class LocalInventoryServiceGrpc.LocalInventoryServiceFutureStub extends AbstractFutureStub<LocalInventoryServiceGrpc.LocalInventoryServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service
LocalInventoryService.
Service to manage local inventory for products
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
LocalInventoryServiceGrpc.LocalInventoryServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
protected LocalInventoryServiceGrpc.LocalInventoryServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public ListenableFuture<Empty> deleteLocalInventory(DeleteLocalInventoryRequest request)
Deletes the specified LocalInventory
from the given product in your
merchant account. It might take a up to an hour for the
LocalInventory
to be deleted from the specific product.
Once you have received a successful delete response, wait for that
period before attempting a delete again.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
public ListenableFuture<LocalInventory> insertLocalInventory(InsertLocalInventoryRequest request)
Inserts a LocalInventory
resource to a product in your merchant
account.
Replaces the full LocalInventory
resource if an entry with the same
storeCode
already exists for the product.
It might take up to 30 minutes for the new or updated LocalInventory
resource to appear in products.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<LocalInventory> |
|
public ListenableFuture<ListLocalInventoriesResponse> listLocalInventories(ListLocalInventoriesRequest request)
Lists the LocalInventory
resources for the given product in your merchant
account. The response might contain fewer items than specified by
pageSize
. If pageToken
was returned in previous request, it can be used
to obtain additional results.
LocalInventory
resources are listed per product for a given account.