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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDashboardsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(DashboardsServiceStubSettings settings)
public static final GrpcDashboardsServiceStub create(DashboardsServiceStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createDashboardCallable()
public UnaryCallable<CreateDashboardRequest,Dashboard> createDashboardCallable()
Returns
Overrides
deleteDashboardCallable()
public UnaryCallable<DeleteDashboardRequest,Empty> deleteDashboardCallable()
Returns
Overrides
getDashboardCallable()
public UnaryCallable<GetDashboardRequest,Dashboard> getDashboardCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listDashboardsCallable()
public UnaryCallable<ListDashboardsRequest,ListDashboardsResponse> listDashboardsCallable()
Returns
Overrides
listDashboardsPagedCallable()
public UnaryCallable<ListDashboardsRequest,DashboardsServiceClient.ListDashboardsPagedResponse> listDashboardsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateDashboardCallable()
public UnaryCallable<UpdateDashboardRequest,Dashboard> updateDashboardCallable()
Returns
Overrides