Class GrpcSampleQuerySetServiceStub (0.43.0)

public class GrpcSampleQuerySetServiceStub extends SampleQuerySetServiceStub

gRPC stub implementation for the SampleQuerySetService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > SampleQuerySetServiceStub > GrpcSampleQuerySetServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcSampleQuerySetServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcSampleQuerySetServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcSampleQuerySetServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcSampleQuerySetServiceStub
Exceptions
Type Description
IOException

create(SampleQuerySetServiceStubSettings settings)

public static final GrpcSampleQuerySetServiceStub create(SampleQuerySetServiceStubSettings settings)
Parameter
Name Description
settings SampleQuerySetServiceStubSettings
Returns
Type Description
GrpcSampleQuerySetServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcSampleQuerySetServiceStub(SampleQuerySetServiceStubSettings settings, ClientContext clientContext)

protected GrpcSampleQuerySetServiceStub(SampleQuerySetServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcSampleQuerySetServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings SampleQuerySetServiceStubSettings
clientContext ClientContext

GrpcSampleQuerySetServiceStub(SampleQuerySetServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcSampleQuerySetServiceStub(SampleQuerySetServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcSampleQuerySetServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings SampleQuerySetServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createSampleQuerySetCallable()

public UnaryCallable<CreateSampleQuerySetRequest,SampleQuerySet> createSampleQuerySetCallable()
Returns
Type Description
UnaryCallable<CreateSampleQuerySetRequest,SampleQuerySet>
Overrides

deleteSampleQuerySetCallable()

public UnaryCallable<DeleteSampleQuerySetRequest,Empty> deleteSampleQuerySetCallable()
Returns
Type Description
UnaryCallable<DeleteSampleQuerySetRequest,Empty>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

getSampleQuerySetCallable()

public UnaryCallable<GetSampleQuerySetRequest,SampleQuerySet> getSampleQuerySetCallable()
Returns
Type Description
UnaryCallable<GetSampleQuerySetRequest,SampleQuerySet>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listSampleQuerySetsCallable()

public UnaryCallable<ListSampleQuerySetsRequest,ListSampleQuerySetsResponse> listSampleQuerySetsCallable()
Returns
Type Description
UnaryCallable<ListSampleQuerySetsRequest,ListSampleQuerySetsResponse>
Overrides

listSampleQuerySetsPagedCallable()

public UnaryCallable<ListSampleQuerySetsRequest,SampleQuerySetServiceClient.ListSampleQuerySetsPagedResponse> listSampleQuerySetsPagedCallable()
Returns
Type Description
UnaryCallable<ListSampleQuerySetsRequest,ListSampleQuerySetsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateSampleQuerySetCallable()

public UnaryCallable<UpdateSampleQuerySetRequest,SampleQuerySet> updateSampleQuerySetCallable()
Returns
Type Description
UnaryCallable<UpdateSampleQuerySetRequest,SampleQuerySet>
Overrides