Class GrpcNativeDashboardServiceStub (0.31.0)

public class GrpcNativeDashboardServiceStub extends NativeDashboardServiceStub

gRPC stub implementation for the NativeDashboardService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > NativeDashboardServiceStub > GrpcNativeDashboardServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcNativeDashboardServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcNativeDashboardServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(NativeDashboardServiceStubSettings settings)

public static final GrpcNativeDashboardServiceStub create(NativeDashboardServiceStubSettings settings)
Parameter
Name Description
settings NativeDashboardServiceStubSettings
Returns
Type Description
GrpcNativeDashboardServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcNativeDashboardServiceStub(NativeDashboardServiceStubSettings settings, ClientContext clientContext)

protected GrpcNativeDashboardServiceStub(NativeDashboardServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcNativeDashboardServiceStub, 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 NativeDashboardServiceStubSettings
clientContext ClientContext

GrpcNativeDashboardServiceStub(NativeDashboardServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcNativeDashboardServiceStub(NativeDashboardServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcNativeDashboardServiceStub, 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 NativeDashboardServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

addChartCallable()

public UnaryCallable<AddChartRequest,AddChartResponse> addChartCallable()
Returns
Type Description
UnaryCallable<AddChartRequest,AddChartResponse>
Overrides

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

createNativeDashboardCallable()

public UnaryCallable<CreateNativeDashboardRequest,NativeDashboard> createNativeDashboardCallable()
Returns
Type Description
UnaryCallable<CreateNativeDashboardRequest,NativeDashboard>
Overrides

deleteNativeDashboardCallable()

public UnaryCallable<DeleteNativeDashboardRequest,Empty> deleteNativeDashboardCallable()
Returns
Type Description
UnaryCallable<DeleteNativeDashboardRequest,Empty>
Overrides

duplicateChartCallable()

public UnaryCallable<DuplicateChartRequest,DuplicateChartResponse> duplicateChartCallable()
Returns
Type Description
UnaryCallable<DuplicateChartRequest,DuplicateChartResponse>
Overrides

duplicateNativeDashboardCallable()

public UnaryCallable<DuplicateNativeDashboardRequest,NativeDashboard> duplicateNativeDashboardCallable()
Returns
Type Description
UnaryCallable<DuplicateNativeDashboardRequest,NativeDashboard>
Overrides

editChartCallable()

public UnaryCallable<EditChartRequest,EditChartResponse> editChartCallable()
Returns
Type Description
UnaryCallable<EditChartRequest,EditChartResponse>
Overrides

exportNativeDashboardsCallable()

public UnaryCallable<ExportNativeDashboardsRequest,ExportNativeDashboardsResponse> exportNativeDashboardsCallable()
Returns
Type Description
UnaryCallable<ExportNativeDashboardsRequest,ExportNativeDashboardsResponse>
Overrides

getNativeDashboardCallable()

public UnaryCallable<GetNativeDashboardRequest,NativeDashboard> getNativeDashboardCallable()
Returns
Type Description
UnaryCallable<GetNativeDashboardRequest,NativeDashboard>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

importNativeDashboardsCallable()

public UnaryCallable<ImportNativeDashboardsRequest,ImportNativeDashboardsResponse> importNativeDashboardsCallable()
Returns
Type Description
UnaryCallable<ImportNativeDashboardsRequest,ImportNativeDashboardsResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listNativeDashboardsCallable()

public UnaryCallable<ListNativeDashboardsRequest,ListNativeDashboardsResponse> listNativeDashboardsCallable()
Returns
Type Description
UnaryCallable<ListNativeDashboardsRequest,ListNativeDashboardsResponse>
Overrides

listNativeDashboardsPagedCallable()

public UnaryCallable<ListNativeDashboardsRequest,NativeDashboardServiceClient.ListNativeDashboardsPagedResponse> listNativeDashboardsPagedCallable()
Returns
Type Description
UnaryCallable<ListNativeDashboardsRequest,ListNativeDashboardsPagedResponse>
Overrides

removeChartCallable()

public UnaryCallable<RemoveChartRequest,NativeDashboard> removeChartCallable()
Returns
Type Description
UnaryCallable<RemoveChartRequest,NativeDashboard>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateNativeDashboardCallable()

public UnaryCallable<UpdateNativeDashboardRequest,NativeDashboard> updateNativeDashboardCallable()
Returns
Type Description
UnaryCallable<UpdateNativeDashboardRequest,NativeDashboard>
Overrides