Class GrpcDashboardsServiceStub (2.53.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDashboardsServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDashboardsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDashboardsServiceStub
Exceptions
Type Description
IOException

create(DashboardsServiceStubSettings settings)

public static final GrpcDashboardsServiceStub create(DashboardsServiceStubSettings settings)
Parameter
Name Description
settings DashboardsServiceStubSettings
Returns
Type Description
GrpcDashboardsServiceStub
Exceptions
Type Description
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
Name Description
settings DashboardsServiceStubSettings
clientContext ClientContext

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
Name Description
settings DashboardsServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createDashboardCallable()

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

deleteDashboardCallable()

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

getDashboardCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listDashboardsCallable()

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

listDashboardsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateDashboardCallable()

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