Class HttpJsonSampleQuerySetServiceStub (0.50.0)

public class HttpJsonSampleQuerySetServiceStub extends SampleQuerySetServiceStub

REST stub implementation for the SampleQuerySetService service API.

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

Inheritance

java.lang.Object > SampleQuerySetServiceStub > HttpJsonSampleQuerySetServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(SampleQuerySetServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonSampleQuerySetServiceStub(SampleQuerySetServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonSampleQuerySetServiceStub(SampleQuerySetServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonSampleQuerySetServiceStub, 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

HttpJsonSampleQuerySetServiceStub(SampleQuerySetServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonSampleQuerySetServiceStub(SampleQuerySetServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonSampleQuerySetServiceStub, 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 HttpJsonStubCallableFactory

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

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