public static final class DataSourcesServiceGrpc.DataSourcesServiceFutureStub extends AbstractFutureStub<DataSourcesServiceGrpc.DataSourcesServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service DataSourcesService.
Service to manage primary, supplemental, inventory and other data sources.
See more in the Merchant
Center help article.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
DataSourcesServiceGrpc.DataSourcesServiceFutureStub
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 DataSourcesServiceGrpc.DataSourcesServiceFutureStub 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<DataSource> createDataSource(CreateDataSourceRequest request)
Creates the new data source configuration for the given account.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<DataSource> |
|
public ListenableFuture<Empty> deleteDataSource(DeleteDataSourceRequest request)
Deletes a data source from your Merchant Center account.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
public ListenableFuture<Empty> fetchDataSource(FetchDataSourceRequest request)
Performs the data fetch immediately (even outside fetch schedule) on a
data source from your Merchant Center Account. If you need to call
this method more than once per day, you should use the Products service to
update your product data instead.
This method only works on data sources with a file input set.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
public ListenableFuture<DataSource> getDataSource(GetDataSourceRequest request)
Retrieves the data source configuration for the given account.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<DataSource> |
|
public ListenableFuture<ListDataSourcesResponse> listDataSources(ListDataSourcesRequest request)
Lists the configurations for data sources for the given account.
public ListenableFuture<DataSource> updateDataSource(UpdateDataSourceRequest request)
Updates the existing data source configuration. The fields that are
set in the update mask but not provided in the resource will be deleted.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<DataSource> |
|