Class GrpcDashboardsServiceStub (2.9.0)

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.

Inheritance

java.lang.Object > DashboardsServiceStub > GrpcDashboardsServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcDashboardsServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcDashboardsServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDashboardsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcDashboardsServiceStub
Exceptions
TypeDescription
IOException

create(DashboardsServiceStubSettings settings)

public static final GrpcDashboardsServiceStub create(DashboardsServiceStubSettings settings)
Parameter
NameDescription
settingsDashboardsServiceStubSettings
Returns
TypeDescription
GrpcDashboardsServiceStub
Exceptions
TypeDescription
IOException

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
NameDescription
settingsDashboardsServiceStubSettings
clientContextClientContext

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
NameDescription
settingsDashboardsServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createDashboardCallable()

public UnaryCallable<CreateDashboardRequest,Dashboard> createDashboardCallable()
Returns
TypeDescription
UnaryCallable<CreateDashboardRequest,Dashboard>
Overrides

deleteDashboardCallable()

public UnaryCallable<DeleteDashboardRequest,Empty> deleteDashboardCallable()
Returns
TypeDescription
UnaryCallable<DeleteDashboardRequest,Empty>
Overrides

getDashboardCallable()

public UnaryCallable<GetDashboardRequest,Dashboard> getDashboardCallable()
Returns
TypeDescription
UnaryCallable<GetDashboardRequest,Dashboard>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listDashboardsCallable()

public UnaryCallable<ListDashboardsRequest,ListDashboardsResponse> listDashboardsCallable()
Returns
TypeDescription
UnaryCallable<ListDashboardsRequest,ListDashboardsResponse>
Overrides

listDashboardsPagedCallable()

public UnaryCallable<ListDashboardsRequest,DashboardsServiceClient.ListDashboardsPagedResponse> listDashboardsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListDashboardsRequest,ListDashboardsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateDashboardCallable()

public UnaryCallable<UpdateDashboardRequest,Dashboard> updateDashboardCallable()
Returns
TypeDescription
UnaryCallable<UpdateDashboardRequest,Dashboard>
Overrides