Debian Codegraph @

retail/apiv2beta/retailpb/generative_question_service.pb.go

raw
1 // Copyright 2025 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 protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/retail/v2beta/generative_question_service.proto
20
21 package retailpb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 grpc "google.golang.org/grpc"
27 codes "google.golang.org/grpc/codes"
28 status "google.golang.org/grpc/status"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
32 reflect "reflect"
33 sync "sync"
34 )
35
36 const (
37 // Verify that this generated code is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39 // Verify that runtime/protoimpl is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43 // Request for UpdateGenerativeQuestionsFeatureConfig method.
44 type UpdateGenerativeQuestionsFeatureConfigRequest struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49 // Required. The configuration managing the feature state.
50 GenerativeQuestionsFeatureConfig *GenerativeQuestionsFeatureConfig `protobuf:"bytes,2,opt,name=generative_questions_feature_config,json=generativeQuestionsFeatureConfig,proto3" json:"generative_questions_feature_config,omitempty"`
51 // Optional. Indicates which fields in the provided
52 // [GenerativeQuestionsFeatureConfig][google.cloud.retail.v2beta.GenerativeQuestionsFeatureConfig]
53 // to update. If not set or empty, all supported fields are updated.
54 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
55 }
56
57 func (x *UpdateGenerativeQuestionsFeatureConfigRequest) Reset() {
58 *x = UpdateGenerativeQuestionsFeatureConfigRequest{}
59 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63
64 func (x *UpdateGenerativeQuestionsFeatureConfigRequest) String() string {
65 return protoimpl.X.MessageStringOf(x)
66 }
67
68 func (*UpdateGenerativeQuestionsFeatureConfigRequest) ProtoMessage() {}
69
70 func (x *UpdateGenerativeQuestionsFeatureConfigRequest) ProtoReflect() protoreflect.Message {
71 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[0]
72 if x != nil {
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 if ms.LoadMessageInfo() == nil {
75 ms.StoreMessageInfo(mi)
76 }
77 return ms
78 }
79 return mi.MessageOf(x)
80 }
81
82 // Deprecated: Use UpdateGenerativeQuestionsFeatureConfigRequest.ProtoReflect.Descriptor instead.
83 func (*UpdateGenerativeQuestionsFeatureConfigRequest) Descriptor() ([]byte, []int) {
84 return file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescGZIP(), []int{0}
85 }
86
87 func (x *UpdateGenerativeQuestionsFeatureConfigRequest) GetGenerativeQuestionsFeatureConfig() *GenerativeQuestionsFeatureConfig {
88 if x != nil {
89 return x.GenerativeQuestionsFeatureConfig
90 }
91 return nil
92 }
93
94 func (x *UpdateGenerativeQuestionsFeatureConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
95 if x != nil {
96 return x.UpdateMask
97 }
98 return nil
99 }
100
101 // Request for GetGenerativeQuestionsFeatureConfig method.
102 type GetGenerativeQuestionsFeatureConfigRequest struct {
103 state protoimpl.MessageState
104 sizeCache protoimpl.SizeCache
105 unknownFields protoimpl.UnknownFields
106
107 // Required. Resource name of the parent catalog.
108 // Format: projects/{project}/locations/{location}/catalogs/{catalog}
109 Catalog string `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"`
110 }
111
112 func (x *GetGenerativeQuestionsFeatureConfigRequest) Reset() {
113 *x = GetGenerativeQuestionsFeatureConfigRequest{}
114 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[1]
115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
116 ms.StoreMessageInfo(mi)
117 }
118
119 func (x *GetGenerativeQuestionsFeatureConfigRequest) String() string {
120 return protoimpl.X.MessageStringOf(x)
121 }
122
123 func (*GetGenerativeQuestionsFeatureConfigRequest) ProtoMessage() {}
124
125 func (x *GetGenerativeQuestionsFeatureConfigRequest) ProtoReflect() protoreflect.Message {
126 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[1]
127 if x != nil {
128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
129 if ms.LoadMessageInfo() == nil {
130 ms.StoreMessageInfo(mi)
131 }
132 return ms
133 }
134 return mi.MessageOf(x)
135 }
136
137 // Deprecated: Use GetGenerativeQuestionsFeatureConfigRequest.ProtoReflect.Descriptor instead.
138 func (*GetGenerativeQuestionsFeatureConfigRequest) Descriptor() ([]byte, []int) {
139 return file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescGZIP(), []int{1}
140 }
141
142 func (x *GetGenerativeQuestionsFeatureConfigRequest) GetCatalog() string {
143 if x != nil {
144 return x.Catalog
145 }
146 return ""
147 }
148
149 // Request for ListQuestions method.
150 type ListGenerativeQuestionConfigsRequest struct {
151 state protoimpl.MessageState
152 sizeCache protoimpl.SizeCache
153 unknownFields protoimpl.UnknownFields
154
155 // Required. Resource name of the parent catalog.
156 // Format: projects/{project}/locations/{location}/catalogs/{catalog}
157 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
158 }
159
160 func (x *ListGenerativeQuestionConfigsRequest) Reset() {
161 *x = ListGenerativeQuestionConfigsRequest{}
162 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[2]
163 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
164 ms.StoreMessageInfo(mi)
165 }
166
167 func (x *ListGenerativeQuestionConfigsRequest) String() string {
168 return protoimpl.X.MessageStringOf(x)
169 }
170
171 func (*ListGenerativeQuestionConfigsRequest) ProtoMessage() {}
172
173 func (x *ListGenerativeQuestionConfigsRequest) ProtoReflect() protoreflect.Message {
174 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[2]
175 if x != nil {
176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
177 if ms.LoadMessageInfo() == nil {
178 ms.StoreMessageInfo(mi)
179 }
180 return ms
181 }
182 return mi.MessageOf(x)
183 }
184
185 // Deprecated: Use ListGenerativeQuestionConfigsRequest.ProtoReflect.Descriptor instead.
186 func (*ListGenerativeQuestionConfigsRequest) Descriptor() ([]byte, []int) {
187 return file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescGZIP(), []int{2}
188 }
189
190 func (x *ListGenerativeQuestionConfigsRequest) GetParent() string {
191 if x != nil {
192 return x.Parent
193 }
194 return ""
195 }
196
197 // Response for ListQuestions method.
198 type ListGenerativeQuestionConfigsResponse struct {
199 state protoimpl.MessageState
200 sizeCache protoimpl.SizeCache
201 unknownFields protoimpl.UnknownFields
202
203 // All the questions for a given catalog.
204 GenerativeQuestionConfigs []*GenerativeQuestionConfig `protobuf:"bytes,1,rep,name=generative_question_configs,json=generativeQuestionConfigs,proto3" json:"generative_question_configs,omitempty"`
205 }
206
207 func (x *ListGenerativeQuestionConfigsResponse) Reset() {
208 *x = ListGenerativeQuestionConfigsResponse{}
209 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[3]
210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
211 ms.StoreMessageInfo(mi)
212 }
213
214 func (x *ListGenerativeQuestionConfigsResponse) String() string {
215 return protoimpl.X.MessageStringOf(x)
216 }
217
218 func (*ListGenerativeQuestionConfigsResponse) ProtoMessage() {}
219
220 func (x *ListGenerativeQuestionConfigsResponse) ProtoReflect() protoreflect.Message {
221 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[3]
222 if x != nil {
223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
224 if ms.LoadMessageInfo() == nil {
225 ms.StoreMessageInfo(mi)
226 }
227 return ms
228 }
229 return mi.MessageOf(x)
230 }
231
232 // Deprecated: Use ListGenerativeQuestionConfigsResponse.ProtoReflect.Descriptor instead.
233 func (*ListGenerativeQuestionConfigsResponse) Descriptor() ([]byte, []int) {
234 return file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescGZIP(), []int{3}
235 }
236
237 func (x *ListGenerativeQuestionConfigsResponse) GetGenerativeQuestionConfigs() []*GenerativeQuestionConfig {
238 if x != nil {
239 return x.GenerativeQuestionConfigs
240 }
241 return nil
242 }
243
244 // Request for UpdateGenerativeQuestionConfig method.
245 type UpdateGenerativeQuestionConfigRequest struct {
246 state protoimpl.MessageState
247 sizeCache protoimpl.SizeCache
248 unknownFields protoimpl.UnknownFields
249
250 // Required. The question to update.
251 GenerativeQuestionConfig *GenerativeQuestionConfig `protobuf:"bytes,3,opt,name=generative_question_config,json=generativeQuestionConfig,proto3" json:"generative_question_config,omitempty"`
252 // Optional. Indicates which fields in the provided
253 // [GenerativeQuestionConfig][google.cloud.retail.v2beta.GenerativeQuestionConfig]
254 // to update. The following are NOT supported:
255 //
256 // * [GenerativeQuestionConfig.frequency][google.cloud.retail.v2beta.GenerativeQuestionConfig.frequency]
257 //
258 // If not set or empty, all supported fields are updated.
259 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
260 }
261
262 func (x *UpdateGenerativeQuestionConfigRequest) Reset() {
263 *x = UpdateGenerativeQuestionConfigRequest{}
264 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[4]
265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
266 ms.StoreMessageInfo(mi)
267 }
268
269 func (x *UpdateGenerativeQuestionConfigRequest) String() string {
270 return protoimpl.X.MessageStringOf(x)
271 }
272
273 func (*UpdateGenerativeQuestionConfigRequest) ProtoMessage() {}
274
275 func (x *UpdateGenerativeQuestionConfigRequest) ProtoReflect() protoreflect.Message {
276 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[4]
277 if x != nil {
278 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
279 if ms.LoadMessageInfo() == nil {
280 ms.StoreMessageInfo(mi)
281 }
282 return ms
283 }
284 return mi.MessageOf(x)
285 }
286
287 // Deprecated: Use UpdateGenerativeQuestionConfigRequest.ProtoReflect.Descriptor instead.
288 func (*UpdateGenerativeQuestionConfigRequest) Descriptor() ([]byte, []int) {
289 return file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescGZIP(), []int{4}
290 }
291
292 func (x *UpdateGenerativeQuestionConfigRequest) GetGenerativeQuestionConfig() *GenerativeQuestionConfig {
293 if x != nil {
294 return x.GenerativeQuestionConfig
295 }
296 return nil
297 }
298
299 func (x *UpdateGenerativeQuestionConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
300 if x != nil {
301 return x.UpdateMask
302 }
303 return nil
304 }
305
306 // Request for BatchUpdateGenerativeQuestionConfig method.
307 type BatchUpdateGenerativeQuestionConfigsRequest struct {
308 state protoimpl.MessageState
309 sizeCache protoimpl.SizeCache
310 unknownFields protoimpl.UnknownFields
311
312 // Optional. Resource name of the parent catalog.
313 // Format: projects/{project}/locations/{location}/catalogs/{catalog}
314 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
315 // Required. The updates question configs.
316 Requests []*UpdateGenerativeQuestionConfigRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"`
317 }
318
319 func (x *BatchUpdateGenerativeQuestionConfigsRequest) Reset() {
320 *x = BatchUpdateGenerativeQuestionConfigsRequest{}
321 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[5]
322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
323 ms.StoreMessageInfo(mi)
324 }
325
326 func (x *BatchUpdateGenerativeQuestionConfigsRequest) String() string {
327 return protoimpl.X.MessageStringOf(x)
328 }
329
330 func (*BatchUpdateGenerativeQuestionConfigsRequest) ProtoMessage() {}
331
332 func (x *BatchUpdateGenerativeQuestionConfigsRequest) ProtoReflect() protoreflect.Message {
333 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[5]
334 if x != nil {
335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
336 if ms.LoadMessageInfo() == nil {
337 ms.StoreMessageInfo(mi)
338 }
339 return ms
340 }
341 return mi.MessageOf(x)
342 }
343
344 // Deprecated: Use BatchUpdateGenerativeQuestionConfigsRequest.ProtoReflect.Descriptor instead.
345 func (*BatchUpdateGenerativeQuestionConfigsRequest) Descriptor() ([]byte, []int) {
346 return file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescGZIP(), []int{5}
347 }
348
349 func (x *BatchUpdateGenerativeQuestionConfigsRequest) GetParent() string {
350 if x != nil {
351 return x.Parent
352 }
353 return ""
354 }
355
356 func (x *BatchUpdateGenerativeQuestionConfigsRequest) GetRequests() []*UpdateGenerativeQuestionConfigRequest {
357 if x != nil {
358 return x.Requests
359 }
360 return nil
361 }
362
363 // Aggregated response for UpdateGenerativeQuestionConfig method.
364 type BatchUpdateGenerativeQuestionConfigsResponse struct {
365 state protoimpl.MessageState
366 sizeCache protoimpl.SizeCache
367 unknownFields protoimpl.UnknownFields
368
369 // Optional. The updates question configs.
370 GenerativeQuestionConfigs []*GenerativeQuestionConfig `protobuf:"bytes,1,rep,name=generative_question_configs,json=generativeQuestionConfigs,proto3" json:"generative_question_configs,omitempty"`
371 }
372
373 func (x *BatchUpdateGenerativeQuestionConfigsResponse) Reset() {
374 *x = BatchUpdateGenerativeQuestionConfigsResponse{}
375 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[6]
376 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
377 ms.StoreMessageInfo(mi)
378 }
379
380 func (x *BatchUpdateGenerativeQuestionConfigsResponse) String() string {
381 return protoimpl.X.MessageStringOf(x)
382 }
383
384 func (*BatchUpdateGenerativeQuestionConfigsResponse) ProtoMessage() {}
385
386 func (x *BatchUpdateGenerativeQuestionConfigsResponse) ProtoReflect() protoreflect.Message {
387 mi := &file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes[6]
388 if x != nil {
389 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
390 if ms.LoadMessageInfo() == nil {
391 ms.StoreMessageInfo(mi)
392 }
393 return ms
394 }
395 return mi.MessageOf(x)
396 }
397
398 // Deprecated: Use BatchUpdateGenerativeQuestionConfigsResponse.ProtoReflect.Descriptor instead.
399 func (*BatchUpdateGenerativeQuestionConfigsResponse) Descriptor() ([]byte, []int) {
400 return file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescGZIP(), []int{6}
401 }
402
403 func (x *BatchUpdateGenerativeQuestionConfigsResponse) GetGenerativeQuestionConfigs() []*GenerativeQuestionConfig {
404 if x != nil {
405 return x.GenerativeQuestionConfigs
406 }
407 return nil
408 }
409
410 var File_google_cloud_retail_v2beta_generative_question_service_proto protoreflect.FileDescriptor
411
412 var file_google_cloud_retail_v2beta_generative_question_service_proto_rawDesc = []byte{
413 0x0a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72,
414 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x67, 0x65, 0x6e,
415 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e,
416 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a,
417 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74,
418 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
419 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
420 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
421 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
422 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
423 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
424 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72,
425 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x67,
426 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x74, 0x61,
427 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61,
428 0x74, 0x69, 0x76, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
429 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
430 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e,
431 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x02, 0x0a, 0x2d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
432 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69,
433 0x6f, 0x6e, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
434 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x90, 0x01, 0x0a, 0x23, 0x67, 0x65, 0x6e, 0x65,
435 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73,
436 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,
437 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
438 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65,
439 0x74, 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65,
440 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6e,
441 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x20, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61,
442 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x65, 0x61,
443 0x74, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70,
444 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
445 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
446 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01,
447 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x6d, 0x0a, 0x2a,
448 0x47, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65,
449 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6e,
450 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x07, 0x63, 0x61,
451 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02,
452 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
453 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x74, 0x61, 0x6c,
454 0x6f, 0x67, 0x52, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x22, 0x65, 0x0a, 0x24, 0x4c,
455 0x69, 0x73, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65,
456 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75,
457 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
458 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x72, 0x65, 0x74,
459 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
460 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
461 0x6e, 0x74, 0x22, 0x9d, 0x01, 0x0a, 0x25, 0x4c, 0x69, 0x73, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72,
462 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e,
463 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x1b,
464 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74,
465 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
466 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
467 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47,
468 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f,
469 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x19, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
470 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69,
471 0x67, 0x73, 0x22, 0xe2, 0x01, 0x0a, 0x25, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x65, 0x6e,
472 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43,
473 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x77, 0x0a, 0x1a,
474 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74,
475 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
476 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
477 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65,
478 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e,
479 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x18, 0x67, 0x65, 0x6e,
480 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43,
481 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
482 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
483 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65,
484 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64,
485 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xd0, 0x01, 0x0a, 0x2b, 0x42, 0x61, 0x74, 0x63,
486 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76,
487 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,
488 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
489 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x01, 0xfa, 0x41, 0x1f, 0x0a,
490 0x1d, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
491 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x06,
492 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x62, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
493 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
494 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76,
495 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x65, 0x6e, 0x65,
496 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f,
497 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02,
498 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0xa9, 0x01, 0x0a, 0x2c, 0x42,
499 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61,
500 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66,
501 0x69, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x1b, 0x67,
502 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69,
503 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
504 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
505 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65,
506 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e,
507 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x19, 0x67, 0x65, 0x6e,
508 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43,
509 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x32, 0xf6, 0x0c, 0x0a, 0x19, 0x47, 0x65, 0x6e, 0x65, 0x72,
510 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72,
511 0x76, 0x69, 0x63, 0x65, 0x12, 0x85, 0x03, 0x0a, 0x26, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47,
512 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f,
513 0x6e, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
514 0x49, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
515 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x70, 0x64,
516 0x61, 0x74, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65,
517 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6e,
518 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x67, 0x6f, 0x6f,
519 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
520 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69,
521 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75,
522 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xd1, 0x01, 0xda, 0x41, 0x2f, 0x67, 0x65,
523 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f,
524 0x6e, 0x73, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
525 0x67, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4,
526 0x93, 0x02, 0x98, 0x01, 0x3a, 0x23, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65,
527 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75,
528 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x71, 0x2f, 0x76, 0x32, 0x62, 0x65,
529 0x74, 0x61, 0x2f, 0x7b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x71,
530 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
531 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x3d,
532 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
533 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f,
534 0x2a, 0x7d, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65,
535 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x8c, 0x02, 0x0a,
536 0x23, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75,
537 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x43, 0x6f,
538 0x6e, 0x66, 0x69, 0x67, 0x12, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
539 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74,
540 0x61, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51,
541 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x43,
542 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x67,
543 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61,
544 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61,
545 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 0x65, 0x61,
546 0x74, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x5f, 0xda, 0x41, 0x07, 0x63,
547 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4f, 0x12, 0x4d, 0x2f, 0x76,
548 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x3d, 0x70,
549 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
550 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a,
551 0x7d, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73,
552 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0xfd, 0x01, 0x0a, 0x1d,
553 0x4c, 0x69, 0x73, 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75,
554 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x40, 0x2e,
555 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74,
556 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x47,
557 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f,
558 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
559 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
560 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73,
561 0x74, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74,
562 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
563 0x73, 0x65, 0x22, 0x57, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4,
564 0x93, 0x02, 0x48, 0x12, 0x46, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61,
565 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
566 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61,
567 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69,
568 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xca, 0x02, 0x0a, 0x1e,
569 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65,
570 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x41,
571 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
572 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61,
573 0x74, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73,
574 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
575 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
576 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x47,
577 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f,
578 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xae, 0x01, 0xda, 0x41, 0x26, 0x67, 0x65, 0x6e,
579 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e,
580 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,
581 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x7f, 0x3a, 0x1a, 0x67, 0x65, 0x6e, 0x65, 0x72,
582 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63,
583 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x61, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b,
584 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x73, 0x74,
585 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x61, 0x74, 0x61, 0x6c,
586 0x6f, 0x67, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
587 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f,
588 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65,
589 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xa9, 0x02, 0x0a, 0x24, 0x42, 0x61, 0x74,
590 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69,
591 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
592 0x73, 0x12, 0x47, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
593 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x42,
594 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61,
595 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66,
596 0x69, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x48, 0x2e, 0x67, 0x6f, 0x6f,
597 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
598 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64,
599 0x61, 0x74, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75, 0x65,
600 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70,
601 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6e, 0xda, 0x41, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c,
602 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x56, 0x3a, 0x01,
603 0x2a, 0x22, 0x51, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,
604 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
605 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f,
606 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65,
607 0x51, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70,
608 0x64, 0x61, 0x74, 0x65, 0x1a, 0x49, 0xca, 0x41, 0x15, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e,
609 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41,
610 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f,
611 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68,
612 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42,
613 0xdd, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
614 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65,
615 0x74, 0x61, 0x42, 0x1e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x51, 0x75,
616 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f,
617 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
618 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c,
619 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69,
620 0x6c, 0x70, 0x62, 0x3b, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x70, 0x62, 0xa2, 0x02, 0x06, 0x52,
621 0x45, 0x54, 0x41, 0x49, 0x4c, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
622 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x56, 0x32, 0x42, 0x65,
623 0x74, 0x61, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75,
624 0x64, 0x5c, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5c, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0xea,
625 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
626 0x3a, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0x62,
627 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
628 }
629
630 var (
631 file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescOnce sync.Once
632 file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescData = file_google_cloud_retail_v2beta_generative_question_service_proto_rawDesc
633 )
634
635 func file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescGZIP() []byte {
636 file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescOnce.Do(func() {
637 file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescData)
638 })
639 return file_google_cloud_retail_v2beta_generative_question_service_proto_rawDescData
640 }
641
642 var file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
643 var file_google_cloud_retail_v2beta_generative_question_service_proto_goTypes = []any{
644 (*UpdateGenerativeQuestionsFeatureConfigRequest)(nil), // 0: google.cloud.retail.v2beta.UpdateGenerativeQuestionsFeatureConfigRequest
645 (*GetGenerativeQuestionsFeatureConfigRequest)(nil), // 1: google.cloud.retail.v2beta.GetGenerativeQuestionsFeatureConfigRequest
646 (*ListGenerativeQuestionConfigsRequest)(nil), // 2: google.cloud.retail.v2beta.ListGenerativeQuestionConfigsRequest
647 (*ListGenerativeQuestionConfigsResponse)(nil), // 3: google.cloud.retail.v2beta.ListGenerativeQuestionConfigsResponse
648 (*UpdateGenerativeQuestionConfigRequest)(nil), // 4: google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest
649 (*BatchUpdateGenerativeQuestionConfigsRequest)(nil), // 5: google.cloud.retail.v2beta.BatchUpdateGenerativeQuestionConfigsRequest
650 (*BatchUpdateGenerativeQuestionConfigsResponse)(nil), // 6: google.cloud.retail.v2beta.BatchUpdateGenerativeQuestionConfigsResponse
651 (*GenerativeQuestionsFeatureConfig)(nil), // 7: google.cloud.retail.v2beta.GenerativeQuestionsFeatureConfig
652 (*fieldmaskpb.FieldMask)(nil), // 8: google.protobuf.FieldMask
653 (*GenerativeQuestionConfig)(nil), // 9: google.cloud.retail.v2beta.GenerativeQuestionConfig
654 }
655 var file_google_cloud_retail_v2beta_generative_question_service_proto_depIdxs = []int32{
656 7, // 0: google.cloud.retail.v2beta.UpdateGenerativeQuestionsFeatureConfigRequest.generative_questions_feature_config:type_name -> google.cloud.retail.v2beta.GenerativeQuestionsFeatureConfig
657 8, // 1: google.cloud.retail.v2beta.UpdateGenerativeQuestionsFeatureConfigRequest.update_mask:type_name -> google.protobuf.FieldMask
658 9, // 2: google.cloud.retail.v2beta.ListGenerativeQuestionConfigsResponse.generative_question_configs:type_name -> google.cloud.retail.v2beta.GenerativeQuestionConfig
659 9, // 3: google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest.generative_question_config:type_name -> google.cloud.retail.v2beta.GenerativeQuestionConfig
660 8, // 4: google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest.update_mask:type_name -> google.protobuf.FieldMask
661 4, // 5: google.cloud.retail.v2beta.BatchUpdateGenerativeQuestionConfigsRequest.requests:type_name -> google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest
662 9, // 6: google.cloud.retail.v2beta.BatchUpdateGenerativeQuestionConfigsResponse.generative_question_configs:type_name -> google.cloud.retail.v2beta.GenerativeQuestionConfig
663 0, // 7: google.cloud.retail.v2beta.GenerativeQuestionService.UpdateGenerativeQuestionsFeatureConfig:input_type -> google.cloud.retail.v2beta.UpdateGenerativeQuestionsFeatureConfigRequest
664 1, // 8: google.cloud.retail.v2beta.GenerativeQuestionService.GetGenerativeQuestionsFeatureConfig:input_type -> google.cloud.retail.v2beta.GetGenerativeQuestionsFeatureConfigRequest
665 2, // 9: google.cloud.retail.v2beta.GenerativeQuestionService.ListGenerativeQuestionConfigs:input_type -> google.cloud.retail.v2beta.ListGenerativeQuestionConfigsRequest
666 4, // 10: google.cloud.retail.v2beta.GenerativeQuestionService.UpdateGenerativeQuestionConfig:input_type -> google.cloud.retail.v2beta.UpdateGenerativeQuestionConfigRequest
667 5, // 11: google.cloud.retail.v2beta.GenerativeQuestionService.BatchUpdateGenerativeQuestionConfigs:input_type -> google.cloud.retail.v2beta.BatchUpdateGenerativeQuestionConfigsRequest
668 7, // 12: google.cloud.retail.v2beta.GenerativeQuestionService.UpdateGenerativeQuestionsFeatureConfig:output_type -> google.cloud.retail.v2beta.GenerativeQuestionsFeatureConfig
669 7, // 13: google.cloud.retail.v2beta.GenerativeQuestionService.GetGenerativeQuestionsFeatureConfig:output_type -> google.cloud.retail.v2beta.GenerativeQuestionsFeatureConfig
670 3, // 14: google.cloud.retail.v2beta.GenerativeQuestionService.ListGenerativeQuestionConfigs:output_type -> google.cloud.retail.v2beta.ListGenerativeQuestionConfigsResponse
671 9, // 15: google.cloud.retail.v2beta.GenerativeQuestionService.UpdateGenerativeQuestionConfig:output_type -> google.cloud.retail.v2beta.GenerativeQuestionConfig
672 6, // 16: google.cloud.retail.v2beta.GenerativeQuestionService.BatchUpdateGenerativeQuestionConfigs:output_type -> google.cloud.retail.v2beta.BatchUpdateGenerativeQuestionConfigsResponse
673 12, // [12:17] is the sub-list for method output_type
674 7, // [7:12] is the sub-list for method input_type
675 7, // [7:7] is the sub-list for extension type_name
676 7, // [7:7] is the sub-list for extension extendee
677 0, // [0:7] is the sub-list for field type_name
678 }
679
680 func init() { file_google_cloud_retail_v2beta_generative_question_service_proto_init() }
681 func file_google_cloud_retail_v2beta_generative_question_service_proto_init() {
682 if File_google_cloud_retail_v2beta_generative_question_service_proto != nil {
683 return
684 }
685 file_google_cloud_retail_v2beta_generative_question_proto_init()
686 type x struct{}
687 out := protoimpl.TypeBuilder{
688 File: protoimpl.DescBuilder{
689 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
690 RawDescriptor: file_google_cloud_retail_v2beta_generative_question_service_proto_rawDesc,
691 NumEnums: 0,
692 NumMessages: 7,
693 NumExtensions: 0,
694 NumServices: 1,
695 },
696 GoTypes: file_google_cloud_retail_v2beta_generative_question_service_proto_goTypes,
697 DependencyIndexes: file_google_cloud_retail_v2beta_generative_question_service_proto_depIdxs,
698 MessageInfos: file_google_cloud_retail_v2beta_generative_question_service_proto_msgTypes,
699 }.Build()
700 File_google_cloud_retail_v2beta_generative_question_service_proto = out.File
701 file_google_cloud_retail_v2beta_generative_question_service_proto_rawDesc = nil
702 file_google_cloud_retail_v2beta_generative_question_service_proto_goTypes = nil
703 file_google_cloud_retail_v2beta_generative_question_service_proto_depIdxs = nil
704 }
705
706 // Reference imports to suppress errors if they are not otherwise used.
707 var _ context.Context
708 var _ grpc.ClientConnInterface
709
710 // This is a compile-time assertion to ensure that this generated file
711 // is compatible with the grpc package it is being compiled against.
712 const _ = grpc.SupportPackageIsVersion6
713
714 // GenerativeQuestionServiceClient is the client API for GenerativeQuestionService service.
715 //
716 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
717 type GenerativeQuestionServiceClient interface {
718 // Manages overal generative question feature state -- enables toggling
719 // feature on and off.
720 UpdateGenerativeQuestionsFeatureConfig(ctx context.Context, in *UpdateGenerativeQuestionsFeatureConfigRequest, opts ...grpc.CallOption) (*GenerativeQuestionsFeatureConfig, error)
721 // Manages overal generative question feature state -- enables toggling
722 // feature on and off.
723 GetGenerativeQuestionsFeatureConfig(ctx context.Context, in *GetGenerativeQuestionsFeatureConfigRequest, opts ...grpc.CallOption) (*GenerativeQuestionsFeatureConfig, error)
724 // Returns all questions for a given catalog.
725 ListGenerativeQuestionConfigs(ctx context.Context, in *ListGenerativeQuestionConfigsRequest, opts ...grpc.CallOption) (*ListGenerativeQuestionConfigsResponse, error)
726 // Allows management of individual questions.
727 UpdateGenerativeQuestionConfig(ctx context.Context, in *UpdateGenerativeQuestionConfigRequest, opts ...grpc.CallOption) (*GenerativeQuestionConfig, error)
728 // Allows management of multiple questions.
729 BatchUpdateGenerativeQuestionConfigs(ctx context.Context, in *BatchUpdateGenerativeQuestionConfigsRequest, opts ...grpc.CallOption) (*BatchUpdateGenerativeQuestionConfigsResponse, error)
730 }
731
732 type generativeQuestionServiceClient struct {
733 cc grpc.ClientConnInterface
734 }
735
736 func NewGenerativeQuestionServiceClient(cc grpc.ClientConnInterface) GenerativeQuestionServiceClient {
737 return &generativeQuestionServiceClient{cc}
738 }
739
740 func (c *generativeQuestionServiceClient) UpdateGenerativeQuestionsFeatureConfig(ctx context.Context, in *UpdateGenerativeQuestionsFeatureConfigRequest, opts ...grpc.CallOption) (*GenerativeQuestionsFeatureConfig, error) {
741 out := new(GenerativeQuestionsFeatureConfig)
742 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.GenerativeQuestionService/UpdateGenerativeQuestionsFeatureConfig", in, out, opts...)
743 if err != nil {
744 return nil, err
745 }
746 return out, nil
747 }
748
749 func (c *generativeQuestionServiceClient) GetGenerativeQuestionsFeatureConfig(ctx context.Context, in *GetGenerativeQuestionsFeatureConfigRequest, opts ...grpc.CallOption) (*GenerativeQuestionsFeatureConfig, error) {
750 out := new(GenerativeQuestionsFeatureConfig)
751 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.GenerativeQuestionService/GetGenerativeQuestionsFeatureConfig", in, out, opts...)
752 if err != nil {
753 return nil, err
754 }
755 return out, nil
756 }
757
758 func (c *generativeQuestionServiceClient) ListGenerativeQuestionConfigs(ctx context.Context, in *ListGenerativeQuestionConfigsRequest, opts ...grpc.CallOption) (*ListGenerativeQuestionConfigsResponse, error) {
759 out := new(ListGenerativeQuestionConfigsResponse)
760 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.GenerativeQuestionService/ListGenerativeQuestionConfigs", in, out, opts...)
761 if err != nil {
762 return nil, err
763 }
764 return out, nil
765 }
766
767 func (c *generativeQuestionServiceClient) UpdateGenerativeQuestionConfig(ctx context.Context, in *UpdateGenerativeQuestionConfigRequest, opts ...grpc.CallOption) (*GenerativeQuestionConfig, error) {
768 out := new(GenerativeQuestionConfig)
769 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.GenerativeQuestionService/UpdateGenerativeQuestionConfig", in, out, opts...)
770 if err != nil {
771 return nil, err
772 }
773 return out, nil
774 }
775
776 func (c *generativeQuestionServiceClient) BatchUpdateGenerativeQuestionConfigs(ctx context.Context, in *BatchUpdateGenerativeQuestionConfigsRequest, opts ...grpc.CallOption) (*BatchUpdateGenerativeQuestionConfigsResponse, error) {
777 out := new(BatchUpdateGenerativeQuestionConfigsResponse)
778 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.GenerativeQuestionService/BatchUpdateGenerativeQuestionConfigs", in, out, opts...)
779 if err != nil {
780 return nil, err
781 }
782 return out, nil
783 }
784
785 // GenerativeQuestionServiceServer is the server API for GenerativeQuestionService service.
786 type GenerativeQuestionServiceServer interface {
787 // Manages overal generative question feature state -- enables toggling
788 // feature on and off.
789 UpdateGenerativeQuestionsFeatureConfig(context.Context, *UpdateGenerativeQuestionsFeatureConfigRequest) (*GenerativeQuestionsFeatureConfig, error)
790 // Manages overal generative question feature state -- enables toggling
791 // feature on and off.
792 GetGenerativeQuestionsFeatureConfig(context.Context, *GetGenerativeQuestionsFeatureConfigRequest) (*GenerativeQuestionsFeatureConfig, error)
793 // Returns all questions for a given catalog.
794 ListGenerativeQuestionConfigs(context.Context, *ListGenerativeQuestionConfigsRequest) (*ListGenerativeQuestionConfigsResponse, error)
795 // Allows management of individual questions.
796 UpdateGenerativeQuestionConfig(context.Context, *UpdateGenerativeQuestionConfigRequest) (*GenerativeQuestionConfig, error)
797 // Allows management of multiple questions.
798 BatchUpdateGenerativeQuestionConfigs(context.Context, *BatchUpdateGenerativeQuestionConfigsRequest) (*BatchUpdateGenerativeQuestionConfigsResponse, error)
799 }
800
801 // UnimplementedGenerativeQuestionServiceServer can be embedded to have forward compatible implementations.
802 type UnimplementedGenerativeQuestionServiceServer struct {
803 }
804
805 func (*UnimplementedGenerativeQuestionServiceServer) UpdateGenerativeQuestionsFeatureConfig(context.Context, *UpdateGenerativeQuestionsFeatureConfigRequest) (*GenerativeQuestionsFeatureConfig, error) {
806 return nil, status.Errorf(codes.Unimplemented, "method UpdateGenerativeQuestionsFeatureConfig not implemented")
807 }
808 func (*UnimplementedGenerativeQuestionServiceServer) GetGenerativeQuestionsFeatureConfig(context.Context, *GetGenerativeQuestionsFeatureConfigRequest) (*GenerativeQuestionsFeatureConfig, error) {
809 return nil, status.Errorf(codes.Unimplemented, "method GetGenerativeQuestionsFeatureConfig not implemented")
810 }
811 func (*UnimplementedGenerativeQuestionServiceServer) ListGenerativeQuestionConfigs(context.Context, *ListGenerativeQuestionConfigsRequest) (*ListGenerativeQuestionConfigsResponse, error) {
812 return nil, status.Errorf(codes.Unimplemented, "method ListGenerativeQuestionConfigs not implemented")
813 }
814 func (*UnimplementedGenerativeQuestionServiceServer) UpdateGenerativeQuestionConfig(context.Context, *UpdateGenerativeQuestionConfigRequest) (*GenerativeQuestionConfig, error) {
815 return nil, status.Errorf(codes.Unimplemented, "method UpdateGenerativeQuestionConfig not implemented")
816 }
817 func (*UnimplementedGenerativeQuestionServiceServer) BatchUpdateGenerativeQuestionConfigs(context.Context, *BatchUpdateGenerativeQuestionConfigsRequest) (*BatchUpdateGenerativeQuestionConfigsResponse, error) {
818 return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateGenerativeQuestionConfigs not implemented")
819 }
820
821 func RegisterGenerativeQuestionServiceServer(s *grpc.Server, srv GenerativeQuestionServiceServer) {
822 s.RegisterService(&_GenerativeQuestionService_serviceDesc, srv)
823 }
824
825 func _GenerativeQuestionService_UpdateGenerativeQuestionsFeatureConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
826 in := new(UpdateGenerativeQuestionsFeatureConfigRequest)
827 if err := dec(in); err != nil {
828 return nil, err
829 }
830 if interceptor == nil {
831 return srv.(GenerativeQuestionServiceServer).UpdateGenerativeQuestionsFeatureConfig(ctx, in)
832 }
833 info := &grpc.UnaryServerInfo{
834 Server: srv,
835 FullMethod: "/google.cloud.retail.v2beta.GenerativeQuestionService/UpdateGenerativeQuestionsFeatureConfig",
836 }
837 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
838 return srv.(GenerativeQuestionServiceServer).UpdateGenerativeQuestionsFeatureConfig(ctx, req.(*UpdateGenerativeQuestionsFeatureConfigRequest))
839 }
840 return interceptor(ctx, in, info, handler)
841 }
842
843 func _GenerativeQuestionService_GetGenerativeQuestionsFeatureConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
844 in := new(GetGenerativeQuestionsFeatureConfigRequest)
845 if err := dec(in); err != nil {
846 return nil, err
847 }
848 if interceptor == nil {
849 return srv.(GenerativeQuestionServiceServer).GetGenerativeQuestionsFeatureConfig(ctx, in)
850 }
851 info := &grpc.UnaryServerInfo{
852 Server: srv,
853 FullMethod: "/google.cloud.retail.v2beta.GenerativeQuestionService/GetGenerativeQuestionsFeatureConfig",
854 }
855 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
856 return srv.(GenerativeQuestionServiceServer).GetGenerativeQuestionsFeatureConfig(ctx, req.(*GetGenerativeQuestionsFeatureConfigRequest))
857 }
858 return interceptor(ctx, in, info, handler)
859 }
860
861 func _GenerativeQuestionService_ListGenerativeQuestionConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
862 in := new(ListGenerativeQuestionConfigsRequest)
863 if err := dec(in); err != nil {
864 return nil, err
865 }
866 if interceptor == nil {
867 return srv.(GenerativeQuestionServiceServer).ListGenerativeQuestionConfigs(ctx, in)
868 }
869 info := &grpc.UnaryServerInfo{
870 Server: srv,
871 FullMethod: "/google.cloud.retail.v2beta.GenerativeQuestionService/ListGenerativeQuestionConfigs",
872 }
873 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
874 return srv.(GenerativeQuestionServiceServer).ListGenerativeQuestionConfigs(ctx, req.(*ListGenerativeQuestionConfigsRequest))
875 }
876 return interceptor(ctx, in, info, handler)
877 }
878
879 func _GenerativeQuestionService_UpdateGenerativeQuestionConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
880 in := new(UpdateGenerativeQuestionConfigRequest)
881 if err := dec(in); err != nil {
882 return nil, err
883 }
884 if interceptor == nil {
885 return srv.(GenerativeQuestionServiceServer).UpdateGenerativeQuestionConfig(ctx, in)
886 }
887 info := &grpc.UnaryServerInfo{
888 Server: srv,
889 FullMethod: "/google.cloud.retail.v2beta.GenerativeQuestionService/UpdateGenerativeQuestionConfig",
890 }
891 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
892 return srv.(GenerativeQuestionServiceServer).UpdateGenerativeQuestionConfig(ctx, req.(*UpdateGenerativeQuestionConfigRequest))
893 }
894 return interceptor(ctx, in, info, handler)
895 }
896
897 func _GenerativeQuestionService_BatchUpdateGenerativeQuestionConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
898 in := new(BatchUpdateGenerativeQuestionConfigsRequest)
899 if err := dec(in); err != nil {
900 return nil, err
901 }
902 if interceptor == nil {
903 return srv.(GenerativeQuestionServiceServer).BatchUpdateGenerativeQuestionConfigs(ctx, in)
904 }
905 info := &grpc.UnaryServerInfo{
906 Server: srv,
907 FullMethod: "/google.cloud.retail.v2beta.GenerativeQuestionService/BatchUpdateGenerativeQuestionConfigs",
908 }
909 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
910 return srv.(GenerativeQuestionServiceServer).BatchUpdateGenerativeQuestionConfigs(ctx, req.(*BatchUpdateGenerativeQuestionConfigsRequest))
911 }
912 return interceptor(ctx, in, info, handler)
913 }
914
915 var _GenerativeQuestionService_serviceDesc = grpc.ServiceDesc{
916 ServiceName: "google.cloud.retail.v2beta.GenerativeQuestionService",
917 HandlerType: (*GenerativeQuestionServiceServer)(nil),
918 Methods: []grpc.MethodDesc{
919 {
920 MethodName: "UpdateGenerativeQuestionsFeatureConfig",
921 Handler: _GenerativeQuestionService_UpdateGenerativeQuestionsFeatureConfig_Handler,
922 },
923 {
924 MethodName: "GetGenerativeQuestionsFeatureConfig",
925 Handler: _GenerativeQuestionService_GetGenerativeQuestionsFeatureConfig_Handler,
926 },
927 {
928 MethodName: "ListGenerativeQuestionConfigs",
929 Handler: _GenerativeQuestionService_ListGenerativeQuestionConfigs_Handler,
930 },
931 {
932 MethodName: "UpdateGenerativeQuestionConfig",
933 Handler: _GenerativeQuestionService_UpdateGenerativeQuestionConfig_Handler,
934 },
935 {
936 MethodName: "BatchUpdateGenerativeQuestionConfigs",
937 Handler: _GenerativeQuestionService_BatchUpdateGenerativeQuestionConfigs_Handler,
938 },
939 },
940 Streams: []grpc.StreamDesc{},
941 Metadata: "google/cloud/retail/v2beta/generative_question_service.proto",
942 }