| 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/shopping/css/v1/accounts_labels.proto |
| 20 |
|
| 21 |
package csspb |
| 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 |
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 |
// The label type. |
| 44 |
type AccountLabel_LabelType int32 |
| 45 |
|
| 46 |
const ( |
| 47 |
// Unknown label type. |
| 48 |
AccountLabel_LABEL_TYPE_UNSPECIFIED AccountLabel_LabelType = 0 |
| 49 |
// Indicates that the label was created manually. |
| 50 |
AccountLabel_MANUAL AccountLabel_LabelType = 1 |
| 51 |
// Indicates that the label was created automatically by CSS Center. |
| 52 |
AccountLabel_AUTOMATIC AccountLabel_LabelType = 2 |
| 53 |
) |
| 54 |
|
| 55 |
// Enum value maps for AccountLabel_LabelType. |
| 56 |
var ( |
| 57 |
AccountLabel_LabelType_name = map[int32]string{ |
| 58 |
0: "LABEL_TYPE_UNSPECIFIED", |
| 59 |
1: "MANUAL", |
| 60 |
2: "AUTOMATIC", |
| 61 |
} |
| 62 |
AccountLabel_LabelType_value = map[string]int32{ |
| 63 |
"LABEL_TYPE_UNSPECIFIED": 0, |
| 64 |
"MANUAL": 1, |
| 65 |
"AUTOMATIC": 2, |
| 66 |
} |
| 67 |
) |
| 68 |
|
| 69 |
func (x AccountLabel_LabelType) Enum() *AccountLabel_LabelType { |
| 70 |
p := new(AccountLabel_LabelType) |
| 71 |
*p = x |
| 72 |
return p |
| 73 |
} |
| 74 |
|
| 75 |
func (x AccountLabel_LabelType) String() string { |
| 76 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 77 |
} |
| 78 |
|
| 79 |
func (AccountLabel_LabelType) Descriptor() protoreflect.EnumDescriptor { |
| 80 |
return file_google_shopping_css_v1_accounts_labels_proto_enumTypes[0].Descriptor() |
| 81 |
} |
| 82 |
|
| 83 |
func (AccountLabel_LabelType) Type() protoreflect.EnumType { |
| 84 |
return &file_google_shopping_css_v1_accounts_labels_proto_enumTypes[0] |
| 85 |
} |
| 86 |
|
| 87 |
func (x AccountLabel_LabelType) Number() protoreflect.EnumNumber { |
| 88 |
return protoreflect.EnumNumber(x) |
| 89 |
} |
| 90 |
|
| 91 |
// Deprecated: Use AccountLabel_LabelType.Descriptor instead. |
| 92 |
func (AccountLabel_LabelType) EnumDescriptor() ([]byte, []int) { |
| 93 |
return file_google_shopping_css_v1_accounts_labels_proto_rawDescGZIP(), []int{0, 0} |
| 94 |
} |
| 95 |
|
| 96 |
// Label assigned by CSS domain or CSS group to one of its sub-accounts. |
| 97 |
type AccountLabel struct { |
| 98 |
state protoimpl.MessageState |
| 99 |
sizeCache protoimpl.SizeCache |
| 100 |
unknownFields protoimpl.UnknownFields |
| 101 |
|
| 102 |
// The resource name of the label. |
| 103 |
// Format: accounts/{account}/labels/{label} |
| 104 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 105 |
// Output only. The ID of the label. |
| 106 |
LabelId int64 `protobuf:"varint,2,opt,name=label_id,json=labelId,proto3" json:"label_id,omitempty"` |
| 107 |
// Output only. The ID of account this label belongs to. |
| 108 |
AccountId int64 `protobuf:"varint,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` |
| 109 |
// The display name of this label. |
| 110 |
DisplayName *string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"` |
| 111 |
// The description of this label. |
| 112 |
Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` |
| 113 |
// Output only. The type of this label. |
| 114 |
LabelType AccountLabel_LabelType `protobuf:"varint,6,opt,name=label_type,json=labelType,proto3,enum=google.shopping.css.v1.AccountLabel_LabelType" json:"label_type,omitempty"` |
| 115 |
} |
| 116 |
|
| 117 |
func (x *AccountLabel) Reset() { |
| 118 |
*x = AccountLabel{} |
| 119 |
mi := &file_google_shopping_css_v1_accounts_labels_proto_msgTypes[0] |
| 120 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 121 |
ms.StoreMessageInfo(mi) |
| 122 |
} |
| 123 |
|
| 124 |
func (x *AccountLabel) String() string { |
| 125 |
return protoimpl.X.MessageStringOf(x) |
| 126 |
} |
| 127 |
|
| 128 |
func (*AccountLabel) ProtoMessage() {} |
| 129 |
|
| 130 |
func (x *AccountLabel) ProtoReflect() protoreflect.Message { |
| 131 |
mi := &file_google_shopping_css_v1_accounts_labels_proto_msgTypes[0] |
| 132 |
if x != nil { |
| 133 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 134 |
if ms.LoadMessageInfo() == nil { |
| 135 |
ms.StoreMessageInfo(mi) |
| 136 |
} |
| 137 |
return ms |
| 138 |
} |
| 139 |
return mi.MessageOf(x) |
| 140 |
} |
| 141 |
|
| 142 |
// Deprecated: Use AccountLabel.ProtoReflect.Descriptor instead. |
| 143 |
func (*AccountLabel) Descriptor() ([]byte, []int) { |
| 144 |
return file_google_shopping_css_v1_accounts_labels_proto_rawDescGZIP(), []int{0} |
| 145 |
} |
| 146 |
|
| 147 |
func (x *AccountLabel) GetName() string { |
| 148 |
if x != nil { |
| 149 |
return x.Name |
| 150 |
} |
| 151 |
return "" |
| 152 |
} |
| 153 |
|
| 154 |
func (x *AccountLabel) GetLabelId() int64 { |
| 155 |
if x != nil { |
| 156 |
return x.LabelId |
| 157 |
} |
| 158 |
return 0 |
| 159 |
} |
| 160 |
|
| 161 |
func (x *AccountLabel) GetAccountId() int64 { |
| 162 |
if x != nil { |
| 163 |
return x.AccountId |
| 164 |
} |
| 165 |
return 0 |
| 166 |
} |
| 167 |
|
| 168 |
func (x *AccountLabel) GetDisplayName() string { |
| 169 |
if x != nil && x.DisplayName != nil { |
| 170 |
return *x.DisplayName |
| 171 |
} |
| 172 |
return "" |
| 173 |
} |
| 174 |
|
| 175 |
func (x *AccountLabel) GetDescription() string { |
| 176 |
if x != nil && x.Description != nil { |
| 177 |
return *x.Description |
| 178 |
} |
| 179 |
return "" |
| 180 |
} |
| 181 |
|
| 182 |
func (x *AccountLabel) GetLabelType() AccountLabel_LabelType { |
| 183 |
if x != nil { |
| 184 |
return x.LabelType |
| 185 |
} |
| 186 |
return AccountLabel_LABEL_TYPE_UNSPECIFIED |
| 187 |
} |
| 188 |
|
| 189 |
// Request message for the `ListAccountLabels` method. |
| 190 |
type ListAccountLabelsRequest struct { |
| 191 |
state protoimpl.MessageState |
| 192 |
sizeCache protoimpl.SizeCache |
| 193 |
unknownFields protoimpl.UnknownFields |
| 194 |
|
| 195 |
// Required. The parent account. |
| 196 |
// Format: accounts/{account} |
| 197 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 198 |
// The maximum number of labels to return. The service may return fewer than |
| 199 |
// this value. |
| 200 |
// If unspecified, at most 50 labels will be returned. |
| 201 |
// The maximum value is 1000; values above 1000 will be coerced to 1000. |
| 202 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 203 |
// A page token, received from a previous `ListAccountLabels` call. |
| 204 |
// Provide this to retrieve the subsequent page. |
| 205 |
// |
| 206 |
// When paginating, all other parameters provided to `ListAccountLabels` must |
| 207 |
// match the call that provided the page token. |
| 208 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 209 |
} |
| 210 |
|
| 211 |
func (x *ListAccountLabelsRequest) Reset() { |
| 212 |
*x = ListAccountLabelsRequest{} |
| 213 |
mi := &file_google_shopping_css_v1_accounts_labels_proto_msgTypes[1] |
| 214 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 215 |
ms.StoreMessageInfo(mi) |
| 216 |
} |
| 217 |
|
| 218 |
func (x *ListAccountLabelsRequest) String() string { |
| 219 |
return protoimpl.X.MessageStringOf(x) |
| 220 |
} |
| 221 |
|
| 222 |
func (*ListAccountLabelsRequest) ProtoMessage() {} |
| 223 |
|
| 224 |
func (x *ListAccountLabelsRequest) ProtoReflect() protoreflect.Message { |
| 225 |
mi := &file_google_shopping_css_v1_accounts_labels_proto_msgTypes[1] |
| 226 |
if x != nil { |
| 227 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 228 |
if ms.LoadMessageInfo() == nil { |
| 229 |
ms.StoreMessageInfo(mi) |
| 230 |
} |
| 231 |
return ms |
| 232 |
} |
| 233 |
return mi.MessageOf(x) |
| 234 |
} |
| 235 |
|
| 236 |
// Deprecated: Use ListAccountLabelsRequest.ProtoReflect.Descriptor instead. |
| 237 |
func (*ListAccountLabelsRequest) Descriptor() ([]byte, []int) { |
| 238 |
return file_google_shopping_css_v1_accounts_labels_proto_rawDescGZIP(), []int{1} |
| 239 |
} |
| 240 |
|
| 241 |
func (x *ListAccountLabelsRequest) GetParent() string { |
| 242 |
if x != nil { |
| 243 |
return x.Parent |
| 244 |
} |
| 245 |
return "" |
| 246 |
} |
| 247 |
|
| 248 |
func (x *ListAccountLabelsRequest) GetPageSize() int32 { |
| 249 |
if x != nil { |
| 250 |
return x.PageSize |
| 251 |
} |
| 252 |
return 0 |
| 253 |
} |
| 254 |
|
| 255 |
func (x *ListAccountLabelsRequest) GetPageToken() string { |
| 256 |
if x != nil { |
| 257 |
return x.PageToken |
| 258 |
} |
| 259 |
return "" |
| 260 |
} |
| 261 |
|
| 262 |
// Response message for the `ListAccountLabels` method. |
| 263 |
type ListAccountLabelsResponse struct { |
| 264 |
state protoimpl.MessageState |
| 265 |
sizeCache protoimpl.SizeCache |
| 266 |
unknownFields protoimpl.UnknownFields |
| 267 |
|
| 268 |
// The labels from the specified account. |
| 269 |
AccountLabels []*AccountLabel `protobuf:"bytes,1,rep,name=account_labels,json=accountLabels,proto3" json:"account_labels,omitempty"` |
| 270 |
// A token, which can be sent as `page_token` to retrieve the next page. |
| 271 |
// If this field is omitted, there are no subsequent pages. |
| 272 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 273 |
} |
| 274 |
|
| 275 |
func (x *ListAccountLabelsResponse) Reset() { |
| 276 |
*x = ListAccountLabelsResponse{} |
| 277 |
mi := &file_google_shopping_css_v1_accounts_labels_proto_msgTypes[2] |
| 278 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 279 |
ms.StoreMessageInfo(mi) |
| 280 |
} |
| 281 |
|
| 282 |
func (x *ListAccountLabelsResponse) String() string { |
| 283 |
return protoimpl.X.MessageStringOf(x) |
| 284 |
} |
| 285 |
|
| 286 |
func (*ListAccountLabelsResponse) ProtoMessage() {} |
| 287 |
|
| 288 |
func (x *ListAccountLabelsResponse) ProtoReflect() protoreflect.Message { |
| 289 |
mi := &file_google_shopping_css_v1_accounts_labels_proto_msgTypes[2] |
| 290 |
if x != nil { |
| 291 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 292 |
if ms.LoadMessageInfo() == nil { |
| 293 |
ms.StoreMessageInfo(mi) |
| 294 |
} |
| 295 |
return ms |
| 296 |
} |
| 297 |
return mi.MessageOf(x) |
| 298 |
} |
| 299 |
|
| 300 |
// Deprecated: Use ListAccountLabelsResponse.ProtoReflect.Descriptor instead. |
| 301 |
func (*ListAccountLabelsResponse) Descriptor() ([]byte, []int) { |
| 302 |
return file_google_shopping_css_v1_accounts_labels_proto_rawDescGZIP(), []int{2} |
| 303 |
} |
| 304 |
|
| 305 |
func (x *ListAccountLabelsResponse) GetAccountLabels() []*AccountLabel { |
| 306 |
if x != nil { |
| 307 |
return x.AccountLabels |
| 308 |
} |
| 309 |
return nil |
| 310 |
} |
| 311 |
|
| 312 |
func (x *ListAccountLabelsResponse) GetNextPageToken() string { |
| 313 |
if x != nil { |
| 314 |
return x.NextPageToken |
| 315 |
} |
| 316 |
return "" |
| 317 |
} |
| 318 |
|
| 319 |
// Request message for the 'CreateAccountLanel' method. |
| 320 |
type CreateAccountLabelRequest struct { |
| 321 |
state protoimpl.MessageState |
| 322 |
sizeCache protoimpl.SizeCache |
| 323 |
unknownFields protoimpl.UnknownFields |
| 324 |
|
| 325 |
// Required. The parent account. |
| 326 |
// Format: accounts/{account} |
| 327 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 328 |
// Required. The label to create. |
| 329 |
AccountLabel *AccountLabel `protobuf:"bytes,2,opt,name=account_label,json=accountLabel,proto3" json:"account_label,omitempty"` |
| 330 |
} |
| 331 |
|
| 332 |
func (x *CreateAccountLabelRequest) Reset() { |
| 333 |
*x = CreateAccountLabelRequest{} |
| 334 |
mi := &file_google_shopping_css_v1_accounts_labels_proto_msgTypes[3] |
| 335 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 336 |
ms.StoreMessageInfo(mi) |
| 337 |
} |
| 338 |
|
| 339 |
func (x *CreateAccountLabelRequest) String() string { |
| 340 |
return protoimpl.X.MessageStringOf(x) |
| 341 |
} |
| 342 |
|
| 343 |
func (*CreateAccountLabelRequest) ProtoMessage() {} |
| 344 |
|
| 345 |
func (x *CreateAccountLabelRequest) ProtoReflect() protoreflect.Message { |
| 346 |
mi := &file_google_shopping_css_v1_accounts_labels_proto_msgTypes[3] |
| 347 |
if x != nil { |
| 348 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 349 |
if ms.LoadMessageInfo() == nil { |
| 350 |
ms.StoreMessageInfo(mi) |
| 351 |
} |
| 352 |
return ms |
| 353 |
} |
| 354 |
return mi.MessageOf(x) |
| 355 |
} |
| 356 |
|
| 357 |
// Deprecated: Use CreateAccountLabelRequest.ProtoReflect.Descriptor instead. |
| 358 |
func (*CreateAccountLabelRequest) Descriptor() ([]byte, []int) { |
| 359 |
return file_google_shopping_css_v1_accounts_labels_proto_rawDescGZIP(), []int{3} |
| 360 |
} |
| 361 |
|
| 362 |
func (x *CreateAccountLabelRequest) GetParent() string { |
| 363 |
if x != nil { |
| 364 |
return x.Parent |
| 365 |
} |
| 366 |
return "" |
| 367 |
} |
| 368 |
|
| 369 |
func (x *CreateAccountLabelRequest) GetAccountLabel() *AccountLabel { |
| 370 |
if x != nil { |
| 371 |
return x.AccountLabel |
| 372 |
} |
| 373 |
return nil |
| 374 |
} |
| 375 |
|
| 376 |
// Request message for the `UpdateAccountLabel` method. |
| 377 |
type UpdateAccountLabelRequest struct { |
| 378 |
state protoimpl.MessageState |
| 379 |
sizeCache protoimpl.SizeCache |
| 380 |
unknownFields protoimpl.UnknownFields |
| 381 |
|
| 382 |
// Required. The updated label. All fields must be provided. |
| 383 |
AccountLabel *AccountLabel `protobuf:"bytes,1,opt,name=account_label,json=accountLabel,proto3" json:"account_label,omitempty"` |
| 384 |
} |
| 385 |
|
| 386 |
func (x *UpdateAccountLabelRequest) Reset() { |
| 387 |
*x = UpdateAccountLabelRequest{} |
| 388 |
mi := &file_google_shopping_css_v1_accounts_labels_proto_msgTypes[4] |
| 389 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 390 |
ms.StoreMessageInfo(mi) |
| 391 |
} |
| 392 |
|
| 393 |
func (x *UpdateAccountLabelRequest) String() string { |
| 394 |
return protoimpl.X.MessageStringOf(x) |
| 395 |
} |
| 396 |
|
| 397 |
func (*UpdateAccountLabelRequest) ProtoMessage() {} |
| 398 |
|
| 399 |
func (x *UpdateAccountLabelRequest) ProtoReflect() protoreflect.Message { |
| 400 |
mi := &file_google_shopping_css_v1_accounts_labels_proto_msgTypes[4] |
| 401 |
if x != nil { |
| 402 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 403 |
if ms.LoadMessageInfo() == nil { |
| 404 |
ms.StoreMessageInfo(mi) |
| 405 |
} |
| 406 |
return ms |
| 407 |
} |
| 408 |
return mi.MessageOf(x) |
| 409 |
} |
| 410 |
|
| 411 |
// Deprecated: Use UpdateAccountLabelRequest.ProtoReflect.Descriptor instead. |
| 412 |
func (*UpdateAccountLabelRequest) Descriptor() ([]byte, []int) { |
| 413 |
return file_google_shopping_css_v1_accounts_labels_proto_rawDescGZIP(), []int{4} |
| 414 |
} |
| 415 |
|
| 416 |
func (x *UpdateAccountLabelRequest) GetAccountLabel() *AccountLabel { |
| 417 |
if x != nil { |
| 418 |
return x.AccountLabel |
| 419 |
} |
| 420 |
return nil |
| 421 |
} |
| 422 |
|
| 423 |
// Request message for the 'DeleteAccountLabel' method. |
| 424 |
type DeleteAccountLabelRequest struct { |
| 425 |
state protoimpl.MessageState |
| 426 |
sizeCache protoimpl.SizeCache |
| 427 |
unknownFields protoimpl.UnknownFields |
| 428 |
|
| 429 |
// Required. The name of the label to delete. |
| 430 |
// Format: accounts/{account}/labels/{label} |
| 431 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 432 |
} |
| 433 |
|
| 434 |
func (x *DeleteAccountLabelRequest) Reset() { |
| 435 |
*x = DeleteAccountLabelRequest{} |
| 436 |
mi := &file_google_shopping_css_v1_accounts_labels_proto_msgTypes[5] |
| 437 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 438 |
ms.StoreMessageInfo(mi) |
| 439 |
} |
| 440 |
|
| 441 |
func (x *DeleteAccountLabelRequest) String() string { |
| 442 |
return protoimpl.X.MessageStringOf(x) |
| 443 |
} |
| 444 |
|
| 445 |
func (*DeleteAccountLabelRequest) ProtoMessage() {} |
| 446 |
|
| 447 |
func (x *DeleteAccountLabelRequest) ProtoReflect() protoreflect.Message { |
| 448 |
mi := &file_google_shopping_css_v1_accounts_labels_proto_msgTypes[5] |
| 449 |
if x != nil { |
| 450 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 451 |
if ms.LoadMessageInfo() == nil { |
| 452 |
ms.StoreMessageInfo(mi) |
| 453 |
} |
| 454 |
return ms |
| 455 |
} |
| 456 |
return mi.MessageOf(x) |
| 457 |
} |
| 458 |
|
| 459 |
// Deprecated: Use DeleteAccountLabelRequest.ProtoReflect.Descriptor instead. |
| 460 |
func (*DeleteAccountLabelRequest) Descriptor() ([]byte, []int) { |
| 461 |
return file_google_shopping_css_v1_accounts_labels_proto_rawDescGZIP(), []int{5} |
| 462 |
} |
| 463 |
|
| 464 |
func (x *DeleteAccountLabelRequest) GetName() string { |
| 465 |
if x != nil { |
| 466 |
return x.Name |
| 467 |
} |
| 468 |
return "" |
| 469 |
} |
| 470 |
|
| 471 |
var File_google_shopping_css_v1_accounts_labels_proto protoreflect.FileDescriptor |
| 472 |
|
| 473 |
var file_google_shopping_css_v1_accounts_labels_proto_rawDesc = []byte{ |
| 474 |
0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 475 |
0x67, 0x2f, 0x63, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 476 |
0x73, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, |
| 477 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 478 |
0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 479 |
0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, |
| 480 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, |
| 481 |
0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, |
| 482 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, |
| 483 |
0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, |
| 484 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, |
| 485 |
0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 486 |
0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, |
| 487 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, 0x03, 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x6f, 0x75, |
| 488 |
0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 489 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x08, 0x6c, |
| 490 |
0x61, 0x62, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, |
| 491 |
0x41, 0x03, 0x52, 0x07, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x61, |
| 492 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, |
| 493 |
0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, |
| 494 |
0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 495 |
0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, |
| 496 |
0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, |
| 497 |
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0b, |
| 498 |
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x52, |
| 499 |
0x0a, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, |
| 500 |
0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, |
| 501 |
0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, |
| 502 |
0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x54, 0x79, |
| 503 |
0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x54, 0x79, |
| 504 |
0x70, 0x65, 0x22, 0x42, 0x0a, 0x09, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, |
| 505 |
0x1a, 0x0a, 0x16, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, |
| 506 |
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4d, |
| 507 |
0x41, 0x4e, 0x55, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x55, 0x54, 0x4f, 0x4d, |
| 508 |
0x41, 0x54, 0x49, 0x43, 0x10, 0x02, 0x3a, 0x64, 0xea, 0x41, 0x61, 0x0a, 0x1f, 0x63, 0x73, 0x73, |
| 509 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| 510 |
0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x21, 0x61, 0x63, |
| 511 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x7d, |
| 512 |
0x2f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x7d, 0x2a, |
| 513 |
0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x32, 0x0c, |
| 514 |
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x42, 0x0f, 0x0a, 0x0d, |
| 515 |
0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0e, 0x0a, |
| 516 |
0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x97, 0x01, |
| 517 |
0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, |
| 518 |
0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, |
| 519 |
0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, |
| 520 |
0x41, 0x21, 0x12, 0x1f, 0x63, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 521 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, |
| 522 |
0x62, 0x65, 0x6c, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, |
| 523 |
0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, |
| 524 |
0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, |
| 525 |
0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, |
| 526 |
0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x90, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, |
| 527 |
0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, |
| 528 |
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 529 |
0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, |
| 530 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 531 |
0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, |
| 532 |
0x62, 0x65, 0x6c, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, |
| 533 |
0x6c, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, |
| 534 |
0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, |
| 535 |
0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xac, 0x01, 0x0a, 0x19, 0x43, |
| 536 |
0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, |
| 537 |
0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, |
| 538 |
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, |
| 539 |
0x12, 0x1f, 0x63, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 540 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, |
| 541 |
0x6c, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x4e, 0x0a, 0x0d, 0x61, 0x63, 0x63, |
| 542 |
0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 543 |
0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, |
| 544 |
0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 545 |
0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x61, 0x63, 0x63, |
| 546 |
0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x6b, 0x0a, 0x19, 0x55, 0x70, 0x64, |
| 547 |
0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, |
| 548 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 549 |
0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, |
| 550 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 551 |
0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, |
| 552 |
0x62, 0x65, 0x6c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 553 |
0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x58, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, |
| 554 |
0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, |
| 555 |
0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 556 |
0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x63, 0x73, 0x73, 0x2e, 0x67, |
| 557 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, |
| 558 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 559 |
0x32, 0x97, 0x06, 0x0a, 0x14, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, |
| 560 |
0x6c, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa9, 0x01, 0x0a, 0x11, 0x4c, 0x69, |
| 561 |
0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, |
| 562 |
0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 563 |
0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, |
| 564 |
0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 565 |
0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, |
| 566 |
0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, |
| 567 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, |
| 568 |
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, |
| 569 |
0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, |
| 570 |
0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6c, |
| 571 |
0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0xbb, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, |
| 572 |
0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x31, 0x2e, 0x67, |
| 573 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63, |
| 574 |
0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, |
| 575 |
0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, |
| 576 |
0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 577 |
0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, |
| 578 |
0x4c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x4c, 0xda, 0x41, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, |
| 579 |
0x2c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x82, 0xd3, |
| 580 |
0xe4, 0x93, 0x02, 0x2f, 0x3a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, 0x61, |
| 581 |
0x62, 0x65, 0x6c, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, |
| 582 |
0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6c, 0x61, 0x62, |
| 583 |
0x65, 0x6c, 0x73, 0x12, 0xc2, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, |
| 584 |
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, |
| 585 |
0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, |
| 586 |
0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, |
| 587 |
0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, |
| 588 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, |
| 589 |
0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, |
| 590 |
0x62, 0x65, 0x6c, 0x22, 0x53, 0xda, 0x41, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, |
| 591 |
0x6c, 0x61, 0x62, 0x65, 0x6c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x3a, 0x0d, 0x61, 0x63, 0x63, |
| 592 |
0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x32, 0x2c, 0x2f, 0x76, 0x31, 0x2f, |
| 593 |
0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x2e, 0x6e, |
| 594 |
0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, |
| 595 |
0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8e, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, |
| 596 |
0x65, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, |
| 597 |
0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, |
| 598 |
0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, |
| 599 |
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 600 |
0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 601 |
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2d, 0xda, 0x41, 0x04, 0x6e, |
| 602 |
0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x2a, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, |
| 603 |
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, |
| 604 |
0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x1a, 0x3f, 0xca, 0x41, 0x12, 0x63, 0x73, |
| 605 |
0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, |
| 606 |
0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, |
| 607 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, |
| 608 |
0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0xb5, 0x01, 0x0a, 0x1a, 0x63, |
| 609 |
0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, |
| 610 |
0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x41, 0x63, 0x63, 0x6f, 0x75, |
| 611 |
0x6e, 0x74, 0x73, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, |
| 612 |
0x5a, 0x32, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 613 |
0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x63, |
| 614 |
0x73, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x63, 0x73, 0x73, 0x70, 0x62, 0x3b, 0x63, |
| 615 |
0x73, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, |
| 616 |
0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x73, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, |
| 617 |
0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5c, |
| 618 |
0x43, 0x73, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, |
| 619 |
0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x43, 0x73, 0x73, 0x3a, 0x3a, |
| 620 |
0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 621 |
} |
| 622 |
|
| 623 |
var ( |
| 624 |
file_google_shopping_css_v1_accounts_labels_proto_rawDescOnce sync.Once |
| 625 |
file_google_shopping_css_v1_accounts_labels_proto_rawDescData = file_google_shopping_css_v1_accounts_labels_proto_rawDesc |
| 626 |
) |
| 627 |
|
| 628 |
func file_google_shopping_css_v1_accounts_labels_proto_rawDescGZIP() []byte { |
| 629 |
file_google_shopping_css_v1_accounts_labels_proto_rawDescOnce.Do(func() { |
| 630 |
file_google_shopping_css_v1_accounts_labels_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_css_v1_accounts_labels_proto_rawDescData) |
| 631 |
}) |
| 632 |
return file_google_shopping_css_v1_accounts_labels_proto_rawDescData |
| 633 |
} |
| 634 |
|
| 635 |
var file_google_shopping_css_v1_accounts_labels_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 636 |
var file_google_shopping_css_v1_accounts_labels_proto_msgTypes = make([]protoimpl.MessageInfo, 6) |
| 637 |
var file_google_shopping_css_v1_accounts_labels_proto_goTypes = []any{ |
| 638 |
(AccountLabel_LabelType)(0), // 0: google.shopping.css.v1.AccountLabel.LabelType |
| 639 |
(*AccountLabel)(nil), // 1: google.shopping.css.v1.AccountLabel |
| 640 |
(*ListAccountLabelsRequest)(nil), // 2: google.shopping.css.v1.ListAccountLabelsRequest |
| 641 |
(*ListAccountLabelsResponse)(nil), // 3: google.shopping.css.v1.ListAccountLabelsResponse |
| 642 |
(*CreateAccountLabelRequest)(nil), // 4: google.shopping.css.v1.CreateAccountLabelRequest |
| 643 |
(*UpdateAccountLabelRequest)(nil), // 5: google.shopping.css.v1.UpdateAccountLabelRequest |
| 644 |
(*DeleteAccountLabelRequest)(nil), // 6: google.shopping.css.v1.DeleteAccountLabelRequest |
| 645 |
(*emptypb.Empty)(nil), // 7: google.protobuf.Empty |
| 646 |
} |
| 647 |
var file_google_shopping_css_v1_accounts_labels_proto_depIdxs = []int32{ |
| 648 |
0, // 0: google.shopping.css.v1.AccountLabel.label_type:type_name -> google.shopping.css.v1.AccountLabel.LabelType |
| 649 |
1, // 1: google.shopping.css.v1.ListAccountLabelsResponse.account_labels:type_name -> google.shopping.css.v1.AccountLabel |
| 650 |
1, // 2: google.shopping.css.v1.CreateAccountLabelRequest.account_label:type_name -> google.shopping.css.v1.AccountLabel |
| 651 |
1, // 3: google.shopping.css.v1.UpdateAccountLabelRequest.account_label:type_name -> google.shopping.css.v1.AccountLabel |
| 652 |
2, // 4: google.shopping.css.v1.AccountLabelsService.ListAccountLabels:input_type -> google.shopping.css.v1.ListAccountLabelsRequest |
| 653 |
4, // 5: google.shopping.css.v1.AccountLabelsService.CreateAccountLabel:input_type -> google.shopping.css.v1.CreateAccountLabelRequest |
| 654 |
5, // 6: google.shopping.css.v1.AccountLabelsService.UpdateAccountLabel:input_type -> google.shopping.css.v1.UpdateAccountLabelRequest |
| 655 |
6, // 7: google.shopping.css.v1.AccountLabelsService.DeleteAccountLabel:input_type -> google.shopping.css.v1.DeleteAccountLabelRequest |
| 656 |
3, // 8: google.shopping.css.v1.AccountLabelsService.ListAccountLabels:output_type -> google.shopping.css.v1.ListAccountLabelsResponse |
| 657 |
1, // 9: google.shopping.css.v1.AccountLabelsService.CreateAccountLabel:output_type -> google.shopping.css.v1.AccountLabel |
| 658 |
1, // 10: google.shopping.css.v1.AccountLabelsService.UpdateAccountLabel:output_type -> google.shopping.css.v1.AccountLabel |
| 659 |
7, // 11: google.shopping.css.v1.AccountLabelsService.DeleteAccountLabel:output_type -> google.protobuf.Empty |
| 660 |
8, // [8:12] is the sub-list for method output_type |
| 661 |
4, // [4:8] is the sub-list for method input_type |
| 662 |
4, // [4:4] is the sub-list for extension type_name |
| 663 |
4, // [4:4] is the sub-list for extension extendee |
| 664 |
0, // [0:4] is the sub-list for field type_name |
| 665 |
} |
| 666 |
|
| 667 |
func init() { file_google_shopping_css_v1_accounts_labels_proto_init() } |
| 668 |
func file_google_shopping_css_v1_accounts_labels_proto_init() { |
| 669 |
if File_google_shopping_css_v1_accounts_labels_proto != nil { |
| 670 |
return |
| 671 |
} |
| 672 |
file_google_shopping_css_v1_accounts_labels_proto_msgTypes[0].OneofWrappers = []any{} |
| 673 |
type x struct{} |
| 674 |
out := protoimpl.TypeBuilder{ |
| 675 |
File: protoimpl.DescBuilder{ |
| 676 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 677 |
RawDescriptor: file_google_shopping_css_v1_accounts_labels_proto_rawDesc, |
| 678 |
NumEnums: 1, |
| 679 |
NumMessages: 6, |
| 680 |
NumExtensions: 0, |
| 681 |
NumServices: 1, |
| 682 |
}, |
| 683 |
GoTypes: file_google_shopping_css_v1_accounts_labels_proto_goTypes, |
| 684 |
DependencyIndexes: file_google_shopping_css_v1_accounts_labels_proto_depIdxs, |
| 685 |
EnumInfos: file_google_shopping_css_v1_accounts_labels_proto_enumTypes, |
| 686 |
MessageInfos: file_google_shopping_css_v1_accounts_labels_proto_msgTypes, |
| 687 |
}.Build() |
| 688 |
File_google_shopping_css_v1_accounts_labels_proto = out.File |
| 689 |
file_google_shopping_css_v1_accounts_labels_proto_rawDesc = nil |
| 690 |
file_google_shopping_css_v1_accounts_labels_proto_goTypes = nil |
| 691 |
file_google_shopping_css_v1_accounts_labels_proto_depIdxs = nil |
| 692 |
} |
| 693 |
|
| 694 |
// Reference imports to suppress errors if they are not otherwise used. |
| 695 |
var _ context.Context |
| 696 |
var _ grpc.ClientConnInterface |
| 697 |
|
| 698 |
// This is a compile-time assertion to ensure that this generated file |
| 699 |
// is compatible with the grpc package it is being compiled against. |
| 700 |
const _ = grpc.SupportPackageIsVersion6 |
| 701 |
|
| 702 |
// AccountLabelsServiceClient is the client API for AccountLabelsService service. |
| 703 |
// |
| 704 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 705 |
type AccountLabelsServiceClient interface { |
| 706 |
// Lists the labels owned by an account. |
| 707 |
ListAccountLabels(ctx context.Context, in *ListAccountLabelsRequest, opts ...grpc.CallOption) (*ListAccountLabelsResponse, error) |
| 708 |
// Creates a new label, not assigned to any account. |
| 709 |
CreateAccountLabel(ctx context.Context, in *CreateAccountLabelRequest, opts ...grpc.CallOption) (*AccountLabel, error) |
| 710 |
// Updates a label. |
| 711 |
UpdateAccountLabel(ctx context.Context, in *UpdateAccountLabelRequest, opts ...grpc.CallOption) (*AccountLabel, error) |
| 712 |
// Deletes a label and removes it from all accounts to which it was assigned. |
| 713 |
DeleteAccountLabel(ctx context.Context, in *DeleteAccountLabelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 714 |
} |
| 715 |
|
| 716 |
type accountLabelsServiceClient struct { |
| 717 |
cc grpc.ClientConnInterface |
| 718 |
} |
| 719 |
|
| 720 |
func NewAccountLabelsServiceClient(cc grpc.ClientConnInterface) AccountLabelsServiceClient { |
| 721 |
return &accountLabelsServiceClient{cc} |
| 722 |
} |
| 723 |
|
| 724 |
func (c *accountLabelsServiceClient) ListAccountLabels(ctx context.Context, in *ListAccountLabelsRequest, opts ...grpc.CallOption) (*ListAccountLabelsResponse, error) { |
| 725 |
out := new(ListAccountLabelsResponse) |
| 726 |
err := c.cc.Invoke(ctx, "/google.shopping.css.v1.AccountLabelsService/ListAccountLabels", in, out, opts...) |
| 727 |
if err != nil { |
| 728 |
return nil, err |
| 729 |
} |
| 730 |
return out, nil |
| 731 |
} |
| 732 |
|
| 733 |
func (c *accountLabelsServiceClient) CreateAccountLabel(ctx context.Context, in *CreateAccountLabelRequest, opts ...grpc.CallOption) (*AccountLabel, error) { |
| 734 |
out := new(AccountLabel) |
| 735 |
err := c.cc.Invoke(ctx, "/google.shopping.css.v1.AccountLabelsService/CreateAccountLabel", in, out, opts...) |
| 736 |
if err != nil { |
| 737 |
return nil, err |
| 738 |
} |
| 739 |
return out, nil |
| 740 |
} |
| 741 |
|
| 742 |
func (c *accountLabelsServiceClient) UpdateAccountLabel(ctx context.Context, in *UpdateAccountLabelRequest, opts ...grpc.CallOption) (*AccountLabel, error) { |
| 743 |
out := new(AccountLabel) |
| 744 |
err := c.cc.Invoke(ctx, "/google.shopping.css.v1.AccountLabelsService/UpdateAccountLabel", in, out, opts...) |
| 745 |
if err != nil { |
| 746 |
return nil, err |
| 747 |
} |
| 748 |
return out, nil |
| 749 |
} |
| 750 |
|
| 751 |
func (c *accountLabelsServiceClient) DeleteAccountLabel(ctx context.Context, in *DeleteAccountLabelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 752 |
out := new(emptypb.Empty) |
| 753 |
err := c.cc.Invoke(ctx, "/google.shopping.css.v1.AccountLabelsService/DeleteAccountLabel", in, out, opts...) |
| 754 |
if err != nil { |
| 755 |
return nil, err |
| 756 |
} |
| 757 |
return out, nil |
| 758 |
} |
| 759 |
|
| 760 |
// AccountLabelsServiceServer is the server API for AccountLabelsService service. |
| 761 |
type AccountLabelsServiceServer interface { |
| 762 |
// Lists the labels owned by an account. |
| 763 |
ListAccountLabels(context.Context, *ListAccountLabelsRequest) (*ListAccountLabelsResponse, error) |
| 764 |
// Creates a new label, not assigned to any account. |
| 765 |
CreateAccountLabel(context.Context, *CreateAccountLabelRequest) (*AccountLabel, error) |
| 766 |
// Updates a label. |
| 767 |
UpdateAccountLabel(context.Context, *UpdateAccountLabelRequest) (*AccountLabel, error) |
| 768 |
// Deletes a label and removes it from all accounts to which it was assigned. |
| 769 |
DeleteAccountLabel(context.Context, *DeleteAccountLabelRequest) (*emptypb.Empty, error) |
| 770 |
} |
| 771 |
|
| 772 |
// UnimplementedAccountLabelsServiceServer can be embedded to have forward compatible implementations. |
| 773 |
type UnimplementedAccountLabelsServiceServer struct { |
| 774 |
} |
| 775 |
|
| 776 |
func (*UnimplementedAccountLabelsServiceServer) ListAccountLabels(context.Context, *ListAccountLabelsRequest) (*ListAccountLabelsResponse, error) { |
| 777 |
return nil, status.Errorf(codes.Unimplemented, "method ListAccountLabels not implemented") |
| 778 |
} |
| 779 |
func (*UnimplementedAccountLabelsServiceServer) CreateAccountLabel(context.Context, *CreateAccountLabelRequest) (*AccountLabel, error) { |
| 780 |
return nil, status.Errorf(codes.Unimplemented, "method CreateAccountLabel not implemented") |
| 781 |
} |
| 782 |
func (*UnimplementedAccountLabelsServiceServer) UpdateAccountLabel(context.Context, *UpdateAccountLabelRequest) (*AccountLabel, error) { |
| 783 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateAccountLabel not implemented") |
| 784 |
} |
| 785 |
func (*UnimplementedAccountLabelsServiceServer) DeleteAccountLabel(context.Context, *DeleteAccountLabelRequest) (*emptypb.Empty, error) { |
| 786 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteAccountLabel not implemented") |
| 787 |
} |
| 788 |
|
| 789 |
func RegisterAccountLabelsServiceServer(s *grpc.Server, srv AccountLabelsServiceServer) { |
| 790 |
s.RegisterService(&_AccountLabelsService_serviceDesc, srv) |
| 791 |
} |
| 792 |
|
| 793 |
func _AccountLabelsService_ListAccountLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 794 |
in := new(ListAccountLabelsRequest) |
| 795 |
if err := dec(in); err != nil { |
| 796 |
return nil, err |
| 797 |
} |
| 798 |
if interceptor == nil { |
| 799 |
return srv.(AccountLabelsServiceServer).ListAccountLabels(ctx, in) |
| 800 |
} |
| 801 |
info := &grpc.UnaryServerInfo{ |
| 802 |
Server: srv, |
| 803 |
FullMethod: "/google.shopping.css.v1.AccountLabelsService/ListAccountLabels", |
| 804 |
} |
| 805 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 806 |
return srv.(AccountLabelsServiceServer).ListAccountLabels(ctx, req.(*ListAccountLabelsRequest)) |
| 807 |
} |
| 808 |
return interceptor(ctx, in, info, handler) |
| 809 |
} |
| 810 |
|
| 811 |
func _AccountLabelsService_CreateAccountLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 812 |
in := new(CreateAccountLabelRequest) |
| 813 |
if err := dec(in); err != nil { |
| 814 |
return nil, err |
| 815 |
} |
| 816 |
if interceptor == nil { |
| 817 |
return srv.(AccountLabelsServiceServer).CreateAccountLabel(ctx, in) |
| 818 |
} |
| 819 |
info := &grpc.UnaryServerInfo{ |
| 820 |
Server: srv, |
| 821 |
FullMethod: "/google.shopping.css.v1.AccountLabelsService/CreateAccountLabel", |
| 822 |
} |
| 823 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 824 |
return srv.(AccountLabelsServiceServer).CreateAccountLabel(ctx, req.(*CreateAccountLabelRequest)) |
| 825 |
} |
| 826 |
return interceptor(ctx, in, info, handler) |
| 827 |
} |
| 828 |
|
| 829 |
func _AccountLabelsService_UpdateAccountLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 830 |
in := new(UpdateAccountLabelRequest) |
| 831 |
if err := dec(in); err != nil { |
| 832 |
return nil, err |
| 833 |
} |
| 834 |
if interceptor == nil { |
| 835 |
return srv.(AccountLabelsServiceServer).UpdateAccountLabel(ctx, in) |
| 836 |
} |
| 837 |
info := &grpc.UnaryServerInfo{ |
| 838 |
Server: srv, |
| 839 |
FullMethod: "/google.shopping.css.v1.AccountLabelsService/UpdateAccountLabel", |
| 840 |
} |
| 841 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 842 |
return srv.(AccountLabelsServiceServer).UpdateAccountLabel(ctx, req.(*UpdateAccountLabelRequest)) |
| 843 |
} |
| 844 |
return interceptor(ctx, in, info, handler) |
| 845 |
} |
| 846 |
|
| 847 |
func _AccountLabelsService_DeleteAccountLabel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 848 |
in := new(DeleteAccountLabelRequest) |
| 849 |
if err := dec(in); err != nil { |
| 850 |
return nil, err |
| 851 |
} |
| 852 |
if interceptor == nil { |
| 853 |
return srv.(AccountLabelsServiceServer).DeleteAccountLabel(ctx, in) |
| 854 |
} |
| 855 |
info := &grpc.UnaryServerInfo{ |
| 856 |
Server: srv, |
| 857 |
FullMethod: "/google.shopping.css.v1.AccountLabelsService/DeleteAccountLabel", |
| 858 |
} |
| 859 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 860 |
return srv.(AccountLabelsServiceServer).DeleteAccountLabel(ctx, req.(*DeleteAccountLabelRequest)) |
| 861 |
} |
| 862 |
return interceptor(ctx, in, info, handler) |
| 863 |
} |
| 864 |
|
| 865 |
var _AccountLabelsService_serviceDesc = grpc.ServiceDesc{ |
| 866 |
ServiceName: "google.shopping.css.v1.AccountLabelsService", |
| 867 |
HandlerType: (*AccountLabelsServiceServer)(nil), |
| 868 |
Methods: []grpc.MethodDesc{ |
| 869 |
{ |
| 870 |
MethodName: "ListAccountLabels", |
| 871 |
Handler: _AccountLabelsService_ListAccountLabels_Handler, |
| 872 |
}, |
| 873 |
{ |
| 874 |
MethodName: "CreateAccountLabel", |
| 875 |
Handler: _AccountLabelsService_CreateAccountLabel_Handler, |
| 876 |
}, |
| 877 |
{ |
| 878 |
MethodName: "UpdateAccountLabel", |
| 879 |
Handler: _AccountLabelsService_UpdateAccountLabel_Handler, |
| 880 |
}, |
| 881 |
{ |
| 882 |
MethodName: "DeleteAccountLabel", |
| 883 |
Handler: _AccountLabelsService_DeleteAccountLabel_Handler, |
| 884 |
}, |
| 885 |
}, |
| 886 |
Streams: []grpc.StreamDesc{}, |
| 887 |
Metadata: "google/shopping/css/v1/accounts_labels.proto", |
| 888 |
} |