Debian Codegraph @

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