Debian Codegraph @

shopping/css/apiv1/csspb/accounts.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/shopping/css/v1/accounts.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 reflect "reflect"
32 sync "sync"
33 )
34
35 const (
36 // Verify that this generated code is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
38 // Verify that runtime/protoimpl is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
40 )
41
42 // The account type.
43 type Account_AccountType int32
44
45 const (
46 // Unknown account type.
47 Account_ACCOUNT_TYPE_UNSPECIFIED Account_AccountType = 0
48 // CSS group account.
49 Account_CSS_GROUP Account_AccountType = 1
50 // CSS domain account.
51 Account_CSS_DOMAIN Account_AccountType = 2
52 // MC Primary CSS MCA account.
53 Account_MC_PRIMARY_CSS_MCA Account_AccountType = 3
54 // MC CSS MCA account.
55 Account_MC_CSS_MCA Account_AccountType = 4
56 // MC Marketplace MCA account.
57 Account_MC_MARKETPLACE_MCA Account_AccountType = 5
58 // MC Other MCA account.
59 Account_MC_OTHER_MCA Account_AccountType = 6
60 // MC Standalone account.
61 Account_MC_STANDALONE Account_AccountType = 7
62 // MC MCA sub-account.
63 Account_MC_MCA_SUBACCOUNT Account_AccountType = 8
64 )
65
66 // Enum value maps for Account_AccountType.
67 var (
68 Account_AccountType_name = map[int32]string{
69 0: "ACCOUNT_TYPE_UNSPECIFIED",
70 1: "CSS_GROUP",
71 2: "CSS_DOMAIN",
72 3: "MC_PRIMARY_CSS_MCA",
73 4: "MC_CSS_MCA",
74 5: "MC_MARKETPLACE_MCA",
75 6: "MC_OTHER_MCA",
76 7: "MC_STANDALONE",
77 8: "MC_MCA_SUBACCOUNT",
78 }
79 Account_AccountType_value = map[string]int32{
80 "ACCOUNT_TYPE_UNSPECIFIED": 0,
81 "CSS_GROUP": 1,
82 "CSS_DOMAIN": 2,
83 "MC_PRIMARY_CSS_MCA": 3,
84 "MC_CSS_MCA": 4,
85 "MC_MARKETPLACE_MCA": 5,
86 "MC_OTHER_MCA": 6,
87 "MC_STANDALONE": 7,
88 "MC_MCA_SUBACCOUNT": 8,
89 }
90 )
91
92 func (x Account_AccountType) Enum() *Account_AccountType {
93 p := new(Account_AccountType)
94 *p = x
95 return p
96 }
97
98 func (x Account_AccountType) String() string {
99 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
100 }
101
102 func (Account_AccountType) Descriptor() protoreflect.EnumDescriptor {
103 return file_google_shopping_css_v1_accounts_proto_enumTypes[0].Descriptor()
104 }
105
106 func (Account_AccountType) Type() protoreflect.EnumType {
107 return &file_google_shopping_css_v1_accounts_proto_enumTypes[0]
108 }
109
110 func (x Account_AccountType) Number() protoreflect.EnumNumber {
111 return protoreflect.EnumNumber(x)
112 }
113
114 // Deprecated: Use Account_AccountType.Descriptor instead.
115 func (Account_AccountType) EnumDescriptor() ([]byte, []int) {
116 return file_google_shopping_css_v1_accounts_proto_rawDescGZIP(), []int{4, 0}
117 }
118
119 // The request message for the `ListChildAccounts` method.
120 type ListChildAccountsRequest struct {
121 state protoimpl.MessageState
122 sizeCache protoimpl.SizeCache
123 unknownFields protoimpl.UnknownFields
124
125 // Required. The parent account. Must be a CSS group or domain.
126 // Format: accounts/{account}
127 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
128 // If set, only the MC accounts with the given label ID will be returned.
129 LabelId *int64 `protobuf:"varint,2,opt,name=label_id,json=labelId,proto3,oneof" json:"label_id,omitempty"`
130 // If set, only the MC accounts with the given name (case sensitive) will be
131 // returned.
132 FullName *string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3,oneof" json:"full_name,omitempty"`
133 // Optional. The maximum number of accounts to return. The service may return
134 // fewer than this value. If unspecified, at most 50 accounts will be
135 // returned. The maximum value is 100; values above 100 will be coerced to
136 // 100.
137 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
138 // Optional. A page token, received from a previous `ListChildAccounts` call.
139 // Provide this to retrieve the subsequent page.
140 //
141 // When paginating, all other parameters provided to `ListChildAccounts` must
142 // match the call that provided the page token.
143 PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
144 }
145
146 func (x *ListChildAccountsRequest) Reset() {
147 *x = ListChildAccountsRequest{}
148 mi := &file_google_shopping_css_v1_accounts_proto_msgTypes[0]
149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
150 ms.StoreMessageInfo(mi)
151 }
152
153 func (x *ListChildAccountsRequest) String() string {
154 return protoimpl.X.MessageStringOf(x)
155 }
156
157 func (*ListChildAccountsRequest) ProtoMessage() {}
158
159 func (x *ListChildAccountsRequest) ProtoReflect() protoreflect.Message {
160 mi := &file_google_shopping_css_v1_accounts_proto_msgTypes[0]
161 if x != nil {
162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
163 if ms.LoadMessageInfo() == nil {
164 ms.StoreMessageInfo(mi)
165 }
166 return ms
167 }
168 return mi.MessageOf(x)
169 }
170
171 // Deprecated: Use ListChildAccountsRequest.ProtoReflect.Descriptor instead.
172 func (*ListChildAccountsRequest) Descriptor() ([]byte, []int) {
173 return file_google_shopping_css_v1_accounts_proto_rawDescGZIP(), []int{0}
174 }
175
176 func (x *ListChildAccountsRequest) GetParent() string {
177 if x != nil {
178 return x.Parent
179 }
180 return ""
181 }
182
183 func (x *ListChildAccountsRequest) GetLabelId() int64 {
184 if x != nil && x.LabelId != nil {
185 return *x.LabelId
186 }
187 return 0
188 }
189
190 func (x *ListChildAccountsRequest) GetFullName() string {
191 if x != nil && x.FullName != nil {
192 return *x.FullName
193 }
194 return ""
195 }
196
197 func (x *ListChildAccountsRequest) GetPageSize() int32 {
198 if x != nil {
199 return x.PageSize
200 }
201 return 0
202 }
203
204 func (x *ListChildAccountsRequest) GetPageToken() string {
205 if x != nil {
206 return x.PageToken
207 }
208 return ""
209 }
210
211 // Response message for the `ListChildAccounts` method.
212 type ListChildAccountsResponse struct {
213 state protoimpl.MessageState
214 sizeCache protoimpl.SizeCache
215 unknownFields protoimpl.UnknownFields
216
217 // The CSS/MC accounts returned for the specified CSS parent account.
218 Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
219 // A token, which can be sent as `page_token` to retrieve the next page.
220 // If this field is omitted, there are no subsequent pages.
221 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
222 }
223
224 func (x *ListChildAccountsResponse) Reset() {
225 *x = ListChildAccountsResponse{}
226 mi := &file_google_shopping_css_v1_accounts_proto_msgTypes[1]
227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
228 ms.StoreMessageInfo(mi)
229 }
230
231 func (x *ListChildAccountsResponse) String() string {
232 return protoimpl.X.MessageStringOf(x)
233 }
234
235 func (*ListChildAccountsResponse) ProtoMessage() {}
236
237 func (x *ListChildAccountsResponse) ProtoReflect() protoreflect.Message {
238 mi := &file_google_shopping_css_v1_accounts_proto_msgTypes[1]
239 if x != nil {
240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
241 if ms.LoadMessageInfo() == nil {
242 ms.StoreMessageInfo(mi)
243 }
244 return ms
245 }
246 return mi.MessageOf(x)
247 }
248
249 // Deprecated: Use ListChildAccountsResponse.ProtoReflect.Descriptor instead.
250 func (*ListChildAccountsResponse) Descriptor() ([]byte, []int) {
251 return file_google_shopping_css_v1_accounts_proto_rawDescGZIP(), []int{1}
252 }
253
254 func (x *ListChildAccountsResponse) GetAccounts() []*Account {
255 if x != nil {
256 return x.Accounts
257 }
258 return nil
259 }
260
261 func (x *ListChildAccountsResponse) GetNextPageToken() string {
262 if x != nil {
263 return x.NextPageToken
264 }
265 return ""
266 }
267
268 // The request message for the `GetAccount` method.
269 type GetAccountRequest struct {
270 state protoimpl.MessageState
271 sizeCache protoimpl.SizeCache
272 unknownFields protoimpl.UnknownFields
273
274 // Required. The name of the managed CSS/MC account.
275 // Format: accounts/{account}
276 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
277 // Optional. Only required when retrieving MC account information.
278 // The CSS domain that is the parent resource of the MC account.
279 // Format: accounts/{account}
280 Parent *string `protobuf:"bytes,2,opt,name=parent,proto3,oneof" json:"parent,omitempty"`
281 }
282
283 func (x *GetAccountRequest) Reset() {
284 *x = GetAccountRequest{}
285 mi := &file_google_shopping_css_v1_accounts_proto_msgTypes[2]
286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
287 ms.StoreMessageInfo(mi)
288 }
289
290 func (x *GetAccountRequest) String() string {
291 return protoimpl.X.MessageStringOf(x)
292 }
293
294 func (*GetAccountRequest) ProtoMessage() {}
295
296 func (x *GetAccountRequest) ProtoReflect() protoreflect.Message {
297 mi := &file_google_shopping_css_v1_accounts_proto_msgTypes[2]
298 if x != nil {
299 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
300 if ms.LoadMessageInfo() == nil {
301 ms.StoreMessageInfo(mi)
302 }
303 return ms
304 }
305 return mi.MessageOf(x)
306 }
307
308 // Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.
309 func (*GetAccountRequest) Descriptor() ([]byte, []int) {
310 return file_google_shopping_css_v1_accounts_proto_rawDescGZIP(), []int{2}
311 }
312
313 func (x *GetAccountRequest) GetName() string {
314 if x != nil {
315 return x.Name
316 }
317 return ""
318 }
319
320 func (x *GetAccountRequest) GetParent() string {
321 if x != nil && x.Parent != nil {
322 return *x.Parent
323 }
324 return ""
325 }
326
327 // The request message for the `UpdateLabels` method.
328 type UpdateAccountLabelsRequest struct {
329 state protoimpl.MessageState
330 sizeCache protoimpl.SizeCache
331 unknownFields protoimpl.UnknownFields
332
333 // Required. The label resource name.
334 // Format: accounts/{account}
335 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
336 // The list of label IDs to overwrite the existing account label IDs.
337 // If the list is empty, all currently assigned label IDs will be deleted.
338 LabelIds []int64 `protobuf:"varint,2,rep,packed,name=label_ids,json=labelIds,proto3" json:"label_ids,omitempty"`
339 // Optional. Only required when updating MC account labels.
340 // The CSS domain that is the parent resource of the MC account.
341 // Format: accounts/{account}
342 Parent *string `protobuf:"bytes,3,opt,name=parent,proto3,oneof" json:"parent,omitempty"`
343 }
344
345 func (x *UpdateAccountLabelsRequest) Reset() {
346 *x = UpdateAccountLabelsRequest{}
347 mi := &file_google_shopping_css_v1_accounts_proto_msgTypes[3]
348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
349 ms.StoreMessageInfo(mi)
350 }
351
352 func (x *UpdateAccountLabelsRequest) String() string {
353 return protoimpl.X.MessageStringOf(x)
354 }
355
356 func (*UpdateAccountLabelsRequest) ProtoMessage() {}
357
358 func (x *UpdateAccountLabelsRequest) ProtoReflect() protoreflect.Message {
359 mi := &file_google_shopping_css_v1_accounts_proto_msgTypes[3]
360 if x != nil {
361 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
362 if ms.LoadMessageInfo() == nil {
363 ms.StoreMessageInfo(mi)
364 }
365 return ms
366 }
367 return mi.MessageOf(x)
368 }
369
370 // Deprecated: Use UpdateAccountLabelsRequest.ProtoReflect.Descriptor instead.
371 func (*UpdateAccountLabelsRequest) Descriptor() ([]byte, []int) {
372 return file_google_shopping_css_v1_accounts_proto_rawDescGZIP(), []int{3}
373 }
374
375 func (x *UpdateAccountLabelsRequest) GetName() string {
376 if x != nil {
377 return x.Name
378 }
379 return ""
380 }
381
382 func (x *UpdateAccountLabelsRequest) GetLabelIds() []int64 {
383 if x != nil {
384 return x.LabelIds
385 }
386 return nil
387 }
388
389 func (x *UpdateAccountLabelsRequest) GetParent() string {
390 if x != nil && x.Parent != nil {
391 return *x.Parent
392 }
393 return ""
394 }
395
396 // Information about CSS/MC account.
397 type Account struct {
398 state protoimpl.MessageState
399 sizeCache protoimpl.SizeCache
400 unknownFields protoimpl.UnknownFields
401
402 // The label resource name.
403 // Format: accounts/{account}
404 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
405 // Output only. Immutable. The CSS/MC account's full name.
406 FullName string `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
407 // The CSS/MC account's short display name.
408 DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
409 // Output only. Immutable. The CSS/MC account's homepage.
410 HomepageUri *string `protobuf:"bytes,4,opt,name=homepage_uri,json=homepageUri,proto3,oneof" json:"homepage_uri,omitempty"`
411 // The CSS/MC account's parent resource. CSS group for CSS domains; CSS
412 // domain for MC accounts. Returned only if the user has access to the
413 // parent account.
414 // Note: For MC sub-accounts, this is also the CSS domain that is the parent
415 // resource of the MCA account, since we are effectively flattening the
416 // hierarchy."
417 Parent *string `protobuf:"bytes,5,opt,name=parent,proto3,oneof" json:"parent,omitempty"`
418 // Manually created label IDs assigned to the CSS/MC account by a CSS parent
419 // account.
420 LabelIds []int64 `protobuf:"varint,6,rep,packed,name=label_ids,json=labelIds,proto3" json:"label_ids,omitempty"`
421 // Automatically created label IDs assigned to the MC account by
422 // CSS Center.
423 AutomaticLabelIds []int64 `protobuf:"varint,7,rep,packed,name=automatic_label_ids,json=automaticLabelIds,proto3" json:"automatic_label_ids,omitempty"`
424 // Output only. The type of this account.
425 AccountType Account_AccountType `protobuf:"varint,8,opt,name=account_type,json=accountType,proto3,enum=google.shopping.css.v1.Account_AccountType" json:"account_type,omitempty"`
426 }
427
428 func (x *Account) Reset() {
429 *x = Account{}
430 mi := &file_google_shopping_css_v1_accounts_proto_msgTypes[4]
431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
432 ms.StoreMessageInfo(mi)
433 }
434
435 func (x *Account) String() string {
436 return protoimpl.X.MessageStringOf(x)
437 }
438
439 func (*Account) ProtoMessage() {}
440
441 func (x *Account) ProtoReflect() protoreflect.Message {
442 mi := &file_google_shopping_css_v1_accounts_proto_msgTypes[4]
443 if x != nil {
444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
445 if ms.LoadMessageInfo() == nil {
446 ms.StoreMessageInfo(mi)
447 }
448 return ms
449 }
450 return mi.MessageOf(x)
451 }
452
453 // Deprecated: Use Account.ProtoReflect.Descriptor instead.
454 func (*Account) Descriptor() ([]byte, []int) {
455 return file_google_shopping_css_v1_accounts_proto_rawDescGZIP(), []int{4}
456 }
457
458 func (x *Account) GetName() string {
459 if x != nil {
460 return x.Name
461 }
462 return ""
463 }
464
465 func (x *Account) GetFullName() string {
466 if x != nil {
467 return x.FullName
468 }
469 return ""
470 }
471
472 func (x *Account) GetDisplayName() string {
473 if x != nil && x.DisplayName != nil {
474 return *x.DisplayName
475 }
476 return ""
477 }
478
479 func (x *Account) GetHomepageUri() string {
480 if x != nil && x.HomepageUri != nil {
481 return *x.HomepageUri
482 }
483 return ""
484 }
485
486 func (x *Account) GetParent() string {
487 if x != nil && x.Parent != nil {
488 return *x.Parent
489 }
490 return ""
491 }
492
493 func (x *Account) GetLabelIds() []int64 {
494 if x != nil {
495 return x.LabelIds
496 }
497 return nil
498 }
499
500 func (x *Account) GetAutomaticLabelIds() []int64 {
501 if x != nil {
502 return x.AutomaticLabelIds
503 }
504 return nil
505 }
506
507 func (x *Account) GetAccountType() Account_AccountType {
508 if x != nil {
509 return x.AccountType
510 }
511 return Account_ACCOUNT_TYPE_UNSPECIFIED
512 }
513
514 var File_google_shopping_css_v1_accounts_proto protoreflect.FileDescriptor
515
516 var file_google_shopping_css_v1_accounts_proto_rawDesc = []byte{
517 0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
518 0x67, 0x2f, 0x63, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
519 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
520 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x1a,
521 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
522 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67,
523 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
524 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
525 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
526 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
527 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
528 0x74, 0x6f, 0x22, 0xf9, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64,
529 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
530 0x3a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
531 0x22, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1c, 0x0a, 0x1a, 0x63, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f,
532 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f,
533 0x75, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x08, 0x6c,
534 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52,
535 0x07, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x66,
536 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01,
537 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a,
538 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
539 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
540 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20,
541 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f,
542 0x6b, 0x65, 0x6e, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x69, 0x64,
543 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x80,
544 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x41, 0x63, 0x63, 0x6f,
545 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x08,
546 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f,
547 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
548 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52,
549 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78,
550 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01,
551 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,
552 0x6e, 0x22, 0x97, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
553 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
554 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x22, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1c, 0x0a, 0x1a, 0x63,
555 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
556 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
557 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
558 0x22, 0xe0, 0x41, 0x01, 0xfa, 0x41, 0x1c, 0x0a, 0x1a, 0x63, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f,
559 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f,
560 0x75, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x88, 0x01, 0x01,
561 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0xbd, 0x01, 0x0a, 0x1a,
562 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62,
563 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x04, 0x6e, 0x61,
564 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x22, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1c,
565 0x0a, 0x1a, 0x63, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
566 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61,
567 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18,
568 0x02, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x49, 0x64, 0x73, 0x12,
569 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42,
570 0x22, 0xe0, 0x41, 0x01, 0xfa, 0x41, 0x1c, 0x0a, 0x1a, 0x63, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f,
571 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f,
572 0x75, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x88, 0x01, 0x01,
573 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x22, 0x97, 0x05, 0x0a, 0x07,
574 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
575 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x09, 0x66,
576 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06,
577 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65,
578 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
579 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
580 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x2e, 0x0a, 0x0c, 0x68, 0x6f, 0x6d, 0x65,
581 0x70, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06,
582 0xe0, 0x41, 0x03, 0xe0, 0x41, 0x05, 0x48, 0x01, 0x52, 0x0b, 0x68, 0x6f, 0x6d, 0x65, 0x70, 0x61,
583 0x67, 0x65, 0x55, 0x72, 0x69, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
584 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
585 0x6e, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x69,
586 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x49,
587 0x64, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x5f,
588 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x03, 0x52,
589 0x11, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x61, 0x74, 0x69, 0x63, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x49,
590 0x64, 0x73, 0x12, 0x53, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x79,
591 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
592 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76,
593 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
594 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f,
595 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0xc6, 0x01, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x6f,
596 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x43, 0x43, 0x4f, 0x55,
597 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
598 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x53, 0x53, 0x5f, 0x47, 0x52, 0x4f,
599 0x55, 0x50, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x53, 0x53, 0x5f, 0x44, 0x4f, 0x4d, 0x41,
600 0x49, 0x4e, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x43, 0x5f, 0x50, 0x52, 0x49, 0x4d, 0x41,
601 0x52, 0x59, 0x5f, 0x43, 0x53, 0x53, 0x5f, 0x4d, 0x43, 0x41, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a,
602 0x4d, 0x43, 0x5f, 0x43, 0x53, 0x53, 0x5f, 0x4d, 0x43, 0x41, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12,
603 0x4d, 0x43, 0x5f, 0x4d, 0x41, 0x52, 0x4b, 0x45, 0x54, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x4d,
604 0x43, 0x41, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x43, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52,
605 0x5f, 0x4d, 0x43, 0x41, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x4d, 0x43, 0x5f, 0x53, 0x54, 0x41,
606 0x4e, 0x44, 0x41, 0x4c, 0x4f, 0x4e, 0x45, 0x10, 0x07, 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x43, 0x5f,
607 0x4d, 0x43, 0x41, 0x5f, 0x53, 0x55, 0x42, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x08,
608 0x3a, 0x46, 0xea, 0x41, 0x43, 0x0a, 0x1a, 0x63, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
609 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
610 0x74, 0x12, 0x12, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63,
611 0x6f, 0x75, 0x6e, 0x74, 0x7d, 0x2a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x32,
612 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x64, 0x69, 0x73,
613 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x68, 0x6f,
614 0x6d, 0x65, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70,
615 0x61, 0x72, 0x65, 0x6e, 0x74, 0x32, 0xa5, 0x04, 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
616 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb4, 0x01, 0x0a, 0x11, 0x4c, 0x69,
617 0x73, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12,
618 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
619 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x69,
620 0x6c, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
621 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70,
622 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43,
623 0x68, 0x69, 0x6c, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
624 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82,
625 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,
626 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x6c,
627 0x69, 0x73, 0x74, 0x43, 0x68, 0x69, 0x6c, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
628 0x12, 0x7e, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x29,
629 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67,
630 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75,
631 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
632 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e,
633 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x24, 0xda, 0x41, 0x04, 0x6e,
634 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x7b,
635 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d,
636 0x12, 0x99, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c,
637 0x73, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70,
638 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
639 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x52, 0x65,
640 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
641 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41,
642 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x34, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82,
643 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x3a, 0x01, 0x2a, 0x22, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
644 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a,
645 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x3f, 0xca, 0x41,
646 0x12, 0x63, 0x73, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
647 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77,
648 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
649 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0xaf, 0x01,
650 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f,
651 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x63, 0x73, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x41, 0x63,
652 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x63,
653 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
654 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x73, 0x73, 0x2f,
655 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x63, 0x73, 0x73, 0x70, 0x62, 0x3b, 0x63, 0x73, 0x73, 0x70,
656 0x62, 0xaa, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70,
657 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x73, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f,
658 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x43, 0x73, 0x73,
659 0x5c, 0x56, 0x31, 0xea, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68,
660 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x43, 0x73, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62,
661 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
662 }
663
664 var (
665 file_google_shopping_css_v1_accounts_proto_rawDescOnce sync.Once
666 file_google_shopping_css_v1_accounts_proto_rawDescData = file_google_shopping_css_v1_accounts_proto_rawDesc
667 )
668
669 func file_google_shopping_css_v1_accounts_proto_rawDescGZIP() []byte {
670 file_google_shopping_css_v1_accounts_proto_rawDescOnce.Do(func() {
671 file_google_shopping_css_v1_accounts_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_css_v1_accounts_proto_rawDescData)
672 })
673 return file_google_shopping_css_v1_accounts_proto_rawDescData
674 }
675
676 var file_google_shopping_css_v1_accounts_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
677 var file_google_shopping_css_v1_accounts_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
678 var file_google_shopping_css_v1_accounts_proto_goTypes = []any{
679 (Account_AccountType)(0), // 0: google.shopping.css.v1.Account.AccountType
680 (*ListChildAccountsRequest)(nil), // 1: google.shopping.css.v1.ListChildAccountsRequest
681 (*ListChildAccountsResponse)(nil), // 2: google.shopping.css.v1.ListChildAccountsResponse
682 (*GetAccountRequest)(nil), // 3: google.shopping.css.v1.GetAccountRequest
683 (*UpdateAccountLabelsRequest)(nil), // 4: google.shopping.css.v1.UpdateAccountLabelsRequest
684 (*Account)(nil), // 5: google.shopping.css.v1.Account
685 }
686 var file_google_shopping_css_v1_accounts_proto_depIdxs = []int32{
687 5, // 0: google.shopping.css.v1.ListChildAccountsResponse.accounts:type_name -> google.shopping.css.v1.Account
688 0, // 1: google.shopping.css.v1.Account.account_type:type_name -> google.shopping.css.v1.Account.AccountType
689 1, // 2: google.shopping.css.v1.AccountsService.ListChildAccounts:input_type -> google.shopping.css.v1.ListChildAccountsRequest
690 3, // 3: google.shopping.css.v1.AccountsService.GetAccount:input_type -> google.shopping.css.v1.GetAccountRequest
691 4, // 4: google.shopping.css.v1.AccountsService.UpdateLabels:input_type -> google.shopping.css.v1.UpdateAccountLabelsRequest
692 2, // 5: google.shopping.css.v1.AccountsService.ListChildAccounts:output_type -> google.shopping.css.v1.ListChildAccountsResponse
693 5, // 6: google.shopping.css.v1.AccountsService.GetAccount:output_type -> google.shopping.css.v1.Account
694 5, // 7: google.shopping.css.v1.AccountsService.UpdateLabels:output_type -> google.shopping.css.v1.Account
695 5, // [5:8] is the sub-list for method output_type
696 2, // [2:5] is the sub-list for method input_type
697 2, // [2:2] is the sub-list for extension type_name
698 2, // [2:2] is the sub-list for extension extendee
699 0, // [0:2] is the sub-list for field type_name
700 }
701
702 func init() { file_google_shopping_css_v1_accounts_proto_init() }
703 func file_google_shopping_css_v1_accounts_proto_init() {
704 if File_google_shopping_css_v1_accounts_proto != nil {
705 return
706 }
707 file_google_shopping_css_v1_accounts_proto_msgTypes[0].OneofWrappers = []any{}
708 file_google_shopping_css_v1_accounts_proto_msgTypes[2].OneofWrappers = []any{}
709 file_google_shopping_css_v1_accounts_proto_msgTypes[3].OneofWrappers = []any{}
710 file_google_shopping_css_v1_accounts_proto_msgTypes[4].OneofWrappers = []any{}
711 type x struct{}
712 out := protoimpl.TypeBuilder{
713 File: protoimpl.DescBuilder{
714 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
715 RawDescriptor: file_google_shopping_css_v1_accounts_proto_rawDesc,
716 NumEnums: 1,
717 NumMessages: 5,
718 NumExtensions: 0,
719 NumServices: 1,
720 },
721 GoTypes: file_google_shopping_css_v1_accounts_proto_goTypes,
722 DependencyIndexes: file_google_shopping_css_v1_accounts_proto_depIdxs,
723 EnumInfos: file_google_shopping_css_v1_accounts_proto_enumTypes,
724 MessageInfos: file_google_shopping_css_v1_accounts_proto_msgTypes,
725 }.Build()
726 File_google_shopping_css_v1_accounts_proto = out.File
727 file_google_shopping_css_v1_accounts_proto_rawDesc = nil
728 file_google_shopping_css_v1_accounts_proto_goTypes = nil
729 file_google_shopping_css_v1_accounts_proto_depIdxs = nil
730 }
731
732 // Reference imports to suppress errors if they are not otherwise used.
733 var _ context.Context
734 var _ grpc.ClientConnInterface
735
736 // This is a compile-time assertion to ensure that this generated file
737 // is compatible with the grpc package it is being compiled against.
738 const _ = grpc.SupportPackageIsVersion6
739
740 // AccountsServiceClient is the client API for AccountsService service.
741 //
742 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
743 type AccountsServiceClient interface {
744 // Lists all the accounts under the specified CSS account ID, and
745 // optionally filters by label ID and account name.
746 ListChildAccounts(ctx context.Context, in *ListChildAccountsRequest, opts ...grpc.CallOption) (*ListChildAccountsResponse, error)
747 // Retrieves a single CSS/MC account by ID.
748 GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*Account, error)
749 // Updates labels assigned to CSS/MC accounts by a CSS domain.
750 UpdateLabels(ctx context.Context, in *UpdateAccountLabelsRequest, opts ...grpc.CallOption) (*Account, error)
751 }
752
753 type accountsServiceClient struct {
754 cc grpc.ClientConnInterface
755 }
756
757 func NewAccountsServiceClient(cc grpc.ClientConnInterface) AccountsServiceClient {
758 return &accountsServiceClient{cc}
759 }
760
761 func (c *accountsServiceClient) ListChildAccounts(ctx context.Context, in *ListChildAccountsRequest, opts ...grpc.CallOption) (*ListChildAccountsResponse, error) {
762 out := new(ListChildAccountsResponse)
763 err := c.cc.Invoke(ctx, "/google.shopping.css.v1.AccountsService/ListChildAccounts", in, out, opts...)
764 if err != nil {
765 return nil, err
766 }
767 return out, nil
768 }
769
770 func (c *accountsServiceClient) GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*Account, error) {
771 out := new(Account)
772 err := c.cc.Invoke(ctx, "/google.shopping.css.v1.AccountsService/GetAccount", in, out, opts...)
773 if err != nil {
774 return nil, err
775 }
776 return out, nil
777 }
778
779 func (c *accountsServiceClient) UpdateLabels(ctx context.Context, in *UpdateAccountLabelsRequest, opts ...grpc.CallOption) (*Account, error) {
780 out := new(Account)
781 err := c.cc.Invoke(ctx, "/google.shopping.css.v1.AccountsService/UpdateLabels", in, out, opts...)
782 if err != nil {
783 return nil, err
784 }
785 return out, nil
786 }
787
788 // AccountsServiceServer is the server API for AccountsService service.
789 type AccountsServiceServer interface {
790 // Lists all the accounts under the specified CSS account ID, and
791 // optionally filters by label ID and account name.
792 ListChildAccounts(context.Context, *ListChildAccountsRequest) (*ListChildAccountsResponse, error)
793 // Retrieves a single CSS/MC account by ID.
794 GetAccount(context.Context, *GetAccountRequest) (*Account, error)
795 // Updates labels assigned to CSS/MC accounts by a CSS domain.
796 UpdateLabels(context.Context, *UpdateAccountLabelsRequest) (*Account, error)
797 }
798
799 // UnimplementedAccountsServiceServer can be embedded to have forward compatible implementations.
800 type UnimplementedAccountsServiceServer struct {
801 }
802
803 func (*UnimplementedAccountsServiceServer) ListChildAccounts(context.Context, *ListChildAccountsRequest) (*ListChildAccountsResponse, error) {
804 return nil, status.Errorf(codes.Unimplemented, "method ListChildAccounts not implemented")
805 }
806 func (*UnimplementedAccountsServiceServer) GetAccount(context.Context, *GetAccountRequest) (*Account, error) {
807 return nil, status.Errorf(codes.Unimplemented, "method GetAccount not implemented")
808 }
809 func (*UnimplementedAccountsServiceServer) UpdateLabels(context.Context, *UpdateAccountLabelsRequest) (*Account, error) {
810 return nil, status.Errorf(codes.Unimplemented, "method UpdateLabels not implemented")
811 }
812
813 func RegisterAccountsServiceServer(s *grpc.Server, srv AccountsServiceServer) {
814 s.RegisterService(&_AccountsService_serviceDesc, srv)
815 }
816
817 func _AccountsService_ListChildAccounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
818 in := new(ListChildAccountsRequest)
819 if err := dec(in); err != nil {
820 return nil, err
821 }
822 if interceptor == nil {
823 return srv.(AccountsServiceServer).ListChildAccounts(ctx, in)
824 }
825 info := &grpc.UnaryServerInfo{
826 Server: srv,
827 FullMethod: "/google.shopping.css.v1.AccountsService/ListChildAccounts",
828 }
829 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
830 return srv.(AccountsServiceServer).ListChildAccounts(ctx, req.(*ListChildAccountsRequest))
831 }
832 return interceptor(ctx, in, info, handler)
833 }
834
835 func _AccountsService_GetAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
836 in := new(GetAccountRequest)
837 if err := dec(in); err != nil {
838 return nil, err
839 }
840 if interceptor == nil {
841 return srv.(AccountsServiceServer).GetAccount(ctx, in)
842 }
843 info := &grpc.UnaryServerInfo{
844 Server: srv,
845 FullMethod: "/google.shopping.css.v1.AccountsService/GetAccount",
846 }
847 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
848 return srv.(AccountsServiceServer).GetAccount(ctx, req.(*GetAccountRequest))
849 }
850 return interceptor(ctx, in, info, handler)
851 }
852
853 func _AccountsService_UpdateLabels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
854 in := new(UpdateAccountLabelsRequest)
855 if err := dec(in); err != nil {
856 return nil, err
857 }
858 if interceptor == nil {
859 return srv.(AccountsServiceServer).UpdateLabels(ctx, in)
860 }
861 info := &grpc.UnaryServerInfo{
862 Server: srv,
863 FullMethod: "/google.shopping.css.v1.AccountsService/UpdateLabels",
864 }
865 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
866 return srv.(AccountsServiceServer).UpdateLabels(ctx, req.(*UpdateAccountLabelsRequest))
867 }
868 return interceptor(ctx, in, info, handler)
869 }
870
871 var _AccountsService_serviceDesc = grpc.ServiceDesc{
872 ServiceName: "google.shopping.css.v1.AccountsService",
873 HandlerType: (*AccountsServiceServer)(nil),
874 Methods: []grpc.MethodDesc{
875 {
876 MethodName: "ListChildAccounts",
877 Handler: _AccountsService_ListChildAccounts_Handler,
878 },
879 {
880 MethodName: "GetAccount",
881 Handler: _AccountsService_GetAccount_Handler,
882 },
883 {
884 MethodName: "UpdateLabels",
885 Handler: _AccountsService_UpdateLabels_Handler,
886 },
887 },
888 Streams: []grpc.StreamDesc{},
889 Metadata: "google/shopping/css/v1/accounts.proto",
890 }