Class NotebookServiceGrpc (1.26.0)

public final class NotebookServiceGrpc

API v2 service for Workbench Notebooks Instances.

Inheritance

java.lang.Object > NotebookServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(NotebookServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(NotebookServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceNotebookServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCheckInstanceUpgradabilityMethod()

public static MethodDescriptor<CheckInstanceUpgradabilityRequest,CheckInstanceUpgradabilityResponse> getCheckInstanceUpgradabilityMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CheckInstanceUpgradabilityRequest,CheckInstanceUpgradabilityResponse>

getCreateInstanceMethod()

public static MethodDescriptor<CreateInstanceRequest,Operation> getCreateInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateInstanceRequest,Operation>

getDeleteInstanceMethod()

public static MethodDescriptor<DeleteInstanceRequest,Operation> getDeleteInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteInstanceRequest,Operation>

getDiagnoseInstanceMethod()

public static MethodDescriptor<DiagnoseInstanceRequest,Operation> getDiagnoseInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DiagnoseInstanceRequest,Operation>

getGetInstanceMethod()

public static MethodDescriptor<GetInstanceRequest,Instance> getGetInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetInstanceRequest,Instance>

getListInstancesMethod()

public static MethodDescriptor<ListInstancesRequest,ListInstancesResponse> getListInstancesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListInstancesRequest,ListInstancesResponse>

getResetInstanceMethod()

public static MethodDescriptor<ResetInstanceRequest,Operation> getResetInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ResetInstanceRequest,Operation>

getRollbackInstanceMethod()

public static MethodDescriptor<RollbackInstanceRequest,Operation> getRollbackInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RollbackInstanceRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getStartInstanceMethod()

public static MethodDescriptor<StartInstanceRequest,Operation> getStartInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<StartInstanceRequest,Operation>

getStopInstanceMethod()

public static MethodDescriptor<StopInstanceRequest,Operation> getStopInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<StopInstanceRequest,Operation>

getUpdateInstanceMethod()

public static MethodDescriptor<UpdateInstanceRequest,Operation> getUpdateInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateInstanceRequest,Operation>

getUpgradeInstanceMethod()

public static MethodDescriptor<UpgradeInstanceRequest,Operation> getUpgradeInstanceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpgradeInstanceRequest,Operation>

newBlockingStub(Channel channel)

public static NotebookServiceGrpc.NotebookServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
NotebookServiceGrpc.NotebookServiceBlockingStub

newFutureStub(Channel channel)

public static NotebookServiceGrpc.NotebookServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
NotebookServiceGrpc.NotebookServiceFutureStub

newStub(Channel channel)

public static NotebookServiceGrpc.NotebookServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
NotebookServiceGrpc.NotebookServiceStub