public class HttpJsonDashboardsServiceStub extends DashboardsServiceStub
REST stub implementation for the DashboardsService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonDashboardsServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDashboardsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(DashboardsServiceStubSettings settings)
public static final HttpJsonDashboardsServiceStub create(DashboardsServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonDashboardsServiceStub(DashboardsServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonDashboardsServiceStub(DashboardsServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonDashboardsServiceStub, 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.
HttpJsonDashboardsServiceStub(DashboardsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonDashboardsServiceStub(DashboardsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDashboardsServiceStub, 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
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createDashboardCallable()
public UnaryCallable<CreateDashboardRequest,Dashboard> createDashboardCallable()
Overrides
deleteDashboardCallable()
public UnaryCallable<DeleteDashboardRequest,Empty> deleteDashboardCallable()
Overrides
getDashboardCallable()
public UnaryCallable<GetDashboardRequest,Dashboard> getDashboardCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listDashboardsCallable()
public UnaryCallable<ListDashboardsRequest,ListDashboardsResponse> listDashboardsCallable()
Overrides
listDashboardsPagedCallable()
public UnaryCallable<ListDashboardsRequest,DashboardsServiceClient.ListDashboardsPagedResponse> listDashboardsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateDashboardCallable()
public UnaryCallable<UpdateDashboardRequest,Dashboard> updateDashboardCallable()
Overrides