Debian Codegraph @

googleapis/cloud/sql/v1/cloud_sql_users.pb.go

raw
1 // Copyright 2021 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.26.0
18 // protoc v3.12.2
19 // source: google/cloud/sql/v1/cloud_sql_users.proto
20
21 package sql
22
23 import (
24 context "context"
25 reflect "reflect"
26 sync "sync"
27
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 grpc "google.golang.org/grpc"
30 codes "google.golang.org/grpc/codes"
31 status "google.golang.org/grpc/status"
32 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
33 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
34 )
35
36 const (
37 // Verify that this generated code is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39 // Verify that runtime/protoimpl is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43 // The user type.
44 type User_SqlUserType int32
45
46 const (
47 // The database's built-in user type.
48 User_BUILT_IN User_SqlUserType = 0
49 // Cloud IAM user.
50 User_CLOUD_IAM_USER User_SqlUserType = 1
51 // Cloud IAM service account.
52 User_CLOUD_IAM_SERVICE_ACCOUNT User_SqlUserType = 2
53 )
54
55 // Enum value maps for User_SqlUserType.
56 var (
57 User_SqlUserType_name = map[int32]string{
58 0: "BUILT_IN",
59 1: "CLOUD_IAM_USER",
60 2: "CLOUD_IAM_SERVICE_ACCOUNT",
61 }
62 User_SqlUserType_value = map[string]int32{
63 "BUILT_IN": 0,
64 "CLOUD_IAM_USER": 1,
65 "CLOUD_IAM_SERVICE_ACCOUNT": 2,
66 }
67 )
68
69 func (x User_SqlUserType) Enum() *User_SqlUserType {
70 p := new(User_SqlUserType)
71 *p = x
72 return p
73 }
74
75 func (x User_SqlUserType) String() string {
76 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
77 }
78
79 func (User_SqlUserType) Descriptor() protoreflect.EnumDescriptor {
80 return file_google_cloud_sql_v1_cloud_sql_users_proto_enumTypes[0].Descriptor()
81 }
82
83 func (User_SqlUserType) Type() protoreflect.EnumType {
84 return &file_google_cloud_sql_v1_cloud_sql_users_proto_enumTypes[0]
85 }
86
87 func (x User_SqlUserType) Number() protoreflect.EnumNumber {
88 return protoreflect.EnumNumber(x)
89 }
90
91 // Deprecated: Use User_SqlUserType.Descriptor instead.
92 func (User_SqlUserType) EnumDescriptor() ([]byte, []int) {
93 return file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescGZIP(), []int{4, 0}
94 }
95
96 type SqlUsersDeleteRequest struct {
97 state protoimpl.MessageState
98 sizeCache protoimpl.SizeCache
99 unknownFields protoimpl.UnknownFields
100
101 // Host of the user in the instance.
102 Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
103 // Database instance ID. This does not include the project ID.
104 Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
105 // Name of the user in the instance.
106 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
107 // Project ID of the project that contains the instance.
108 Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
109 }
110
111 func (x *SqlUsersDeleteRequest) Reset() {
112 *x = SqlUsersDeleteRequest{}
113 if protoimpl.UnsafeEnabled {
114 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[0]
115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
116 ms.StoreMessageInfo(mi)
117 }
118 }
119
120 func (x *SqlUsersDeleteRequest) String() string {
121 return protoimpl.X.MessageStringOf(x)
122 }
123
124 func (*SqlUsersDeleteRequest) ProtoMessage() {}
125
126 func (x *SqlUsersDeleteRequest) ProtoReflect() protoreflect.Message {
127 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[0]
128 if protoimpl.UnsafeEnabled && x != nil {
129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
130 if ms.LoadMessageInfo() == nil {
131 ms.StoreMessageInfo(mi)
132 }
133 return ms
134 }
135 return mi.MessageOf(x)
136 }
137
138 // Deprecated: Use SqlUsersDeleteRequest.ProtoReflect.Descriptor instead.
139 func (*SqlUsersDeleteRequest) Descriptor() ([]byte, []int) {
140 return file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescGZIP(), []int{0}
141 }
142
143 func (x *SqlUsersDeleteRequest) GetHost() string {
144 if x != nil {
145 return x.Host
146 }
147 return ""
148 }
149
150 func (x *SqlUsersDeleteRequest) GetInstance() string {
151 if x != nil {
152 return x.Instance
153 }
154 return ""
155 }
156
157 func (x *SqlUsersDeleteRequest) GetName() string {
158 if x != nil {
159 return x.Name
160 }
161 return ""
162 }
163
164 func (x *SqlUsersDeleteRequest) GetProject() string {
165 if x != nil {
166 return x.Project
167 }
168 return ""
169 }
170
171 type SqlUsersInsertRequest struct {
172 state protoimpl.MessageState
173 sizeCache protoimpl.SizeCache
174 unknownFields protoimpl.UnknownFields
175
176 // Database instance ID. This does not include the project ID.
177 Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
178 // Project ID of the project that contains the instance.
179 Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
180 Body *User `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
181 }
182
183 func (x *SqlUsersInsertRequest) Reset() {
184 *x = SqlUsersInsertRequest{}
185 if protoimpl.UnsafeEnabled {
186 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[1]
187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
188 ms.StoreMessageInfo(mi)
189 }
190 }
191
192 func (x *SqlUsersInsertRequest) String() string {
193 return protoimpl.X.MessageStringOf(x)
194 }
195
196 func (*SqlUsersInsertRequest) ProtoMessage() {}
197
198 func (x *SqlUsersInsertRequest) ProtoReflect() protoreflect.Message {
199 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[1]
200 if protoimpl.UnsafeEnabled && x != nil {
201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
202 if ms.LoadMessageInfo() == nil {
203 ms.StoreMessageInfo(mi)
204 }
205 return ms
206 }
207 return mi.MessageOf(x)
208 }
209
210 // Deprecated: Use SqlUsersInsertRequest.ProtoReflect.Descriptor instead.
211 func (*SqlUsersInsertRequest) Descriptor() ([]byte, []int) {
212 return file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescGZIP(), []int{1}
213 }
214
215 func (x *SqlUsersInsertRequest) GetInstance() string {
216 if x != nil {
217 return x.Instance
218 }
219 return ""
220 }
221
222 func (x *SqlUsersInsertRequest) GetProject() string {
223 if x != nil {
224 return x.Project
225 }
226 return ""
227 }
228
229 func (x *SqlUsersInsertRequest) GetBody() *User {
230 if x != nil {
231 return x.Body
232 }
233 return nil
234 }
235
236 type SqlUsersListRequest struct {
237 state protoimpl.MessageState
238 sizeCache protoimpl.SizeCache
239 unknownFields protoimpl.UnknownFields
240
241 // Database instance ID. This does not include the project ID.
242 Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
243 // Project ID of the project that contains the instance.
244 Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
245 }
246
247 func (x *SqlUsersListRequest) Reset() {
248 *x = SqlUsersListRequest{}
249 if protoimpl.UnsafeEnabled {
250 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[2]
251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
252 ms.StoreMessageInfo(mi)
253 }
254 }
255
256 func (x *SqlUsersListRequest) String() string {
257 return protoimpl.X.MessageStringOf(x)
258 }
259
260 func (*SqlUsersListRequest) ProtoMessage() {}
261
262 func (x *SqlUsersListRequest) ProtoReflect() protoreflect.Message {
263 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[2]
264 if protoimpl.UnsafeEnabled && x != nil {
265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
266 if ms.LoadMessageInfo() == nil {
267 ms.StoreMessageInfo(mi)
268 }
269 return ms
270 }
271 return mi.MessageOf(x)
272 }
273
274 // Deprecated: Use SqlUsersListRequest.ProtoReflect.Descriptor instead.
275 func (*SqlUsersListRequest) Descriptor() ([]byte, []int) {
276 return file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescGZIP(), []int{2}
277 }
278
279 func (x *SqlUsersListRequest) GetInstance() string {
280 if x != nil {
281 return x.Instance
282 }
283 return ""
284 }
285
286 func (x *SqlUsersListRequest) GetProject() string {
287 if x != nil {
288 return x.Project
289 }
290 return ""
291 }
292
293 type SqlUsersUpdateRequest struct {
294 state protoimpl.MessageState
295 sizeCache protoimpl.SizeCache
296 unknownFields protoimpl.UnknownFields
297
298 // Optional. Host of the user in the instance.
299 Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
300 // Database instance ID. This does not include the project ID.
301 Instance string `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
302 // Name of the user in the instance.
303 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
304 // Project ID of the project that contains the instance.
305 Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
306 Body *User `protobuf:"bytes,100,opt,name=body,proto3" json:"body,omitempty"`
307 }
308
309 func (x *SqlUsersUpdateRequest) Reset() {
310 *x = SqlUsersUpdateRequest{}
311 if protoimpl.UnsafeEnabled {
312 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[3]
313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
314 ms.StoreMessageInfo(mi)
315 }
316 }
317
318 func (x *SqlUsersUpdateRequest) String() string {
319 return protoimpl.X.MessageStringOf(x)
320 }
321
322 func (*SqlUsersUpdateRequest) ProtoMessage() {}
323
324 func (x *SqlUsersUpdateRequest) ProtoReflect() protoreflect.Message {
325 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[3]
326 if protoimpl.UnsafeEnabled && x != nil {
327 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
328 if ms.LoadMessageInfo() == nil {
329 ms.StoreMessageInfo(mi)
330 }
331 return ms
332 }
333 return mi.MessageOf(x)
334 }
335
336 // Deprecated: Use SqlUsersUpdateRequest.ProtoReflect.Descriptor instead.
337 func (*SqlUsersUpdateRequest) Descriptor() ([]byte, []int) {
338 return file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescGZIP(), []int{3}
339 }
340
341 func (x *SqlUsersUpdateRequest) GetHost() string {
342 if x != nil {
343 return x.Host
344 }
345 return ""
346 }
347
348 func (x *SqlUsersUpdateRequest) GetInstance() string {
349 if x != nil {
350 return x.Instance
351 }
352 return ""
353 }
354
355 func (x *SqlUsersUpdateRequest) GetName() string {
356 if x != nil {
357 return x.Name
358 }
359 return ""
360 }
361
362 func (x *SqlUsersUpdateRequest) GetProject() string {
363 if x != nil {
364 return x.Project
365 }
366 return ""
367 }
368
369 func (x *SqlUsersUpdateRequest) GetBody() *User {
370 if x != nil {
371 return x.Body
372 }
373 return nil
374 }
375
376 // A Cloud SQL user resource.
377 type User struct {
378 state protoimpl.MessageState
379 sizeCache protoimpl.SizeCache
380 unknownFields protoimpl.UnknownFields
381
382 // This is always **sql#user**.
383 Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
384 // The password for the user.
385 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
386 // This field is deprecated and will be removed from a future version of the
387 // API.
388 Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
389 // The name of the user in the Cloud SQL instance. Can be omitted for
390 // **update** since it is already specified in the URL.
391 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
392 // The host name from which the user can connect. For **insert**
393 // operations, host defaults to an empty string. For **update**
394 // operations, host is specified as part of the request URL. The host name
395 // cannot be updated after insertion.
396 Host string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
397 // The name of the Cloud SQL instance. This does not include the project ID.
398 // Can be omitted for **update** since it is already specified on the
399 // URL.
400 Instance string `protobuf:"bytes,6,opt,name=instance,proto3" json:"instance,omitempty"`
401 // The project ID of the project containing the Cloud SQL database. The Google
402 // apps domain is prefixed if applicable. Can be omitted for **update** since
403 // it is already specified on the URL.
404 Project string `protobuf:"bytes,7,opt,name=project,proto3" json:"project,omitempty"`
405 // The user type. It determines the method to authenticate the user during
406 // login. The default is the database's built-in user type.
407 Type User_SqlUserType `protobuf:"varint,8,opt,name=type,proto3,enum=google.cloud.sql.v1.User_SqlUserType" json:"type,omitempty"`
408 // User details for specific database type
409 //
410 // Types that are assignable to UserDetails:
411 // *User_SqlserverUserDetails
412 UserDetails isUser_UserDetails `protobuf_oneof:"user_details"`
413 }
414
415 func (x *User) Reset() {
416 *x = User{}
417 if protoimpl.UnsafeEnabled {
418 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[4]
419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
420 ms.StoreMessageInfo(mi)
421 }
422 }
423
424 func (x *User) String() string {
425 return protoimpl.X.MessageStringOf(x)
426 }
427
428 func (*User) ProtoMessage() {}
429
430 func (x *User) ProtoReflect() protoreflect.Message {
431 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[4]
432 if protoimpl.UnsafeEnabled && x != nil {
433 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
434 if ms.LoadMessageInfo() == nil {
435 ms.StoreMessageInfo(mi)
436 }
437 return ms
438 }
439 return mi.MessageOf(x)
440 }
441
442 // Deprecated: Use User.ProtoReflect.Descriptor instead.
443 func (*User) Descriptor() ([]byte, []int) {
444 return file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescGZIP(), []int{4}
445 }
446
447 func (x *User) GetKind() string {
448 if x != nil {
449 return x.Kind
450 }
451 return ""
452 }
453
454 func (x *User) GetPassword() string {
455 if x != nil {
456 return x.Password
457 }
458 return ""
459 }
460
461 func (x *User) GetEtag() string {
462 if x != nil {
463 return x.Etag
464 }
465 return ""
466 }
467
468 func (x *User) GetName() string {
469 if x != nil {
470 return x.Name
471 }
472 return ""
473 }
474
475 func (x *User) GetHost() string {
476 if x != nil {
477 return x.Host
478 }
479 return ""
480 }
481
482 func (x *User) GetInstance() string {
483 if x != nil {
484 return x.Instance
485 }
486 return ""
487 }
488
489 func (x *User) GetProject() string {
490 if x != nil {
491 return x.Project
492 }
493 return ""
494 }
495
496 func (x *User) GetType() User_SqlUserType {
497 if x != nil {
498 return x.Type
499 }
500 return User_BUILT_IN
501 }
502
503 func (m *User) GetUserDetails() isUser_UserDetails {
504 if m != nil {
505 return m.UserDetails
506 }
507 return nil
508 }
509
510 func (x *User) GetSqlserverUserDetails() *SqlServerUserDetails {
511 if x, ok := x.GetUserDetails().(*User_SqlserverUserDetails); ok {
512 return x.SqlserverUserDetails
513 }
514 return nil
515 }
516
517 type isUser_UserDetails interface {
518 isUser_UserDetails()
519 }
520
521 type User_SqlserverUserDetails struct {
522 SqlserverUserDetails *SqlServerUserDetails `protobuf:"bytes,9,opt,name=sqlserver_user_details,json=sqlserverUserDetails,proto3,oneof"`
523 }
524
525 func (*User_SqlserverUserDetails) isUser_UserDetails() {}
526
527 // Represents a Sql Server user on the Cloud SQL instance.
528 type SqlServerUserDetails struct {
529 state protoimpl.MessageState
530 sizeCache protoimpl.SizeCache
531 unknownFields protoimpl.UnknownFields
532
533 // If the user has been disabled
534 Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
535 // The server roles for this user
536 ServerRoles []string `protobuf:"bytes,2,rep,name=server_roles,json=serverRoles,proto3" json:"server_roles,omitempty"`
537 }
538
539 func (x *SqlServerUserDetails) Reset() {
540 *x = SqlServerUserDetails{}
541 if protoimpl.UnsafeEnabled {
542 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[5]
543 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
544 ms.StoreMessageInfo(mi)
545 }
546 }
547
548 func (x *SqlServerUserDetails) String() string {
549 return protoimpl.X.MessageStringOf(x)
550 }
551
552 func (*SqlServerUserDetails) ProtoMessage() {}
553
554 func (x *SqlServerUserDetails) ProtoReflect() protoreflect.Message {
555 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[5]
556 if protoimpl.UnsafeEnabled && x != nil {
557 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
558 if ms.LoadMessageInfo() == nil {
559 ms.StoreMessageInfo(mi)
560 }
561 return ms
562 }
563 return mi.MessageOf(x)
564 }
565
566 // Deprecated: Use SqlServerUserDetails.ProtoReflect.Descriptor instead.
567 func (*SqlServerUserDetails) Descriptor() ([]byte, []int) {
568 return file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescGZIP(), []int{5}
569 }
570
571 func (x *SqlServerUserDetails) GetDisabled() bool {
572 if x != nil {
573 return x.Disabled
574 }
575 return false
576 }
577
578 func (x *SqlServerUserDetails) GetServerRoles() []string {
579 if x != nil {
580 return x.ServerRoles
581 }
582 return nil
583 }
584
585 // User list response.
586 type UsersListResponse struct {
587 state protoimpl.MessageState
588 sizeCache protoimpl.SizeCache
589 unknownFields protoimpl.UnknownFields
590
591 // This is always **sql#usersList**.
592 Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
593 // List of user resources in the instance.
594 Items []*User `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
595 // An identifier that uniquely identifies the operation. You can use this
596 // identifier to retrieve the Operations resource that has information about
597 // the operation.
598 NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
599 }
600
601 func (x *UsersListResponse) Reset() {
602 *x = UsersListResponse{}
603 if protoimpl.UnsafeEnabled {
604 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[6]
605 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
606 ms.StoreMessageInfo(mi)
607 }
608 }
609
610 func (x *UsersListResponse) String() string {
611 return protoimpl.X.MessageStringOf(x)
612 }
613
614 func (*UsersListResponse) ProtoMessage() {}
615
616 func (x *UsersListResponse) ProtoReflect() protoreflect.Message {
617 mi := &file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[6]
618 if protoimpl.UnsafeEnabled && x != nil {
619 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
620 if ms.LoadMessageInfo() == nil {
621 ms.StoreMessageInfo(mi)
622 }
623 return ms
624 }
625 return mi.MessageOf(x)
626 }
627
628 // Deprecated: Use UsersListResponse.ProtoReflect.Descriptor instead.
629 func (*UsersListResponse) Descriptor() ([]byte, []int) {
630 return file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescGZIP(), []int{6}
631 }
632
633 func (x *UsersListResponse) GetKind() string {
634 if x != nil {
635 return x.Kind
636 }
637 return ""
638 }
639
640 func (x *UsersListResponse) GetItems() []*User {
641 if x != nil {
642 return x.Items
643 }
644 return nil
645 }
646
647 func (x *UsersListResponse) GetNextPageToken() string {
648 if x != nil {
649 return x.NextPageToken
650 }
651 return ""
652 }
653
654 var File_google_cloud_sql_v1_cloud_sql_users_proto protoreflect.FileDescriptor
655
656 var file_google_cloud_sql_v1_cloud_sql_users_proto_rawDesc = []byte{
657 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
658 0x71, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x71, 0x6c, 0x5f,
659 0x75, 0x73, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x67, 0x6f, 0x6f,
660 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31,
661 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
662 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f,
663 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
664 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
665 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x71,
666 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x73, 0x71, 0x6c, 0x5f, 0x72,
667 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
668 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
669 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x75, 0x0a, 0x15, 0x53, 0x71, 0x6c, 0x55, 0x73,
670 0x65, 0x72, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
671 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
672 0x68, 0x6f, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
673 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
674 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
675 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18,
676 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x7c,
677 0x0a, 0x15, 0x53, 0x71, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74,
678 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61,
679 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61,
680 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02,
681 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2d, 0x0a,
682 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f,
683 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76,
684 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x4b, 0x0a, 0x13,
685 0x53, 0x71, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
686 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18,
687 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12,
688 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
689 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0xa9, 0x01, 0x0a, 0x15, 0x53, 0x71,
690 0x6c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
691 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
692 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08,
693 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
694 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
695 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07,
696 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70,
697 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x2d, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x64,
698 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
699 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52,
700 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0xa6, 0x03, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x12,
701 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69,
702 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02,
703 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x12,
704 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74,
705 0x61, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
706 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05,
707 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e,
708 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e,
709 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
710 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
711 0x12, 0x39, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25,
712 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71,
713 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x2e, 0x53, 0x71, 0x6c, 0x55, 0x73, 0x65,
714 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x61, 0x0a, 0x16, 0x73,
715 0x71, 0x6c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x64, 0x65,
716 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f,
717 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76,
718 0x31, 0x2e, 0x53, 0x71, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x44,
719 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x14, 0x73, 0x71, 0x6c, 0x73, 0x65, 0x72,
720 0x76, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x4e,
721 0x0a, 0x0b, 0x53, 0x71, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a,
722 0x08, 0x42, 0x55, 0x49, 0x4c, 0x54, 0x5f, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x43,
723 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x49, 0x41, 0x4d, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12,
724 0x1d, 0x0a, 0x19, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x49, 0x41, 0x4d, 0x5f, 0x53, 0x45, 0x52,
725 0x56, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x02, 0x42, 0x0e,
726 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x55,
727 0x0a, 0x14, 0x53, 0x71, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x44,
728 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c,
729 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c,
730 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x6c,
731 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
732 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x73, 0x4c,
733 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6b,
734 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12,
735 0x2f, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19,
736 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71,
737 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73,
738 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f,
739 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50,
740 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xe7, 0x05, 0x0a, 0x0f, 0x53, 0x71, 0x6c,
741 0x55, 0x73, 0x65, 0x72, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8f, 0x01, 0x0a,
742 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
743 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71,
744 0x6c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
745 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
746 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
747 0x69, 0x6f, 0x6e, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x2a, 0x31, 0x2f, 0x76, 0x31,
748 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65,
749 0x63, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69,
750 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x95,
751 0x01, 0x0a, 0x06, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
752 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e,
753 0x53, 0x71, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65,
754 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
755 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72,
756 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x31, 0x2f,
757 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
758 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f,
759 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73,
760 0x3a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x93, 0x01, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12,
761 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
762 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x4c, 0x69,
763 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
764 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e,
765 0x55, 0x73, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
766 0x65, 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x12, 0x31, 0x2f, 0x76, 0x31, 0x2f, 0x70,
767 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
768 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73,
769 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x95, 0x01, 0x0a,
770 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
771 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x71,
772 0x6c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
773 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
774 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
775 0x69, 0x6f, 0x6e, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x1a, 0x31, 0x2f, 0x76, 0x31,
776 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65,
777 0x63, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x69,
778 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x3a, 0x04,
779 0x62, 0x6f, 0x64, 0x79, 0x1a, 0x7c, 0xca, 0x41, 0x17, 0x73, 0x71, 0x6c, 0x61, 0x64, 0x6d, 0x69,
780 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
781 0xd2, 0x41, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67,
782 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75,
783 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
784 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f,
785 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74,
786 0x68, 0x2f, 0x73, 0x71, 0x6c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x61, 0x64, 0x6d,
787 0x69, 0x6e, 0x42, 0x67, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
788 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x71, 0x6c, 0x2e, 0x76, 0x31, 0x42, 0x12, 0x43,
789 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x71, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x73, 0x50, 0x72, 0x6f, 0x74,
790 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
791 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
792 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
793 0x2f, 0x73, 0x71, 0x6c, 0x2f, 0x76, 0x31, 0x3b, 0x73, 0x71, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f,
794 0x74, 0x6f, 0x33,
795 }
796
797 var (
798 file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescOnce sync.Once
799 file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescData = file_google_cloud_sql_v1_cloud_sql_users_proto_rawDesc
800 )
801
802 func file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescGZIP() []byte {
803 file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescOnce.Do(func() {
804 file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescData)
805 })
806 return file_google_cloud_sql_v1_cloud_sql_users_proto_rawDescData
807 }
808
809 var file_google_cloud_sql_v1_cloud_sql_users_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
810 var file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
811 var file_google_cloud_sql_v1_cloud_sql_users_proto_goTypes = []interface{}{
812 (User_SqlUserType)(0), // 0: google.cloud.sql.v1.User.SqlUserType
813 (*SqlUsersDeleteRequest)(nil), // 1: google.cloud.sql.v1.SqlUsersDeleteRequest
814 (*SqlUsersInsertRequest)(nil), // 2: google.cloud.sql.v1.SqlUsersInsertRequest
815 (*SqlUsersListRequest)(nil), // 3: google.cloud.sql.v1.SqlUsersListRequest
816 (*SqlUsersUpdateRequest)(nil), // 4: google.cloud.sql.v1.SqlUsersUpdateRequest
817 (*User)(nil), // 5: google.cloud.sql.v1.User
818 (*SqlServerUserDetails)(nil), // 6: google.cloud.sql.v1.SqlServerUserDetails
819 (*UsersListResponse)(nil), // 7: google.cloud.sql.v1.UsersListResponse
820 (*Operation)(nil), // 8: google.cloud.sql.v1.Operation
821 }
822 var file_google_cloud_sql_v1_cloud_sql_users_proto_depIdxs = []int32{
823 5, // 0: google.cloud.sql.v1.SqlUsersInsertRequest.body:type_name -> google.cloud.sql.v1.User
824 5, // 1: google.cloud.sql.v1.SqlUsersUpdateRequest.body:type_name -> google.cloud.sql.v1.User
825 0, // 2: google.cloud.sql.v1.User.type:type_name -> google.cloud.sql.v1.User.SqlUserType
826 6, // 3: google.cloud.sql.v1.User.sqlserver_user_details:type_name -> google.cloud.sql.v1.SqlServerUserDetails
827 5, // 4: google.cloud.sql.v1.UsersListResponse.items:type_name -> google.cloud.sql.v1.User
828 1, // 5: google.cloud.sql.v1.SqlUsersService.Delete:input_type -> google.cloud.sql.v1.SqlUsersDeleteRequest
829 2, // 6: google.cloud.sql.v1.SqlUsersService.Insert:input_type -> google.cloud.sql.v1.SqlUsersInsertRequest
830 3, // 7: google.cloud.sql.v1.SqlUsersService.List:input_type -> google.cloud.sql.v1.SqlUsersListRequest
831 4, // 8: google.cloud.sql.v1.SqlUsersService.Update:input_type -> google.cloud.sql.v1.SqlUsersUpdateRequest
832 8, // 9: google.cloud.sql.v1.SqlUsersService.Delete:output_type -> google.cloud.sql.v1.Operation
833 8, // 10: google.cloud.sql.v1.SqlUsersService.Insert:output_type -> google.cloud.sql.v1.Operation
834 7, // 11: google.cloud.sql.v1.SqlUsersService.List:output_type -> google.cloud.sql.v1.UsersListResponse
835 8, // 12: google.cloud.sql.v1.SqlUsersService.Update:output_type -> google.cloud.sql.v1.Operation
836 9, // [9:13] is the sub-list for method output_type
837 5, // [5:9] is the sub-list for method input_type
838 5, // [5:5] is the sub-list for extension type_name
839 5, // [5:5] is the sub-list for extension extendee
840 0, // [0:5] is the sub-list for field type_name
841 }
842
843 func init() { file_google_cloud_sql_v1_cloud_sql_users_proto_init() }
844 func file_google_cloud_sql_v1_cloud_sql_users_proto_init() {
845 if File_google_cloud_sql_v1_cloud_sql_users_proto != nil {
846 return
847 }
848 file_google_cloud_sql_v1_cloud_sql_resources_proto_init()
849 if !protoimpl.UnsafeEnabled {
850 file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
851 switch v := v.(*SqlUsersDeleteRequest); i {
852 case 0:
853 return &v.state
854 case 1:
855 return &v.sizeCache
856 case 2:
857 return &v.unknownFields
858 default:
859 return nil
860 }
861 }
862 file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
863 switch v := v.(*SqlUsersInsertRequest); i {
864 case 0:
865 return &v.state
866 case 1:
867 return &v.sizeCache
868 case 2:
869 return &v.unknownFields
870 default:
871 return nil
872 }
873 }
874 file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
875 switch v := v.(*SqlUsersListRequest); i {
876 case 0:
877 return &v.state
878 case 1:
879 return &v.sizeCache
880 case 2:
881 return &v.unknownFields
882 default:
883 return nil
884 }
885 }
886 file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
887 switch v := v.(*SqlUsersUpdateRequest); i {
888 case 0:
889 return &v.state
890 case 1:
891 return &v.sizeCache
892 case 2:
893 return &v.unknownFields
894 default:
895 return nil
896 }
897 }
898 file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
899 switch v := v.(*User); i {
900 case 0:
901 return &v.state
902 case 1:
903 return &v.sizeCache
904 case 2:
905 return &v.unknownFields
906 default:
907 return nil
908 }
909 }
910 file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
911 switch v := v.(*SqlServerUserDetails); i {
912 case 0:
913 return &v.state
914 case 1:
915 return &v.sizeCache
916 case 2:
917 return &v.unknownFields
918 default:
919 return nil
920 }
921 }
922 file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
923 switch v := v.(*UsersListResponse); i {
924 case 0:
925 return &v.state
926 case 1:
927 return &v.sizeCache
928 case 2:
929 return &v.unknownFields
930 default:
931 return nil
932 }
933 }
934 }
935 file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes[4].OneofWrappers = []interface{}{
936 (*User_SqlserverUserDetails)(nil),
937 }
938 type x struct{}
939 out := protoimpl.TypeBuilder{
940 File: protoimpl.DescBuilder{
941 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
942 RawDescriptor: file_google_cloud_sql_v1_cloud_sql_users_proto_rawDesc,
943 NumEnums: 1,
944 NumMessages: 7,
945 NumExtensions: 0,
946 NumServices: 1,
947 },
948 GoTypes: file_google_cloud_sql_v1_cloud_sql_users_proto_goTypes,
949 DependencyIndexes: file_google_cloud_sql_v1_cloud_sql_users_proto_depIdxs,
950 EnumInfos: file_google_cloud_sql_v1_cloud_sql_users_proto_enumTypes,
951 MessageInfos: file_google_cloud_sql_v1_cloud_sql_users_proto_msgTypes,
952 }.Build()
953 File_google_cloud_sql_v1_cloud_sql_users_proto = out.File
954 file_google_cloud_sql_v1_cloud_sql_users_proto_rawDesc = nil
955 file_google_cloud_sql_v1_cloud_sql_users_proto_goTypes = nil
956 file_google_cloud_sql_v1_cloud_sql_users_proto_depIdxs = nil
957 }
958
959 // Reference imports to suppress errors if they are not otherwise used.
960 var _ context.Context
961 var _ grpc.ClientConnInterface
962
963 // This is a compile-time assertion to ensure that this generated file
964 // is compatible with the grpc package it is being compiled against.
965 const _ = grpc.SupportPackageIsVersion6
966
967 // SqlUsersServiceClient is the client API for SqlUsersService service.
968 //
969 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
970 type SqlUsersServiceClient interface {
971 // Deletes a user from a Cloud SQL instance.
972 Delete(ctx context.Context, in *SqlUsersDeleteRequest, opts ...grpc.CallOption) (*Operation, error)
973 // Creates a new user in a Cloud SQL instance.
974 Insert(ctx context.Context, in *SqlUsersInsertRequest, opts ...grpc.CallOption) (*Operation, error)
975 // Lists users in the specified Cloud SQL instance.
976 List(ctx context.Context, in *SqlUsersListRequest, opts ...grpc.CallOption) (*UsersListResponse, error)
977 // Updates an existing user in a Cloud SQL instance.
978 Update(ctx context.Context, in *SqlUsersUpdateRequest, opts ...grpc.CallOption) (*Operation, error)
979 }
980
981 type sqlUsersServiceClient struct {
982 cc grpc.ClientConnInterface
983 }
984
985 func NewSqlUsersServiceClient(cc grpc.ClientConnInterface) SqlUsersServiceClient {
986 return &sqlUsersServiceClient{cc}
987 }
988
989 func (c *sqlUsersServiceClient) Delete(ctx context.Context, in *SqlUsersDeleteRequest, opts ...grpc.CallOption) (*Operation, error) {
990 out := new(Operation)
991 err := c.cc.Invoke(ctx, "/google.cloud.sql.v1.SqlUsersService/Delete", in, out, opts...)
992 if err != nil {
993 return nil, err
994 }
995 return out, nil
996 }
997
998 func (c *sqlUsersServiceClient) Insert(ctx context.Context, in *SqlUsersInsertRequest, opts ...grpc.CallOption) (*Operation, error) {
999 out := new(Operation)
1000 err := c.cc.Invoke(ctx, "/google.cloud.sql.v1.SqlUsersService/Insert", in, out, opts...)
1001 if err != nil {
1002 return nil, err
1003 }
1004 return out, nil
1005 }
1006
1007 func (c *sqlUsersServiceClient) List(ctx context.Context, in *SqlUsersListRequest, opts ...grpc.CallOption) (*UsersListResponse, error) {
1008 out := new(UsersListResponse)
1009 err := c.cc.Invoke(ctx, "/google.cloud.sql.v1.SqlUsersService/List", in, out, opts...)
1010 if err != nil {
1011 return nil, err
1012 }
1013 return out, nil
1014 }
1015
1016 func (c *sqlUsersServiceClient) Update(ctx context.Context, in *SqlUsersUpdateRequest, opts ...grpc.CallOption) (*Operation, error) {
1017 out := new(Operation)
1018 err := c.cc.Invoke(ctx, "/google.cloud.sql.v1.SqlUsersService/Update", in, out, opts...)
1019 if err != nil {
1020 return nil, err
1021 }
1022 return out, nil
1023 }
1024
1025 // SqlUsersServiceServer is the server API for SqlUsersService service.
1026 type SqlUsersServiceServer interface {
1027 // Deletes a user from a Cloud SQL instance.
1028 Delete(context.Context, *SqlUsersDeleteRequest) (*Operation, error)
1029 // Creates a new user in a Cloud SQL instance.
1030 Insert(context.Context, *SqlUsersInsertRequest) (*Operation, error)
1031 // Lists users in the specified Cloud SQL instance.
1032 List(context.Context, *SqlUsersListRequest) (*UsersListResponse, error)
1033 // Updates an existing user in a Cloud SQL instance.
1034 Update(context.Context, *SqlUsersUpdateRequest) (*Operation, error)
1035 }
1036
1037 // UnimplementedSqlUsersServiceServer can be embedded to have forward compatible implementations.
1038 type UnimplementedSqlUsersServiceServer struct {
1039 }
1040
1041 func (*UnimplementedSqlUsersServiceServer) Delete(context.Context, *SqlUsersDeleteRequest) (*Operation, error) {
1042 return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
1043 }
1044 func (*UnimplementedSqlUsersServiceServer) Insert(context.Context, *SqlUsersInsertRequest) (*Operation, error) {
1045 return nil, status.Errorf(codes.Unimplemented, "method Insert not implemented")
1046 }
1047 func (*UnimplementedSqlUsersServiceServer) List(context.Context, *SqlUsersListRequest) (*UsersListResponse, error) {
1048 return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
1049 }
1050 func (*UnimplementedSqlUsersServiceServer) Update(context.Context, *SqlUsersUpdateRequest) (*Operation, error) {
1051 return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
1052 }
1053
1054 func RegisterSqlUsersServiceServer(s *grpc.Server, srv SqlUsersServiceServer) {
1055 s.RegisterService(&_SqlUsersService_serviceDesc, srv)
1056 }
1057
1058 func _SqlUsersService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1059 in := new(SqlUsersDeleteRequest)
1060 if err := dec(in); err != nil {
1061 return nil, err
1062 }
1063 if interceptor == nil {
1064 return srv.(SqlUsersServiceServer).Delete(ctx, in)
1065 }
1066 info := &grpc.UnaryServerInfo{
1067 Server: srv,
1068 FullMethod: "/google.cloud.sql.v1.SqlUsersService/Delete",
1069 }
1070 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1071 return srv.(SqlUsersServiceServer).Delete(ctx, req.(*SqlUsersDeleteRequest))
1072 }
1073 return interceptor(ctx, in, info, handler)
1074 }
1075
1076 func _SqlUsersService_Insert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1077 in := new(SqlUsersInsertRequest)
1078 if err := dec(in); err != nil {
1079 return nil, err
1080 }
1081 if interceptor == nil {
1082 return srv.(SqlUsersServiceServer).Insert(ctx, in)
1083 }
1084 info := &grpc.UnaryServerInfo{
1085 Server: srv,
1086 FullMethod: "/google.cloud.sql.v1.SqlUsersService/Insert",
1087 }
1088 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1089 return srv.(SqlUsersServiceServer).Insert(ctx, req.(*SqlUsersInsertRequest))
1090 }
1091 return interceptor(ctx, in, info, handler)
1092 }
1093
1094 func _SqlUsersService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1095 in := new(SqlUsersListRequest)
1096 if err := dec(in); err != nil {
1097 return nil, err
1098 }
1099 if interceptor == nil {
1100 return srv.(SqlUsersServiceServer).List(ctx, in)
1101 }
1102 info := &grpc.UnaryServerInfo{
1103 Server: srv,
1104 FullMethod: "/google.cloud.sql.v1.SqlUsersService/List",
1105 }
1106 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1107 return srv.(SqlUsersServiceServer).List(ctx, req.(*SqlUsersListRequest))
1108 }
1109 return interceptor(ctx, in, info, handler)
1110 }
1111
1112 func _SqlUsersService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1113 in := new(SqlUsersUpdateRequest)
1114 if err := dec(in); err != nil {
1115 return nil, err
1116 }
1117 if interceptor == nil {
1118 return srv.(SqlUsersServiceServer).Update(ctx, in)
1119 }
1120 info := &grpc.UnaryServerInfo{
1121 Server: srv,
1122 FullMethod: "/google.cloud.sql.v1.SqlUsersService/Update",
1123 }
1124 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1125 return srv.(SqlUsersServiceServer).Update(ctx, req.(*SqlUsersUpdateRequest))
1126 }
1127 return interceptor(ctx, in, info, handler)
1128 }
1129
1130 var _SqlUsersService_serviceDesc = grpc.ServiceDesc{
1131 ServiceName: "google.cloud.sql.v1.SqlUsersService",
1132 HandlerType: (*SqlUsersServiceServer)(nil),
1133 Methods: []grpc.MethodDesc{
1134 {
1135 MethodName: "Delete",
1136 Handler: _SqlUsersService_Delete_Handler,
1137 },
1138 {
1139 MethodName: "Insert",
1140 Handler: _SqlUsersService_Insert_Handler,
1141 },
1142 {
1143 MethodName: "List",
1144 Handler: _SqlUsersService_List_Handler,
1145 },
1146 {
1147 MethodName: "Update",
1148 Handler: _SqlUsersService_Update_Handler,
1149 },
1150 },
1151 Streams: []grpc.StreamDesc{},
1152 Metadata: "google/cloud/sql/v1/cloud_sql_users.proto",
1153 }