Class SampleQueryServiceGrpc.SampleQueryServiceFutureStub (0.47.0)

public static final class SampleQueryServiceGrpc.SampleQueryServiceFutureStub extends AbstractFutureStub<SampleQueryServiceGrpc.SampleQueryServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service SampleQueryService.

Service for managing SampleQuerys,

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > SampleQueryServiceGrpc.SampleQueryServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected SampleQueryServiceGrpc.SampleQueryServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
SampleQueryServiceGrpc.SampleQueryServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createSampleQuery(CreateSampleQueryRequest request)

public ListenableFuture<SampleQuery> createSampleQuery(CreateSampleQueryRequest request)

Creates a SampleQuery

Parameter
Name Description
request CreateSampleQueryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SampleQuery>

deleteSampleQuery(DeleteSampleQueryRequest request)

public ListenableFuture<Empty> deleteSampleQuery(DeleteSampleQueryRequest request)

Deletes a SampleQuery.

Parameter
Name Description
request DeleteSampleQueryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getSampleQuery(GetSampleQueryRequest request)

public ListenableFuture<SampleQuery> getSampleQuery(GetSampleQueryRequest request)

Gets a SampleQuery.

Parameter
Name Description
request GetSampleQueryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SampleQuery>

importSampleQueries(ImportSampleQueriesRequest request)

public ListenableFuture<Operation> importSampleQueries(ImportSampleQueriesRequest request)

Bulk import of multiple SampleQuerys. Sample queries that already exist may be deleted. Note: It is possible for a subset of the SampleQuerys to be successfully imported.

Parameter
Name Description
request ImportSampleQueriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

listSampleQueries(ListSampleQueriesRequest request)

public ListenableFuture<ListSampleQueriesResponse> listSampleQueries(ListSampleQueriesRequest request)

Gets a list of SampleQuerys.

Parameter
Name Description
request ListSampleQueriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListSampleQueriesResponse>

updateSampleQuery(UpdateSampleQueryRequest request)

public ListenableFuture<SampleQuery> updateSampleQuery(UpdateSampleQueryRequest request)

Updates a SampleQuery.

Parameter
Name Description
request UpdateSampleQueryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SampleQuery>