Debian Codegraph @

googleapis/cloud/dataqna/v1alpha/alias.go

raw
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by aliasgen. DO NOT EDIT.
16
17 // Package dataqna aliases all exported identifiers in package
18 // "cloud.google.com/go/dataqna/apiv1alpha/dataqnapb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package dataqna
24
25 import (
26 src "cloud.google.com/go/dataqna/apiv1alpha/dataqnapb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
31 const (
32 AnnotatedString_BLOCKED = src.AnnotatedString_BLOCKED
33 AnnotatedString_DIMENSION = src.AnnotatedString_DIMENSION
34 AnnotatedString_FILTER = src.AnnotatedString_FILTER
35 AnnotatedString_MARKUP_TYPE_UNSPECIFIED = src.AnnotatedString_MARKUP_TYPE_UNSPECIFIED
36 AnnotatedString_METRIC = src.AnnotatedString_METRIC
37 AnnotatedString_ROW = src.AnnotatedString_ROW
38 AnnotatedString_UNUSED = src.AnnotatedString_UNUSED
39 ExecutionInfo_FAILED = src.ExecutionInfo_FAILED
40 ExecutionInfo_JOB_EXECUTION_STATE_UNSPECIFIED = src.ExecutionInfo_JOB_EXECUTION_STATE_UNSPECIFIED
41 ExecutionInfo_NOT_EXECUTED = src.ExecutionInfo_NOT_EXECUTED
42 ExecutionInfo_RUNNING = src.ExecutionInfo_RUNNING
43 ExecutionInfo_SUCCEEDED = src.ExecutionInfo_SUCCEEDED
44 InterpretEntity_DIMENSION = src.InterpretEntity_DIMENSION
45 InterpretEntity_INTERPRET_ENTITY_UNSPECIFIED = src.InterpretEntity_INTERPRET_ENTITY_UNSPECIFIED
46 InterpretEntity_METRIC = src.InterpretEntity_METRIC
47 InterpretError_FAILED_TO_ANSWER = src.InterpretError_FAILED_TO_ANSWER
48 InterpretError_FAILED_TO_UNDERSTAND = src.InterpretError_FAILED_TO_UNDERSTAND
49 InterpretError_INTERPRET_ERROR_CODE_UNSPECIFIED = src.InterpretError_INTERPRET_ERROR_CODE_UNSPECIFIED
50 InterpretError_INVALID_QUERY = src.InterpretError_INVALID_QUERY
51 InterpretationStructure_AREA_CHART = src.InterpretationStructure_AREA_CHART
52 InterpretationStructure_BAR_CHART = src.InterpretationStructure_BAR_CHART
53 InterpretationStructure_CHART_NOT_UNDERSTOOD = src.InterpretationStructure_CHART_NOT_UNDERSTOOD
54 InterpretationStructure_COLUMN_CHART = src.InterpretationStructure_COLUMN_CHART
55 InterpretationStructure_COMBO_CHART = src.InterpretationStructure_COMBO_CHART
56 InterpretationStructure_GENERIC_CHART = src.InterpretationStructure_GENERIC_CHART
57 InterpretationStructure_HISTOGRAM = src.InterpretationStructure_HISTOGRAM
58 InterpretationStructure_LINE_CHART = src.InterpretationStructure_LINE_CHART
59 InterpretationStructure_PIE_CHART = src.InterpretationStructure_PIE_CHART
60 InterpretationStructure_SCATTER_PLOT = src.InterpretationStructure_SCATTER_PLOT
61 InterpretationStructure_TABLE = src.InterpretationStructure_TABLE
62 InterpretationStructure_TIMELINE = src.InterpretationStructure_TIMELINE
63 InterpretationStructure_VISUALIZATION_TYPE_UNSPECIFIED = src.InterpretationStructure_VISUALIZATION_TYPE_UNSPECIFIED
64 SuggestionType_ENTITY = src.SuggestionType_ENTITY
65 SuggestionType_SUGGESTION_TYPE_UNSPECIFIED = src.SuggestionType_SUGGESTION_TYPE_UNSPECIFIED
66 SuggestionType_TEMPLATE = src.SuggestionType_TEMPLATE
67 UserFeedback_NEGATIVE = src.UserFeedback_NEGATIVE
68 UserFeedback_POSITIVE = src.UserFeedback_POSITIVE
69 UserFeedback_USER_FEEDBACK_RATING_UNSPECIFIED = src.UserFeedback_USER_FEEDBACK_RATING_UNSPECIFIED
70 )
71
72 // Deprecated: Please use vars in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
73 var (
74 AnnotatedString_SemanticMarkupType_name = src.AnnotatedString_SemanticMarkupType_name
75 AnnotatedString_SemanticMarkupType_value = src.AnnotatedString_SemanticMarkupType_value
76 ExecutionInfo_JobExecutionState_name = src.ExecutionInfo_JobExecutionState_name
77 ExecutionInfo_JobExecutionState_value = src.ExecutionInfo_JobExecutionState_value
78 File_google_cloud_dataqna_v1alpha_annotated_string_proto = src.File_google_cloud_dataqna_v1alpha_annotated_string_proto
79 File_google_cloud_dataqna_v1alpha_auto_suggestion_service_proto = src.File_google_cloud_dataqna_v1alpha_auto_suggestion_service_proto
80 File_google_cloud_dataqna_v1alpha_question_proto = src.File_google_cloud_dataqna_v1alpha_question_proto
81 File_google_cloud_dataqna_v1alpha_question_service_proto = src.File_google_cloud_dataqna_v1alpha_question_service_proto
82 File_google_cloud_dataqna_v1alpha_user_feedback_proto = src.File_google_cloud_dataqna_v1alpha_user_feedback_proto
83 InterpretEntity_name = src.InterpretEntity_name
84 InterpretEntity_value = src.InterpretEntity_value
85 InterpretError_InterpretErrorCode_name = src.InterpretError_InterpretErrorCode_name
86 InterpretError_InterpretErrorCode_value = src.InterpretError_InterpretErrorCode_value
87 InterpretationStructure_VisualizationType_name = src.InterpretationStructure_VisualizationType_name
88 InterpretationStructure_VisualizationType_value = src.InterpretationStructure_VisualizationType_value
89 SuggestionType_name = src.SuggestionType_name
90 SuggestionType_value = src.SuggestionType_value
91 UserFeedback_UserFeedbackRating_name = src.UserFeedback_UserFeedbackRating_name
92 UserFeedback_UserFeedbackRating_value = src.UserFeedback_UserFeedbackRating_value
93 )
94
95 // Describes string annotation from both semantic and formatting perspectives.
96 // Example: User Query: top countries by population in Africa 0 4 14 17 28 31
97 // 37 Table Data: + "country" - dimension + "population" - metric + "Africa" -
98 // value in the "continent" column text_formatted = `"top countries by
99 // population in Africa"` html_formatted = `"top <b>countries</b> by
100 // <b>population</b> in <i>Africa</i>"` ``` markups = [ {DIMENSION, 4, 12}, //
101 // 'countries' {METRIC, 17, 26}, // 'population' {FILTER, 31, 36} // 'Africa' ]
102 // ``` Note that html formattings for 'DIMENSION' and 'METRIC' are the same,
103 // while semantic markups are different.
104 //
105 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
106 type AnnotatedString = src.AnnotatedString
107
108 // Semantic markup denotes a substring (by index and length) with markup
109 // information.
110 //
111 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
112 type AnnotatedString_SemanticMarkup = src.AnnotatedString_SemanticMarkup
113
114 // Semantic markup types.
115 //
116 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
117 type AnnotatedString_SemanticMarkupType = src.AnnotatedString_SemanticMarkupType
118
119 // AutoSuggestionServiceClient is the client API for AutoSuggestionService
120 // service. For semantics around ctx use and closing/ending streaming RPCs,
121 // please refer to
122 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
123 //
124 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
125 type AutoSuggestionServiceClient = src.AutoSuggestionServiceClient
126
127 // AutoSuggestionServiceServer is the server API for AutoSuggestionService
128 // service.
129 //
130 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
131 type AutoSuggestionServiceServer = src.AutoSuggestionServiceServer
132
133 // BigQuery job information. This can be used to query the BigQuery API and
134 // retrieve the current job's status (using
135 // [jobs.get](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/get)).
136 //
137 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
138 type BigQueryJob = src.BigQueryJob
139
140 // Request to create a question resource.
141 //
142 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
143 type CreateQuestionRequest = src.CreateQuestionRequest
144
145 // Representation of the data query for the backend. This is provided for
146 // informational purposes only. Clients should not use it to send it to the
147 // backend directly, but rather use the `execute` RPC to trigger the execution.
148 // Using the `execute` RPC is needed in order to track the state of a question
149 // and report on it correctly to the data administrators.
150 //
151 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
152 type DataQuery = src.DataQuery
153
154 // Configuriation of debug flags.
155 //
156 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
157 type DebugFlags = src.DebugFlags
158
159 // Request to execute an interpretation.
160 //
161 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
162 type ExecuteQuestionRequest = src.ExecuteQuestionRequest
163
164 // Information about the backend status (such as BigQuery) of the execution.
165 //
166 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
167 type ExecutionInfo = src.ExecutionInfo
168
169 // Enum of possible job execution statuses.
170 //
171 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
172 type ExecutionInfo_JobExecutionState = src.ExecutionInfo_JobExecutionState
173
174 // A request to get a previously created question.
175 //
176 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
177 type GetQuestionRequest = src.GetQuestionRequest
178
179 // Request to get user feedback.
180 //
181 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
182 type GetUserFeedbackRequest = src.GetUserFeedbackRequest
183
184 // Human readable interpretation.
185 //
186 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
187 type HumanReadable = src.HumanReadable
188
189 // Query entities of an interpretation.
190 //
191 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
192 type InterpretEntity = src.InterpretEntity
193
194 // Details on the failure to interpret the question.
195 //
196 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
197 type InterpretError = src.InterpretError
198
199 // Details about a query that was too ambiguous. Currently, the message has no
200 // fields and its presence signals that there was ambiguity.
201 //
202 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
203 type InterpretError_InterpretAmbiguityDetails = src.InterpretError_InterpretAmbiguityDetails
204
205 // The interpret error code provides an error category why the interpretation
206 // failed.
207 //
208 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
209 type InterpretError_InterpretErrorCode = src.InterpretError_InterpretErrorCode
210
211 // Details on interpretation failure.
212 //
213 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
214 type InterpretError_InterpretErrorDetails = src.InterpretError_InterpretErrorDetails
215
216 // Details about an incomplete query.
217 //
218 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
219 type InterpretError_InterpretIncompleteQueryDetails = src.InterpretError_InterpretIncompleteQueryDetails
220
221 // Details about unsupported parts in a query.
222 //
223 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
224 type InterpretError_InterpretUnsupportedDetails = src.InterpretError_InterpretUnsupportedDetails
225
226 // An interpretation of a natural language query.
227 //
228 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
229 type Interpretation = src.Interpretation
230
231 // Information about the interpretation structure that helps to understand and
232 // visualize the response.
233 //
234 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
235 type InterpretationStructure = src.InterpretationStructure
236
237 // Information about a column.
238 //
239 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
240 type InterpretationStructure_ColumnInfo = src.InterpretationStructure_ColumnInfo
241
242 // Enumeration of visualzation types to use for query response data.
243 //
244 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
245 type InterpretationStructure_VisualizationType = src.InterpretationStructure_VisualizationType
246
247 // The question resource represents a natural language query, its settings,
248 // understanding generated by the system, and answer retrieval status. A
249 // question cannot be modified.
250 //
251 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
252 type Question = src.Question
253
254 // QuestionServiceClient is the client API for QuestionService service. For
255 // semantics around ctx use and closing/ending streaming RPCs, please refer to
256 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
257 //
258 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
259 type QuestionServiceClient = src.QuestionServiceClient
260
261 // QuestionServiceServer is the server API for QuestionService service.
262 //
263 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
264 type QuestionServiceServer = src.QuestionServiceServer
265
266 // Request for query suggestions.
267 //
268 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
269 type SuggestQueriesRequest = src.SuggestQueriesRequest
270
271 // Response to SuggestQueries.
272 //
273 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
274 type SuggestQueriesResponse = src.SuggestQueriesResponse
275
276 // A suggestion for a query with a ranking score.
277 //
278 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
279 type Suggestion = src.Suggestion
280
281 // Detailed information about the suggestion.
282 //
283 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
284 type SuggestionInfo = src.SuggestionInfo
285
286 // MatchInfo describes which part of suggestion matched with data in user
287 // typed query. This can be used to highlight matching parts in the UI. This is
288 // different from the annotations provided in annotated_suggestion. The
289 // annotated_suggestion provides information about the semantic meaning, while
290 // this provides information about how it relates to the input. Example: user
291 // query: `top products` ``` annotated_suggestion { text_formatted = "top
292 // product_group" html_formatted = "top <b>product_group</b>" markups { {type:
293 // TEXT, start_char_index: 0, length: 3} {type: DIMENSION, start_char_index: 4,
294 // length: 13} } } query_matches { { start_char_index: 0, length: 3 } {
295 // start_char_index: 4, length: 7} } ```
296 //
297 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
298 type SuggestionInfo_MatchInfo = src.SuggestionInfo_MatchInfo
299
300 // The type of suggestion.
301 //
302 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
303 type SuggestionType = src.SuggestionType
304
305 // UnimplementedAutoSuggestionServiceServer can be embedded to have forward
306 // compatible implementations.
307 //
308 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
309 type UnimplementedAutoSuggestionServiceServer = src.UnimplementedAutoSuggestionServiceServer
310
311 // UnimplementedQuestionServiceServer can be embedded to have forward
312 // compatible implementations.
313 //
314 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
315 type UnimplementedQuestionServiceServer = src.UnimplementedQuestionServiceServer
316
317 // Request to updates user feedback.
318 //
319 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
320 type UpdateUserFeedbackRequest = src.UpdateUserFeedbackRequest
321
322 // Feedback provided by a user.
323 //
324 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
325 type UserFeedback = src.UserFeedback
326
327 // Enumeration of feedback ratings.
328 //
329 // Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
330 type UserFeedback_UserFeedbackRating = src.UserFeedback_UserFeedbackRating
331
332 // Deprecated: Please use funcs in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
333 func NewAutoSuggestionServiceClient(cc grpc.ClientConnInterface) AutoSuggestionServiceClient {
334 return src.NewAutoSuggestionServiceClient(cc)
335 }
336
337 // Deprecated: Please use funcs in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
338 func NewQuestionServiceClient(cc grpc.ClientConnInterface) QuestionServiceClient {
339 return src.NewQuestionServiceClient(cc)
340 }
341
342 // Deprecated: Please use funcs in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
343 func RegisterAutoSuggestionServiceServer(s *grpc.Server, srv AutoSuggestionServiceServer) {
344 src.RegisterAutoSuggestionServiceServer(s, srv)
345 }
346
347 // Deprecated: Please use funcs in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
348 func RegisterQuestionServiceServer(s *grpc.Server, srv QuestionServiceServer) {
349 src.RegisterQuestionServiceServer(s, srv)
350 }