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

com.google.cloud.aiplatform.v1.PipelineServiceGrpc 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;

/**
 *
 *
 * 
 * A service for creating and managing Vertex AI's pipelines. This includes both
 * `TrainingPipeline` resources (used for AutoML and custom training) and
 * `PipelineJob` resources (used for Vertex AI Pipelines).
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/cloud/aiplatform/v1/pipeline_service.proto") @io.grpc.stub.annotations.GrpcGenerated public final class PipelineServiceGrpc { private PipelineServiceGrpc() {} public static final java.lang.String SERVICE_NAME = "google.cloud.aiplatform.v1.PipelineService"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest, com.google.cloud.aiplatform.v1.TrainingPipeline> getCreateTrainingPipelineMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateTrainingPipeline", requestType = com.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest.class, responseType = com.google.cloud.aiplatform.v1.TrainingPipeline.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest, com.google.cloud.aiplatform.v1.TrainingPipeline> getCreateTrainingPipelineMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest, com.google.cloud.aiplatform.v1.TrainingPipeline> getCreateTrainingPipelineMethod; if ((getCreateTrainingPipelineMethod = PipelineServiceGrpc.getCreateTrainingPipelineMethod) == null) { synchronized (PipelineServiceGrpc.class) { if ((getCreateTrainingPipelineMethod = PipelineServiceGrpc.getCreateTrainingPipelineMethod) == null) { PipelineServiceGrpc.getCreateTrainingPipelineMethod = getCreateTrainingPipelineMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "CreateTrainingPipeline")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.TrainingPipeline.getDefaultInstance())) .setSchemaDescriptor( new PipelineServiceMethodDescriptorSupplier("CreateTrainingPipeline")) .build(); } } } return getCreateTrainingPipelineMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest, com.google.cloud.aiplatform.v1.TrainingPipeline> getGetTrainingPipelineMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetTrainingPipeline", requestType = com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest.class, responseType = com.google.cloud.aiplatform.v1.TrainingPipeline.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest, com.google.cloud.aiplatform.v1.TrainingPipeline> getGetTrainingPipelineMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest, com.google.cloud.aiplatform.v1.TrainingPipeline> getGetTrainingPipelineMethod; if ((getGetTrainingPipelineMethod = PipelineServiceGrpc.getGetTrainingPipelineMethod) == null) { synchronized (PipelineServiceGrpc.class) { if ((getGetTrainingPipelineMethod = PipelineServiceGrpc.getGetTrainingPipelineMethod) == null) { PipelineServiceGrpc.getGetTrainingPipelineMethod = getGetTrainingPipelineMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "GetTrainingPipeline")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.TrainingPipeline.getDefaultInstance())) .setSchemaDescriptor( new PipelineServiceMethodDescriptorSupplier("GetTrainingPipeline")) .build(); } } } return getGetTrainingPipelineMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest, com.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse> getListTrainingPipelinesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListTrainingPipelines", requestType = com.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest.class, responseType = com.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest, com.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse> getListTrainingPipelinesMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest, com.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse> getListTrainingPipelinesMethod; if ((getListTrainingPipelinesMethod = PipelineServiceGrpc.getListTrainingPipelinesMethod) == null) { synchronized (PipelineServiceGrpc.class) { if ((getListTrainingPipelinesMethod = PipelineServiceGrpc.getListTrainingPipelinesMethod) == null) { PipelineServiceGrpc.getListTrainingPipelinesMethod = getListTrainingPipelinesMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "ListTrainingPipelines")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse .getDefaultInstance())) .setSchemaDescriptor( new PipelineServiceMethodDescriptorSupplier("ListTrainingPipelines")) .build(); } } } return getListTrainingPipelinesMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest, com.google.longrunning.Operation> getDeleteTrainingPipelineMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteTrainingPipeline", requestType = com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest, com.google.longrunning.Operation> getDeleteTrainingPipelineMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest, com.google.longrunning.Operation> getDeleteTrainingPipelineMethod; if ((getDeleteTrainingPipelineMethod = PipelineServiceGrpc.getDeleteTrainingPipelineMethod) == null) { synchronized (PipelineServiceGrpc.class) { if ((getDeleteTrainingPipelineMethod = PipelineServiceGrpc.getDeleteTrainingPipelineMethod) == null) { PipelineServiceGrpc.getDeleteTrainingPipelineMethod = getDeleteTrainingPipelineMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "DeleteTrainingPipeline")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new PipelineServiceMethodDescriptorSupplier("DeleteTrainingPipeline")) .build(); } } } return getDeleteTrainingPipelineMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest, com.google.protobuf.Empty> getCancelTrainingPipelineMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CancelTrainingPipeline", requestType = com.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest, com.google.protobuf.Empty> getCancelTrainingPipelineMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest, com.google.protobuf.Empty> getCancelTrainingPipelineMethod; if ((getCancelTrainingPipelineMethod = PipelineServiceGrpc.getCancelTrainingPipelineMethod) == null) { synchronized (PipelineServiceGrpc.class) { if ((getCancelTrainingPipelineMethod = PipelineServiceGrpc.getCancelTrainingPipelineMethod) == null) { PipelineServiceGrpc.getCancelTrainingPipelineMethod = getCancelTrainingPipelineMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "CancelTrainingPipeline")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.protobuf.Empty.getDefaultInstance())) .setSchemaDescriptor( new PipelineServiceMethodDescriptorSupplier("CancelTrainingPipeline")) .build(); } } } return getCancelTrainingPipelineMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CreatePipelineJobRequest, com.google.cloud.aiplatform.v1.PipelineJob> getCreatePipelineJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreatePipelineJob", requestType = com.google.cloud.aiplatform.v1.CreatePipelineJobRequest.class, responseType = com.google.cloud.aiplatform.v1.PipelineJob.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CreatePipelineJobRequest, com.google.cloud.aiplatform.v1.PipelineJob> getCreatePipelineJobMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CreatePipelineJobRequest, com.google.cloud.aiplatform.v1.PipelineJob> getCreatePipelineJobMethod; if ((getCreatePipelineJobMethod = PipelineServiceGrpc.getCreatePipelineJobMethod) == null) { synchronized (PipelineServiceGrpc.class) { if ((getCreatePipelineJobMethod = PipelineServiceGrpc.getCreatePipelineJobMethod) == null) { PipelineServiceGrpc.getCreatePipelineJobMethod = getCreatePipelineJobMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreatePipelineJob")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.CreatePipelineJobRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.PipelineJob.getDefaultInstance())) .setSchemaDescriptor( new PipelineServiceMethodDescriptorSupplier("CreatePipelineJob")) .build(); } } } return getCreatePipelineJobMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetPipelineJobRequest, com.google.cloud.aiplatform.v1.PipelineJob> getGetPipelineJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetPipelineJob", requestType = com.google.cloud.aiplatform.v1.GetPipelineJobRequest.class, responseType = com.google.cloud.aiplatform.v1.PipelineJob.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetPipelineJobRequest, com.google.cloud.aiplatform.v1.PipelineJob> getGetPipelineJobMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.GetPipelineJobRequest, com.google.cloud.aiplatform.v1.PipelineJob> getGetPipelineJobMethod; if ((getGetPipelineJobMethod = PipelineServiceGrpc.getGetPipelineJobMethod) == null) { synchronized (PipelineServiceGrpc.class) { if ((getGetPipelineJobMethod = PipelineServiceGrpc.getGetPipelineJobMethod) == null) { PipelineServiceGrpc.getGetPipelineJobMethod = getGetPipelineJobMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPipelineJob")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.GetPipelineJobRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.PipelineJob.getDefaultInstance())) .setSchemaDescriptor( new PipelineServiceMethodDescriptorSupplier("GetPipelineJob")) .build(); } } } return getGetPipelineJobMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListPipelineJobsRequest, com.google.cloud.aiplatform.v1.ListPipelineJobsResponse> getListPipelineJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListPipelineJobs", requestType = com.google.cloud.aiplatform.v1.ListPipelineJobsRequest.class, responseType = com.google.cloud.aiplatform.v1.ListPipelineJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListPipelineJobsRequest, com.google.cloud.aiplatform.v1.ListPipelineJobsResponse> getListPipelineJobsMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.ListPipelineJobsRequest, com.google.cloud.aiplatform.v1.ListPipelineJobsResponse> getListPipelineJobsMethod; if ((getListPipelineJobsMethod = PipelineServiceGrpc.getListPipelineJobsMethod) == null) { synchronized (PipelineServiceGrpc.class) { if ((getListPipelineJobsMethod = PipelineServiceGrpc.getListPipelineJobsMethod) == null) { PipelineServiceGrpc.getListPipelineJobsMethod = getListPipelineJobsMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPipelineJobs")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.ListPipelineJobsRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.ListPipelineJobsResponse .getDefaultInstance())) .setSchemaDescriptor( new PipelineServiceMethodDescriptorSupplier("ListPipelineJobs")) .build(); } } } return getListPipelineJobsMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeletePipelineJobRequest, com.google.longrunning.Operation> getDeletePipelineJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeletePipelineJob", requestType = com.google.cloud.aiplatform.v1.DeletePipelineJobRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeletePipelineJobRequest, com.google.longrunning.Operation> getDeletePipelineJobMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.DeletePipelineJobRequest, com.google.longrunning.Operation> getDeletePipelineJobMethod; if ((getDeletePipelineJobMethod = PipelineServiceGrpc.getDeletePipelineJobMethod) == null) { synchronized (PipelineServiceGrpc.class) { if ((getDeletePipelineJobMethod = PipelineServiceGrpc.getDeletePipelineJobMethod) == null) { PipelineServiceGrpc.getDeletePipelineJobMethod = getDeletePipelineJobMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePipelineJob")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.DeletePipelineJobRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new PipelineServiceMethodDescriptorSupplier("DeletePipelineJob")) .build(); } } } return getDeletePipelineJobMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest, com.google.longrunning.Operation> getBatchDeletePipelineJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchDeletePipelineJobs", requestType = com.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest, com.google.longrunning.Operation> getBatchDeletePipelineJobsMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest, com.google.longrunning.Operation> getBatchDeletePipelineJobsMethod; if ((getBatchDeletePipelineJobsMethod = PipelineServiceGrpc.getBatchDeletePipelineJobsMethod) == null) { synchronized (PipelineServiceGrpc.class) { if ((getBatchDeletePipelineJobsMethod = PipelineServiceGrpc.getBatchDeletePipelineJobsMethod) == null) { PipelineServiceGrpc.getBatchDeletePipelineJobsMethod = getBatchDeletePipelineJobsMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "BatchDeletePipelineJobs")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new PipelineServiceMethodDescriptorSupplier("BatchDeletePipelineJobs")) .build(); } } } return getBatchDeletePipelineJobsMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CancelPipelineJobRequest, com.google.protobuf.Empty> getCancelPipelineJobMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CancelPipelineJob", requestType = com.google.cloud.aiplatform.v1.CancelPipelineJobRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CancelPipelineJobRequest, com.google.protobuf.Empty> getCancelPipelineJobMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.CancelPipelineJobRequest, com.google.protobuf.Empty> getCancelPipelineJobMethod; if ((getCancelPipelineJobMethod = PipelineServiceGrpc.getCancelPipelineJobMethod) == null) { synchronized (PipelineServiceGrpc.class) { if ((getCancelPipelineJobMethod = PipelineServiceGrpc.getCancelPipelineJobMethod) == null) { PipelineServiceGrpc.getCancelPipelineJobMethod = getCancelPipelineJobMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelPipelineJob")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.CancelPipelineJobRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.protobuf.Empty.getDefaultInstance())) .setSchemaDescriptor( new PipelineServiceMethodDescriptorSupplier("CancelPipelineJob")) .build(); } } } return getCancelPipelineJobMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest, com.google.longrunning.Operation> getBatchCancelPipelineJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BatchCancelPipelineJobs", requestType = com.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest, com.google.longrunning.Operation> getBatchCancelPipelineJobsMethod() { io.grpc.MethodDescriptor< com.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest, com.google.longrunning.Operation> getBatchCancelPipelineJobsMethod; if ((getBatchCancelPipelineJobsMethod = PipelineServiceGrpc.getBatchCancelPipelineJobsMethod) == null) { synchronized (PipelineServiceGrpc.class) { if ((getBatchCancelPipelineJobsMethod = PipelineServiceGrpc.getBatchCancelPipelineJobsMethod) == null) { PipelineServiceGrpc.getBatchCancelPipelineJobsMethod = getBatchCancelPipelineJobsMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "BatchCancelPipelineJobs")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new PipelineServiceMethodDescriptorSupplier("BatchCancelPipelineJobs")) .build(); } } } return getBatchCancelPipelineJobsMethod; } /** Creates a new async stub that supports all call types for the service */ public static PipelineServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public PipelineServiceStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new PipelineServiceStub(channel, callOptions); } }; return PipelineServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static PipelineServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public PipelineServiceBlockingStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new PipelineServiceBlockingStub(channel, callOptions); } }; return PipelineServiceBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static PipelineServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public PipelineServiceFutureStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new PipelineServiceFutureStub(channel, callOptions); } }; return PipelineServiceFutureStub.newStub(factory, channel); } /** * * *
   * A service for creating and managing Vertex AI's pipelines. This includes both
   * `TrainingPipeline` resources (used for AutoML and custom training) and
   * `PipelineJob` resources (used for Vertex AI Pipelines).
   * 
*/ public interface AsyncService { /** * * *
     * Creates a TrainingPipeline. A created TrainingPipeline right away will be
     * attempted to be run.
     * 
*/ default void createTrainingPipeline( com.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreateTrainingPipelineMethod(), responseObserver); } /** * * *
     * Gets a TrainingPipeline.
     * 
*/ default void getTrainingPipeline( com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetTrainingPipelineMethod(), responseObserver); } /** * * *
     * Lists TrainingPipelines in a Location.
     * 
*/ default void listTrainingPipelines( com.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListTrainingPipelinesMethod(), responseObserver); } /** * * *
     * Deletes a TrainingPipeline.
     * 
*/ default void deleteTrainingPipeline( com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteTrainingPipelineMethod(), responseObserver); } /** * * *
     * Cancels a TrainingPipeline.
     * Starts asynchronous cancellation on the TrainingPipeline. The server
     * makes a best effort to cancel the pipeline, but success is not
     * guaranteed. Clients can use
     * [PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]
     * or other methods to check whether the cancellation succeeded or whether the
     * pipeline completed despite cancellation. On successful cancellation,
     * the TrainingPipeline is not deleted; instead it becomes a pipeline with
     * a
     * [TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]
     * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
     * corresponding to `Code.CANCELLED`, and
     * [TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]
     * is set to `CANCELLED`.
     * 
*/ default void cancelTrainingPipeline( com.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCancelTrainingPipelineMethod(), responseObserver); } /** * * *
     * Creates a PipelineJob. A PipelineJob will run immediately when created.
     * 
*/ default void createPipelineJob( com.google.cloud.aiplatform.v1.CreatePipelineJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreatePipelineJobMethod(), responseObserver); } /** * * *
     * Gets a PipelineJob.
     * 
*/ default void getPipelineJob( com.google.cloud.aiplatform.v1.GetPipelineJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetPipelineJobMethod(), responseObserver); } /** * * *
     * Lists PipelineJobs in a Location.
     * 
*/ default void listPipelineJobs( com.google.cloud.aiplatform.v1.ListPipelineJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListPipelineJobsMethod(), responseObserver); } /** * * *
     * Deletes a PipelineJob.
     * 
*/ default void deletePipelineJob( com.google.cloud.aiplatform.v1.DeletePipelineJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeletePipelineJobMethod(), responseObserver); } /** * * *
     * Batch deletes PipelineJobs
     * The Operation is atomic. If it fails, none of the PipelineJobs are deleted.
     * If it succeeds, all of the PipelineJobs are deleted.
     * 
*/ default void batchDeletePipelineJobs( com.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getBatchDeletePipelineJobsMethod(), responseObserver); } /** * * *
     * Cancels a PipelineJob.
     * Starts asynchronous cancellation on the PipelineJob. The server
     * makes a best effort to cancel the pipeline, but success is not
     * guaranteed. Clients can use
     * [PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
     * or other methods to check whether the cancellation succeeded or whether the
     * pipeline completed despite cancellation. On successful cancellation,
     * the PipelineJob is not deleted; instead it becomes a pipeline with
     * a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
     * with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
     * to `Code.CANCELLED`, and
     * [PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
     * `CANCELLED`.
     * 
*/ default void cancelPipelineJob( com.google.cloud.aiplatform.v1.CancelPipelineJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCancelPipelineJobMethod(), responseObserver); } /** * * *
     * Batch cancel PipelineJobs.
     * Firstly the server will check if all the jobs are in non-terminal states,
     * and skip the jobs that are already terminated.
     * If the operation failed, none of the pipeline jobs are cancelled.
     * The server will poll the states of all the pipeline jobs periodically
     * to check the cancellation status.
     * This operation will return an LRO.
     * 
*/ default void batchCancelPipelineJobs( com.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getBatchCancelPipelineJobsMethod(), responseObserver); } } /** * Base class for the server implementation of the service PipelineService. * *
   * A service for creating and managing Vertex AI's pipelines. This includes both
   * `TrainingPipeline` resources (used for AutoML and custom training) and
   * `PipelineJob` resources (used for Vertex AI Pipelines).
   * 
*/ public abstract static class PipelineServiceImplBase implements io.grpc.BindableService, AsyncService { @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return PipelineServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service PipelineService. * *
   * A service for creating and managing Vertex AI's pipelines. This includes both
   * `TrainingPipeline` resources (used for AutoML and custom training) and
   * `PipelineJob` resources (used for Vertex AI Pipelines).
   * 
*/ public static final class PipelineServiceStub extends io.grpc.stub.AbstractAsyncStub { private PipelineServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected PipelineServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new PipelineServiceStub(channel, callOptions); } /** * * *
     * Creates a TrainingPipeline. A created TrainingPipeline right away will be
     * attempted to be run.
     * 
*/ public void createTrainingPipeline( com.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTrainingPipelineMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Gets a TrainingPipeline.
     * 
*/ public void getTrainingPipeline( com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetTrainingPipelineMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Lists TrainingPipelines in a Location.
     * 
*/ public void listTrainingPipelines( com.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListTrainingPipelinesMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Deletes a TrainingPipeline.
     * 
*/ public void deleteTrainingPipeline( com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteTrainingPipelineMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Cancels a TrainingPipeline.
     * Starts asynchronous cancellation on the TrainingPipeline. The server
     * makes a best effort to cancel the pipeline, but success is not
     * guaranteed. Clients can use
     * [PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]
     * or other methods to check whether the cancellation succeeded or whether the
     * pipeline completed despite cancellation. On successful cancellation,
     * the TrainingPipeline is not deleted; instead it becomes a pipeline with
     * a
     * [TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]
     * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
     * corresponding to `Code.CANCELLED`, and
     * [TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]
     * is set to `CANCELLED`.
     * 
*/ public void cancelTrainingPipeline( com.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCancelTrainingPipelineMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Creates a PipelineJob. A PipelineJob will run immediately when created.
     * 
*/ public void createPipelineJob( com.google.cloud.aiplatform.v1.CreatePipelineJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreatePipelineJobMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Gets a PipelineJob.
     * 
*/ public void getPipelineJob( com.google.cloud.aiplatform.v1.GetPipelineJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetPipelineJobMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Lists PipelineJobs in a Location.
     * 
*/ public void listPipelineJobs( com.google.cloud.aiplatform.v1.ListPipelineJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListPipelineJobsMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Deletes a PipelineJob.
     * 
*/ public void deletePipelineJob( com.google.cloud.aiplatform.v1.DeletePipelineJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeletePipelineJobMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Batch deletes PipelineJobs
     * The Operation is atomic. If it fails, none of the PipelineJobs are deleted.
     * If it succeeds, all of the PipelineJobs are deleted.
     * 
*/ public void batchDeletePipelineJobs( com.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getBatchDeletePipelineJobsMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Cancels a PipelineJob.
     * Starts asynchronous cancellation on the PipelineJob. The server
     * makes a best effort to cancel the pipeline, but success is not
     * guaranteed. Clients can use
     * [PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
     * or other methods to check whether the cancellation succeeded or whether the
     * pipeline completed despite cancellation. On successful cancellation,
     * the PipelineJob is not deleted; instead it becomes a pipeline with
     * a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
     * with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
     * to `Code.CANCELLED`, and
     * [PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
     * `CANCELLED`.
     * 
*/ public void cancelPipelineJob( com.google.cloud.aiplatform.v1.CancelPipelineJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCancelPipelineJobMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Batch cancel PipelineJobs.
     * Firstly the server will check if all the jobs are in non-terminal states,
     * and skip the jobs that are already terminated.
     * If the operation failed, none of the pipeline jobs are cancelled.
     * The server will poll the states of all the pipeline jobs periodically
     * to check the cancellation status.
     * This operation will return an LRO.
     * 
*/ public void batchCancelPipelineJobs( com.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getBatchCancelPipelineJobsMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service PipelineService. * *
   * A service for creating and managing Vertex AI's pipelines. This includes both
   * `TrainingPipeline` resources (used for AutoML and custom training) and
   * `PipelineJob` resources (used for Vertex AI Pipelines).
   * 
*/ public static final class PipelineServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private PipelineServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected PipelineServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new PipelineServiceBlockingStub(channel, callOptions); } /** * * *
     * Creates a TrainingPipeline. A created TrainingPipeline right away will be
     * attempted to be run.
     * 
*/ public com.google.cloud.aiplatform.v1.TrainingPipeline createTrainingPipeline( com.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTrainingPipelineMethod(), getCallOptions(), request); } /** * * *
     * Gets a TrainingPipeline.
     * 
*/ public com.google.cloud.aiplatform.v1.TrainingPipeline getTrainingPipeline( com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetTrainingPipelineMethod(), getCallOptions(), request); } /** * * *
     * Lists TrainingPipelines in a Location.
     * 
*/ public com.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse listTrainingPipelines( com.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListTrainingPipelinesMethod(), getCallOptions(), request); } /** * * *
     * Deletes a TrainingPipeline.
     * 
*/ public com.google.longrunning.Operation deleteTrainingPipeline( com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteTrainingPipelineMethod(), getCallOptions(), request); } /** * * *
     * Cancels a TrainingPipeline.
     * Starts asynchronous cancellation on the TrainingPipeline. The server
     * makes a best effort to cancel the pipeline, but success is not
     * guaranteed. Clients can use
     * [PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]
     * or other methods to check whether the cancellation succeeded or whether the
     * pipeline completed despite cancellation. On successful cancellation,
     * the TrainingPipeline is not deleted; instead it becomes a pipeline with
     * a
     * [TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]
     * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
     * corresponding to `Code.CANCELLED`, and
     * [TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]
     * is set to `CANCELLED`.
     * 
*/ public com.google.protobuf.Empty cancelTrainingPipeline( com.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCancelTrainingPipelineMethod(), getCallOptions(), request); } /** * * *
     * Creates a PipelineJob. A PipelineJob will run immediately when created.
     * 
*/ public com.google.cloud.aiplatform.v1.PipelineJob createPipelineJob( com.google.cloud.aiplatform.v1.CreatePipelineJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreatePipelineJobMethod(), getCallOptions(), request); } /** * * *
     * Gets a PipelineJob.
     * 
*/ public com.google.cloud.aiplatform.v1.PipelineJob getPipelineJob( com.google.cloud.aiplatform.v1.GetPipelineJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetPipelineJobMethod(), getCallOptions(), request); } /** * * *
     * Lists PipelineJobs in a Location.
     * 
*/ public com.google.cloud.aiplatform.v1.ListPipelineJobsResponse listPipelineJobs( com.google.cloud.aiplatform.v1.ListPipelineJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListPipelineJobsMethod(), getCallOptions(), request); } /** * * *
     * Deletes a PipelineJob.
     * 
*/ public com.google.longrunning.Operation deletePipelineJob( com.google.cloud.aiplatform.v1.DeletePipelineJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeletePipelineJobMethod(), getCallOptions(), request); } /** * * *
     * Batch deletes PipelineJobs
     * The Operation is atomic. If it fails, none of the PipelineJobs are deleted.
     * If it succeeds, all of the PipelineJobs are deleted.
     * 
*/ public com.google.longrunning.Operation batchDeletePipelineJobs( com.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchDeletePipelineJobsMethod(), getCallOptions(), request); } /** * * *
     * Cancels a PipelineJob.
     * Starts asynchronous cancellation on the PipelineJob. The server
     * makes a best effort to cancel the pipeline, but success is not
     * guaranteed. Clients can use
     * [PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
     * or other methods to check whether the cancellation succeeded or whether the
     * pipeline completed despite cancellation. On successful cancellation,
     * the PipelineJob is not deleted; instead it becomes a pipeline with
     * a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
     * with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
     * to `Code.CANCELLED`, and
     * [PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
     * `CANCELLED`.
     * 
*/ public com.google.protobuf.Empty cancelPipelineJob( com.google.cloud.aiplatform.v1.CancelPipelineJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCancelPipelineJobMethod(), getCallOptions(), request); } /** * * *
     * Batch cancel PipelineJobs.
     * Firstly the server will check if all the jobs are in non-terminal states,
     * and skip the jobs that are already terminated.
     * If the operation failed, none of the pipeline jobs are cancelled.
     * The server will poll the states of all the pipeline jobs periodically
     * to check the cancellation status.
     * This operation will return an LRO.
     * 
*/ public com.google.longrunning.Operation batchCancelPipelineJobs( com.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBatchCancelPipelineJobsMethod(), getCallOptions(), request); } } /** * A stub to allow clients to do ListenableFuture-style rpc calls to service PipelineService. * *
   * A service for creating and managing Vertex AI's pipelines. This includes both
   * `TrainingPipeline` resources (used for AutoML and custom training) and
   * `PipelineJob` resources (used for Vertex AI Pipelines).
   * 
*/ public static final class PipelineServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private PipelineServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected PipelineServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new PipelineServiceFutureStub(channel, callOptions); } /** * * *
     * Creates a TrainingPipeline. A created TrainingPipeline right away will be
     * attempted to be run.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.aiplatform.v1.TrainingPipeline> createTrainingPipeline( com.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTrainingPipelineMethod(), getCallOptions()), request); } /** * * *
     * Gets a TrainingPipeline.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.aiplatform.v1.TrainingPipeline> getTrainingPipeline(com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetTrainingPipelineMethod(), getCallOptions()), request); } /** * * *
     * Lists TrainingPipelines in a Location.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse> listTrainingPipelines(com.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListTrainingPipelinesMethod(), getCallOptions()), request); } /** * * *
     * Deletes a TrainingPipeline.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteTrainingPipeline( com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteTrainingPipelineMethod(), getCallOptions()), request); } /** * * *
     * Cancels a TrainingPipeline.
     * Starts asynchronous cancellation on the TrainingPipeline. The server
     * makes a best effort to cancel the pipeline, but success is not
     * guaranteed. Clients can use
     * [PipelineService.GetTrainingPipeline][google.cloud.aiplatform.v1.PipelineService.GetTrainingPipeline]
     * or other methods to check whether the cancellation succeeded or whether the
     * pipeline completed despite cancellation. On successful cancellation,
     * the TrainingPipeline is not deleted; instead it becomes a pipeline with
     * a
     * [TrainingPipeline.error][google.cloud.aiplatform.v1.TrainingPipeline.error]
     * value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
     * corresponding to `Code.CANCELLED`, and
     * [TrainingPipeline.state][google.cloud.aiplatform.v1.TrainingPipeline.state]
     * is set to `CANCELLED`.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture cancelTrainingPipeline( com.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCancelTrainingPipelineMethod(), getCallOptions()), request); } /** * * *
     * Creates a PipelineJob. A PipelineJob will run immediately when created.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.aiplatform.v1.PipelineJob> createPipelineJob(com.google.cloud.aiplatform.v1.CreatePipelineJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreatePipelineJobMethod(), getCallOptions()), request); } /** * * *
     * Gets a PipelineJob.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.aiplatform.v1.PipelineJob> getPipelineJob(com.google.cloud.aiplatform.v1.GetPipelineJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetPipelineJobMethod(), getCallOptions()), request); } /** * * *
     * Lists PipelineJobs in a Location.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.aiplatform.v1.ListPipelineJobsResponse> listPipelineJobs(com.google.cloud.aiplatform.v1.ListPipelineJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListPipelineJobsMethod(), getCallOptions()), request); } /** * * *
     * Deletes a PipelineJob.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deletePipelineJob(com.google.cloud.aiplatform.v1.DeletePipelineJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeletePipelineJobMethod(), getCallOptions()), request); } /** * * *
     * Batch deletes PipelineJobs
     * The Operation is atomic. If it fails, none of the PipelineJobs are deleted.
     * If it succeeds, all of the PipelineJobs are deleted.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture batchDeletePipelineJobs( com.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchDeletePipelineJobsMethod(), getCallOptions()), request); } /** * * *
     * Cancels a PipelineJob.
     * Starts asynchronous cancellation on the PipelineJob. The server
     * makes a best effort to cancel the pipeline, but success is not
     * guaranteed. Clients can use
     * [PipelineService.GetPipelineJob][google.cloud.aiplatform.v1.PipelineService.GetPipelineJob]
     * or other methods to check whether the cancellation succeeded or whether the
     * pipeline completed despite cancellation. On successful cancellation,
     * the PipelineJob is not deleted; instead it becomes a pipeline with
     * a [PipelineJob.error][google.cloud.aiplatform.v1.PipelineJob.error] value
     * with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding
     * to `Code.CANCELLED`, and
     * [PipelineJob.state][google.cloud.aiplatform.v1.PipelineJob.state] is set to
     * `CANCELLED`.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture cancelPipelineJob(com.google.cloud.aiplatform.v1.CancelPipelineJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCancelPipelineJobMethod(), getCallOptions()), request); } /** * * *
     * Batch cancel PipelineJobs.
     * Firstly the server will check if all the jobs are in non-terminal states,
     * and skip the jobs that are already terminated.
     * If the operation failed, none of the pipeline jobs are cancelled.
     * The server will poll the states of all the pipeline jobs periodically
     * to check the cancellation status.
     * This operation will return an LRO.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture batchCancelPipelineJobs( com.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBatchCancelPipelineJobsMethod(), getCallOptions()), request); } } private static final int METHODID_CREATE_TRAINING_PIPELINE = 0; private static final int METHODID_GET_TRAINING_PIPELINE = 1; private static final int METHODID_LIST_TRAINING_PIPELINES = 2; private static final int METHODID_DELETE_TRAINING_PIPELINE = 3; private static final int METHODID_CANCEL_TRAINING_PIPELINE = 4; private static final int METHODID_CREATE_PIPELINE_JOB = 5; private static final int METHODID_GET_PIPELINE_JOB = 6; private static final int METHODID_LIST_PIPELINE_JOBS = 7; private static final int METHODID_DELETE_PIPELINE_JOB = 8; private static final int METHODID_BATCH_DELETE_PIPELINE_JOBS = 9; private static final int METHODID_CANCEL_PIPELINE_JOB = 10; private static final int METHODID_BATCH_CANCEL_PIPELINE_JOBS = 11; 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_TRAINING_PIPELINE: serviceImpl.createTrainingPipeline( (com.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_TRAINING_PIPELINE: serviceImpl.getTrainingPipeline( (com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_TRAINING_PIPELINES: serviceImpl.listTrainingPipelines( (com.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest) request, (io.grpc.stub.StreamObserver< com.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse>) responseObserver); break; case METHODID_DELETE_TRAINING_PIPELINE: serviceImpl.deleteTrainingPipeline( (com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CANCEL_TRAINING_PIPELINE: serviceImpl.cancelTrainingPipeline( (com.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_PIPELINE_JOB: serviceImpl.createPipelineJob( (com.google.cloud.aiplatform.v1.CreatePipelineJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_PIPELINE_JOB: serviceImpl.getPipelineJob( (com.google.cloud.aiplatform.v1.GetPipelineJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_PIPELINE_JOBS: serviceImpl.listPipelineJobs( (com.google.cloud.aiplatform.v1.ListPipelineJobsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_PIPELINE_JOB: serviceImpl.deletePipelineJob( (com.google.cloud.aiplatform.v1.DeletePipelineJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_BATCH_DELETE_PIPELINE_JOBS: serviceImpl.batchDeletePipelineJobs( (com.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CANCEL_PIPELINE_JOB: serviceImpl.cancelPipelineJob( (com.google.cloud.aiplatform.v1.CancelPipelineJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_BATCH_CANCEL_PIPELINE_JOBS: serviceImpl.batchCancelPipelineJobs( (com.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest) 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( getCreateTrainingPipelineMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest, com.google.cloud.aiplatform.v1.TrainingPipeline>( service, METHODID_CREATE_TRAINING_PIPELINE))) .addMethod( getGetTrainingPipelineMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest, com.google.cloud.aiplatform.v1.TrainingPipeline>( service, METHODID_GET_TRAINING_PIPELINE))) .addMethod( getListTrainingPipelinesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest, com.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse>( service, METHODID_LIST_TRAINING_PIPELINES))) .addMethod( getDeleteTrainingPipelineMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest, com.google.longrunning.Operation>(service, METHODID_DELETE_TRAINING_PIPELINE))) .addMethod( getCancelTrainingPipelineMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest, com.google.protobuf.Empty>(service, METHODID_CANCEL_TRAINING_PIPELINE))) .addMethod( getCreatePipelineJobMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.CreatePipelineJobRequest, com.google.cloud.aiplatform.v1.PipelineJob>( service, METHODID_CREATE_PIPELINE_JOB))) .addMethod( getGetPipelineJobMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.GetPipelineJobRequest, com.google.cloud.aiplatform.v1.PipelineJob>( service, METHODID_GET_PIPELINE_JOB))) .addMethod( getListPipelineJobsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.ListPipelineJobsRequest, com.google.cloud.aiplatform.v1.ListPipelineJobsResponse>( service, METHODID_LIST_PIPELINE_JOBS))) .addMethod( getDeletePipelineJobMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.DeletePipelineJobRequest, com.google.longrunning.Operation>(service, METHODID_DELETE_PIPELINE_JOB))) .addMethod( getBatchDeletePipelineJobsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest, com.google.longrunning.Operation>( service, METHODID_BATCH_DELETE_PIPELINE_JOBS))) .addMethod( getCancelPipelineJobMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.CancelPipelineJobRequest, com.google.protobuf.Empty>(service, METHODID_CANCEL_PIPELINE_JOB))) .addMethod( getBatchCancelPipelineJobsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest, com.google.longrunning.Operation>( service, METHODID_BATCH_CANCEL_PIPELINE_JOBS))) .build(); } private abstract static class PipelineServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { PipelineServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return com.google.cloud.aiplatform.v1.PipelineServiceProto.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("PipelineService"); } } private static final class PipelineServiceFileDescriptorSupplier extends PipelineServiceBaseDescriptorSupplier { PipelineServiceFileDescriptorSupplier() {} } private static final class PipelineServiceMethodDescriptorSupplier extends PipelineServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final java.lang.String methodName; PipelineServiceMethodDescriptorSupplier(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 (PipelineServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new PipelineServiceFileDescriptorSupplier()) .addMethod(getCreateTrainingPipelineMethod()) .addMethod(getGetTrainingPipelineMethod()) .addMethod(getListTrainingPipelinesMethod()) .addMethod(getDeleteTrainingPipelineMethod()) .addMethod(getCancelTrainingPipelineMethod()) .addMethod(getCreatePipelineJobMethod()) .addMethod(getGetPipelineJobMethod()) .addMethod(getListPipelineJobsMethod()) .addMethod(getDeletePipelineJobMethod()) .addMethod(getBatchDeletePipelineJobsMethod()) .addMethod(getCancelPipelineJobMethod()) .addMethod(getBatchCancelPipelineJobsMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy