Class GrpcDashboardsServiceStub (2.5.0)

See more code actions.
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.

java.lang.Object > DashboardsServiceStub > GrpcDashboardsServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(DashboardsServiceStubSettings settings)

public static final GrpcDashboardsServiceStub create(DashboardsServiceStubSettings settings)
Parameter
NameDescription
settingsDashboardsServiceStubSettings
Returns 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 Overrides

deleteDashboardCallable()

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

getDashboardCallable()

public UnaryCallable<GetDashboardRequest,Dashboard> getDashboardCallable()
Returns 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 Overrides

listDashboardsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateDashboardCallable()

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