public static final class TestCasesGrpc.TestCasesFutureStub extends io.grpc.stub.AbstractFutureStub<TestCasesGrpc.TestCasesFutureStub>
Service for managing [Test Cases][google.cloud.dialogflow.cx.v3.TestCase] and [Test Case Results][google.cloud.dialogflow.cx.v3.TestCaseResult].
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
batchDeleteTestCases(BatchDeleteTestCasesRequest request)
Batch deletes test cases.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
batchRunTestCases(BatchRunTestCasesRequest request)
Kicks off a batch run of test cases.
|
protected TestCasesGrpc.TestCasesFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<CalculateCoverageResponse> |
calculateCoverage(CalculateCoverageRequest request)
Calculates the test coverage for an agent.
|
com.google.common.util.concurrent.ListenableFuture<TestCase> |
createTestCase(CreateTestCaseRequest request)
Creates a test case for the given agent.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
exportTestCases(ExportTestCasesRequest request)
Exports the test cases under the agent to a Cloud Storage bucket or a local
file.
|
com.google.common.util.concurrent.ListenableFuture<TestCase> |
getTestCase(GetTestCaseRequest request)
Gets a test case.
|
com.google.common.util.concurrent.ListenableFuture<TestCaseResult> |
getTestCaseResult(GetTestCaseResultRequest request)
Gets a test case result.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
importTestCases(ImportTestCasesRequest request)
Imports the test cases from a Cloud Storage bucket or a local file.
|
com.google.common.util.concurrent.ListenableFuture<ListTestCaseResultsResponse> |
listTestCaseResults(ListTestCaseResultsRequest request)
Fetches the list of run results for the given test case.
|
com.google.common.util.concurrent.ListenableFuture<ListTestCasesResponse> |
listTestCases(ListTestCasesRequest request)
Fetches a list of test cases for a given agent.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
runTestCase(RunTestCaseRequest request)
Kicks off a test case run.
|
com.google.common.util.concurrent.ListenableFuture<TestCase> |
updateTestCase(UpdateTestCaseRequest request)
Updates the specified test case.
|
protected TestCasesGrpc.TestCasesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<TestCasesGrpc.TestCasesFutureStub>public com.google.common.util.concurrent.ListenableFuture<ListTestCasesResponse> listTestCases(ListTestCasesRequest request)
Fetches a list of test cases for a given agent.
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> batchDeleteTestCases(BatchDeleteTestCasesRequest request)
Batch deletes test cases.
public com.google.common.util.concurrent.ListenableFuture<TestCase> getTestCase(GetTestCaseRequest request)
Gets a test case.
public com.google.common.util.concurrent.ListenableFuture<TestCase> createTestCase(CreateTestCaseRequest request)
Creates a test case for the given agent.
public com.google.common.util.concurrent.ListenableFuture<TestCase> updateTestCase(UpdateTestCaseRequest request)
Updates the specified test case.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> runTestCase(RunTestCaseRequest request)
Kicks off a test case run. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata] - `response`: [RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse]
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> batchRunTestCases(BatchRunTestCasesRequest request)
Kicks off a batch run of test cases. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata] - `response`: [BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse]
public com.google.common.util.concurrent.ListenableFuture<CalculateCoverageResponse> calculateCoverage(CalculateCoverageRequest request)
Calculates the test coverage for an agent.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> importTestCases(ImportTestCasesRequest request)
Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwrite any existing ones. The provided ID in the imported test case is neglected. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata] - `response`: [ImportTestCasesResponse][google.cloud.dialogflow.cx.v3.ImportTestCasesResponse]
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> exportTestCases(ExportTestCasesRequest request)
Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata] - `response`: [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3.ExportTestCasesResponse]
public com.google.common.util.concurrent.ListenableFuture<ListTestCaseResultsResponse> listTestCaseResults(ListTestCaseResultsRequest request)
Fetches the list of run results for the given test case. A maximum of 100 results are kept for each test case.
public com.google.common.util.concurrent.ListenableFuture<TestCaseResult> getTestCaseResult(GetTestCaseResultRequest request)
Gets a test case result.
Copyright © 2023 Google LLC. All rights reserved.