Class GrpcNotebookServiceStub
java.lang.Object
com.google.cloud.aiplatform.v1.stub.NotebookServiceStub
com.google.cloud.aiplatform.v1.stub.GrpcNotebookServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcNotebookServiceStub, using the given settings.protectedGrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcNotebookServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionOperationCallable<AssignNotebookRuntimeRequest,NotebookRuntime, AssignNotebookRuntimeOperationMetadata> booleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcNotebookServiceStubcreate(ClientContext clientContext) static final GrpcNotebookServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcNotebookServiceStubcreate(NotebookServiceStubSettings settings) OperationCallable<CreateNotebookExecutionJobRequest,NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> OperationCallable<CreateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate, CreateNotebookRuntimeTemplateOperationMetadata> OperationCallable<DeleteNotebookExecutionJobRequest,com.google.protobuf.Empty, DeleteOperationMetadata> OperationCallable<DeleteNotebookRuntimeRequest,com.google.protobuf.Empty, DeleteOperationMetadata> OperationCallable<DeleteNotebookRuntimeTemplateRequest,com.google.protobuf.Empty, DeleteOperationMetadata> booleanbooleanUnaryCallable<ListNotebookExecutionJobsRequest,NotebookServiceClient.ListNotebookExecutionJobsPagedResponse> UnaryCallable<ListNotebookRuntimeTemplatesRequest,NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse> voidshutdown()voidOperationCallable<StartNotebookRuntimeRequest,StartNotebookRuntimeResponse, StartNotebookRuntimeOperationMetadata> OperationCallable<StopNotebookRuntimeRequest,StopNotebookRuntimeResponse, StopNotebookRuntimeOperationMetadata> OperationCallable<UpgradeNotebookRuntimeRequest,UpgradeNotebookRuntimeResponse, UpgradeNotebookRuntimeOperationMetadata>
-
Constructor Details
-
GrpcNotebookServiceStub
protected GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
GrpcNotebookServiceStub
protected GrpcNotebookServiceStub(NotebookServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final GrpcNotebookServiceStub create(NotebookServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcNotebookServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classNotebookServiceStub
-
createNotebookRuntimeTemplateCallable
public UnaryCallable<CreateNotebookRuntimeTemplateRequest,Operation> createNotebookRuntimeTemplateCallable()- Overrides:
createNotebookRuntimeTemplateCallablein classNotebookServiceStub
-
createNotebookRuntimeTemplateOperationCallable
public OperationCallable<CreateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate, createNotebookRuntimeTemplateOperationCallable()CreateNotebookRuntimeTemplateOperationMetadata> - Overrides:
createNotebookRuntimeTemplateOperationCallablein classNotebookServiceStub
-
getNotebookRuntimeTemplateCallable
public UnaryCallable<GetNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate> getNotebookRuntimeTemplateCallable()- Overrides:
getNotebookRuntimeTemplateCallablein classNotebookServiceStub
-
listNotebookRuntimeTemplatesCallable
public UnaryCallable<ListNotebookRuntimeTemplatesRequest,ListNotebookRuntimeTemplatesResponse> listNotebookRuntimeTemplatesCallable()- Overrides:
listNotebookRuntimeTemplatesCallablein classNotebookServiceStub
-
listNotebookRuntimeTemplatesPagedCallable
public UnaryCallable<ListNotebookRuntimeTemplatesRequest,NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse> listNotebookRuntimeTemplatesPagedCallable()- Overrides:
listNotebookRuntimeTemplatesPagedCallablein classNotebookServiceStub
-
deleteNotebookRuntimeTemplateCallable
public UnaryCallable<DeleteNotebookRuntimeTemplateRequest,Operation> deleteNotebookRuntimeTemplateCallable()- Overrides:
deleteNotebookRuntimeTemplateCallablein classNotebookServiceStub
-
deleteNotebookRuntimeTemplateOperationCallable
public OperationCallable<DeleteNotebookRuntimeTemplateRequest,com.google.protobuf.Empty, deleteNotebookRuntimeTemplateOperationCallable()DeleteOperationMetadata> - Overrides:
deleteNotebookRuntimeTemplateOperationCallablein classNotebookServiceStub
-
updateNotebookRuntimeTemplateCallable
public UnaryCallable<UpdateNotebookRuntimeTemplateRequest,NotebookRuntimeTemplate> updateNotebookRuntimeTemplateCallable()- Overrides:
updateNotebookRuntimeTemplateCallablein classNotebookServiceStub
-
assignNotebookRuntimeCallable
- Overrides:
assignNotebookRuntimeCallablein classNotebookServiceStub
-
assignNotebookRuntimeOperationCallable
public OperationCallable<AssignNotebookRuntimeRequest,NotebookRuntime, assignNotebookRuntimeOperationCallable()AssignNotebookRuntimeOperationMetadata> - Overrides:
assignNotebookRuntimeOperationCallablein classNotebookServiceStub
-
getNotebookRuntimeCallable
- Overrides:
getNotebookRuntimeCallablein classNotebookServiceStub
-
listNotebookRuntimesCallable
public UnaryCallable<ListNotebookRuntimesRequest,ListNotebookRuntimesResponse> listNotebookRuntimesCallable()- Overrides:
listNotebookRuntimesCallablein classNotebookServiceStub
-
listNotebookRuntimesPagedCallable
public UnaryCallable<ListNotebookRuntimesRequest,NotebookServiceClient.ListNotebookRuntimesPagedResponse> listNotebookRuntimesPagedCallable()- Overrides:
listNotebookRuntimesPagedCallablein classNotebookServiceStub
-
deleteNotebookRuntimeCallable
- Overrides:
deleteNotebookRuntimeCallablein classNotebookServiceStub
-
deleteNotebookRuntimeOperationCallable
public OperationCallable<DeleteNotebookRuntimeRequest,com.google.protobuf.Empty, deleteNotebookRuntimeOperationCallable()DeleteOperationMetadata> - Overrides:
deleteNotebookRuntimeOperationCallablein classNotebookServiceStub
-
upgradeNotebookRuntimeCallable
- Overrides:
upgradeNotebookRuntimeCallablein classNotebookServiceStub
-
upgradeNotebookRuntimeOperationCallable
public OperationCallable<UpgradeNotebookRuntimeRequest,UpgradeNotebookRuntimeResponse, upgradeNotebookRuntimeOperationCallable()UpgradeNotebookRuntimeOperationMetadata> - Overrides:
upgradeNotebookRuntimeOperationCallablein classNotebookServiceStub
-
startNotebookRuntimeCallable
- Overrides:
startNotebookRuntimeCallablein classNotebookServiceStub
-
startNotebookRuntimeOperationCallable
public OperationCallable<StartNotebookRuntimeRequest,StartNotebookRuntimeResponse, startNotebookRuntimeOperationCallable()StartNotebookRuntimeOperationMetadata> - Overrides:
startNotebookRuntimeOperationCallablein classNotebookServiceStub
-
stopNotebookRuntimeCallable
- Overrides:
stopNotebookRuntimeCallablein classNotebookServiceStub
-
stopNotebookRuntimeOperationCallable
public OperationCallable<StopNotebookRuntimeRequest,StopNotebookRuntimeResponse, stopNotebookRuntimeOperationCallable()StopNotebookRuntimeOperationMetadata> - Overrides:
stopNotebookRuntimeOperationCallablein classNotebookServiceStub
-
createNotebookExecutionJobCallable
public UnaryCallable<CreateNotebookExecutionJobRequest,Operation> createNotebookExecutionJobCallable()- Overrides:
createNotebookExecutionJobCallablein classNotebookServiceStub
-
createNotebookExecutionJobOperationCallable
public OperationCallable<CreateNotebookExecutionJobRequest,NotebookExecutionJob, createNotebookExecutionJobOperationCallable()CreateNotebookExecutionJobOperationMetadata> - Overrides:
createNotebookExecutionJobOperationCallablein classNotebookServiceStub
-
getNotebookExecutionJobCallable
public UnaryCallable<GetNotebookExecutionJobRequest,NotebookExecutionJob> getNotebookExecutionJobCallable()- Overrides:
getNotebookExecutionJobCallablein classNotebookServiceStub
-
listNotebookExecutionJobsCallable
public UnaryCallable<ListNotebookExecutionJobsRequest,ListNotebookExecutionJobsResponse> listNotebookExecutionJobsCallable()- Overrides:
listNotebookExecutionJobsCallablein classNotebookServiceStub
-
listNotebookExecutionJobsPagedCallable
public UnaryCallable<ListNotebookExecutionJobsRequest,NotebookServiceClient.ListNotebookExecutionJobsPagedResponse> listNotebookExecutionJobsPagedCallable()- Overrides:
listNotebookExecutionJobsPagedCallablein classNotebookServiceStub
-
deleteNotebookExecutionJobCallable
public UnaryCallable<DeleteNotebookExecutionJobRequest,Operation> deleteNotebookExecutionJobCallable()- Overrides:
deleteNotebookExecutionJobCallablein classNotebookServiceStub
-
deleteNotebookExecutionJobOperationCallable
public OperationCallable<DeleteNotebookExecutionJobRequest,com.google.protobuf.Empty, deleteNotebookExecutionJobOperationCallable()DeleteOperationMetadata> - Overrides:
deleteNotebookExecutionJobOperationCallablein classNotebookServiceStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classNotebookServiceStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,NotebookServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classNotebookServiceStub
-
getLocationCallable
- Overrides:
getLocationCallablein classNotebookServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classNotebookServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classNotebookServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classNotebookServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classNotebookServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-