All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.aiplatform.v1.NotebookServiceGrpc Maven / Gradle / Ivy

There is a newer version: 3.50.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.google.cloud.aiplatform.v1;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 *
 *
 * 
 * The interface for Vertex Notebook service (a.k.a. Colab on Workbench).
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/cloud/aiplatform/v1/notebook_service.proto") @io.grpc.stub.annotations.GrpcGenerated public final class NotebookServiceGrpc { private NotebookServiceGrpc() {} public static final java.lang.String SERVICE_NAME = "google.cloud.aiplatform.v1.NotebookService"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest, com.google.longrunning.Operation> getCreateNotebookRuntimeTemplateMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateNotebookRuntimeTemplate", requestType = com.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest, com.google.longrunning.Operation> getCreateNotebookRuntimeTemplateMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest, com.google.longrunning.Operation> getCreateNotebookRuntimeTemplateMethod; if ((getCreateNotebookRuntimeTemplateMethod = NotebookServiceGrpc.getCreateNotebookRuntimeTemplateMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getCreateNotebookRuntimeTemplateMethod = NotebookServiceGrpc.getCreateNotebookRuntimeTemplateMethod) == null) { NotebookServiceGrpc.getCreateNotebookRuntimeTemplateMethod = getCreateNotebookRuntimeTemplateMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "CreateNotebookRuntimeTemplate")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier( "CreateNotebookRuntimeTemplate")) .build(); } } } return getCreateNotebookRuntimeTemplateMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest, com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate> getGetNotebookRuntimeTemplateMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetNotebookRuntimeTemplate", requestType = com.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest.class, responseType = com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest, com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate> getGetNotebookRuntimeTemplateMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest, com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate> getGetNotebookRuntimeTemplateMethod; if ((getGetNotebookRuntimeTemplateMethod = NotebookServiceGrpc.getGetNotebookRuntimeTemplateMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getGetNotebookRuntimeTemplateMethod = NotebookServiceGrpc.getGetNotebookRuntimeTemplateMethod) == null) { NotebookServiceGrpc.getGetNotebookRuntimeTemplateMethod = getGetNotebookRuntimeTemplateMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "GetNotebookRuntimeTemplate")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate .getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier("GetNotebookRuntimeTemplate")) .build(); } } } return getGetNotebookRuntimeTemplateMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest, com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse> getListNotebookRuntimeTemplatesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListNotebookRuntimeTemplates", requestType = com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest.class, responseType = com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest, com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse> getListNotebookRuntimeTemplatesMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest, com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse> getListNotebookRuntimeTemplatesMethod; if ((getListNotebookRuntimeTemplatesMethod = NotebookServiceGrpc.getListNotebookRuntimeTemplatesMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getListNotebookRuntimeTemplatesMethod = NotebookServiceGrpc.getListNotebookRuntimeTemplatesMethod) == null) { NotebookServiceGrpc.getListNotebookRuntimeTemplatesMethod = getListNotebookRuntimeTemplatesMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "ListNotebookRuntimeTemplates")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse .getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier( "ListNotebookRuntimeTemplates")) .build(); } } } return getListNotebookRuntimeTemplatesMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest, com.google.longrunning.Operation> getDeleteNotebookRuntimeTemplateMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteNotebookRuntimeTemplate", requestType = com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest, com.google.longrunning.Operation> getDeleteNotebookRuntimeTemplateMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest, com.google.longrunning.Operation> getDeleteNotebookRuntimeTemplateMethod; if ((getDeleteNotebookRuntimeTemplateMethod = NotebookServiceGrpc.getDeleteNotebookRuntimeTemplateMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getDeleteNotebookRuntimeTemplateMethod = NotebookServiceGrpc.getDeleteNotebookRuntimeTemplateMethod) == null) { NotebookServiceGrpc.getDeleteNotebookRuntimeTemplateMethod = getDeleteNotebookRuntimeTemplateMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "DeleteNotebookRuntimeTemplate")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier( "DeleteNotebookRuntimeTemplate")) .build(); } } } return getDeleteNotebookRuntimeTemplateMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.UpdateNotebookRuntimeTemplateRequest, com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate> getUpdateNotebookRuntimeTemplateMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateNotebookRuntimeTemplate", requestType = com.google.cloud.aiplatform.v1.UpdateNotebookRuntimeTemplateRequest.class, responseType = com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.UpdateNotebookRuntimeTemplateRequest, com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate> getUpdateNotebookRuntimeTemplateMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.UpdateNotebookRuntimeTemplateRequest, com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate> getUpdateNotebookRuntimeTemplateMethod; if ((getUpdateNotebookRuntimeTemplateMethod = NotebookServiceGrpc.getUpdateNotebookRuntimeTemplateMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getUpdateNotebookRuntimeTemplateMethod = NotebookServiceGrpc.getUpdateNotebookRuntimeTemplateMethod) == null) { NotebookServiceGrpc.getUpdateNotebookRuntimeTemplateMethod = getUpdateNotebookRuntimeTemplateMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "UpdateNotebookRuntimeTemplate")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.UpdateNotebookRuntimeTemplateRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate .getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier( "UpdateNotebookRuntimeTemplate")) .build(); } } } return getUpdateNotebookRuntimeTemplateMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest, com.google.longrunning.Operation> getAssignNotebookRuntimeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "AssignNotebookRuntime", requestType = com.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest, com.google.longrunning.Operation> getAssignNotebookRuntimeMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest, com.google.longrunning.Operation> getAssignNotebookRuntimeMethod; if ((getAssignNotebookRuntimeMethod = NotebookServiceGrpc.getAssignNotebookRuntimeMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getAssignNotebookRuntimeMethod = NotebookServiceGrpc.getAssignNotebookRuntimeMethod) == null) { NotebookServiceGrpc.getAssignNotebookRuntimeMethod = getAssignNotebookRuntimeMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "AssignNotebookRuntime")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier("AssignNotebookRuntime")) .build(); } } } return getAssignNotebookRuntimeMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest, com.google.cloud.aiplatform.v1.NotebookRuntime> getGetNotebookRuntimeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetNotebookRuntime", requestType = com.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest.class, responseType = com.google.cloud.aiplatform.v1.NotebookRuntime.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest, com.google.cloud.aiplatform.v1.NotebookRuntime> getGetNotebookRuntimeMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest, com.google.cloud.aiplatform.v1.NotebookRuntime> getGetNotebookRuntimeMethod; if ((getGetNotebookRuntimeMethod = NotebookServiceGrpc.getGetNotebookRuntimeMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getGetNotebookRuntimeMethod = NotebookServiceGrpc.getGetNotebookRuntimeMethod) == null) { NotebookServiceGrpc.getGetNotebookRuntimeMethod = getGetNotebookRuntimeMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNotebookRuntime")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.NotebookRuntime.getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier("GetNotebookRuntime")) .build(); } } } return getGetNotebookRuntimeMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest, com.google.cloud.aiplatform.v1.ListNotebookRuntimesResponse> getListNotebookRuntimesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListNotebookRuntimes", requestType = com.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest.class, responseType = com.google.cloud.aiplatform.v1.ListNotebookRuntimesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest, com.google.cloud.aiplatform.v1.ListNotebookRuntimesResponse> getListNotebookRuntimesMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest, com.google.cloud.aiplatform.v1.ListNotebookRuntimesResponse> getListNotebookRuntimesMethod; if ((getListNotebookRuntimesMethod = NotebookServiceGrpc.getListNotebookRuntimesMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getListNotebookRuntimesMethod = NotebookServiceGrpc.getListNotebookRuntimesMethod) == null) { NotebookServiceGrpc.getListNotebookRuntimesMethod = getListNotebookRuntimesMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "ListNotebookRuntimes")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.ListNotebookRuntimesResponse .getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier("ListNotebookRuntimes")) .build(); } } } return getListNotebookRuntimesMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest, com.google.longrunning.Operation> getDeleteNotebookRuntimeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteNotebookRuntime", requestType = com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest, com.google.longrunning.Operation> getDeleteNotebookRuntimeMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest, com.google.longrunning.Operation> getDeleteNotebookRuntimeMethod; if ((getDeleteNotebookRuntimeMethod = NotebookServiceGrpc.getDeleteNotebookRuntimeMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getDeleteNotebookRuntimeMethod = NotebookServiceGrpc.getDeleteNotebookRuntimeMethod) == null) { NotebookServiceGrpc.getDeleteNotebookRuntimeMethod = getDeleteNotebookRuntimeMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "DeleteNotebookRuntime")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier("DeleteNotebookRuntime")) .build(); } } } return getDeleteNotebookRuntimeMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest, com.google.longrunning.Operation> getUpgradeNotebookRuntimeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpgradeNotebookRuntime", requestType = com.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest, com.google.longrunning.Operation> getUpgradeNotebookRuntimeMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest, com.google.longrunning.Operation> getUpgradeNotebookRuntimeMethod; if ((getUpgradeNotebookRuntimeMethod = NotebookServiceGrpc.getUpgradeNotebookRuntimeMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getUpgradeNotebookRuntimeMethod = NotebookServiceGrpc.getUpgradeNotebookRuntimeMethod) == null) { NotebookServiceGrpc.getUpgradeNotebookRuntimeMethod = getUpgradeNotebookRuntimeMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "UpgradeNotebookRuntime")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier("UpgradeNotebookRuntime")) .build(); } } } return getUpgradeNotebookRuntimeMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest, com.google.longrunning.Operation> getStartNotebookRuntimeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "StartNotebookRuntime", requestType = com.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest, com.google.longrunning.Operation> getStartNotebookRuntimeMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest, com.google.longrunning.Operation> getStartNotebookRuntimeMethod; if ((getStartNotebookRuntimeMethod = NotebookServiceGrpc.getStartNotebookRuntimeMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getStartNotebookRuntimeMethod = NotebookServiceGrpc.getStartNotebookRuntimeMethod) == null) { NotebookServiceGrpc.getStartNotebookRuntimeMethod = getStartNotebookRuntimeMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "StartNotebookRuntime")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier("StartNotebookRuntime")) .build(); } } } return getStartNotebookRuntimeMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest, com.google.longrunning.Operation> getCreateNotebookExecutionJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateNotebookExecutionJob", requestType = com.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest, com.google.longrunning.Operation> getCreateNotebookExecutionJobMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest, com.google.longrunning.Operation> getCreateNotebookExecutionJobMethod; if ((getCreateNotebookExecutionJobMethod = NotebookServiceGrpc.getCreateNotebookExecutionJobMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getCreateNotebookExecutionJobMethod = NotebookServiceGrpc.getCreateNotebookExecutionJobMethod) == null) { NotebookServiceGrpc.getCreateNotebookExecutionJobMethod = getCreateNotebookExecutionJobMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "CreateNotebookExecutionJob")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier("CreateNotebookExecutionJob")) .build(); } } } return getCreateNotebookExecutionJobMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest, com.google.cloud.aiplatform.v1.NotebookExecutionJob> getGetNotebookExecutionJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetNotebookExecutionJob", requestType = com.google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest.class, responseType = com.google.cloud.aiplatform.v1.NotebookExecutionJob.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest, com.google.cloud.aiplatform.v1.NotebookExecutionJob> getGetNotebookExecutionJobMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest, com.google.cloud.aiplatform.v1.NotebookExecutionJob> getGetNotebookExecutionJobMethod; if ((getGetNotebookExecutionJobMethod = NotebookServiceGrpc.getGetNotebookExecutionJobMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getGetNotebookExecutionJobMethod = NotebookServiceGrpc.getGetNotebookExecutionJobMethod) == null) { NotebookServiceGrpc.getGetNotebookExecutionJobMethod = getGetNotebookExecutionJobMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "GetNotebookExecutionJob")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.NotebookExecutionJob .getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier("GetNotebookExecutionJob")) .build(); } } } return getGetNotebookExecutionJobMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest, com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse> getListNotebookExecutionJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListNotebookExecutionJobs", requestType = com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest.class, responseType = com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest, com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse> getListNotebookExecutionJobsMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest, com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse> getListNotebookExecutionJobsMethod; if ((getListNotebookExecutionJobsMethod = NotebookServiceGrpc.getListNotebookExecutionJobsMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getListNotebookExecutionJobsMethod = NotebookServiceGrpc.getListNotebookExecutionJobsMethod) == null) { NotebookServiceGrpc.getListNotebookExecutionJobsMethod = getListNotebookExecutionJobsMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "ListNotebookExecutionJobs")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse .getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier("ListNotebookExecutionJobs")) .build(); } } } return getListNotebookExecutionJobsMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest, com.google.longrunning.Operation> getDeleteNotebookExecutionJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteNotebookExecutionJob", requestType = com.google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest, com.google.longrunning.Operation> getDeleteNotebookExecutionJobMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest, com.google.longrunning.Operation> getDeleteNotebookExecutionJobMethod; if ((getDeleteNotebookExecutionJobMethod = NotebookServiceGrpc.getDeleteNotebookExecutionJobMethod) == null) { synchronized (NotebookServiceGrpc.class) { if ((getDeleteNotebookExecutionJobMethod = NotebookServiceGrpc.getDeleteNotebookExecutionJobMethod) == null) { NotebookServiceGrpc.getDeleteNotebookExecutionJobMethod = getDeleteNotebookExecutionJobMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "DeleteNotebookExecutionJob")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new NotebookServiceMethodDescriptorSupplier("DeleteNotebookExecutionJob")) .build(); } } } return getDeleteNotebookExecutionJobMethod; } /** Creates a new async stub that supports all call types for the service */ public static NotebookServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public NotebookServiceStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new NotebookServiceStub(channel, callOptions); } }; return NotebookServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static NotebookServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public NotebookServiceBlockingStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new NotebookServiceBlockingStub(channel, callOptions); } }; return NotebookServiceBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static NotebookServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public NotebookServiceFutureStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new NotebookServiceFutureStub(channel, callOptions); } }; return NotebookServiceFutureStub.newStub(factory, channel); } /** * * *
   * The interface for Vertex Notebook service (a.k.a. Colab on Workbench).
   * 
*/ public interface AsyncService { /** * * *
     * Creates a NotebookRuntimeTemplate.
     * 
*/ default void createNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreateNotebookRuntimeTemplateMethod(), responseObserver); } /** * * *
     * Gets a NotebookRuntimeTemplate.
     * 
*/ default void getNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetNotebookRuntimeTemplateMethod(), responseObserver); } /** * * *
     * Lists NotebookRuntimeTemplates in a Location.
     * 
*/ default void listNotebookRuntimeTemplates( com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest request, io.grpc.stub.StreamObserver< com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListNotebookRuntimeTemplatesMethod(), responseObserver); } /** * * *
     * Deletes a NotebookRuntimeTemplate.
     * 
*/ default void deleteNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteNotebookRuntimeTemplateMethod(), responseObserver); } /** * * *
     * Updates a NotebookRuntimeTemplate.
     * 
*/ default void updateNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.UpdateNotebookRuntimeTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getUpdateNotebookRuntimeTemplateMethod(), responseObserver); } /** * * *
     * Assigns a NotebookRuntime to a user for a particular Notebook file. This
     * method will either returns an existing assignment or generates a new one.
     * 
*/ default void assignNotebookRuntime( com.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getAssignNotebookRuntimeMethod(), responseObserver); } /** * * *
     * Gets a NotebookRuntime.
     * 
*/ default void getNotebookRuntime( com.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetNotebookRuntimeMethod(), responseObserver); } /** * * *
     * Lists NotebookRuntimes in a Location.
     * 
*/ default void listNotebookRuntimes( com.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListNotebookRuntimesMethod(), responseObserver); } /** * * *
     * Deletes a NotebookRuntime.
     * 
*/ default void deleteNotebookRuntime( com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteNotebookRuntimeMethod(), responseObserver); } /** * * *
     * Upgrades a NotebookRuntime.
     * 
*/ default void upgradeNotebookRuntime( com.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getUpgradeNotebookRuntimeMethod(), responseObserver); } /** * * *
     * Starts a NotebookRuntime.
     * 
*/ default void startNotebookRuntime( com.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getStartNotebookRuntimeMethod(), responseObserver); } /** * * *
     * Creates a NotebookExecutionJob.
     * 
*/ default void createNotebookExecutionJob( com.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreateNotebookExecutionJobMethod(), responseObserver); } /** * * *
     * Gets a NotebookExecutionJob.
     * 
*/ default void getNotebookExecutionJob( com.google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetNotebookExecutionJobMethod(), responseObserver); } /** * * *
     * Lists NotebookExecutionJobs in a Location.
     * 
*/ default void listNotebookExecutionJobs( com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest request, io.grpc.stub.StreamObserver< com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListNotebookExecutionJobsMethod(), responseObserver); } /** * * *
     * Deletes a NotebookExecutionJob.
     * 
*/ default void deleteNotebookExecutionJob( com.google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteNotebookExecutionJobMethod(), responseObserver); } } /** * Base class for the server implementation of the service NotebookService. * *
   * The interface for Vertex Notebook service (a.k.a. Colab on Workbench).
   * 
*/ public abstract static class NotebookServiceImplBase implements io.grpc.BindableService, AsyncService { @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return NotebookServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service NotebookService. * *
   * The interface for Vertex Notebook service (a.k.a. Colab on Workbench).
   * 
*/ public static final class NotebookServiceStub extends io.grpc.stub.AbstractAsyncStub { private NotebookServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected NotebookServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new NotebookServiceStub(channel, callOptions); } /** * * *
     * Creates a NotebookRuntimeTemplate.
     * 
*/ public void createNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateNotebookRuntimeTemplateMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Gets a NotebookRuntimeTemplate.
     * 
*/ public void getNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetNotebookRuntimeTemplateMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Lists NotebookRuntimeTemplates in a Location.
     * 
*/ public void listNotebookRuntimeTemplates( com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest request, io.grpc.stub.StreamObserver< com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListNotebookRuntimeTemplatesMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Deletes a NotebookRuntimeTemplate.
     * 
*/ public void deleteNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteNotebookRuntimeTemplateMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Updates a NotebookRuntimeTemplate.
     * 
*/ public void updateNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.UpdateNotebookRuntimeTemplateRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateNotebookRuntimeTemplateMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Assigns a NotebookRuntime to a user for a particular Notebook file. This
     * method will either returns an existing assignment or generates a new one.
     * 
*/ public void assignNotebookRuntime( com.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getAssignNotebookRuntimeMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Gets a NotebookRuntime.
     * 
*/ public void getNotebookRuntime( com.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetNotebookRuntimeMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Lists NotebookRuntimes in a Location.
     * 
*/ public void listNotebookRuntimes( com.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListNotebookRuntimesMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Deletes a NotebookRuntime.
     * 
*/ public void deleteNotebookRuntime( com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteNotebookRuntimeMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Upgrades a NotebookRuntime.
     * 
*/ public void upgradeNotebookRuntime( com.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpgradeNotebookRuntimeMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Starts a NotebookRuntime.
     * 
*/ public void startNotebookRuntime( com.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getStartNotebookRuntimeMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Creates a NotebookExecutionJob.
     * 
*/ public void createNotebookExecutionJob( com.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateNotebookExecutionJobMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Gets a NotebookExecutionJob.
     * 
*/ public void getNotebookExecutionJob( com.google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetNotebookExecutionJobMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Lists NotebookExecutionJobs in a Location.
     * 
*/ public void listNotebookExecutionJobs( com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest request, io.grpc.stub.StreamObserver< com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListNotebookExecutionJobsMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Deletes a NotebookExecutionJob.
     * 
*/ public void deleteNotebookExecutionJob( com.google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteNotebookExecutionJobMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service NotebookService. * *
   * The interface for Vertex Notebook service (a.k.a. Colab on Workbench).
   * 
*/ public static final class NotebookServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private NotebookServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected NotebookServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new NotebookServiceBlockingStub(channel, callOptions); } /** * * *
     * Creates a NotebookRuntimeTemplate.
     * 
*/ public com.google.longrunning.Operation createNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateNotebookRuntimeTemplateMethod(), getCallOptions(), request); } /** * * *
     * Gets a NotebookRuntimeTemplate.
     * 
*/ public com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate getNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetNotebookRuntimeTemplateMethod(), getCallOptions(), request); } /** * * *
     * Lists NotebookRuntimeTemplates in a Location.
     * 
*/ public com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse listNotebookRuntimeTemplates( com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListNotebookRuntimeTemplatesMethod(), getCallOptions(), request); } /** * * *
     * Deletes a NotebookRuntimeTemplate.
     * 
*/ public com.google.longrunning.Operation deleteNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteNotebookRuntimeTemplateMethod(), getCallOptions(), request); } /** * * *
     * Updates a NotebookRuntimeTemplate.
     * 
*/ public com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate updateNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.UpdateNotebookRuntimeTemplateRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateNotebookRuntimeTemplateMethod(), getCallOptions(), request); } /** * * *
     * Assigns a NotebookRuntime to a user for a particular Notebook file. This
     * method will either returns an existing assignment or generates a new one.
     * 
*/ public com.google.longrunning.Operation assignNotebookRuntime( com.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAssignNotebookRuntimeMethod(), getCallOptions(), request); } /** * * *
     * Gets a NotebookRuntime.
     * 
*/ public com.google.cloud.aiplatform.v1.NotebookRuntime getNotebookRuntime( com.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetNotebookRuntimeMethod(), getCallOptions(), request); } /** * * *
     * Lists NotebookRuntimes in a Location.
     * 
*/ public com.google.cloud.aiplatform.v1.ListNotebookRuntimesResponse listNotebookRuntimes( com.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListNotebookRuntimesMethod(), getCallOptions(), request); } /** * * *
     * Deletes a NotebookRuntime.
     * 
*/ public com.google.longrunning.Operation deleteNotebookRuntime( com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteNotebookRuntimeMethod(), getCallOptions(), request); } /** * * *
     * Upgrades a NotebookRuntime.
     * 
*/ public com.google.longrunning.Operation upgradeNotebookRuntime( com.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpgradeNotebookRuntimeMethod(), getCallOptions(), request); } /** * * *
     * Starts a NotebookRuntime.
     * 
*/ public com.google.longrunning.Operation startNotebookRuntime( com.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getStartNotebookRuntimeMethod(), getCallOptions(), request); } /** * * *
     * Creates a NotebookExecutionJob.
     * 
*/ public com.google.longrunning.Operation createNotebookExecutionJob( com.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateNotebookExecutionJobMethod(), getCallOptions(), request); } /** * * *
     * Gets a NotebookExecutionJob.
     * 
*/ public com.google.cloud.aiplatform.v1.NotebookExecutionJob getNotebookExecutionJob( com.google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetNotebookExecutionJobMethod(), getCallOptions(), request); } /** * * *
     * Lists NotebookExecutionJobs in a Location.
     * 
*/ public com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse listNotebookExecutionJobs( com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListNotebookExecutionJobsMethod(), getCallOptions(), request); } /** * * *
     * Deletes a NotebookExecutionJob.
     * 
*/ public com.google.longrunning.Operation deleteNotebookExecutionJob( com.google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteNotebookExecutionJobMethod(), getCallOptions(), request); } } /** * A stub to allow clients to do ListenableFuture-style rpc calls to service NotebookService. * *
   * The interface for Vertex Notebook service (a.k.a. Colab on Workbench).
   * 
*/ public static final class NotebookServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private NotebookServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected NotebookServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new NotebookServiceFutureStub(channel, callOptions); } /** * * *
     * Creates a NotebookRuntimeTemplate.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateNotebookRuntimeTemplateMethod(), getCallOptions()), request); } /** * * *
     * Gets a NotebookRuntimeTemplate.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate> getNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetNotebookRuntimeTemplateMethod(), getCallOptions()), request); } /** * * *
     * Lists NotebookRuntimeTemplates in a Location.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse> listNotebookRuntimeTemplates( com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListNotebookRuntimeTemplatesMethod(), getCallOptions()), request); } /** * * *
     * Deletes a NotebookRuntimeTemplate.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteNotebookRuntimeTemplateMethod(), getCallOptions()), request); } /** * * *
     * Updates a NotebookRuntimeTemplate.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate> updateNotebookRuntimeTemplate( com.google.cloud.aiplatform.v1.UpdateNotebookRuntimeTemplateRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateNotebookRuntimeTemplateMethod(), getCallOptions()), request); } /** * * *
     * Assigns a NotebookRuntime to a user for a particular Notebook file. This
     * method will either returns an existing assignment or generates a new one.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture assignNotebookRuntime(com.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAssignNotebookRuntimeMethod(), getCallOptions()), request); } /** * * *
     * Gets a NotebookRuntime.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.aiplatform.v1.NotebookRuntime> getNotebookRuntime(com.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetNotebookRuntimeMethod(), getCallOptions()), request); } /** * * *
     * Lists NotebookRuntimes in a Location.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.aiplatform.v1.ListNotebookRuntimesResponse> listNotebookRuntimes(com.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListNotebookRuntimesMethod(), getCallOptions()), request); } /** * * *
     * Deletes a NotebookRuntime.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteNotebookRuntime(com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteNotebookRuntimeMethod(), getCallOptions()), request); } /** * * *
     * Upgrades a NotebookRuntime.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture upgradeNotebookRuntime( com.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpgradeNotebookRuntimeMethod(), getCallOptions()), request); } /** * * *
     * Starts a NotebookRuntime.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture startNotebookRuntime(com.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getStartNotebookRuntimeMethod(), getCallOptions()), request); } /** * * *
     * Creates a NotebookExecutionJob.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createNotebookExecutionJob( com.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateNotebookExecutionJobMethod(), getCallOptions()), request); } /** * * *
     * Gets a NotebookExecutionJob.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.aiplatform.v1.NotebookExecutionJob> getNotebookExecutionJob( com.google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetNotebookExecutionJobMethod(), getCallOptions()), request); } /** * * *
     * Lists NotebookExecutionJobs in a Location.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse> listNotebookExecutionJobs( com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListNotebookExecutionJobsMethod(), getCallOptions()), request); } /** * * *
     * Deletes a NotebookExecutionJob.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteNotebookExecutionJob( com.google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteNotebookExecutionJobMethod(), getCallOptions()), request); } } private static final int METHODID_CREATE_NOTEBOOK_RUNTIME_TEMPLATE = 0; private static final int METHODID_GET_NOTEBOOK_RUNTIME_TEMPLATE = 1; private static final int METHODID_LIST_NOTEBOOK_RUNTIME_TEMPLATES = 2; private static final int METHODID_DELETE_NOTEBOOK_RUNTIME_TEMPLATE = 3; private static final int METHODID_UPDATE_NOTEBOOK_RUNTIME_TEMPLATE = 4; private static final int METHODID_ASSIGN_NOTEBOOK_RUNTIME = 5; private static final int METHODID_GET_NOTEBOOK_RUNTIME = 6; private static final int METHODID_LIST_NOTEBOOK_RUNTIMES = 7; private static final int METHODID_DELETE_NOTEBOOK_RUNTIME = 8; private static final int METHODID_UPGRADE_NOTEBOOK_RUNTIME = 9; private static final int METHODID_START_NOTEBOOK_RUNTIME = 10; private static final int METHODID_CREATE_NOTEBOOK_EXECUTION_JOB = 11; private static final int METHODID_GET_NOTEBOOK_EXECUTION_JOB = 12; private static final int METHODID_LIST_NOTEBOOK_EXECUTION_JOBS = 13; private static final int METHODID_DELETE_NOTEBOOK_EXECUTION_JOB = 14; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, io.grpc.stub.ServerCalls.ServerStreamingMethod, io.grpc.stub.ServerCalls.ClientStreamingMethod, io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; MethodHandlers(AsyncService serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_NOTEBOOK_RUNTIME_TEMPLATE: serviceImpl.createNotebookRuntimeTemplate( (com.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_NOTEBOOK_RUNTIME_TEMPLATE: serviceImpl.getNotebookRuntimeTemplate( (com.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_NOTEBOOK_RUNTIME_TEMPLATES: serviceImpl.listNotebookRuntimeTemplates( (com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest) request, (io.grpc.stub.StreamObserver< com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse>) responseObserver); break; case METHODID_DELETE_NOTEBOOK_RUNTIME_TEMPLATE: serviceImpl.deleteNotebookRuntimeTemplate( (com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_NOTEBOOK_RUNTIME_TEMPLATE: serviceImpl.updateNotebookRuntimeTemplate( (com.google.cloud.aiplatform.v1.UpdateNotebookRuntimeTemplateRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ASSIGN_NOTEBOOK_RUNTIME: serviceImpl.assignNotebookRuntime( (com.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_NOTEBOOK_RUNTIME: serviceImpl.getNotebookRuntime( (com.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_NOTEBOOK_RUNTIMES: serviceImpl.listNotebookRuntimes( (com.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest) request, (io.grpc.stub.StreamObserver< com.google.cloud.aiplatform.v1.ListNotebookRuntimesResponse>) responseObserver); break; case METHODID_DELETE_NOTEBOOK_RUNTIME: serviceImpl.deleteNotebookRuntime( (com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPGRADE_NOTEBOOK_RUNTIME: serviceImpl.upgradeNotebookRuntime( (com.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_START_NOTEBOOK_RUNTIME: serviceImpl.startNotebookRuntime( (com.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_NOTEBOOK_EXECUTION_JOB: serviceImpl.createNotebookExecutionJob( (com.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_NOTEBOOK_EXECUTION_JOB: serviceImpl.getNotebookExecutionJob( (com.google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_NOTEBOOK_EXECUTION_JOBS: serviceImpl.listNotebookExecutionJobs( (com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest) request, (io.grpc.stub.StreamObserver< com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse>) responseObserver); break; case METHODID_DELETE_NOTEBOOK_EXECUTION_JOB: serviceImpl.deleteNotebookExecutionJob( (com.google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); } } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { default: throw new AssertionError(); } } } public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateNotebookRuntimeTemplateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest, com.google.longrunning.Operation>( service, METHODID_CREATE_NOTEBOOK_RUNTIME_TEMPLATE))) .addMethod( getGetNotebookRuntimeTemplateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest, com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate>( service, METHODID_GET_NOTEBOOK_RUNTIME_TEMPLATE))) .addMethod( getListNotebookRuntimeTemplatesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesRequest, com.google.cloud.aiplatform.v1.ListNotebookRuntimeTemplatesResponse>( service, METHODID_LIST_NOTEBOOK_RUNTIME_TEMPLATES))) .addMethod( getDeleteNotebookRuntimeTemplateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest, com.google.longrunning.Operation>( service, METHODID_DELETE_NOTEBOOK_RUNTIME_TEMPLATE))) .addMethod( getUpdateNotebookRuntimeTemplateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.UpdateNotebookRuntimeTemplateRequest, com.google.cloud.aiplatform.v1.NotebookRuntimeTemplate>( service, METHODID_UPDATE_NOTEBOOK_RUNTIME_TEMPLATE))) .addMethod( getAssignNotebookRuntimeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest, com.google.longrunning.Operation>(service, METHODID_ASSIGN_NOTEBOOK_RUNTIME))) .addMethod( getGetNotebookRuntimeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.GetNotebookRuntimeRequest, com.google.cloud.aiplatform.v1.NotebookRuntime>( service, METHODID_GET_NOTEBOOK_RUNTIME))) .addMethod( getListNotebookRuntimesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.ListNotebookRuntimesRequest, com.google.cloud.aiplatform.v1.ListNotebookRuntimesResponse>( service, METHODID_LIST_NOTEBOOK_RUNTIMES))) .addMethod( getDeleteNotebookRuntimeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest, com.google.longrunning.Operation>(service, METHODID_DELETE_NOTEBOOK_RUNTIME))) .addMethod( getUpgradeNotebookRuntimeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.UpgradeNotebookRuntimeRequest, com.google.longrunning.Operation>(service, METHODID_UPGRADE_NOTEBOOK_RUNTIME))) .addMethod( getStartNotebookRuntimeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.StartNotebookRuntimeRequest, com.google.longrunning.Operation>(service, METHODID_START_NOTEBOOK_RUNTIME))) .addMethod( getCreateNotebookExecutionJobMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest, com.google.longrunning.Operation>( service, METHODID_CREATE_NOTEBOOK_EXECUTION_JOB))) .addMethod( getGetNotebookExecutionJobMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest, com.google.cloud.aiplatform.v1.NotebookExecutionJob>( service, METHODID_GET_NOTEBOOK_EXECUTION_JOB))) .addMethod( getListNotebookExecutionJobsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest, com.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse>( service, METHODID_LIST_NOTEBOOK_EXECUTION_JOBS))) .addMethod( getDeleteNotebookExecutionJobMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest, com.google.longrunning.Operation>( service, METHODID_DELETE_NOTEBOOK_EXECUTION_JOB))) .build(); } private abstract static class NotebookServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { NotebookServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return com.google.cloud.aiplatform.v1.NotebookServiceProto.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("NotebookService"); } } private static final class NotebookServiceFileDescriptorSupplier extends NotebookServiceBaseDescriptorSupplier { NotebookServiceFileDescriptorSupplier() {} } private static final class NotebookServiceMethodDescriptorSupplier extends NotebookServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final java.lang.String methodName; NotebookServiceMethodDescriptorSupplier(java.lang.String methodName) { this.methodName = methodName; } @java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (NotebookServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new NotebookServiceFileDescriptorSupplier()) .addMethod(getCreateNotebookRuntimeTemplateMethod()) .addMethod(getGetNotebookRuntimeTemplateMethod()) .addMethod(getListNotebookRuntimeTemplatesMethod()) .addMethod(getDeleteNotebookRuntimeTemplateMethod()) .addMethod(getUpdateNotebookRuntimeTemplateMethod()) .addMethod(getAssignNotebookRuntimeMethod()) .addMethod(getGetNotebookRuntimeMethod()) .addMethod(getListNotebookRuntimesMethod()) .addMethod(getDeleteNotebookRuntimeMethod()) .addMethod(getUpgradeNotebookRuntimeMethod()) .addMethod(getStartNotebookRuntimeMethod()) .addMethod(getCreateNotebookExecutionJobMethod()) .addMethod(getGetNotebookExecutionJobMethod()) .addMethod(getListNotebookExecutionJobsMethod()) .addMethod(getDeleteNotebookExecutionJobMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy