• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2022 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.google.cloud.dialogflow.cx.v3.stub;
18 
19 import static com.google.cloud.dialogflow.cx.v3.TestCasesClient.ListLocationsPagedResponse;
20 import static com.google.cloud.dialogflow.cx.v3.TestCasesClient.ListTestCaseResultsPagedResponse;
21 import static com.google.cloud.dialogflow.cx.v3.TestCasesClient.ListTestCasesPagedResponse;
22 
23 import com.google.api.gax.core.BackgroundResource;
24 import com.google.api.gax.rpc.OperationCallable;
25 import com.google.api.gax.rpc.UnaryCallable;
26 import com.google.cloud.dialogflow.cx.v3.BatchDeleteTestCasesRequest;
27 import com.google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata;
28 import com.google.cloud.dialogflow.cx.v3.BatchRunTestCasesRequest;
29 import com.google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse;
30 import com.google.cloud.dialogflow.cx.v3.CalculateCoverageRequest;
31 import com.google.cloud.dialogflow.cx.v3.CalculateCoverageResponse;
32 import com.google.cloud.dialogflow.cx.v3.CreateTestCaseRequest;
33 import com.google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata;
34 import com.google.cloud.dialogflow.cx.v3.ExportTestCasesRequest;
35 import com.google.cloud.dialogflow.cx.v3.ExportTestCasesResponse;
36 import com.google.cloud.dialogflow.cx.v3.GetTestCaseRequest;
37 import com.google.cloud.dialogflow.cx.v3.GetTestCaseResultRequest;
38 import com.google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata;
39 import com.google.cloud.dialogflow.cx.v3.ImportTestCasesRequest;
40 import com.google.cloud.dialogflow.cx.v3.ImportTestCasesResponse;
41 import com.google.cloud.dialogflow.cx.v3.ListTestCaseResultsRequest;
42 import com.google.cloud.dialogflow.cx.v3.ListTestCaseResultsResponse;
43 import com.google.cloud.dialogflow.cx.v3.ListTestCasesRequest;
44 import com.google.cloud.dialogflow.cx.v3.ListTestCasesResponse;
45 import com.google.cloud.dialogflow.cx.v3.RunTestCaseMetadata;
46 import com.google.cloud.dialogflow.cx.v3.RunTestCaseRequest;
47 import com.google.cloud.dialogflow.cx.v3.RunTestCaseResponse;
48 import com.google.cloud.dialogflow.cx.v3.TestCase;
49 import com.google.cloud.dialogflow.cx.v3.TestCaseResult;
50 import com.google.cloud.dialogflow.cx.v3.UpdateTestCaseRequest;
51 import com.google.cloud.location.GetLocationRequest;
52 import com.google.cloud.location.ListLocationsRequest;
53 import com.google.cloud.location.ListLocationsResponse;
54 import com.google.cloud.location.Location;
55 import com.google.longrunning.Operation;
56 import com.google.longrunning.stub.OperationsStub;
57 import com.google.protobuf.Empty;
58 import javax.annotation.Generated;
59 
60 // AUTO-GENERATED DOCUMENTATION AND CLASS.
61 /**
62  * Base stub class for the TestCases service API.
63  *
64  * <p>This class is for advanced usage and reflects the underlying API directly.
65  */
66 @Generated("by gapic-generator-java")
67 public abstract class TestCasesStub implements BackgroundResource {
68 
getOperationsStub()69   public OperationsStub getOperationsStub() {
70     return null;
71   }
72 
getHttpJsonOperationsStub()73   public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() {
74     return null;
75   }
76 
77   public UnaryCallable<ListTestCasesRequest, ListTestCasesPagedResponse>
listTestCasesPagedCallable()78       listTestCasesPagedCallable() {
79     throw new UnsupportedOperationException("Not implemented: listTestCasesPagedCallable()");
80   }
81 
listTestCasesCallable()82   public UnaryCallable<ListTestCasesRequest, ListTestCasesResponse> listTestCasesCallable() {
83     throw new UnsupportedOperationException("Not implemented: listTestCasesCallable()");
84   }
85 
batchDeleteTestCasesCallable()86   public UnaryCallable<BatchDeleteTestCasesRequest, Empty> batchDeleteTestCasesCallable() {
87     throw new UnsupportedOperationException("Not implemented: batchDeleteTestCasesCallable()");
88   }
89 
getTestCaseCallable()90   public UnaryCallable<GetTestCaseRequest, TestCase> getTestCaseCallable() {
91     throw new UnsupportedOperationException("Not implemented: getTestCaseCallable()");
92   }
93 
createTestCaseCallable()94   public UnaryCallable<CreateTestCaseRequest, TestCase> createTestCaseCallable() {
95     throw new UnsupportedOperationException("Not implemented: createTestCaseCallable()");
96   }
97 
updateTestCaseCallable()98   public UnaryCallable<UpdateTestCaseRequest, TestCase> updateTestCaseCallable() {
99     throw new UnsupportedOperationException("Not implemented: updateTestCaseCallable()");
100   }
101 
102   public OperationCallable<RunTestCaseRequest, RunTestCaseResponse, RunTestCaseMetadata>
runTestCaseOperationCallable()103       runTestCaseOperationCallable() {
104     throw new UnsupportedOperationException("Not implemented: runTestCaseOperationCallable()");
105   }
106 
runTestCaseCallable()107   public UnaryCallable<RunTestCaseRequest, Operation> runTestCaseCallable() {
108     throw new UnsupportedOperationException("Not implemented: runTestCaseCallable()");
109   }
110 
111   public OperationCallable<
112           BatchRunTestCasesRequest, BatchRunTestCasesResponse, BatchRunTestCasesMetadata>
batchRunTestCasesOperationCallable()113       batchRunTestCasesOperationCallable() {
114     throw new UnsupportedOperationException(
115         "Not implemented: batchRunTestCasesOperationCallable()");
116   }
117 
batchRunTestCasesCallable()118   public UnaryCallable<BatchRunTestCasesRequest, Operation> batchRunTestCasesCallable() {
119     throw new UnsupportedOperationException("Not implemented: batchRunTestCasesCallable()");
120   }
121 
122   public UnaryCallable<CalculateCoverageRequest, CalculateCoverageResponse>
calculateCoverageCallable()123       calculateCoverageCallable() {
124     throw new UnsupportedOperationException("Not implemented: calculateCoverageCallable()");
125   }
126 
127   public OperationCallable<ImportTestCasesRequest, ImportTestCasesResponse, ImportTestCasesMetadata>
importTestCasesOperationCallable()128       importTestCasesOperationCallable() {
129     throw new UnsupportedOperationException("Not implemented: importTestCasesOperationCallable()");
130   }
131 
importTestCasesCallable()132   public UnaryCallable<ImportTestCasesRequest, Operation> importTestCasesCallable() {
133     throw new UnsupportedOperationException("Not implemented: importTestCasesCallable()");
134   }
135 
136   public OperationCallable<ExportTestCasesRequest, ExportTestCasesResponse, ExportTestCasesMetadata>
exportTestCasesOperationCallable()137       exportTestCasesOperationCallable() {
138     throw new UnsupportedOperationException("Not implemented: exportTestCasesOperationCallable()");
139   }
140 
exportTestCasesCallable()141   public UnaryCallable<ExportTestCasesRequest, Operation> exportTestCasesCallable() {
142     throw new UnsupportedOperationException("Not implemented: exportTestCasesCallable()");
143   }
144 
145   public UnaryCallable<ListTestCaseResultsRequest, ListTestCaseResultsPagedResponse>
listTestCaseResultsPagedCallable()146       listTestCaseResultsPagedCallable() {
147     throw new UnsupportedOperationException("Not implemented: listTestCaseResultsPagedCallable()");
148   }
149 
150   public UnaryCallable<ListTestCaseResultsRequest, ListTestCaseResultsResponse>
listTestCaseResultsCallable()151       listTestCaseResultsCallable() {
152     throw new UnsupportedOperationException("Not implemented: listTestCaseResultsCallable()");
153   }
154 
getTestCaseResultCallable()155   public UnaryCallable<GetTestCaseResultRequest, TestCaseResult> getTestCaseResultCallable() {
156     throw new UnsupportedOperationException("Not implemented: getTestCaseResultCallable()");
157   }
158 
159   public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable()160       listLocationsPagedCallable() {
161     throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
162   }
163 
listLocationsCallable()164   public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() {
165     throw new UnsupportedOperationException("Not implemented: listLocationsCallable()");
166   }
167 
getLocationCallable()168   public UnaryCallable<GetLocationRequest, Location> getLocationCallable() {
169     throw new UnsupportedOperationException("Not implemented: getLocationCallable()");
170   }
171 
172   @Override
close()173   public abstract void close();
174 }
175