Package com.google.cloud.ces.v1beta
Class EvaluationServiceGrpc.EvaluationServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<EvaluationServiceGrpc.EvaluationServiceBlockingV2Stub>
com.google.cloud.ces.v1beta.EvaluationServiceGrpc.EvaluationServiceBlockingV2Stub
- Enclosing class:
- EvaluationServiceGrpc
public static final class EvaluationServiceGrpc.EvaluationServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<EvaluationServiceGrpc.EvaluationServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service EvaluationService.
EvaluationService exposes methods to perform evaluation for the CES app.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createEvaluation(CreateEvaluationRequest request) Creates an evaluation.Creates an evaluation dataset.Creates an evaluation expectation.Creates a scheduled evaluation run.com.google.protobuf.EmptydeleteEvaluation(DeleteEvaluationRequest request) Deletes an evaluation.com.google.protobuf.EmptyDeletes an evaluation dataset.com.google.protobuf.EmptyDeletes an evaluation expectation.com.google.protobuf.EmptyDeletes an evaluation result.Deletes an evaluation run.com.google.protobuf.EmptyDeletes a scheduled evaluation run.Exports evaluations.Creates a golden evaluation from a conversation.getEvaluation(GetEvaluationRequest request) Gets details of the specified evaluation.Gets details of the specified evaluation dataset.Gets details of the specified evaluation expectation.Gets details of the specified evaluation result.getEvaluationRun(GetEvaluationRunRequest request) Gets details of the specified evaluation run.Gets details of the specified scheduled evaluation run.Imports evaluations into the app.Lists all evaluation datasets in the given app.Lists all evaluation expectations in the given app.Lists all evaluation results for a given evaluation.Lists all evaluation runs in the given app.listEvaluations(ListEvaluationsRequest request) Lists all evaluations in the given app.Lists all scheduled evaluation runs in the given app.runEvaluation(RunEvaluationRequest request) Runs an evaluation of the app.testPersonaVoice(TestPersonaVoiceRequest request) Tests the voice of a persona.updateEvaluation(UpdateEvaluationRequest request) Updates an evaluation.Updates an evaluation dataset.Updates an evaluation expectation.Updates a scheduled evaluation run.Uploads audio for use in Golden Evaluations.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected EvaluationServiceGrpc.EvaluationServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EvaluationServiceGrpc.EvaluationServiceBlockingV2Stub>
-
runEvaluation
Runs an evaluation of the app.
- Throws:
io.grpc.StatusException
-
uploadEvaluationAudio
public UploadEvaluationAudioResponse uploadEvaluationAudio(UploadEvaluationAudioRequest request) throws io.grpc.StatusException Uploads audio for use in Golden Evaluations. Stores the audio in the Cloud Storage bucket defined in 'App.logging_settings.evaluation_audio_recording_config.gcs_bucket' and returns a transcript.
- Throws:
io.grpc.StatusException
-
createEvaluation
Creates an evaluation.
- Throws:
io.grpc.StatusException
-
generateEvaluation
public Operation generateEvaluation(GenerateEvaluationRequest request) throws io.grpc.StatusException Creates a golden evaluation from a conversation.
- Throws:
io.grpc.StatusException
-
importEvaluations
Imports evaluations into the app.
- Throws:
io.grpc.StatusException
-
createEvaluationDataset
public EvaluationDataset createEvaluationDataset(CreateEvaluationDatasetRequest request) throws io.grpc.StatusException Creates an evaluation dataset.
- Throws:
io.grpc.StatusException
-
updateEvaluation
Updates an evaluation.
- Throws:
io.grpc.StatusException
-
updateEvaluationDataset
public EvaluationDataset updateEvaluationDataset(UpdateEvaluationDatasetRequest request) throws io.grpc.StatusException Updates an evaluation dataset.
- Throws:
io.grpc.StatusException
-
deleteEvaluation
public com.google.protobuf.Empty deleteEvaluation(DeleteEvaluationRequest request) throws io.grpc.StatusException Deletes an evaluation.
- Throws:
io.grpc.StatusException
-
deleteEvaluationResult
public com.google.protobuf.Empty deleteEvaluationResult(DeleteEvaluationResultRequest request) throws io.grpc.StatusException Deletes an evaluation result.
- Throws:
io.grpc.StatusException
-
deleteEvaluationDataset
public com.google.protobuf.Empty deleteEvaluationDataset(DeleteEvaluationDatasetRequest request) throws io.grpc.StatusException Deletes an evaluation dataset.
- Throws:
io.grpc.StatusException
-
deleteEvaluationRun
public Operation deleteEvaluationRun(DeleteEvaluationRunRequest request) throws io.grpc.StatusException Deletes an evaluation run.
- Throws:
io.grpc.StatusException
-
getEvaluation
Gets details of the specified evaluation.
- Throws:
io.grpc.StatusException
-
getEvaluationResult
public EvaluationResult getEvaluationResult(GetEvaluationResultRequest request) throws io.grpc.StatusException Gets details of the specified evaluation result.
- Throws:
io.grpc.StatusException
-
getEvaluationDataset
public EvaluationDataset getEvaluationDataset(GetEvaluationDatasetRequest request) throws io.grpc.StatusException Gets details of the specified evaluation dataset.
- Throws:
io.grpc.StatusException
-
getEvaluationRun
public EvaluationRun getEvaluationRun(GetEvaluationRunRequest request) throws io.grpc.StatusException Gets details of the specified evaluation run.
- Throws:
io.grpc.StatusException
-
listEvaluations
public ListEvaluationsResponse listEvaluations(ListEvaluationsRequest request) throws io.grpc.StatusException Lists all evaluations in the given app.
- Throws:
io.grpc.StatusException
-
listEvaluationResults
public ListEvaluationResultsResponse listEvaluationResults(ListEvaluationResultsRequest request) throws io.grpc.StatusException Lists all evaluation results for a given evaluation.
- Throws:
io.grpc.StatusException
-
listEvaluationDatasets
public ListEvaluationDatasetsResponse listEvaluationDatasets(ListEvaluationDatasetsRequest request) throws io.grpc.StatusException Lists all evaluation datasets in the given app.
- Throws:
io.grpc.StatusException
-
listEvaluationRuns
public ListEvaluationRunsResponse listEvaluationRuns(ListEvaluationRunsRequest request) throws io.grpc.StatusException Lists all evaluation runs in the given app.
- Throws:
io.grpc.StatusException
-
listEvaluationExpectations
public ListEvaluationExpectationsResponse listEvaluationExpectations(ListEvaluationExpectationsRequest request) throws io.grpc.StatusException Lists all evaluation expectations in the given app.
- Throws:
io.grpc.StatusException
-
getEvaluationExpectation
public EvaluationExpectation getEvaluationExpectation(GetEvaluationExpectationRequest request) throws io.grpc.StatusException Gets details of the specified evaluation expectation.
- Throws:
io.grpc.StatusException
-
createEvaluationExpectation
public EvaluationExpectation createEvaluationExpectation(CreateEvaluationExpectationRequest request) throws io.grpc.StatusException Creates an evaluation expectation.
- Throws:
io.grpc.StatusException
-
updateEvaluationExpectation
public EvaluationExpectation updateEvaluationExpectation(UpdateEvaluationExpectationRequest request) throws io.grpc.StatusException Updates an evaluation expectation.
- Throws:
io.grpc.StatusException
-
deleteEvaluationExpectation
public com.google.protobuf.Empty deleteEvaluationExpectation(DeleteEvaluationExpectationRequest request) throws io.grpc.StatusException Deletes an evaluation expectation.
- Throws:
io.grpc.StatusException
-
createScheduledEvaluationRun
public ScheduledEvaluationRun createScheduledEvaluationRun(CreateScheduledEvaluationRunRequest request) throws io.grpc.StatusException Creates a scheduled evaluation run.
- Throws:
io.grpc.StatusException
-
getScheduledEvaluationRun
public ScheduledEvaluationRun getScheduledEvaluationRun(GetScheduledEvaluationRunRequest request) throws io.grpc.StatusException Gets details of the specified scheduled evaluation run.
- Throws:
io.grpc.StatusException
-
listScheduledEvaluationRuns
public ListScheduledEvaluationRunsResponse listScheduledEvaluationRuns(ListScheduledEvaluationRunsRequest request) throws io.grpc.StatusException Lists all scheduled evaluation runs in the given app.
- Throws:
io.grpc.StatusException
-
updateScheduledEvaluationRun
public ScheduledEvaluationRun updateScheduledEvaluationRun(UpdateScheduledEvaluationRunRequest request) throws io.grpc.StatusException Updates a scheduled evaluation run.
- Throws:
io.grpc.StatusException
-
deleteScheduledEvaluationRun
public com.google.protobuf.Empty deleteScheduledEvaluationRun(DeleteScheduledEvaluationRunRequest request) throws io.grpc.StatusException Deletes a scheduled evaluation run.
- Throws:
io.grpc.StatusException
-
testPersonaVoice
public TestPersonaVoiceResponse testPersonaVoice(TestPersonaVoiceRequest request) throws io.grpc.StatusException Tests the voice of a persona. Also accepts a default persona.
- Throws:
io.grpc.StatusException
-
exportEvaluations
Exports evaluations.
- Throws:
io.grpc.StatusException
-