Debian Codegraph @

shopping/merchant/accounts/apiv1/accountspb/user.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/merchant/accounts/v1/user.proto
20
21 package accountspb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 grpc "google.golang.org/grpc"
27 codes "google.golang.org/grpc/codes"
28 status "google.golang.org/grpc/status"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 emptypb "google.golang.org/protobuf/types/known/emptypb"
32 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
33 reflect "reflect"
34 sync "sync"
35 )
36
37 const (
38 // Verify that this generated code is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40 // Verify that runtime/protoimpl is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44 // The possible states of a user.
45 type User_State int32
46
47 const (
48 // Default value. This value is unused.
49 User_STATE_UNSPECIFIED User_State = 0
50 // The user is pending confirmation. In this state, the user first needs to
51 // accept the invitation before performing other actions.
52 User_PENDING User_State = 1
53 // The user is verified.
54 User_VERIFIED User_State = 2
55 )
56
57 // Enum value maps for User_State.
58 var (
59 User_State_name = map[int32]string{
60 0: "STATE_UNSPECIFIED",
61 1: "PENDING",
62 2: "VERIFIED",
63 }
64 User_State_value = map[string]int32{
65 "STATE_UNSPECIFIED": 0,
66 "PENDING": 1,
67 "VERIFIED": 2,
68 }
69 )
70
71 func (x User_State) Enum() *User_State {
72 p := new(User_State)
73 *p = x
74 return p
75 }
76
77 func (x User_State) String() string {
78 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
79 }
80
81 func (User_State) Descriptor() protoreflect.EnumDescriptor {
82 return file_google_shopping_merchant_accounts_v1_user_proto_enumTypes[0].Descriptor()
83 }
84
85 func (User_State) Type() protoreflect.EnumType {
86 return &file_google_shopping_merchant_accounts_v1_user_proto_enumTypes[0]
87 }
88
89 func (x User_State) Number() protoreflect.EnumNumber {
90 return protoreflect.EnumNumber(x)
91 }
92
93 // Deprecated: Use User_State.Descriptor instead.
94 func (User_State) EnumDescriptor() ([]byte, []int) {
95 return file_google_shopping_merchant_accounts_v1_user_proto_rawDescGZIP(), []int{0, 0}
96 }
97
98 // The `User` message represents a user associated with a Merchant Center
99 // account. It is used to manage user permissions and access rights within the
100 // account. For more information, see [Frequently asked questions about people
101 // and access levels](//support.google.com/merchants/answer/12160472).
102 type User struct {
103 state protoimpl.MessageState
104 sizeCache protoimpl.SizeCache
105 unknownFields protoimpl.UnknownFields
106
107 // Identifier. The resource name of the user.
108 // Format: `accounts/{account}/user/{email}`
109 //
110 // Use `me` to refer to your own email address, for example
111 // `accounts/{account}/users/me`.
112 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
113 // Output only. The state of the user.
114 State User_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.shopping.merchant.accounts.v1.User_State" json:"state,omitempty"`
115 // Required. The [access
116 // rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes)
117 // the user has.
118 AccessRights []AccessRight `protobuf:"varint,4,rep,packed,name=access_rights,json=accessRights,proto3,enum=google.shopping.merchant.accounts.v1.AccessRight" json:"access_rights,omitempty"`
119 }
120
121 func (x *User) Reset() {
122 *x = User{}
123 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[0]
124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
125 ms.StoreMessageInfo(mi)
126 }
127
128 func (x *User) String() string {
129 return protoimpl.X.MessageStringOf(x)
130 }
131
132 func (*User) ProtoMessage() {}
133
134 func (x *User) ProtoReflect() protoreflect.Message {
135 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[0]
136 if x != nil {
137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
138 if ms.LoadMessageInfo() == nil {
139 ms.StoreMessageInfo(mi)
140 }
141 return ms
142 }
143 return mi.MessageOf(x)
144 }
145
146 // Deprecated: Use User.ProtoReflect.Descriptor instead.
147 func (*User) Descriptor() ([]byte, []int) {
148 return file_google_shopping_merchant_accounts_v1_user_proto_rawDescGZIP(), []int{0}
149 }
150
151 func (x *User) GetName() string {
152 if x != nil {
153 return x.Name
154 }
155 return ""
156 }
157
158 func (x *User) GetState() User_State {
159 if x != nil {
160 return x.State
161 }
162 return User_STATE_UNSPECIFIED
163 }
164
165 func (x *User) GetAccessRights() []AccessRight {
166 if x != nil {
167 return x.AccessRights
168 }
169 return nil
170 }
171
172 // Request message for the `GetUser` method.
173 type GetUserRequest struct {
174 state protoimpl.MessageState
175 sizeCache protoimpl.SizeCache
176 unknownFields protoimpl.UnknownFields
177
178 // Required. The name of the user to retrieve.
179 // Format: `accounts/{account}/users/{email}`
180 //
181 // It is also possible to retrieve the user corresponding to the caller by
182 // using `me` rather than an email address as in
183 // `accounts/{account}/users/me`.
184 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
185 }
186
187 func (x *GetUserRequest) Reset() {
188 *x = GetUserRequest{}
189 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[1]
190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191 ms.StoreMessageInfo(mi)
192 }
193
194 func (x *GetUserRequest) String() string {
195 return protoimpl.X.MessageStringOf(x)
196 }
197
198 func (*GetUserRequest) ProtoMessage() {}
199
200 func (x *GetUserRequest) ProtoReflect() protoreflect.Message {
201 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[1]
202 if x != nil {
203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
204 if ms.LoadMessageInfo() == nil {
205 ms.StoreMessageInfo(mi)
206 }
207 return ms
208 }
209 return mi.MessageOf(x)
210 }
211
212 // Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
213 func (*GetUserRequest) Descriptor() ([]byte, []int) {
214 return file_google_shopping_merchant_accounts_v1_user_proto_rawDescGZIP(), []int{1}
215 }
216
217 func (x *GetUserRequest) GetName() string {
218 if x != nil {
219 return x.Name
220 }
221 return ""
222 }
223
224 // Request message for the `CreateUser` method.
225 type CreateUserRequest struct {
226 state protoimpl.MessageState
227 sizeCache protoimpl.SizeCache
228 unknownFields protoimpl.UnknownFields
229
230 // Required. The resource name of the account for which a user will be
231 // created. Format: `accounts/{account}`
232 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
233 // Required. The email address of the user (for example,
234 // `[email protected]`).
235 UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
236 // Optional. The user to create.
237 User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
238 }
239
240 func (x *CreateUserRequest) Reset() {
241 *x = CreateUserRequest{}
242 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[2]
243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
244 ms.StoreMessageInfo(mi)
245 }
246
247 func (x *CreateUserRequest) String() string {
248 return protoimpl.X.MessageStringOf(x)
249 }
250
251 func (*CreateUserRequest) ProtoMessage() {}
252
253 func (x *CreateUserRequest) ProtoReflect() protoreflect.Message {
254 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[2]
255 if x != nil {
256 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
257 if ms.LoadMessageInfo() == nil {
258 ms.StoreMessageInfo(mi)
259 }
260 return ms
261 }
262 return mi.MessageOf(x)
263 }
264
265 // Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
266 func (*CreateUserRequest) Descriptor() ([]byte, []int) {
267 return file_google_shopping_merchant_accounts_v1_user_proto_rawDescGZIP(), []int{2}
268 }
269
270 func (x *CreateUserRequest) GetParent() string {
271 if x != nil {
272 return x.Parent
273 }
274 return ""
275 }
276
277 func (x *CreateUserRequest) GetUserId() string {
278 if x != nil {
279 return x.UserId
280 }
281 return ""
282 }
283
284 func (x *CreateUserRequest) GetUser() *User {
285 if x != nil {
286 return x.User
287 }
288 return nil
289 }
290
291 // Request message for the `DeleteUser` method.
292 type DeleteUserRequest struct {
293 state protoimpl.MessageState
294 sizeCache protoimpl.SizeCache
295 unknownFields protoimpl.UnknownFields
296
297 // Required. The name of the user to delete.
298 // Format: `accounts/{account}/users/{email}`
299 //
300 // It is also possible to delete the user corresponding to the caller by using
301 // `me` rather than an email address as in `accounts/{account}/users/me`.
302 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
303 }
304
305 func (x *DeleteUserRequest) Reset() {
306 *x = DeleteUserRequest{}
307 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[3]
308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
309 ms.StoreMessageInfo(mi)
310 }
311
312 func (x *DeleteUserRequest) String() string {
313 return protoimpl.X.MessageStringOf(x)
314 }
315
316 func (*DeleteUserRequest) ProtoMessage() {}
317
318 func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message {
319 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[3]
320 if x != nil {
321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
322 if ms.LoadMessageInfo() == nil {
323 ms.StoreMessageInfo(mi)
324 }
325 return ms
326 }
327 return mi.MessageOf(x)
328 }
329
330 // Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
331 func (*DeleteUserRequest) Descriptor() ([]byte, []int) {
332 return file_google_shopping_merchant_accounts_v1_user_proto_rawDescGZIP(), []int{3}
333 }
334
335 func (x *DeleteUserRequest) GetName() string {
336 if x != nil {
337 return x.Name
338 }
339 return ""
340 }
341
342 // Request message for the `UpdateUser` method.
343 type UpdateUserRequest struct {
344 state protoimpl.MessageState
345 sizeCache protoimpl.SizeCache
346 unknownFields protoimpl.UnknownFields
347
348 // Required. The new version of the user.
349 //
350 // Use `me` to refer to your own email address, for example
351 // `accounts/{account}/users/me`.
352 User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
353 // Optional. List of fields being updated.
354 //
355 // The following fields are supported (in both `snake_case` and
356 // `lowerCamelCase`):
357 //
358 // - `access_rights`
359 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
360 }
361
362 func (x *UpdateUserRequest) Reset() {
363 *x = UpdateUserRequest{}
364 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[4]
365 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
366 ms.StoreMessageInfo(mi)
367 }
368
369 func (x *UpdateUserRequest) String() string {
370 return protoimpl.X.MessageStringOf(x)
371 }
372
373 func (*UpdateUserRequest) ProtoMessage() {}
374
375 func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message {
376 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[4]
377 if x != nil {
378 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
379 if ms.LoadMessageInfo() == nil {
380 ms.StoreMessageInfo(mi)
381 }
382 return ms
383 }
384 return mi.MessageOf(x)
385 }
386
387 // Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
388 func (*UpdateUserRequest) Descriptor() ([]byte, []int) {
389 return file_google_shopping_merchant_accounts_v1_user_proto_rawDescGZIP(), []int{4}
390 }
391
392 func (x *UpdateUserRequest) GetUser() *User {
393 if x != nil {
394 return x.User
395 }
396 return nil
397 }
398
399 func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
400 if x != nil {
401 return x.UpdateMask
402 }
403 return nil
404 }
405
406 // Request message for the `ListUsers` method.
407 type ListUsersRequest struct {
408 state protoimpl.MessageState
409 sizeCache protoimpl.SizeCache
410 unknownFields protoimpl.UnknownFields
411
412 // Required. The parent, which owns this collection of users.
413 // Format: `accounts/{account}`
414 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
415 // Optional. The maximum number of users to return. The service may return
416 // fewer than this value. If unspecified, at most 50 users will be returned.
417 // The maximum value is 100; values above 100 will be coerced to 100
418 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
419 // Optional. A page token, received from a previous `ListUsers` call.
420 // Provide this to retrieve the subsequent page.
421 //
422 // When paginating, all other parameters provided to `ListUsers` must match
423 // the call that provided the page token.
424 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
425 }
426
427 func (x *ListUsersRequest) Reset() {
428 *x = ListUsersRequest{}
429 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[5]
430 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
431 ms.StoreMessageInfo(mi)
432 }
433
434 func (x *ListUsersRequest) String() string {
435 return protoimpl.X.MessageStringOf(x)
436 }
437
438 func (*ListUsersRequest) ProtoMessage() {}
439
440 func (x *ListUsersRequest) ProtoReflect() protoreflect.Message {
441 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[5]
442 if x != nil {
443 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
444 if ms.LoadMessageInfo() == nil {
445 ms.StoreMessageInfo(mi)
446 }
447 return ms
448 }
449 return mi.MessageOf(x)
450 }
451
452 // Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
453 func (*ListUsersRequest) Descriptor() ([]byte, []int) {
454 return file_google_shopping_merchant_accounts_v1_user_proto_rawDescGZIP(), []int{5}
455 }
456
457 func (x *ListUsersRequest) GetParent() string {
458 if x != nil {
459 return x.Parent
460 }
461 return ""
462 }
463
464 func (x *ListUsersRequest) GetPageSize() int32 {
465 if x != nil {
466 return x.PageSize
467 }
468 return 0
469 }
470
471 func (x *ListUsersRequest) GetPageToken() string {
472 if x != nil {
473 return x.PageToken
474 }
475 return ""
476 }
477
478 // Response message for the `ListUsers` method.
479 type ListUsersResponse struct {
480 state protoimpl.MessageState
481 sizeCache protoimpl.SizeCache
482 unknownFields protoimpl.UnknownFields
483
484 // The users from the specified account.
485 Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
486 // A token, which can be sent as `page_token` to retrieve the next page.
487 // If this field is omitted, there are no subsequent pages.
488 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
489 }
490
491 func (x *ListUsersResponse) Reset() {
492 *x = ListUsersResponse{}
493 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[6]
494 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
495 ms.StoreMessageInfo(mi)
496 }
497
498 func (x *ListUsersResponse) String() string {
499 return protoimpl.X.MessageStringOf(x)
500 }
501
502 func (*ListUsersResponse) ProtoMessage() {}
503
504 func (x *ListUsersResponse) ProtoReflect() protoreflect.Message {
505 mi := &file_google_shopping_merchant_accounts_v1_user_proto_msgTypes[6]
506 if x != nil {
507 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
508 if ms.LoadMessageInfo() == nil {
509 ms.StoreMessageInfo(mi)
510 }
511 return ms
512 }
513 return mi.MessageOf(x)
514 }
515
516 // Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
517 func (*ListUsersResponse) Descriptor() ([]byte, []int) {
518 return file_google_shopping_merchant_accounts_v1_user_proto_rawDescGZIP(), []int{6}
519 }
520
521 func (x *ListUsersResponse) GetUsers() []*User {
522 if x != nil {
523 return x.Users
524 }
525 return nil
526 }
527
528 func (x *ListUsersResponse) GetNextPageToken() string {
529 if x != nil {
530 return x.NextPageToken
531 }
532 return ""
533 }
534
535 var File_google_shopping_merchant_accounts_v1_user_proto protoreflect.FileDescriptor
536
537 var file_google_shopping_merchant_accounts_v1_user_proto_rawDesc = []byte{
538 0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
539 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75,
540 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
541 0x6f, 0x12, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69,
542 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f,
543 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
544 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
545 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
546 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,
547 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
548 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
549 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f,
550 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67,
551 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74,
552 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
553 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d,
554 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
555 0x65, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65, 0x72, 0x63, 0x68,
556 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f,
557 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x72, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
558 0x6f, 0x22, 0xd9, 0x02, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61,
559 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x08, 0x52, 0x04, 0x6e,
560 0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01,
561 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
562 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63,
563 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x2e, 0x53,
564 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
565 0x12, 0x5b, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x69, 0x67, 0x68, 0x74,
566 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
567 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61,
568 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41,
569 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x69, 0x67, 0x68, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
570 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x69, 0x67, 0x68, 0x74, 0x73, 0x22, 0x39, 0x0a,
571 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f,
572 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a,
573 0x07, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x56, 0x45,
574 0x52, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x02, 0x3a, 0x53, 0xea, 0x41, 0x50, 0x0a, 0x1f, 0x6d,
575 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
576 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x55, 0x73, 0x65, 0x72, 0x12, 0x20,
577 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
578 0x74, 0x7d, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x7d,
579 0x2a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x32, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x4d, 0x0a,
580 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
581 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0,
582 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61,
583 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
584 0x6d, 0x2f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xba, 0x01, 0x0a,
585 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
586 0x73, 0x74, 0x12, 0x42, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
587 0x28, 0x09, 0x42, 0x2a, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63,
588 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
589 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06,
590 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
591 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x75, 0x73,
592 0x65, 0x72, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01,
593 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
594 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63,
595 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x03,
596 0xe0, 0x41, 0x01, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x50, 0x0a, 0x11, 0x44, 0x65, 0x6c,
597 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b,
598 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41,
599 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70,
600 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
601 0x2f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9a, 0x01, 0x0a, 0x11,
602 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
603 0x74, 0x12, 0x43, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
604 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e,
605 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
606 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02,
607 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
608 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
609 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69,
610 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 0x70,
611 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x9c, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73,
612 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a,
613 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xe0,
614 0x41, 0x02, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61,
615 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
616 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
617 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02,
618 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53,
619 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
620 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70, 0x61,
621 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x7d, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x55,
622 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x05,
623 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f,
624 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
625 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
626 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x26,
627 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
628 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67,
629 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xcc, 0x07, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x53,
630 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa2, 0x01, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73,
631 0x65, 0x72, 0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
632 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63,
633 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
634 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
635 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68,
636 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e,
637 0x55, 0x73, 0x65, 0x72, 0x22, 0x35, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4,
638 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76,
639 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
640 0x2f, 0x2a, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xbd, 0x01, 0x0a, 0x0a,
641 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f,
642 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72,
643 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76,
644 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
645 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f,
646 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61,
647 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x22,
648 0x4a, 0xda, 0x41, 0x13, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x75, 0x73, 0x65, 0x72, 0x2c,
649 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2e, 0x3a, 0x04, 0x75,
650 0x73, 0x65, 0x72, 0x22, 0x26, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76,
651 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
652 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x94, 0x01, 0x0a, 0x0a,
653 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f,
654 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72,
655 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76,
656 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
657 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
658 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x35, 0xda, 0x41, 0x04,
659 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x2a, 0x26, 0x2f, 0x61, 0x63, 0x63,
660 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x61,
661 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f,
662 0x2a, 0x7d, 0x12, 0xbf, 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
663 0x72, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70,
664 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63,
665 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
666 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f,
667 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72,
668 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76,
669 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x22, 0x4c, 0xda, 0x41, 0x10, 0x75, 0x73, 0x65, 0x72, 0x2c,
670 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02,
671 0x33, 0x3a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x32, 0x2b, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
672 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x6e, 0x61, 0x6d, 0x65,
673 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x75, 0x73, 0x65, 0x72,
674 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb5, 0x01, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65,
675 0x72, 0x73, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70,
676 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63,
677 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73,
678 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x67, 0x6f, 0x6f,
679 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65, 0x72,
680 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e, 0x76,
681 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
682 0x6e, 0x73, 0x65, 0x22, 0x37, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3,
683 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f,
684 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x61, 0x63, 0x63, 0x6f, 0x75,
685 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x1a, 0x47, 0xca, 0x41,
686 0x1a, 0x6d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2e, 0x67, 0x6f, 0x6f,
687 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x27, 0x68, 0x74,
688 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
689 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6f,
690 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0xfc, 0x01, 0x0a, 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
691 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x6d, 0x65,
692 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
693 0x76, 0x31, 0x42, 0x09, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
694 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
695 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x6d, 0x65,
696 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2f,
697 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62,
698 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f,
699 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x65,
700 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x2e,
701 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x53, 0x68, 0x6f, 0x70,
702 0x70, 0x69, 0x6e, 0x67, 0x5c, 0x4d, 0x65, 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x5c, 0x41, 0x63,
703 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67,
704 0x6c, 0x65, 0x3a, 0x3a, 0x53, 0x68, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x4d, 0x65,
705 0x72, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x3a, 0x3a, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
706 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
707 }
708
709 var (
710 file_google_shopping_merchant_accounts_v1_user_proto_rawDescOnce sync.Once
711 file_google_shopping_merchant_accounts_v1_user_proto_rawDescData = file_google_shopping_merchant_accounts_v1_user_proto_rawDesc
712 )
713
714 func file_google_shopping_merchant_accounts_v1_user_proto_rawDescGZIP() []byte {
715 file_google_shopping_merchant_accounts_v1_user_proto_rawDescOnce.Do(func() {
716 file_google_shopping_merchant_accounts_v1_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_shopping_merchant_accounts_v1_user_proto_rawDescData)
717 })
718 return file_google_shopping_merchant_accounts_v1_user_proto_rawDescData
719 }
720
721 var file_google_shopping_merchant_accounts_v1_user_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
722 var file_google_shopping_merchant_accounts_v1_user_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
723 var file_google_shopping_merchant_accounts_v1_user_proto_goTypes = []any{
724 (User_State)(0), // 0: google.shopping.merchant.accounts.v1.User.State
725 (*User)(nil), // 1: google.shopping.merchant.accounts.v1.User
726 (*GetUserRequest)(nil), // 2: google.shopping.merchant.accounts.v1.GetUserRequest
727 (*CreateUserRequest)(nil), // 3: google.shopping.merchant.accounts.v1.CreateUserRequest
728 (*DeleteUserRequest)(nil), // 4: google.shopping.merchant.accounts.v1.DeleteUserRequest
729 (*UpdateUserRequest)(nil), // 5: google.shopping.merchant.accounts.v1.UpdateUserRequest
730 (*ListUsersRequest)(nil), // 6: google.shopping.merchant.accounts.v1.ListUsersRequest
731 (*ListUsersResponse)(nil), // 7: google.shopping.merchant.accounts.v1.ListUsersResponse
732 (AccessRight)(0), // 8: google.shopping.merchant.accounts.v1.AccessRight
733 (*fieldmaskpb.FieldMask)(nil), // 9: google.protobuf.FieldMask
734 (*emptypb.Empty)(nil), // 10: google.protobuf.Empty
735 }
736 var file_google_shopping_merchant_accounts_v1_user_proto_depIdxs = []int32{
737 0, // 0: google.shopping.merchant.accounts.v1.User.state:type_name -> google.shopping.merchant.accounts.v1.User.State
738 8, // 1: google.shopping.merchant.accounts.v1.User.access_rights:type_name -> google.shopping.merchant.accounts.v1.AccessRight
739 1, // 2: google.shopping.merchant.accounts.v1.CreateUserRequest.user:type_name -> google.shopping.merchant.accounts.v1.User
740 1, // 3: google.shopping.merchant.accounts.v1.UpdateUserRequest.user:type_name -> google.shopping.merchant.accounts.v1.User
741 9, // 4: google.shopping.merchant.accounts.v1.UpdateUserRequest.update_mask:type_name -> google.protobuf.FieldMask
742 1, // 5: google.shopping.merchant.accounts.v1.ListUsersResponse.users:type_name -> google.shopping.merchant.accounts.v1.User
743 2, // 6: google.shopping.merchant.accounts.v1.UserService.GetUser:input_type -> google.shopping.merchant.accounts.v1.GetUserRequest
744 3, // 7: google.shopping.merchant.accounts.v1.UserService.CreateUser:input_type -> google.shopping.merchant.accounts.v1.CreateUserRequest
745 4, // 8: google.shopping.merchant.accounts.v1.UserService.DeleteUser:input_type -> google.shopping.merchant.accounts.v1.DeleteUserRequest
746 5, // 9: google.shopping.merchant.accounts.v1.UserService.UpdateUser:input_type -> google.shopping.merchant.accounts.v1.UpdateUserRequest
747 6, // 10: google.shopping.merchant.accounts.v1.UserService.ListUsers:input_type -> google.shopping.merchant.accounts.v1.ListUsersRequest
748 1, // 11: google.shopping.merchant.accounts.v1.UserService.GetUser:output_type -> google.shopping.merchant.accounts.v1.User
749 1, // 12: google.shopping.merchant.accounts.v1.UserService.CreateUser:output_type -> google.shopping.merchant.accounts.v1.User
750 10, // 13: google.shopping.merchant.accounts.v1.UserService.DeleteUser:output_type -> google.protobuf.Empty
751 1, // 14: google.shopping.merchant.accounts.v1.UserService.UpdateUser:output_type -> google.shopping.merchant.accounts.v1.User
752 7, // 15: google.shopping.merchant.accounts.v1.UserService.ListUsers:output_type -> google.shopping.merchant.accounts.v1.ListUsersResponse
753 11, // [11:16] is the sub-list for method output_type
754 6, // [6:11] is the sub-list for method input_type
755 6, // [6:6] is the sub-list for extension type_name
756 6, // [6:6] is the sub-list for extension extendee
757 0, // [0:6] is the sub-list for field type_name
758 }
759
760 func init() { file_google_shopping_merchant_accounts_v1_user_proto_init() }
761 func file_google_shopping_merchant_accounts_v1_user_proto_init() {
762 if File_google_shopping_merchant_accounts_v1_user_proto != nil {
763 return
764 }
765 file_google_shopping_merchant_accounts_v1_accessright_proto_init()
766 type x struct{}
767 out := protoimpl.TypeBuilder{
768 File: protoimpl.DescBuilder{
769 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
770 RawDescriptor: file_google_shopping_merchant_accounts_v1_user_proto_rawDesc,
771 NumEnums: 1,
772 NumMessages: 7,
773 NumExtensions: 0,
774 NumServices: 1,
775 },
776 GoTypes: file_google_shopping_merchant_accounts_v1_user_proto_goTypes,
777 DependencyIndexes: file_google_shopping_merchant_accounts_v1_user_proto_depIdxs,
778 EnumInfos: file_google_shopping_merchant_accounts_v1_user_proto_enumTypes,
779 MessageInfos: file_google_shopping_merchant_accounts_v1_user_proto_msgTypes,
780 }.Build()
781 File_google_shopping_merchant_accounts_v1_user_proto = out.File
782 file_google_shopping_merchant_accounts_v1_user_proto_rawDesc = nil
783 file_google_shopping_merchant_accounts_v1_user_proto_goTypes = nil
784 file_google_shopping_merchant_accounts_v1_user_proto_depIdxs = nil
785 }
786
787 // Reference imports to suppress errors if they are not otherwise used.
788 var _ context.Context
789 var _ grpc.ClientConnInterface
790
791 // This is a compile-time assertion to ensure that this generated file
792 // is compatible with the grpc package it is being compiled against.
793 const _ = grpc.SupportPackageIsVersion6
794
795 // UserServiceClient is the client API for UserService service.
796 //
797 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
798 type UserServiceClient interface {
799 // Retrieves a Merchant Center account user.
800 GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error)
801 // Creates a Merchant Center account user. Executing this method requires
802 // admin access.
803 CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error)
804 // Deletes a Merchant Center account user. Executing this method requires
805 // admin access. The user to be deleted can't be the last admin user of that
806 // account. Also a user is protected from deletion if it
807 // is managed by Business Manager"
808 DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
809 // Updates a Merchant Center account user. Executing this method requires
810 // admin access.
811 UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*User, error)
812 // Lists all users of a Merchant Center account.
813 ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
814 }
815
816 type userServiceClient struct {
817 cc grpc.ClientConnInterface
818 }
819
820 func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient {
821 return &userServiceClient{cc}
822 }
823
824 func (c *userServiceClient) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error) {
825 out := new(User)
826 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.UserService/GetUser", in, out, opts...)
827 if err != nil {
828 return nil, err
829 }
830 return out, nil
831 }
832
833 func (c *userServiceClient) CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error) {
834 out := new(User)
835 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.UserService/CreateUser", in, out, opts...)
836 if err != nil {
837 return nil, err
838 }
839 return out, nil
840 }
841
842 func (c *userServiceClient) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
843 out := new(emptypb.Empty)
844 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.UserService/DeleteUser", in, out, opts...)
845 if err != nil {
846 return nil, err
847 }
848 return out, nil
849 }
850
851 func (c *userServiceClient) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*User, error) {
852 out := new(User)
853 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.UserService/UpdateUser", in, out, opts...)
854 if err != nil {
855 return nil, err
856 }
857 return out, nil
858 }
859
860 func (c *userServiceClient) ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error) {
861 out := new(ListUsersResponse)
862 err := c.cc.Invoke(ctx, "/google.shopping.merchant.accounts.v1.UserService/ListUsers", in, out, opts...)
863 if err != nil {
864 return nil, err
865 }
866 return out, nil
867 }
868
869 // UserServiceServer is the server API for UserService service.
870 type UserServiceServer interface {
871 // Retrieves a Merchant Center account user.
872 GetUser(context.Context, *GetUserRequest) (*User, error)
873 // Creates a Merchant Center account user. Executing this method requires
874 // admin access.
875 CreateUser(context.Context, *CreateUserRequest) (*User, error)
876 // Deletes a Merchant Center account user. Executing this method requires
877 // admin access. The user to be deleted can't be the last admin user of that
878 // account. Also a user is protected from deletion if it
879 // is managed by Business Manager"
880 DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error)
881 // Updates a Merchant Center account user. Executing this method requires
882 // admin access.
883 UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
884 // Lists all users of a Merchant Center account.
885 ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
886 }
887
888 // UnimplementedUserServiceServer can be embedded to have forward compatible implementations.
889 type UnimplementedUserServiceServer struct {
890 }
891
892 func (*UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*User, error) {
893 return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented")
894 }
895 func (*UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserRequest) (*User, error) {
896 return nil, status.Errorf(codes.Unimplemented, "method CreateUser not implemented")
897 }
898 func (*UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*emptypb.Empty, error) {
899 return nil, status.Errorf(codes.Unimplemented, "method DeleteUser not implemented")
900 }
901 func (*UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*User, error) {
902 return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented")
903 }
904 func (*UnimplementedUserServiceServer) ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error) {
905 return nil, status.Errorf(codes.Unimplemented, "method ListUsers not implemented")
906 }
907
908 func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer) {
909 s.RegisterService(&_UserService_serviceDesc, srv)
910 }
911
912 func _UserService_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
913 in := new(GetUserRequest)
914 if err := dec(in); err != nil {
915 return nil, err
916 }
917 if interceptor == nil {
918 return srv.(UserServiceServer).GetUser(ctx, in)
919 }
920 info := &grpc.UnaryServerInfo{
921 Server: srv,
922 FullMethod: "/google.shopping.merchant.accounts.v1.UserService/GetUser",
923 }
924 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
925 return srv.(UserServiceServer).GetUser(ctx, req.(*GetUserRequest))
926 }
927 return interceptor(ctx, in, info, handler)
928 }
929
930 func _UserService_CreateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
931 in := new(CreateUserRequest)
932 if err := dec(in); err != nil {
933 return nil, err
934 }
935 if interceptor == nil {
936 return srv.(UserServiceServer).CreateUser(ctx, in)
937 }
938 info := &grpc.UnaryServerInfo{
939 Server: srv,
940 FullMethod: "/google.shopping.merchant.accounts.v1.UserService/CreateUser",
941 }
942 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
943 return srv.(UserServiceServer).CreateUser(ctx, req.(*CreateUserRequest))
944 }
945 return interceptor(ctx, in, info, handler)
946 }
947
948 func _UserService_DeleteUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
949 in := new(DeleteUserRequest)
950 if err := dec(in); err != nil {
951 return nil, err
952 }
953 if interceptor == nil {
954 return srv.(UserServiceServer).DeleteUser(ctx, in)
955 }
956 info := &grpc.UnaryServerInfo{
957 Server: srv,
958 FullMethod: "/google.shopping.merchant.accounts.v1.UserService/DeleteUser",
959 }
960 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
961 return srv.(UserServiceServer).DeleteUser(ctx, req.(*DeleteUserRequest))
962 }
963 return interceptor(ctx, in, info, handler)
964 }
965
966 func _UserService_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
967 in := new(UpdateUserRequest)
968 if err := dec(in); err != nil {
969 return nil, err
970 }
971 if interceptor == nil {
972 return srv.(UserServiceServer).UpdateUser(ctx, in)
973 }
974 info := &grpc.UnaryServerInfo{
975 Server: srv,
976 FullMethod: "/google.shopping.merchant.accounts.v1.UserService/UpdateUser",
977 }
978 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
979 return srv.(UserServiceServer).UpdateUser(ctx, req.(*UpdateUserRequest))
980 }
981 return interceptor(ctx, in, info, handler)
982 }
983
984 func _UserService_ListUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
985 in := new(ListUsersRequest)
986 if err := dec(in); err != nil {
987 return nil, err
988 }
989 if interceptor == nil {
990 return srv.(UserServiceServer).ListUsers(ctx, in)
991 }
992 info := &grpc.UnaryServerInfo{
993 Server: srv,
994 FullMethod: "/google.shopping.merchant.accounts.v1.UserService/ListUsers",
995 }
996 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
997 return srv.(UserServiceServer).ListUsers(ctx, req.(*ListUsersRequest))
998 }
999 return interceptor(ctx, in, info, handler)
1000 }
1001
1002 var _UserService_serviceDesc = grpc.ServiceDesc{
1003 ServiceName: "google.shopping.merchant.accounts.v1.UserService",
1004 HandlerType: (*UserServiceServer)(nil),
1005 Methods: []grpc.MethodDesc{
1006 {
1007 MethodName: "GetUser",
1008 Handler: _UserService_GetUser_Handler,
1009 },
1010 {
1011 MethodName: "CreateUser",
1012 Handler: _UserService_CreateUser_Handler,
1013 },
1014 {
1015 MethodName: "DeleteUser",
1016 Handler: _UserService_DeleteUser_Handler,
1017 },
1018 {
1019 MethodName: "UpdateUser",
1020 Handler: _UserService_UpdateUser_Handler,
1021 },
1022 {
1023 MethodName: "ListUsers",
1024 Handler: _UserService_ListUsers_Handler,
1025 },
1026 },
1027 Streams: []grpc.StreamDesc{},
1028 Metadata: "google/shopping/merchant/accounts/v1/user.proto",
1029 }