Class GrpcNotebookServiceStub (3.55.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()
Returns
Type Description
UnaryCallable<AssignNotebookRuntimeRequest,Operation>
Overrides

assignNotebookRuntimeOperationCallable()

public OperationCallable<AssignNotebookRuntimeRequest,NotebookRuntime,AssignNotebookRuntimeOperationMetadata> assignNotebookRuntimeOperationCallable()
Returns
Type Description
OperationCallable<AssignNotebookRuntimeRequest,NotebookRuntime,AssignNotebookRuntimeOperationMetadata>
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()
Returns
Type Description
UnaryCallable<CreateNotebookExecutionJobRequest,Operation>
Overrides

createNotebookExecutionJobOperationCallable()

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

createNotebookRuntimeTemplateCallable()

public UnaryCallable<CreateNotebookRuntimeTemplateRequest,Operation> createNotebookRuntimeTemplateCallable()
Returns
Type Description
UnaryCallable<CreateNotebookRuntimeTemplateRequest,Operation>
Overrides

createNotebookRuntimeTemplateOperationCallable()

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

deleteNotebookExecutionJobCallable()

public UnaryCallable<DeleteNotebookExecutionJobRequest,Operation> deleteNotebookExecutionJobCallable()
Returns
Type Description
UnaryCallable<DeleteNotebookExecutionJobRequest,Operation>
Overrides

deleteNotebookExecutionJobOperationCallable()

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

deleteNotebookRuntimeCallable()

public UnaryCallable<DeleteNotebookRuntimeRequest,Operation> deleteNotebookRuntimeCallable()
Returns
Type Description
UnaryCallable<DeleteNotebookRuntimeRequest,Operation>
Overrides

deleteNotebookRuntimeOperationCallable()

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

deleteNotebookRuntimeTemplateCallable()

public UnaryCallable<DeleteNotebookRuntimeTemplateRequest,Operation> deleteNotebookRuntimeTemplateCallable()
Returns
Type Description
UnaryCallable<DeleteNotebookRuntimeTemplateRequest,Operation>
Overrides

deleteNotebookRuntimeTemplateOperationCallable()

public OperationCallable<DeleteNotebookRuntimeTemplateRequest,Empty,DeleteOperationMetadata> deleteNotebookRuntimeTemplateOperationCallable()
Returns
Type Description
OperationCallable<DeleteNotebookRuntimeTemplateRequest,Empty,DeleteOperationMetadata>
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()
Returns
Type Description
UnaryCallable<GetNotebookExecutionJobRequest,NotebookExecutionJob>
Overrides

getNotebookRuntimeCallable()

public UnaryCallable<GetNotebookRuntimeRequest,NotebookRuntime> getNotebookRuntimeCallable()
Returns
Type Description
UnaryCallable<GetNotebookRuntimeRequest,NotebookRuntime>
Overrides

getNotebookRuntimeTemplateCallable()

public UnaryCallable<GetNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate> getNotebookRuntimeTemplateCallable()
Returns
Type Description
UnaryCallable<GetNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate>
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()
Returns
Type Description
UnaryCallable<ListNotebookExecutionJobsRequest,ListNotebookExecutionJobsResponse>
Overrides

listNotebookExecutionJobsPagedCallable()

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

listNotebookRuntimeTemplatesCallable()

public UnaryCallable<ListNotebookRuntimeTemplatesRequest,ListNotebookRuntimeTemplatesResponse> listNotebookRuntimeTemplatesCallable()
Returns
Type Description
UnaryCallable<ListNotebookRuntimeTemplatesRequest,ListNotebookRuntimeTemplatesResponse>
Overrides

listNotebookRuntimeTemplatesPagedCallable()

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

listNotebookRuntimesCallable()

public UnaryCallable<ListNotebookRuntimesRequest,ListNotebookRuntimesResponse> listNotebookRuntimesCallable()
Returns
Type Description
UnaryCallable<ListNotebookRuntimesRequest,ListNotebookRuntimesResponse>
Overrides

listNotebookRuntimesPagedCallable()

public UnaryCallable<ListNotebookRuntimesRequest,NotebookServiceClient.ListNotebookRuntimesPagedResponse> listNotebookRuntimesPagedCallable()
Returns
Type Description
UnaryCallable<ListNotebookRuntimesRequest,ListNotebookRuntimesPagedResponse>
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()
Returns
Type Description
UnaryCallable<StartNotebookRuntimeRequest,Operation>
Overrides

startNotebookRuntimeOperationCallable()

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

stopNotebookRuntimeCallable()

public UnaryCallable<StopNotebookRuntimeRequest,Operation> stopNotebookRuntimeCallable()
Returns
Type Description
UnaryCallable<StopNotebookRuntimeRequest,Operation>
Overrides

stopNotebookRuntimeOperationCallable()

public OperationCallable<StopNotebookRuntimeRequest,StopNotebookRuntimeResponse,StopNotebookRuntimeOperationMetadata> stopNotebookRuntimeOperationCallable()
Returns
Type Description
OperationCallable<StopNotebookRuntimeRequest,StopNotebookRuntimeResponse,StopNotebookRuntimeOperationMetadata>
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()
Returns
Type Description
UnaryCallable<UpdateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate>
Overrides

upgradeNotebookRuntimeCallable()

public UnaryCallable<UpgradeNotebookRuntimeRequest,Operation> upgradeNotebookRuntimeCallable()
Returns
Type Description
UnaryCallable<UpgradeNotebookRuntimeRequest,Operation>
Overrides

upgradeNotebookRuntimeOperationCallable()

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