public class GrpcDashboardsServiceStub extends DashboardsServiceStub
gRPC 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 GrpcDashboardsServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDashboardsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(DashboardsServiceStubSettings settings)
public static final GrpcDashboardsServiceStub create(DashboardsServiceStubSettings settings)
Constructors
GrpcDashboardsServiceStub(DashboardsServiceStubSettings settings, ClientContext clientContext)
protected GrpcDashboardsServiceStub(DashboardsServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcDashboardsServiceStub, 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.
GrpcDashboardsServiceStub(DashboardsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcDashboardsServiceStub(DashboardsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDashboardsServiceStub, 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
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
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