Class VizierServiceGrpc.VizierServiceStub

  • Enclosing class:
    VizierServiceGrpc

    public static final class VizierServiceGrpc.VizierServiceStub
    extends io.grpc.stub.AbstractAsyncStub<VizierServiceGrpc.VizierServiceStub>
    A stub to allow clients to do asynchronous rpc calls to service VizierService.
     Vertex AI Vizier API.
     Vertex AI Vizier is a service to solve blackbox optimization problems,
     such as tuning machine learning hyperparameters and searching over deep
     learning architectures.
     
    • Method Detail

      • createStudy

        public void createStudy​(CreateStudyRequest request,
                                io.grpc.stub.StreamObserver<Study> responseObserver)
         Creates a Study. A resource name will be generated after creation of the
         Study.
         
      • getStudy

        public void getStudy​(GetStudyRequest request,
                             io.grpc.stub.StreamObserver<Study> responseObserver)
         Gets a Study by name.
         
      • listStudies

        public void listStudies​(ListStudiesRequest request,
                                io.grpc.stub.StreamObserver<ListStudiesResponse> responseObserver)
         Lists all the studies in a region for an associated project.
         
      • deleteStudy

        public void deleteStudy​(DeleteStudyRequest request,
                                io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes a Study.
         
      • lookupStudy

        public void lookupStudy​(LookupStudyRequest request,
                                io.grpc.stub.StreamObserver<Study> responseObserver)
         Looks a study up using the user-defined display_name field instead of the
         fully qualified resource name.
         
      • suggestTrials

        public void suggestTrials​(SuggestTrialsRequest request,
                                  io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Adds one or more Trials to a Study, with parameter values
         suggested by Vertex AI Vizier. Returns a long-running
         operation associated with the generation of Trial suggestions.
         When this long-running operation succeeds, it will contain
         a
         [SuggestTrialsResponse][google.cloud.aiplatform.v1.SuggestTrialsResponse].
         
      • createTrial

        public void createTrial​(CreateTrialRequest request,
                                io.grpc.stub.StreamObserver<Trial> responseObserver)
         Adds a user provided Trial to a Study.
         
      • getTrial

        public void getTrial​(GetTrialRequest request,
                             io.grpc.stub.StreamObserver<Trial> responseObserver)
         Gets a Trial.
         
      • listTrials

        public void listTrials​(ListTrialsRequest request,
                               io.grpc.stub.StreamObserver<ListTrialsResponse> responseObserver)
         Lists the Trials associated with a Study.
         
      • addTrialMeasurement

        public void addTrialMeasurement​(AddTrialMeasurementRequest request,
                                        io.grpc.stub.StreamObserver<Trial> responseObserver)
         Adds a measurement of the objective metrics to a Trial. This measurement
         is assumed to have been taken before the Trial is complete.
         
      • completeTrial

        public void completeTrial​(CompleteTrialRequest request,
                                  io.grpc.stub.StreamObserver<Trial> responseObserver)
         Marks a Trial as complete.
         
      • deleteTrial

        public void deleteTrial​(DeleteTrialRequest request,
                                io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes a Trial.
         
      • checkTrialEarlyStoppingState

        public void checkTrialEarlyStoppingState​(CheckTrialEarlyStoppingStateRequest request,
                                                 io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Checks  whether a Trial should stop or not. Returns a
         long-running operation. When the operation is successful,
         it will contain a
         [CheckTrialEarlyStoppingStateResponse][google.cloud.aiplatform.v1.CheckTrialEarlyStoppingStateResponse].
         
      • stopTrial

        public void stopTrial​(StopTrialRequest request,
                              io.grpc.stub.StreamObserver<Trial> responseObserver)
         Stops a Trial.
         
      • listOptimalTrials

        public void listOptimalTrials​(ListOptimalTrialsRequest request,
                                      io.grpc.stub.StreamObserver<ListOptimalTrialsResponse> responseObserver)
         Lists the pareto-optimal Trials for multi-objective Study or the
         optimal Trials for single-objective Study. The definition of
         pareto-optimal can be checked in wiki page.
         https://en.wikipedia.org/wiki/Pareto_efficiency