Class GrpcNotebookServiceStub (3.59.0)

public class GrpcNotebookServiceStub extends NotebookServiceStub

gRPC stub implementation for the NotebookService service API.

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

Inheritance

java.lang.Object > NotebookServiceStub > GrpcNotebookServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(NotebookServiceStubSettings settings)

public static final GrpcNotebookServiceStub create(NotebookServiceStubSettings settings)
Parameter
Name Description
settings NotebookServiceStubSettings
Returns
Type Description
GrpcNotebookServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext)

protected GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcNotebookServiceStub, 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 NotebookServiceStubSettings
clientContext ClientContext

GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

Methods

assignNotebookRuntimeCallable()

public UnaryCallable<AssignNotebookRuntimeRequest,Operation> assignNotebookRuntimeCallable()
Overrides

assignNotebookRuntimeOperationCallable()

public OperationCallable<AssignNotebookRuntimeRequest,NotebookRuntime,AssignNotebookRuntimeOperationMetadata> assignNotebookRuntimeOperationCallable()
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

createNotebookExecutionJobCallable()

public UnaryCallable<CreateNotebookExecutionJobRequest,Operation> createNotebookExecutionJobCallable()
Overrides

createNotebookExecutionJobOperationCallable()

public OperationCallable<CreateNotebookExecutionJobRequest,NotebookExecutionJob,CreateNotebookExecutionJobOperationMetadata> createNotebookExecutionJobOperationCallable()
Overrides

createNotebookRuntimeTemplateCallable()

public UnaryCallable<CreateNotebookRuntimeTemplateRequest,Operation> createNotebookRuntimeTemplateCallable()
Overrides

createNotebookRuntimeTemplateOperationCallable()

public OperationCallable<CreateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate,CreateNotebookRuntimeTemplateOperationMetadata> createNotebookRuntimeTemplateOperationCallable()
Overrides

deleteNotebookExecutionJobCallable()

public UnaryCallable<DeleteNotebookExecutionJobRequest,Operation> deleteNotebookExecutionJobCallable()
Overrides

deleteNotebookExecutionJobOperationCallable()

public OperationCallable<DeleteNotebookExecutionJobRequest,Empty,DeleteOperationMetadata> deleteNotebookExecutionJobOperationCallable()
Overrides

deleteNotebookRuntimeCallable()

public UnaryCallable<DeleteNotebookRuntimeRequest,Operation> deleteNotebookRuntimeCallable()
Overrides

deleteNotebookRuntimeOperationCallable()

public OperationCallable<DeleteNotebookRuntimeRequest,Empty,DeleteOperationMetadata> deleteNotebookRuntimeOperationCallable()
Overrides

deleteNotebookRuntimeTemplateCallable()

public UnaryCallable<DeleteNotebookRuntimeTemplateRequest,Operation> deleteNotebookRuntimeTemplateCallable()
Overrides

deleteNotebookRuntimeTemplateOperationCallable()

public OperationCallable<DeleteNotebookRuntimeTemplateRequest,Empty,DeleteOperationMetadata> deleteNotebookRuntimeTemplateOperationCallable()
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getNotebookExecutionJobCallable()

public UnaryCallable<GetNotebookExecutionJobRequest,NotebookExecutionJob> getNotebookExecutionJobCallable()
Overrides

getNotebookRuntimeCallable()

public UnaryCallable<GetNotebookRuntimeRequest,NotebookRuntime> getNotebookRuntimeCallable()
Overrides

getNotebookRuntimeTemplateCallable()

public UnaryCallable<GetNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate> getNotebookRuntimeTemplateCallable()
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,NotebookServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listNotebookExecutionJobsCallable()

public UnaryCallable<ListNotebookExecutionJobsRequest,ListNotebookExecutionJobsResponse> listNotebookExecutionJobsCallable()
Overrides

listNotebookExecutionJobsPagedCallable()

public UnaryCallable<ListNotebookExecutionJobsRequest,NotebookServiceClient.ListNotebookExecutionJobsPagedResponse> listNotebookExecutionJobsPagedCallable()
Overrides

listNotebookRuntimeTemplatesCallable()

public UnaryCallable<ListNotebookRuntimeTemplatesRequest,ListNotebookRuntimeTemplatesResponse> listNotebookRuntimeTemplatesCallable()
Overrides

listNotebookRuntimeTemplatesPagedCallable()

public UnaryCallable<ListNotebookRuntimeTemplatesRequest,NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse> listNotebookRuntimeTemplatesPagedCallable()
Overrides

listNotebookRuntimesCallable()

public UnaryCallable<ListNotebookRuntimesRequest,ListNotebookRuntimesResponse> listNotebookRuntimesCallable()
Overrides

listNotebookRuntimesPagedCallable()

public UnaryCallable<ListNotebookRuntimesRequest,NotebookServiceClient.ListNotebookRuntimesPagedResponse> listNotebookRuntimesPagedCallable()
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startNotebookRuntimeCallable()

public UnaryCallable<StartNotebookRuntimeRequest,Operation> startNotebookRuntimeCallable()
Overrides

startNotebookRuntimeOperationCallable()

public OperationCallable<StartNotebookRuntimeRequest,StartNotebookRuntimeResponse,StartNotebookRuntimeOperationMetadata> startNotebookRuntimeOperationCallable()
Overrides

stopNotebookRuntimeCallable()

public UnaryCallable<StopNotebookRuntimeRequest,Operation> stopNotebookRuntimeCallable()
Overrides

stopNotebookRuntimeOperationCallable()

public OperationCallable<StopNotebookRuntimeRequest,StopNotebookRuntimeResponse,StopNotebookRuntimeOperationMetadata> stopNotebookRuntimeOperationCallable()
Overrides

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateNotebookRuntimeTemplateCallable()

public UnaryCallable<UpdateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate> updateNotebookRuntimeTemplateCallable()
Overrides

upgradeNotebookRuntimeCallable()

public UnaryCallable<UpgradeNotebookRuntimeRequest,Operation> upgradeNotebookRuntimeCallable()
Overrides

upgradeNotebookRuntimeOperationCallable()

public OperationCallable<UpgradeNotebookRuntimeRequest,UpgradeNotebookRuntimeResponse,UpgradeNotebookRuntimeOperationMetadata> upgradeNotebookRuntimeOperationCallable()
Overrides