Class DataSourcesServiceGrpc (0.4.0)

public final class DataSourcesServiceGrpc

Service to manage primary, supplemental, inventory and other data sources. See more in the Merchant Center help article.

Inheritance

java.lang.Object > DataSourcesServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(DataSourcesServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(DataSourcesServiceGrpc.AsyncService service)
Parameter
Name Description
service DataSourcesServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateDataSourceMethod()

public static MethodDescriptor<CreateDataSourceRequest,DataSource> getCreateDataSourceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateDataSourceRequest,DataSource>

getDeleteDataSourceMethod()

public static MethodDescriptor<DeleteDataSourceRequest,Empty> getDeleteDataSourceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteDataSourceRequest,Empty>

getFetchDataSourceMethod()

public static MethodDescriptor<FetchDataSourceRequest,Empty> getFetchDataSourceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<FetchDataSourceRequest,Empty>

getGetDataSourceMethod()

public static MethodDescriptor<GetDataSourceRequest,DataSource> getGetDataSourceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetDataSourceRequest,DataSource>

getListDataSourcesMethod()

public static MethodDescriptor<ListDataSourcesRequest,ListDataSourcesResponse> getListDataSourcesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListDataSourcesRequest,ListDataSourcesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateDataSourceMethod()

public static MethodDescriptor<UpdateDataSourceRequest,DataSource> getUpdateDataSourceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateDataSourceRequest,DataSource>

newBlockingStub(Channel channel)

public static DataSourcesServiceGrpc.DataSourcesServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DataSourcesServiceGrpc.DataSourcesServiceBlockingStub

newFutureStub(Channel channel)

public static DataSourcesServiceGrpc.DataSourcesServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DataSourcesServiceGrpc.DataSourcesServiceFutureStub

newStub(Channel channel)

public static DataSourcesServiceGrpc.DataSourcesServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
DataSourcesServiceGrpc.DataSourcesServiceStub