public class HttpJsonAcceleratorTypesStub extends AcceleratorTypesStub
REST stub implementation for the AcceleratorTypes service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonAcceleratorTypesStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAcceleratorTypesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(AcceleratorTypesStubSettings settings)
public static final HttpJsonAcceleratorTypesStub create(AcceleratorTypesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonAcceleratorTypesStub(AcceleratorTypesStubSettings settings, ClientContext clientContext)
protected HttpJsonAcceleratorTypesStub(AcceleratorTypesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonAcceleratorTypesStub, 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.
HttpJsonAcceleratorTypesStub(AcceleratorTypesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonAcceleratorTypesStub(AcceleratorTypesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAcceleratorTypesStub, 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.
Methods
aggregatedListCallable()
public UnaryCallable<AggregatedListAcceleratorTypesRequest,AcceleratorTypeAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListAcceleratorTypesRequest,AcceleratorTypesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
getCallable()
public UnaryCallable<GetAcceleratorTypeRequest,AcceleratorType> getCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListAcceleratorTypesRequest,AcceleratorTypeList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListAcceleratorTypesRequest,AcceleratorTypesClient.ListPagedResponse> listPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()