public class GrpcManagedNotebookServiceStub extends ManagedNotebookServiceStub
gRPC stub implementation for the ManagedNotebookService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcManagedNotebookServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcManagedNotebookServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ManagedNotebookServiceStubSettings settings)
public static final GrpcManagedNotebookServiceStub create(ManagedNotebookServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcManagedNotebookServiceStub(ManagedNotebookServiceStubSettings settings, ClientContext clientContext)
protected GrpcManagedNotebookServiceStub(ManagedNotebookServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcManagedNotebookServiceStub, 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
GrpcManagedNotebookServiceStub(ManagedNotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcManagedNotebookServiceStub(ManagedNotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcManagedNotebookServiceStub, 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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createRuntimeCallable()
public UnaryCallable<CreateRuntimeRequest,Operation> createRuntimeCallable()
Returns
Overrides
createRuntimeOperationCallable()
public OperationCallable<CreateRuntimeRequest,Runtime,OperationMetadata> createRuntimeOperationCallable()
Returns
Overrides
deleteRuntimeCallable()
public UnaryCallable<DeleteRuntimeRequest,Operation> deleteRuntimeCallable()
Returns
Overrides
deleteRuntimeOperationCallable()
public OperationCallable<DeleteRuntimeRequest,Empty,OperationMetadata> deleteRuntimeOperationCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
getRuntimeCallable()
public UnaryCallable<GetRuntimeRequest,Runtime> getRuntimeCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listRuntimesCallable()
public UnaryCallable<ListRuntimesRequest,ListRuntimesResponse> listRuntimesCallable()
Returns
Overrides
listRuntimesPagedCallable()
public UnaryCallable<ListRuntimesRequest,ManagedNotebookServiceClient.ListRuntimesPagedResponse> listRuntimesPagedCallable()
Returns
Overrides
refreshRuntimeTokenInternalCallable()
public UnaryCallable<RefreshRuntimeTokenInternalRequest,RefreshRuntimeTokenInternalResponse> refreshRuntimeTokenInternalCallable()
Returns
Overrides
reportRuntimeEventCallable()
public UnaryCallable<ReportRuntimeEventRequest,Operation> reportRuntimeEventCallable()
Returns
Overrides
reportRuntimeEventOperationCallable()
public OperationCallable<ReportRuntimeEventRequest,Runtime,OperationMetadata> reportRuntimeEventOperationCallable()
Returns
Overrides
resetRuntimeCallable()
public UnaryCallable<ResetRuntimeRequest,Operation> resetRuntimeCallable()
Returns
Overrides
resetRuntimeOperationCallable()
public OperationCallable<ResetRuntimeRequest,Runtime,OperationMetadata> resetRuntimeOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
startRuntimeCallable()
public UnaryCallable<StartRuntimeRequest,Operation> startRuntimeCallable()
Returns
Overrides
startRuntimeOperationCallable()
public OperationCallable<StartRuntimeRequest,Runtime,OperationMetadata> startRuntimeOperationCallable()
Returns
Overrides
stopRuntimeCallable()
public UnaryCallable<StopRuntimeRequest,Operation> stopRuntimeCallable()
Returns
Overrides
stopRuntimeOperationCallable()
public OperationCallable<StopRuntimeRequest,Runtime,OperationMetadata> stopRuntimeOperationCallable()
Returns
Overrides
switchRuntimeCallable()
public UnaryCallable<SwitchRuntimeRequest,Operation> switchRuntimeCallable()
Returns
Overrides
switchRuntimeOperationCallable()
public OperationCallable<SwitchRuntimeRequest,Runtime,OperationMetadata> switchRuntimeOperationCallable()
Returns
Overrides