Class HttpJsonNativeDashboardServiceStub (0.31.0)

public class HttpJsonNativeDashboardServiceStub extends NativeDashboardServiceStub

REST stub implementation for the NativeDashboardService service API.

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

Inheritance

java.lang.Object > NativeDashboardServiceStub > HttpJsonNativeDashboardServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(NativeDashboardServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonNativeDashboardServiceStub(NativeDashboardServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonNativeDashboardServiceStub(NativeDashboardServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonNativeDashboardServiceStub, 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

HttpJsonNativeDashboardServiceStub(NativeDashboardServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonNativeDashboardServiceStub(NativeDashboardServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonNativeDashboardServiceStub, 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 HttpJsonStubCallableFactory

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

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