| 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/serving_config_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 |
emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 32 |
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" |
| 33 |
reflect "reflect" |
| 34 |
sync "sync" |
| 35 |
) |
| 36 |
|
| 37 |
const ( |
| 38 |
// Verify that this generated code is sufficiently up-to-date. |
| 39 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 40 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 41 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 42 |
) |
| 43 |
|
| 44 |
// Request for CreateServingConfig method. |
| 45 |
type CreateServingConfigRequest struct { |
| 46 |
state protoimpl.MessageState |
| 47 |
sizeCache protoimpl.SizeCache |
| 48 |
unknownFields protoimpl.UnknownFields |
| 49 |
|
| 50 |
// Required. Full resource name of parent. Format: |
| 51 |
// `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}` |
| 52 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 53 |
// Required. The ServingConfig to create. |
| 54 |
ServingConfig *ServingConfig `protobuf:"bytes,2,opt,name=serving_config,json=servingConfig,proto3" json:"serving_config,omitempty"` |
| 55 |
// Required. The ID to use for the ServingConfig, which will become the final |
| 56 |
// component of the ServingConfig's resource name. |
| 57 |
// |
| 58 |
// This value should be 4-63 characters, and valid characters |
| 59 |
// are /[a-z][0-9]-_/. |
| 60 |
ServingConfigId string `protobuf:"bytes,3,opt,name=serving_config_id,json=servingConfigId,proto3" json:"serving_config_id,omitempty"` |
| 61 |
} |
| 62 |
|
| 63 |
func (x *CreateServingConfigRequest) Reset() { |
| 64 |
*x = CreateServingConfigRequest{} |
| 65 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[0] |
| 66 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 67 |
ms.StoreMessageInfo(mi) |
| 68 |
} |
| 69 |
|
| 70 |
func (x *CreateServingConfigRequest) String() string { |
| 71 |
return protoimpl.X.MessageStringOf(x) |
| 72 |
} |
| 73 |
|
| 74 |
func (*CreateServingConfigRequest) ProtoMessage() {} |
| 75 |
|
| 76 |
func (x *CreateServingConfigRequest) ProtoReflect() protoreflect.Message { |
| 77 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[0] |
| 78 |
if x != nil { |
| 79 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 80 |
if ms.LoadMessageInfo() == nil { |
| 81 |
ms.StoreMessageInfo(mi) |
| 82 |
} |
| 83 |
return ms |
| 84 |
} |
| 85 |
return mi.MessageOf(x) |
| 86 |
} |
| 87 |
|
| 88 |
// Deprecated: Use CreateServingConfigRequest.ProtoReflect.Descriptor instead. |
| 89 |
func (*CreateServingConfigRequest) Descriptor() ([]byte, []int) { |
| 90 |
return file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescGZIP(), []int{0} |
| 91 |
} |
| 92 |
|
| 93 |
func (x *CreateServingConfigRequest) GetParent() string { |
| 94 |
if x != nil { |
| 95 |
return x.Parent |
| 96 |
} |
| 97 |
return "" |
| 98 |
} |
| 99 |
|
| 100 |
func (x *CreateServingConfigRequest) GetServingConfig() *ServingConfig { |
| 101 |
if x != nil { |
| 102 |
return x.ServingConfig |
| 103 |
} |
| 104 |
return nil |
| 105 |
} |
| 106 |
|
| 107 |
func (x *CreateServingConfigRequest) GetServingConfigId() string { |
| 108 |
if x != nil { |
| 109 |
return x.ServingConfigId |
| 110 |
} |
| 111 |
return "" |
| 112 |
} |
| 113 |
|
| 114 |
// Request for UpdateServingConfig method. |
| 115 |
type UpdateServingConfigRequest struct { |
| 116 |
state protoimpl.MessageState |
| 117 |
sizeCache protoimpl.SizeCache |
| 118 |
unknownFields protoimpl.UnknownFields |
| 119 |
|
| 120 |
// Required. The ServingConfig to update. |
| 121 |
ServingConfig *ServingConfig `protobuf:"bytes,1,opt,name=serving_config,json=servingConfig,proto3" json:"serving_config,omitempty"` |
| 122 |
// Indicates which fields in the provided |
| 123 |
// [ServingConfig][google.cloud.retail.v2beta.ServingConfig] to update. The |
| 124 |
// following are NOT supported: |
| 125 |
// |
| 126 |
// * [ServingConfig.name][google.cloud.retail.v2beta.ServingConfig.name] |
| 127 |
// |
| 128 |
// If not set, all supported fields are updated. |
| 129 |
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| 130 |
} |
| 131 |
|
| 132 |
func (x *UpdateServingConfigRequest) Reset() { |
| 133 |
*x = UpdateServingConfigRequest{} |
| 134 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[1] |
| 135 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 136 |
ms.StoreMessageInfo(mi) |
| 137 |
} |
| 138 |
|
| 139 |
func (x *UpdateServingConfigRequest) String() string { |
| 140 |
return protoimpl.X.MessageStringOf(x) |
| 141 |
} |
| 142 |
|
| 143 |
func (*UpdateServingConfigRequest) ProtoMessage() {} |
| 144 |
|
| 145 |
func (x *UpdateServingConfigRequest) ProtoReflect() protoreflect.Message { |
| 146 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[1] |
| 147 |
if x != nil { |
| 148 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 149 |
if ms.LoadMessageInfo() == nil { |
| 150 |
ms.StoreMessageInfo(mi) |
| 151 |
} |
| 152 |
return ms |
| 153 |
} |
| 154 |
return mi.MessageOf(x) |
| 155 |
} |
| 156 |
|
| 157 |
// Deprecated: Use UpdateServingConfigRequest.ProtoReflect.Descriptor instead. |
| 158 |
func (*UpdateServingConfigRequest) Descriptor() ([]byte, []int) { |
| 159 |
return file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescGZIP(), []int{1} |
| 160 |
} |
| 161 |
|
| 162 |
func (x *UpdateServingConfigRequest) GetServingConfig() *ServingConfig { |
| 163 |
if x != nil { |
| 164 |
return x.ServingConfig |
| 165 |
} |
| 166 |
return nil |
| 167 |
} |
| 168 |
|
| 169 |
func (x *UpdateServingConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| 170 |
if x != nil { |
| 171 |
return x.UpdateMask |
| 172 |
} |
| 173 |
return nil |
| 174 |
} |
| 175 |
|
| 176 |
// Request for DeleteServingConfig method. |
| 177 |
type DeleteServingConfigRequest struct { |
| 178 |
state protoimpl.MessageState |
| 179 |
sizeCache protoimpl.SizeCache |
| 180 |
unknownFields protoimpl.UnknownFields |
| 181 |
|
| 182 |
// Required. The resource name of the ServingConfig to delete. Format: |
| 183 |
// `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}` |
| 184 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 185 |
} |
| 186 |
|
| 187 |
func (x *DeleteServingConfigRequest) Reset() { |
| 188 |
*x = DeleteServingConfigRequest{} |
| 189 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[2] |
| 190 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 191 |
ms.StoreMessageInfo(mi) |
| 192 |
} |
| 193 |
|
| 194 |
func (x *DeleteServingConfigRequest) String() string { |
| 195 |
return protoimpl.X.MessageStringOf(x) |
| 196 |
} |
| 197 |
|
| 198 |
func (*DeleteServingConfigRequest) ProtoMessage() {} |
| 199 |
|
| 200 |
func (x *DeleteServingConfigRequest) ProtoReflect() protoreflect.Message { |
| 201 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[2] |
| 202 |
if x != nil { |
| 203 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 204 |
if ms.LoadMessageInfo() == nil { |
| 205 |
ms.StoreMessageInfo(mi) |
| 206 |
} |
| 207 |
return ms |
| 208 |
} |
| 209 |
return mi.MessageOf(x) |
| 210 |
} |
| 211 |
|
| 212 |
// Deprecated: Use DeleteServingConfigRequest.ProtoReflect.Descriptor instead. |
| 213 |
func (*DeleteServingConfigRequest) Descriptor() ([]byte, []int) { |
| 214 |
return file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescGZIP(), []int{2} |
| 215 |
} |
| 216 |
|
| 217 |
func (x *DeleteServingConfigRequest) GetName() string { |
| 218 |
if x != nil { |
| 219 |
return x.Name |
| 220 |
} |
| 221 |
return "" |
| 222 |
} |
| 223 |
|
| 224 |
// Request for GetServingConfig method. |
| 225 |
type GetServingConfigRequest struct { |
| 226 |
state protoimpl.MessageState |
| 227 |
sizeCache protoimpl.SizeCache |
| 228 |
unknownFields protoimpl.UnknownFields |
| 229 |
|
| 230 |
// Required. The resource name of the ServingConfig to get. Format: |
| 231 |
// `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}` |
| 232 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 233 |
} |
| 234 |
|
| 235 |
func (x *GetServingConfigRequest) Reset() { |
| 236 |
*x = GetServingConfigRequest{} |
| 237 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[3] |
| 238 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 239 |
ms.StoreMessageInfo(mi) |
| 240 |
} |
| 241 |
|
| 242 |
func (x *GetServingConfigRequest) String() string { |
| 243 |
return protoimpl.X.MessageStringOf(x) |
| 244 |
} |
| 245 |
|
| 246 |
func (*GetServingConfigRequest) ProtoMessage() {} |
| 247 |
|
| 248 |
func (x *GetServingConfigRequest) ProtoReflect() protoreflect.Message { |
| 249 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[3] |
| 250 |
if x != nil { |
| 251 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 252 |
if ms.LoadMessageInfo() == nil { |
| 253 |
ms.StoreMessageInfo(mi) |
| 254 |
} |
| 255 |
return ms |
| 256 |
} |
| 257 |
return mi.MessageOf(x) |
| 258 |
} |
| 259 |
|
| 260 |
// Deprecated: Use GetServingConfigRequest.ProtoReflect.Descriptor instead. |
| 261 |
func (*GetServingConfigRequest) Descriptor() ([]byte, []int) { |
| 262 |
return file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescGZIP(), []int{3} |
| 263 |
} |
| 264 |
|
| 265 |
func (x *GetServingConfigRequest) GetName() string { |
| 266 |
if x != nil { |
| 267 |
return x.Name |
| 268 |
} |
| 269 |
return "" |
| 270 |
} |
| 271 |
|
| 272 |
// Request for ListServingConfigs method. |
| 273 |
type ListServingConfigsRequest struct { |
| 274 |
state protoimpl.MessageState |
| 275 |
sizeCache protoimpl.SizeCache |
| 276 |
unknownFields protoimpl.UnknownFields |
| 277 |
|
| 278 |
// Required. The catalog resource name. Format: |
| 279 |
// `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}` |
| 280 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 281 |
// Optional. Maximum number of results to return. If unspecified, defaults |
| 282 |
// to 100. If a value greater than 100 is provided, at most 100 results are |
| 283 |
// returned. |
| 284 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 285 |
// Optional. A page token, received from a previous `ListServingConfigs` call. |
| 286 |
// Provide this to retrieve the subsequent page. |
| 287 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 288 |
} |
| 289 |
|
| 290 |
func (x *ListServingConfigsRequest) Reset() { |
| 291 |
*x = ListServingConfigsRequest{} |
| 292 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[4] |
| 293 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 294 |
ms.StoreMessageInfo(mi) |
| 295 |
} |
| 296 |
|
| 297 |
func (x *ListServingConfigsRequest) String() string { |
| 298 |
return protoimpl.X.MessageStringOf(x) |
| 299 |
} |
| 300 |
|
| 301 |
func (*ListServingConfigsRequest) ProtoMessage() {} |
| 302 |
|
| 303 |
func (x *ListServingConfigsRequest) ProtoReflect() protoreflect.Message { |
| 304 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[4] |
| 305 |
if x != nil { |
| 306 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 307 |
if ms.LoadMessageInfo() == nil { |
| 308 |
ms.StoreMessageInfo(mi) |
| 309 |
} |
| 310 |
return ms |
| 311 |
} |
| 312 |
return mi.MessageOf(x) |
| 313 |
} |
| 314 |
|
| 315 |
// Deprecated: Use ListServingConfigsRequest.ProtoReflect.Descriptor instead. |
| 316 |
func (*ListServingConfigsRequest) Descriptor() ([]byte, []int) { |
| 317 |
return file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescGZIP(), []int{4} |
| 318 |
} |
| 319 |
|
| 320 |
func (x *ListServingConfigsRequest) GetParent() string { |
| 321 |
if x != nil { |
| 322 |
return x.Parent |
| 323 |
} |
| 324 |
return "" |
| 325 |
} |
| 326 |
|
| 327 |
func (x *ListServingConfigsRequest) GetPageSize() int32 { |
| 328 |
if x != nil { |
| 329 |
return x.PageSize |
| 330 |
} |
| 331 |
return 0 |
| 332 |
} |
| 333 |
|
| 334 |
func (x *ListServingConfigsRequest) GetPageToken() string { |
| 335 |
if x != nil { |
| 336 |
return x.PageToken |
| 337 |
} |
| 338 |
return "" |
| 339 |
} |
| 340 |
|
| 341 |
// Response for ListServingConfigs method. |
| 342 |
type ListServingConfigsResponse struct { |
| 343 |
state protoimpl.MessageState |
| 344 |
sizeCache protoimpl.SizeCache |
| 345 |
unknownFields protoimpl.UnknownFields |
| 346 |
|
| 347 |
// All the ServingConfigs for a given catalog. |
| 348 |
ServingConfigs []*ServingConfig `protobuf:"bytes,1,rep,name=serving_configs,json=servingConfigs,proto3" json:"serving_configs,omitempty"` |
| 349 |
// Pagination token, if not returned indicates the last page. |
| 350 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 351 |
} |
| 352 |
|
| 353 |
func (x *ListServingConfigsResponse) Reset() { |
| 354 |
*x = ListServingConfigsResponse{} |
| 355 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[5] |
| 356 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 357 |
ms.StoreMessageInfo(mi) |
| 358 |
} |
| 359 |
|
| 360 |
func (x *ListServingConfigsResponse) String() string { |
| 361 |
return protoimpl.X.MessageStringOf(x) |
| 362 |
} |
| 363 |
|
| 364 |
func (*ListServingConfigsResponse) ProtoMessage() {} |
| 365 |
|
| 366 |
func (x *ListServingConfigsResponse) ProtoReflect() protoreflect.Message { |
| 367 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[5] |
| 368 |
if x != nil { |
| 369 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 370 |
if ms.LoadMessageInfo() == nil { |
| 371 |
ms.StoreMessageInfo(mi) |
| 372 |
} |
| 373 |
return ms |
| 374 |
} |
| 375 |
return mi.MessageOf(x) |
| 376 |
} |
| 377 |
|
| 378 |
// Deprecated: Use ListServingConfigsResponse.ProtoReflect.Descriptor instead. |
| 379 |
func (*ListServingConfigsResponse) Descriptor() ([]byte, []int) { |
| 380 |
return file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescGZIP(), []int{5} |
| 381 |
} |
| 382 |
|
| 383 |
func (x *ListServingConfigsResponse) GetServingConfigs() []*ServingConfig { |
| 384 |
if x != nil { |
| 385 |
return x.ServingConfigs |
| 386 |
} |
| 387 |
return nil |
| 388 |
} |
| 389 |
|
| 390 |
func (x *ListServingConfigsResponse) GetNextPageToken() string { |
| 391 |
if x != nil { |
| 392 |
return x.NextPageToken |
| 393 |
} |
| 394 |
return "" |
| 395 |
} |
| 396 |
|
| 397 |
// Request for AddControl method. |
| 398 |
type AddControlRequest struct { |
| 399 |
state protoimpl.MessageState |
| 400 |
sizeCache protoimpl.SizeCache |
| 401 |
unknownFields protoimpl.UnknownFields |
| 402 |
|
| 403 |
// Required. The source ServingConfig resource name . Format: |
| 404 |
// `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}` |
| 405 |
ServingConfig string `protobuf:"bytes,1,opt,name=serving_config,json=servingConfig,proto3" json:"serving_config,omitempty"` |
| 406 |
// Required. The id of the control to apply. Assumed to be in the same catalog |
| 407 |
// as the serving config - if id is not found a NOT_FOUND error is returned. |
| 408 |
ControlId string `protobuf:"bytes,2,opt,name=control_id,json=controlId,proto3" json:"control_id,omitempty"` |
| 409 |
} |
| 410 |
|
| 411 |
func (x *AddControlRequest) Reset() { |
| 412 |
*x = AddControlRequest{} |
| 413 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[6] |
| 414 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 415 |
ms.StoreMessageInfo(mi) |
| 416 |
} |
| 417 |
|
| 418 |
func (x *AddControlRequest) String() string { |
| 419 |
return protoimpl.X.MessageStringOf(x) |
| 420 |
} |
| 421 |
|
| 422 |
func (*AddControlRequest) ProtoMessage() {} |
| 423 |
|
| 424 |
func (x *AddControlRequest) ProtoReflect() protoreflect.Message { |
| 425 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[6] |
| 426 |
if x != nil { |
| 427 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 428 |
if ms.LoadMessageInfo() == nil { |
| 429 |
ms.StoreMessageInfo(mi) |
| 430 |
} |
| 431 |
return ms |
| 432 |
} |
| 433 |
return mi.MessageOf(x) |
| 434 |
} |
| 435 |
|
| 436 |
// Deprecated: Use AddControlRequest.ProtoReflect.Descriptor instead. |
| 437 |
func (*AddControlRequest) Descriptor() ([]byte, []int) { |
| 438 |
return file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescGZIP(), []int{6} |
| 439 |
} |
| 440 |
|
| 441 |
func (x *AddControlRequest) GetServingConfig() string { |
| 442 |
if x != nil { |
| 443 |
return x.ServingConfig |
| 444 |
} |
| 445 |
return "" |
| 446 |
} |
| 447 |
|
| 448 |
func (x *AddControlRequest) GetControlId() string { |
| 449 |
if x != nil { |
| 450 |
return x.ControlId |
| 451 |
} |
| 452 |
return "" |
| 453 |
} |
| 454 |
|
| 455 |
// Request for RemoveControl method. |
| 456 |
type RemoveControlRequest struct { |
| 457 |
state protoimpl.MessageState |
| 458 |
sizeCache protoimpl.SizeCache |
| 459 |
unknownFields protoimpl.UnknownFields |
| 460 |
|
| 461 |
// Required. The source ServingConfig resource name . Format: |
| 462 |
// `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}` |
| 463 |
ServingConfig string `protobuf:"bytes,1,opt,name=serving_config,json=servingConfig,proto3" json:"serving_config,omitempty"` |
| 464 |
// Required. The id of the control to apply. Assumed to be in the same catalog |
| 465 |
// as the serving config. |
| 466 |
ControlId string `protobuf:"bytes,2,opt,name=control_id,json=controlId,proto3" json:"control_id,omitempty"` |
| 467 |
} |
| 468 |
|
| 469 |
func (x *RemoveControlRequest) Reset() { |
| 470 |
*x = RemoveControlRequest{} |
| 471 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[7] |
| 472 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 473 |
ms.StoreMessageInfo(mi) |
| 474 |
} |
| 475 |
|
| 476 |
func (x *RemoveControlRequest) String() string { |
| 477 |
return protoimpl.X.MessageStringOf(x) |
| 478 |
} |
| 479 |
|
| 480 |
func (*RemoveControlRequest) ProtoMessage() {} |
| 481 |
|
| 482 |
func (x *RemoveControlRequest) ProtoReflect() protoreflect.Message { |
| 483 |
mi := &file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes[7] |
| 484 |
if x != nil { |
| 485 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 486 |
if ms.LoadMessageInfo() == nil { |
| 487 |
ms.StoreMessageInfo(mi) |
| 488 |
} |
| 489 |
return ms |
| 490 |
} |
| 491 |
return mi.MessageOf(x) |
| 492 |
} |
| 493 |
|
| 494 |
// Deprecated: Use RemoveControlRequest.ProtoReflect.Descriptor instead. |
| 495 |
func (*RemoveControlRequest) Descriptor() ([]byte, []int) { |
| 496 |
return file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescGZIP(), []int{7} |
| 497 |
} |
| 498 |
|
| 499 |
func (x *RemoveControlRequest) GetServingConfig() string { |
| 500 |
if x != nil { |
| 501 |
return x.ServingConfig |
| 502 |
} |
| 503 |
return "" |
| 504 |
} |
| 505 |
|
| 506 |
func (x *RemoveControlRequest) GetControlId() string { |
| 507 |
if x != nil { |
| 508 |
return x.ControlId |
| 509 |
} |
| 510 |
return "" |
| 511 |
} |
| 512 |
|
| 513 |
var File_google_cloud_retail_v2beta_serving_config_service_proto protoreflect.FileDescriptor |
| 514 |
|
| 515 |
var file_google_cloud_retail_v2beta_serving_config_service_proto_rawDesc = []byte{ |
| 516 |
0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, |
| 517 |
0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x72, |
| 518 |
0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, |
| 519 |
0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 520 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, |
| 521 |
0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, |
| 522 |
0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, |
| 523 |
0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 524 |
0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, |
| 525 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, |
| 526 |
0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, |
| 527 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, |
| 528 |
0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 529 |
0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, |
| 530 |
0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, |
| 531 |
0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 532 |
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, |
| 533 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, |
| 534 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, |
| 535 |
0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, |
| 536 |
0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 537 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, |
| 538 |
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, |
| 539 |
0x1d, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 540 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x06, |
| 541 |
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x55, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, |
| 542 |
0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, |
| 543 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, |
| 544 |
0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, |
| 545 |
0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, |
| 546 |
0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2f, 0x0a, |
| 547 |
0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, |
| 548 |
0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x73, |
| 549 |
0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x49, 0x64, 0x22, 0xb0, |
| 550 |
0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, |
| 551 |
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x55, 0x0a, |
| 552 |
0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, |
| 553 |
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 554 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, |
| 555 |
0x74, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 556 |
0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, |
| 557 |
0x6e, 0x66, 0x69, 0x67, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, |
| 558 |
0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 559 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, |
| 560 |
0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, |
| 561 |
0x6b, 0x22, 0x5d, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, |
| 562 |
0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| 563 |
0x3f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, |
| 564 |
0x41, 0x02, 0xfa, 0x41, 0x25, 0x0a, 0x23, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, |
| 565 |
0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, |
| 566 |
0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 567 |
0x22, 0x5a, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, |
| 568 |
0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x04, 0x6e, |
| 569 |
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, |
| 570 |
0x25, 0x0a, 0x23, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 571 |
0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, |
| 572 |
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa0, 0x01, 0x0a, |
| 573 |
0x19, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, |
| 574 |
0x69, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, |
| 575 |
0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, |
| 576 |
0x41, 0x1f, 0x0a, 0x1d, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 577 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, |
| 578 |
0x67, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, |
| 579 |
0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, |
| 580 |
0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, |
| 581 |
0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, |
| 582 |
0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, |
| 583 |
0x98, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, |
| 584 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, |
| 585 |
0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 586 |
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 587 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, |
| 588 |
0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, |
| 589 |
0x69, 0x67, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, |
| 590 |
0x67, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, |
| 591 |
0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, |
| 592 |
0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x8b, 0x01, 0x0a, 0x11, 0x41, |
| 593 |
0x64, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 594 |
0x12, 0x52, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, |
| 595 |
0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x25, |
| 596 |
0x0a, 0x23, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, |
| 597 |
0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, |
| 598 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, |
| 599 |
0x6e, 0x66, 0x69, 0x67, 0x12, 0x22, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, |
| 600 |
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x63, |
| 601 |
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x49, 0x64, 0x22, 0x8e, 0x01, 0x0a, 0x14, 0x52, 0x65, 0x6d, |
| 602 |
0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 603 |
0x74, 0x12, 0x52, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, |
| 604 |
0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0xe0, 0x41, 0x02, 0xfa, 0x41, |
| 605 |
0x25, 0x0a, 0x23, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 606 |
0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, |
| 607 |
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, |
| 608 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x22, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, |
| 609 |
0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, |
| 610 |
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x49, 0x64, 0x32, 0x83, 0x0d, 0x0a, 0x14, 0x53, 0x65, |
| 611 |
0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, |
| 612 |
0x63, 0x65, 0x12, 0xfe, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, |
| 613 |
0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, |
| 614 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, |
| 615 |
0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, |
| 616 |
0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 617 |
0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 618 |
0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, |
| 619 |
0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x83, 0x01, |
| 620 |
0xda, 0x41, 0x27, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, |
| 621 |
0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, |
| 622 |
0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x53, |
| 623 |
0x3a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 624 |
0x22, 0x41, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, |
| 625 |
0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, |
| 626 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, |
| 627 |
0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, |
| 628 |
0x69, 0x67, 0x73, 0x12, 0xb7, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, |
| 629 |
0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x2e, 0x67, 0x6f, |
| 630 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, |
| 631 |
0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, |
| 632 |
0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, |
| 633 |
0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 634 |
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x50, 0xda, 0x41, 0x04, |
| 635 |
0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x2a, 0x41, 0x2f, 0x76, 0x32, 0x62, |
| 636 |
0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 637 |
0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, |
| 638 |
0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x72, 0x76, |
| 639 |
0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x80, 0x02, |
| 640 |
0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, |
| 641 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 642 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, |
| 643 |
0x74, 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, |
| 644 |
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, |
| 645 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, |
| 646 |
0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, |
| 647 |
0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x85, 0x01, 0xda, 0x41, 0x1a, 0x73, 0x65, |
| 648 |
0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2c, 0x75, 0x70, 0x64, |
| 649 |
0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x62, 0x3a, 0x0e, |
| 650 |
0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0x50, |
| 651 |
0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, |
| 652 |
0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, |
| 653 |
0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 654 |
0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a, 0x2f, 0x73, |
| 655 |
0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x2a, 0x7d, |
| 656 |
0x12, 0xc4, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, |
| 657 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 658 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, |
| 659 |
0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, |
| 660 |
0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, |
| 661 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, |
| 662 |
0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, |
| 663 |
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x50, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, |
| 664 |
0xe4, 0x93, 0x02, 0x43, 0x12, 0x41, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, |
| 665 |
0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, |
| 666 |
0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, |
| 667 |
0x6f, 0x67, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, |
| 668 |
0x66, 0x69, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xd7, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, |
| 669 |
0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x35, |
| 670 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, |
| 671 |
0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, |
| 672 |
0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, |
| 673 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 674 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, |
| 675 |
0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, |
| 676 |
0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0xda, |
| 677 |
0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x12, 0x41, |
| 678 |
0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, |
| 679 |
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, |
| 680 |
0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, |
| 681 |
0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 682 |
0x73, 0x12, 0xda, 0x01, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, |
| 683 |
0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 684 |
0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x64, |
| 685 |
0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, |
| 686 |
0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, |
| 687 |
0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x72, |
| 688 |
0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x72, 0xda, 0x41, 0x0e, 0x73, |
| 689 |
0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x82, 0xd3, 0xe4, |
| 690 |
0x93, 0x02, 0x5b, 0x3a, 0x01, 0x2a, 0x22, 0x56, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, |
| 691 |
0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3d, |
| 692 |
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, |
| 693 |
0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, |
| 694 |
0x2a, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, |
| 695 |
0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0xe3, |
| 696 |
0x01, 0x0a, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, |
| 697 |
0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 698 |
0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, |
| 699 |
0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 700 |
0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 701 |
0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, |
| 702 |
0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x75, 0xda, |
| 703 |
0x41, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 704 |
0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5e, 0x3a, 0x01, 0x2a, 0x22, 0x59, 0x2f, 0x76, 0x32, 0x62, 0x65, |
| 705 |
0x74, 0x61, 0x2f, 0x7b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, |
| 706 |
0x69, 0x67, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, |
| 707 |
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, |
| 708 |
0x67, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, |
| 709 |
0x69, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, |
| 710 |
0x74, 0x72, 0x6f, 0x6c, 0x1a, 0x49, 0xca, 0x41, 0x15, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, |
| 711 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, |
| 712 |
0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, |
| 713 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, |
| 714 |
0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, |
| 715 |
0xd8, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 716 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, |
| 717 |
0x74, 0x61, 0x42, 0x19, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, |
| 718 |
0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, |
| 719 |
0x36, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, |
| 720 |
0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, |
| 721 |
0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x70, 0x62, 0x3b, 0x72, |
| 722 |
0x65, 0x74, 0x61, 0x69, 0x6c, 0x70, 0x62, 0xa2, 0x02, 0x06, 0x52, 0x45, 0x54, 0x41, 0x49, 0x4c, |
| 723 |
0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 724 |
0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x56, 0x32, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1a, |
| 725 |
0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x74, |
| 726 |
0x61, 0x69, 0x6c, 0x5c, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, |
| 727 |
0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52, 0x65, 0x74, 0x61, |
| 728 |
0x69, 0x6c, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, |
| 729 |
0x6f, 0x33, |
| 730 |
} |
| 731 |
|
| 732 |
var ( |
| 733 |
file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescOnce sync.Once |
| 734 |
file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescData = file_google_cloud_retail_v2beta_serving_config_service_proto_rawDesc |
| 735 |
) |
| 736 |
|
| 737 |
func file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescGZIP() []byte { |
| 738 |
file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescOnce.Do(func() { |
| 739 |
file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescData) |
| 740 |
}) |
| 741 |
return file_google_cloud_retail_v2beta_serving_config_service_proto_rawDescData |
| 742 |
} |
| 743 |
|
| 744 |
var file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| 745 |
var file_google_cloud_retail_v2beta_serving_config_service_proto_goTypes = []any{ |
| 746 |
(*CreateServingConfigRequest)(nil), // 0: google.cloud.retail.v2beta.CreateServingConfigRequest |
| 747 |
(*UpdateServingConfigRequest)(nil), // 1: google.cloud.retail.v2beta.UpdateServingConfigRequest |
| 748 |
(*DeleteServingConfigRequest)(nil), // 2: google.cloud.retail.v2beta.DeleteServingConfigRequest |
| 749 |
(*GetServingConfigRequest)(nil), // 3: google.cloud.retail.v2beta.GetServingConfigRequest |
| 750 |
(*ListServingConfigsRequest)(nil), // 4: google.cloud.retail.v2beta.ListServingConfigsRequest |
| 751 |
(*ListServingConfigsResponse)(nil), // 5: google.cloud.retail.v2beta.ListServingConfigsResponse |
| 752 |
(*AddControlRequest)(nil), // 6: google.cloud.retail.v2beta.AddControlRequest |
| 753 |
(*RemoveControlRequest)(nil), // 7: google.cloud.retail.v2beta.RemoveControlRequest |
| 754 |
(*ServingConfig)(nil), // 8: google.cloud.retail.v2beta.ServingConfig |
| 755 |
(*fieldmaskpb.FieldMask)(nil), // 9: google.protobuf.FieldMask |
| 756 |
(*emptypb.Empty)(nil), // 10: google.protobuf.Empty |
| 757 |
} |
| 758 |
var file_google_cloud_retail_v2beta_serving_config_service_proto_depIdxs = []int32{ |
| 759 |
8, // 0: google.cloud.retail.v2beta.CreateServingConfigRequest.serving_config:type_name -> google.cloud.retail.v2beta.ServingConfig |
| 760 |
8, // 1: google.cloud.retail.v2beta.UpdateServingConfigRequest.serving_config:type_name -> google.cloud.retail.v2beta.ServingConfig |
| 761 |
9, // 2: google.cloud.retail.v2beta.UpdateServingConfigRequest.update_mask:type_name -> google.protobuf.FieldMask |
| 762 |
8, // 3: google.cloud.retail.v2beta.ListServingConfigsResponse.serving_configs:type_name -> google.cloud.retail.v2beta.ServingConfig |
| 763 |
0, // 4: google.cloud.retail.v2beta.ServingConfigService.CreateServingConfig:input_type -> google.cloud.retail.v2beta.CreateServingConfigRequest |
| 764 |
2, // 5: google.cloud.retail.v2beta.ServingConfigService.DeleteServingConfig:input_type -> google.cloud.retail.v2beta.DeleteServingConfigRequest |
| 765 |
1, // 6: google.cloud.retail.v2beta.ServingConfigService.UpdateServingConfig:input_type -> google.cloud.retail.v2beta.UpdateServingConfigRequest |
| 766 |
3, // 7: google.cloud.retail.v2beta.ServingConfigService.GetServingConfig:input_type -> google.cloud.retail.v2beta.GetServingConfigRequest |
| 767 |
4, // 8: google.cloud.retail.v2beta.ServingConfigService.ListServingConfigs:input_type -> google.cloud.retail.v2beta.ListServingConfigsRequest |
| 768 |
6, // 9: google.cloud.retail.v2beta.ServingConfigService.AddControl:input_type -> google.cloud.retail.v2beta.AddControlRequest |
| 769 |
7, // 10: google.cloud.retail.v2beta.ServingConfigService.RemoveControl:input_type -> google.cloud.retail.v2beta.RemoveControlRequest |
| 770 |
8, // 11: google.cloud.retail.v2beta.ServingConfigService.CreateServingConfig:output_type -> google.cloud.retail.v2beta.ServingConfig |
| 771 |
10, // 12: google.cloud.retail.v2beta.ServingConfigService.DeleteServingConfig:output_type -> google.protobuf.Empty |
| 772 |
8, // 13: google.cloud.retail.v2beta.ServingConfigService.UpdateServingConfig:output_type -> google.cloud.retail.v2beta.ServingConfig |
| 773 |
8, // 14: google.cloud.retail.v2beta.ServingConfigService.GetServingConfig:output_type -> google.cloud.retail.v2beta.ServingConfig |
| 774 |
5, // 15: google.cloud.retail.v2beta.ServingConfigService.ListServingConfigs:output_type -> google.cloud.retail.v2beta.ListServingConfigsResponse |
| 775 |
8, // 16: google.cloud.retail.v2beta.ServingConfigService.AddControl:output_type -> google.cloud.retail.v2beta.ServingConfig |
| 776 |
8, // 17: google.cloud.retail.v2beta.ServingConfigService.RemoveControl:output_type -> google.cloud.retail.v2beta.ServingConfig |
| 777 |
11, // [11:18] is the sub-list for method output_type |
| 778 |
4, // [4:11] is the sub-list for method input_type |
| 779 |
4, // [4:4] is the sub-list for extension type_name |
| 780 |
4, // [4:4] is the sub-list for extension extendee |
| 781 |
0, // [0:4] is the sub-list for field type_name |
| 782 |
} |
| 783 |
|
| 784 |
func init() { file_google_cloud_retail_v2beta_serving_config_service_proto_init() } |
| 785 |
func file_google_cloud_retail_v2beta_serving_config_service_proto_init() { |
| 786 |
if File_google_cloud_retail_v2beta_serving_config_service_proto != nil { |
| 787 |
return |
| 788 |
} |
| 789 |
file_google_cloud_retail_v2beta_serving_config_proto_init() |
| 790 |
type x struct{} |
| 791 |
out := protoimpl.TypeBuilder{ |
| 792 |
File: protoimpl.DescBuilder{ |
| 793 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 794 |
RawDescriptor: file_google_cloud_retail_v2beta_serving_config_service_proto_rawDesc, |
| 795 |
NumEnums: 0, |
| 796 |
NumMessages: 8, |
| 797 |
NumExtensions: 0, |
| 798 |
NumServices: 1, |
| 799 |
}, |
| 800 |
GoTypes: file_google_cloud_retail_v2beta_serving_config_service_proto_goTypes, |
| 801 |
DependencyIndexes: file_google_cloud_retail_v2beta_serving_config_service_proto_depIdxs, |
| 802 |
MessageInfos: file_google_cloud_retail_v2beta_serving_config_service_proto_msgTypes, |
| 803 |
}.Build() |
| 804 |
File_google_cloud_retail_v2beta_serving_config_service_proto = out.File |
| 805 |
file_google_cloud_retail_v2beta_serving_config_service_proto_rawDesc = nil |
| 806 |
file_google_cloud_retail_v2beta_serving_config_service_proto_goTypes = nil |
| 807 |
file_google_cloud_retail_v2beta_serving_config_service_proto_depIdxs = nil |
| 808 |
} |
| 809 |
|
| 810 |
// Reference imports to suppress errors if they are not otherwise used. |
| 811 |
var _ context.Context |
| 812 |
var _ grpc.ClientConnInterface |
| 813 |
|
| 814 |
// This is a compile-time assertion to ensure that this generated file |
| 815 |
// is compatible with the grpc package it is being compiled against. |
| 816 |
const _ = grpc.SupportPackageIsVersion6 |
| 817 |
|
| 818 |
// ServingConfigServiceClient is the client API for ServingConfigService service. |
| 819 |
// |
| 820 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 821 |
type ServingConfigServiceClient interface { |
| 822 |
// Creates a ServingConfig. |
| 823 |
// |
| 824 |
// A maximum of 100 [ServingConfig][google.cloud.retail.v2beta.ServingConfig]s |
| 825 |
// are allowed in a [Catalog][google.cloud.retail.v2beta.Catalog], otherwise |
| 826 |
// a FAILED_PRECONDITION error is returned. |
| 827 |
CreateServingConfig(ctx context.Context, in *CreateServingConfigRequest, opts ...grpc.CallOption) (*ServingConfig, error) |
| 828 |
// Deletes a ServingConfig. |
| 829 |
// |
| 830 |
// Returns a NotFound error if the ServingConfig does not exist. |
| 831 |
DeleteServingConfig(ctx context.Context, in *DeleteServingConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 832 |
// Updates a ServingConfig. |
| 833 |
UpdateServingConfig(ctx context.Context, in *UpdateServingConfigRequest, opts ...grpc.CallOption) (*ServingConfig, error) |
| 834 |
// Gets a ServingConfig. |
| 835 |
// |
| 836 |
// Returns a NotFound error if the ServingConfig does not exist. |
| 837 |
GetServingConfig(ctx context.Context, in *GetServingConfigRequest, opts ...grpc.CallOption) (*ServingConfig, error) |
| 838 |
// Lists all ServingConfigs linked to this catalog. |
| 839 |
ListServingConfigs(ctx context.Context, in *ListServingConfigsRequest, opts ...grpc.CallOption) (*ListServingConfigsResponse, error) |
| 840 |
// Enables a Control on the specified ServingConfig. |
| 841 |
// The control is added in the last position of the list of controls |
| 842 |
// it belongs to (e.g. if it's a facet spec control it will be applied |
| 843 |
// in the last position of servingConfig.facetSpecIds) |
| 844 |
// Returns a ALREADY_EXISTS error if the control has already been applied. |
| 845 |
// Returns a FAILED_PRECONDITION error if the addition could exceed maximum |
| 846 |
// number of control allowed for that type of control. |
| 847 |
AddControl(ctx context.Context, in *AddControlRequest, opts ...grpc.CallOption) (*ServingConfig, error) |
| 848 |
// Disables a Control on the specified ServingConfig. |
| 849 |
// The control is removed from the ServingConfig. |
| 850 |
// Returns a NOT_FOUND error if the Control is not enabled for the |
| 851 |
// ServingConfig. |
| 852 |
RemoveControl(ctx context.Context, in *RemoveControlRequest, opts ...grpc.CallOption) (*ServingConfig, error) |
| 853 |
} |
| 854 |
|
| 855 |
type servingConfigServiceClient struct { |
| 856 |
cc grpc.ClientConnInterface |
| 857 |
} |
| 858 |
|
| 859 |
func NewServingConfigServiceClient(cc grpc.ClientConnInterface) ServingConfigServiceClient { |
| 860 |
return &servingConfigServiceClient{cc} |
| 861 |
} |
| 862 |
|
| 863 |
func (c *servingConfigServiceClient) CreateServingConfig(ctx context.Context, in *CreateServingConfigRequest, opts ...grpc.CallOption) (*ServingConfig, error) { |
| 864 |
out := new(ServingConfig) |
| 865 |
err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ServingConfigService/CreateServingConfig", in, out, opts...) |
| 866 |
if err != nil { |
| 867 |
return nil, err |
| 868 |
} |
| 869 |
return out, nil |
| 870 |
} |
| 871 |
|
| 872 |
func (c *servingConfigServiceClient) DeleteServingConfig(ctx context.Context, in *DeleteServingConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 873 |
out := new(emptypb.Empty) |
| 874 |
err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ServingConfigService/DeleteServingConfig", in, out, opts...) |
| 875 |
if err != nil { |
| 876 |
return nil, err |
| 877 |
} |
| 878 |
return out, nil |
| 879 |
} |
| 880 |
|
| 881 |
func (c *servingConfigServiceClient) UpdateServingConfig(ctx context.Context, in *UpdateServingConfigRequest, opts ...grpc.CallOption) (*ServingConfig, error) { |
| 882 |
out := new(ServingConfig) |
| 883 |
err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ServingConfigService/UpdateServingConfig", in, out, opts...) |
| 884 |
if err != nil { |
| 885 |
return nil, err |
| 886 |
} |
| 887 |
return out, nil |
| 888 |
} |
| 889 |
|
| 890 |
func (c *servingConfigServiceClient) GetServingConfig(ctx context.Context, in *GetServingConfigRequest, opts ...grpc.CallOption) (*ServingConfig, error) { |
| 891 |
out := new(ServingConfig) |
| 892 |
err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ServingConfigService/GetServingConfig", in, out, opts...) |
| 893 |
if err != nil { |
| 894 |
return nil, err |
| 895 |
} |
| 896 |
return out, nil |
| 897 |
} |
| 898 |
|
| 899 |
func (c *servingConfigServiceClient) ListServingConfigs(ctx context.Context, in *ListServingConfigsRequest, opts ...grpc.CallOption) (*ListServingConfigsResponse, error) { |
| 900 |
out := new(ListServingConfigsResponse) |
| 901 |
err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ServingConfigService/ListServingConfigs", in, out, opts...) |
| 902 |
if err != nil { |
| 903 |
return nil, err |
| 904 |
} |
| 905 |
return out, nil |
| 906 |
} |
| 907 |
|
| 908 |
func (c *servingConfigServiceClient) AddControl(ctx context.Context, in *AddControlRequest, opts ...grpc.CallOption) (*ServingConfig, error) { |
| 909 |
out := new(ServingConfig) |
| 910 |
err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ServingConfigService/AddControl", in, out, opts...) |
| 911 |
if err != nil { |
| 912 |
return nil, err |
| 913 |
} |
| 914 |
return out, nil |
| 915 |
} |
| 916 |
|
| 917 |
func (c *servingConfigServiceClient) RemoveControl(ctx context.Context, in *RemoveControlRequest, opts ...grpc.CallOption) (*ServingConfig, error) { |
| 918 |
out := new(ServingConfig) |
| 919 |
err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ServingConfigService/RemoveControl", in, out, opts...) |
| 920 |
if err != nil { |
| 921 |
return nil, err |
| 922 |
} |
| 923 |
return out, nil |
| 924 |
} |
| 925 |
|
| 926 |
// ServingConfigServiceServer is the server API for ServingConfigService service. |
| 927 |
type ServingConfigServiceServer interface { |
| 928 |
// Creates a ServingConfig. |
| 929 |
// |
| 930 |
// A maximum of 100 [ServingConfig][google.cloud.retail.v2beta.ServingConfig]s |
| 931 |
// are allowed in a [Catalog][google.cloud.retail.v2beta.Catalog], otherwise |
| 932 |
// a FAILED_PRECONDITION error is returned. |
| 933 |
CreateServingConfig(context.Context, *CreateServingConfigRequest) (*ServingConfig, error) |
| 934 |
// Deletes a ServingConfig. |
| 935 |
// |
| 936 |
// Returns a NotFound error if the ServingConfig does not exist. |
| 937 |
DeleteServingConfig(context.Context, *DeleteServingConfigRequest) (*emptypb.Empty, error) |
| 938 |
// Updates a ServingConfig. |
| 939 |
UpdateServingConfig(context.Context, *UpdateServingConfigRequest) (*ServingConfig, error) |
| 940 |
// Gets a ServingConfig. |
| 941 |
// |
| 942 |
// Returns a NotFound error if the ServingConfig does not exist. |
| 943 |
GetServingConfig(context.Context, *GetServingConfigRequest) (*ServingConfig, error) |
| 944 |
// Lists all ServingConfigs linked to this catalog. |
| 945 |
ListServingConfigs(context.Context, *ListServingConfigsRequest) (*ListServingConfigsResponse, error) |
| 946 |
// Enables a Control on the specified ServingConfig. |
| 947 |
// The control is added in the last position of the list of controls |
| 948 |
// it belongs to (e.g. if it's a facet spec control it will be applied |
| 949 |
// in the last position of servingConfig.facetSpecIds) |
| 950 |
// Returns a ALREADY_EXISTS error if the control has already been applied. |
| 951 |
// Returns a FAILED_PRECONDITION error if the addition could exceed maximum |
| 952 |
// number of control allowed for that type of control. |
| 953 |
AddControl(context.Context, *AddControlRequest) (*ServingConfig, error) |
| 954 |
// Disables a Control on the specified ServingConfig. |
| 955 |
// The control is removed from the ServingConfig. |
| 956 |
// Returns a NOT_FOUND error if the Control is not enabled for the |
| 957 |
// ServingConfig. |
| 958 |
RemoveControl(context.Context, *RemoveControlRequest) (*ServingConfig, error) |
| 959 |
} |
| 960 |
|
| 961 |
// UnimplementedServingConfigServiceServer can be embedded to have forward compatible implementations. |
| 962 |
type UnimplementedServingConfigServiceServer struct { |
| 963 |
} |
| 964 |
|
| 965 |
func (*UnimplementedServingConfigServiceServer) CreateServingConfig(context.Context, *CreateServingConfigRequest) (*ServingConfig, error) { |
| 966 |
return nil, status.Errorf(codes.Unimplemented, "method CreateServingConfig not implemented") |
| 967 |
} |
| 968 |
func (*UnimplementedServingConfigServiceServer) DeleteServingConfig(context.Context, *DeleteServingConfigRequest) (*emptypb.Empty, error) { |
| 969 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteServingConfig not implemented") |
| 970 |
} |
| 971 |
func (*UnimplementedServingConfigServiceServer) UpdateServingConfig(context.Context, *UpdateServingConfigRequest) (*ServingConfig, error) { |
| 972 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateServingConfig not implemented") |
| 973 |
} |
| 974 |
func (*UnimplementedServingConfigServiceServer) GetServingConfig(context.Context, *GetServingConfigRequest) (*ServingConfig, error) { |
| 975 |
return nil, status.Errorf(codes.Unimplemented, "method GetServingConfig not implemented") |
| 976 |
} |
| 977 |
func (*UnimplementedServingConfigServiceServer) ListServingConfigs(context.Context, *ListServingConfigsRequest) (*ListServingConfigsResponse, error) { |
| 978 |
return nil, status.Errorf(codes.Unimplemented, "method ListServingConfigs not implemented") |
| 979 |
} |
| 980 |
func (*UnimplementedServingConfigServiceServer) AddControl(context.Context, *AddControlRequest) (*ServingConfig, error) { |
| 981 |
return nil, status.Errorf(codes.Unimplemented, "method AddControl not implemented") |
| 982 |
} |
| 983 |
func (*UnimplementedServingConfigServiceServer) RemoveControl(context.Context, *RemoveControlRequest) (*ServingConfig, error) { |
| 984 |
return nil, status.Errorf(codes.Unimplemented, "method RemoveControl not implemented") |
| 985 |
} |
| 986 |
|
| 987 |
func RegisterServingConfigServiceServer(s *grpc.Server, srv ServingConfigServiceServer) { |
| 988 |
s.RegisterService(&_ServingConfigService_serviceDesc, srv) |
| 989 |
} |
| 990 |
|
| 991 |
func _ServingConfigService_CreateServingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 992 |
in := new(CreateServingConfigRequest) |
| 993 |
if err := dec(in); err != nil { |
| 994 |
return nil, err |
| 995 |
} |
| 996 |
if interceptor == nil { |
| 997 |
return srv.(ServingConfigServiceServer).CreateServingConfig(ctx, in) |
| 998 |
} |
| 999 |
info := &grpc.UnaryServerInfo{ |
| 1000 |
Server: srv, |
| 1001 |
FullMethod: "/google.cloud.retail.v2beta.ServingConfigService/CreateServingConfig", |
| 1002 |
} |
| 1003 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1004 |
return srv.(ServingConfigServiceServer).CreateServingConfig(ctx, req.(*CreateServingConfigRequest)) |
| 1005 |
} |
| 1006 |
return interceptor(ctx, in, info, handler) |
| 1007 |
} |
| 1008 |
|
| 1009 |
func _ServingConfigService_DeleteServingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1010 |
in := new(DeleteServingConfigRequest) |
| 1011 |
if err := dec(in); err != nil { |
| 1012 |
return nil, err |
| 1013 |
} |
| 1014 |
if interceptor == nil { |
| 1015 |
return srv.(ServingConfigServiceServer).DeleteServingConfig(ctx, in) |
| 1016 |
} |
| 1017 |
info := &grpc.UnaryServerInfo{ |
| 1018 |
Server: srv, |
| 1019 |
FullMethod: "/google.cloud.retail.v2beta.ServingConfigService/DeleteServingConfig", |
| 1020 |
} |
| 1021 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1022 |
return srv.(ServingConfigServiceServer).DeleteServingConfig(ctx, req.(*DeleteServingConfigRequest)) |
| 1023 |
} |
| 1024 |
return interceptor(ctx, in, info, handler) |
| 1025 |
} |
| 1026 |
|
| 1027 |
func _ServingConfigService_UpdateServingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1028 |
in := new(UpdateServingConfigRequest) |
| 1029 |
if err := dec(in); err != nil { |
| 1030 |
return nil, err |
| 1031 |
} |
| 1032 |
if interceptor == nil { |
| 1033 |
return srv.(ServingConfigServiceServer).UpdateServingConfig(ctx, in) |
| 1034 |
} |
| 1035 |
info := &grpc.UnaryServerInfo{ |
| 1036 |
Server: srv, |
| 1037 |
FullMethod: "/google.cloud.retail.v2beta.ServingConfigService/UpdateServingConfig", |
| 1038 |
} |
| 1039 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1040 |
return srv.(ServingConfigServiceServer).UpdateServingConfig(ctx, req.(*UpdateServingConfigRequest)) |
| 1041 |
} |
| 1042 |
return interceptor(ctx, in, info, handler) |
| 1043 |
} |
| 1044 |
|
| 1045 |
func _ServingConfigService_GetServingConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1046 |
in := new(GetServingConfigRequest) |
| 1047 |
if err := dec(in); err != nil { |
| 1048 |
return nil, err |
| 1049 |
} |
| 1050 |
if interceptor == nil { |
| 1051 |
return srv.(ServingConfigServiceServer).GetServingConfig(ctx, in) |
| 1052 |
} |
| 1053 |
info := &grpc.UnaryServerInfo{ |
| 1054 |
Server: srv, |
| 1055 |
FullMethod: "/google.cloud.retail.v2beta.ServingConfigService/GetServingConfig", |
| 1056 |
} |
| 1057 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1058 |
return srv.(ServingConfigServiceServer).GetServingConfig(ctx, req.(*GetServingConfigRequest)) |
| 1059 |
} |
| 1060 |
return interceptor(ctx, in, info, handler) |
| 1061 |
} |
| 1062 |
|
| 1063 |
func _ServingConfigService_ListServingConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1064 |
in := new(ListServingConfigsRequest) |
| 1065 |
if err := dec(in); err != nil { |
| 1066 |
return nil, err |
| 1067 |
} |
| 1068 |
if interceptor == nil { |
| 1069 |
return srv.(ServingConfigServiceServer).ListServingConfigs(ctx, in) |
| 1070 |
} |
| 1071 |
info := &grpc.UnaryServerInfo{ |
| 1072 |
Server: srv, |
| 1073 |
FullMethod: "/google.cloud.retail.v2beta.ServingConfigService/ListServingConfigs", |
| 1074 |
} |
| 1075 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1076 |
return srv.(ServingConfigServiceServer).ListServingConfigs(ctx, req.(*ListServingConfigsRequest)) |
| 1077 |
} |
| 1078 |
return interceptor(ctx, in, info, handler) |
| 1079 |
} |
| 1080 |
|
| 1081 |
func _ServingConfigService_AddControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1082 |
in := new(AddControlRequest) |
| 1083 |
if err := dec(in); err != nil { |
| 1084 |
return nil, err |
| 1085 |
} |
| 1086 |
if interceptor == nil { |
| 1087 |
return srv.(ServingConfigServiceServer).AddControl(ctx, in) |
| 1088 |
} |
| 1089 |
info := &grpc.UnaryServerInfo{ |
| 1090 |
Server: srv, |
| 1091 |
FullMethod: "/google.cloud.retail.v2beta.ServingConfigService/AddControl", |
| 1092 |
} |
| 1093 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1094 |
return srv.(ServingConfigServiceServer).AddControl(ctx, req.(*AddControlRequest)) |
| 1095 |
} |
| 1096 |
return interceptor(ctx, in, info, handler) |
| 1097 |
} |
| 1098 |
|
| 1099 |
func _ServingConfigService_RemoveControl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1100 |
in := new(RemoveControlRequest) |
| 1101 |
if err := dec(in); err != nil { |
| 1102 |
return nil, err |
| 1103 |
} |
| 1104 |
if interceptor == nil { |
| 1105 |
return srv.(ServingConfigServiceServer).RemoveControl(ctx, in) |
| 1106 |
} |
| 1107 |
info := &grpc.UnaryServerInfo{ |
| 1108 |
Server: srv, |
| 1109 |
FullMethod: "/google.cloud.retail.v2beta.ServingConfigService/RemoveControl", |
| 1110 |
} |
| 1111 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1112 |
return srv.(ServingConfigServiceServer).RemoveControl(ctx, req.(*RemoveControlRequest)) |
| 1113 |
} |
| 1114 |
return interceptor(ctx, in, info, handler) |
| 1115 |
} |
| 1116 |
|
| 1117 |
var _ServingConfigService_serviceDesc = grpc.ServiceDesc{ |
| 1118 |
ServiceName: "google.cloud.retail.v2beta.ServingConfigService", |
| 1119 |
HandlerType: (*ServingConfigServiceServer)(nil), |
| 1120 |
Methods: []grpc.MethodDesc{ |
| 1121 |
{ |
| 1122 |
MethodName: "CreateServingConfig", |
| 1123 |
Handler: _ServingConfigService_CreateServingConfig_Handler, |
| 1124 |
}, |
| 1125 |
{ |
| 1126 |
MethodName: "DeleteServingConfig", |
| 1127 |
Handler: _ServingConfigService_DeleteServingConfig_Handler, |
| 1128 |
}, |
| 1129 |
{ |
| 1130 |
MethodName: "UpdateServingConfig", |
| 1131 |
Handler: _ServingConfigService_UpdateServingConfig_Handler, |
| 1132 |
}, |
| 1133 |
{ |
| 1134 |
MethodName: "GetServingConfig", |
| 1135 |
Handler: _ServingConfigService_GetServingConfig_Handler, |
| 1136 |
}, |
| 1137 |
{ |
| 1138 |
MethodName: "ListServingConfigs", |
| 1139 |
Handler: _ServingConfigService_ListServingConfigs_Handler, |
| 1140 |
}, |
| 1141 |
{ |
| 1142 |
MethodName: "AddControl", |
| 1143 |
Handler: _ServingConfigService_AddControl_Handler, |
| 1144 |
}, |
| 1145 |
{ |
| 1146 |
MethodName: "RemoveControl", |
| 1147 |
Handler: _ServingConfigService_RemoveControl_Handler, |
| 1148 |
}, |
| 1149 |
}, |
| 1150 |
Streams: []grpc.StreamDesc{}, |
| 1151 |
Metadata: "google/cloud/retail/v2beta/serving_config_service.proto", |
| 1152 |
} |