github.com/hashicorp/vault/sdk@v0.13.0/database/dbplugin/database.pb.go (about) 1 // Copyright (c) HashiCorp, Inc. 2 // SPDX-License-Identifier: MPL-2.0 3 4 // Code generated by protoc-gen-go. DO NOT EDIT. 5 // versions: 6 // protoc-gen-go v1.34.1 7 // protoc (unknown) 8 // source: sdk/database/dbplugin/database.proto 9 10 package dbplugin 11 12 import ( 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 16 reflect "reflect" 17 sync "sync" 18 ) 19 20 const ( 21 // Verify that this generated code is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 23 // Verify that runtime/protoimpl is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 25 ) 26 27 // Deprecated: Marked as deprecated in sdk/database/dbplugin/database.proto. 28 type InitializeRequest struct { 29 state protoimpl.MessageState 30 sizeCache protoimpl.SizeCache 31 unknownFields protoimpl.UnknownFields 32 33 Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 34 VerifyConnection bool `protobuf:"varint,2,opt,name=verify_connection,json=verifyConnection,proto3" json:"verify_connection,omitempty"` 35 } 36 37 func (x *InitializeRequest) Reset() { 38 *x = InitializeRequest{} 39 if protoimpl.UnsafeEnabled { 40 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[0] 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 ms.StoreMessageInfo(mi) 43 } 44 } 45 46 func (x *InitializeRequest) String() string { 47 return protoimpl.X.MessageStringOf(x) 48 } 49 50 func (*InitializeRequest) ProtoMessage() {} 51 52 func (x *InitializeRequest) ProtoReflect() protoreflect.Message { 53 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[0] 54 if protoimpl.UnsafeEnabled && x != nil { 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 if ms.LoadMessageInfo() == nil { 57 ms.StoreMessageInfo(mi) 58 } 59 return ms 60 } 61 return mi.MessageOf(x) 62 } 63 64 // Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead. 65 func (*InitializeRequest) Descriptor() ([]byte, []int) { 66 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{0} 67 } 68 69 func (x *InitializeRequest) GetConfig() []byte { 70 if x != nil { 71 return x.Config 72 } 73 return nil 74 } 75 76 func (x *InitializeRequest) GetVerifyConnection() bool { 77 if x != nil { 78 return x.VerifyConnection 79 } 80 return false 81 } 82 83 type InitRequest struct { 84 state protoimpl.MessageState 85 sizeCache protoimpl.SizeCache 86 unknownFields protoimpl.UnknownFields 87 88 Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 89 VerifyConnection bool `protobuf:"varint,2,opt,name=verify_connection,json=verifyConnection,proto3" json:"verify_connection,omitempty"` 90 } 91 92 func (x *InitRequest) Reset() { 93 *x = InitRequest{} 94 if protoimpl.UnsafeEnabled { 95 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[1] 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 ms.StoreMessageInfo(mi) 98 } 99 } 100 101 func (x *InitRequest) String() string { 102 return protoimpl.X.MessageStringOf(x) 103 } 104 105 func (*InitRequest) ProtoMessage() {} 106 107 func (x *InitRequest) ProtoReflect() protoreflect.Message { 108 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[1] 109 if protoimpl.UnsafeEnabled && x != nil { 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 111 if ms.LoadMessageInfo() == nil { 112 ms.StoreMessageInfo(mi) 113 } 114 return ms 115 } 116 return mi.MessageOf(x) 117 } 118 119 // Deprecated: Use InitRequest.ProtoReflect.Descriptor instead. 120 func (*InitRequest) Descriptor() ([]byte, []int) { 121 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{1} 122 } 123 124 func (x *InitRequest) GetConfig() []byte { 125 if x != nil { 126 return x.Config 127 } 128 return nil 129 } 130 131 func (x *InitRequest) GetVerifyConnection() bool { 132 if x != nil { 133 return x.VerifyConnection 134 } 135 return false 136 } 137 138 type CreateUserRequest struct { 139 state protoimpl.MessageState 140 sizeCache protoimpl.SizeCache 141 unknownFields protoimpl.UnknownFields 142 143 Statements *Statements `protobuf:"bytes,1,opt,name=statements,proto3" json:"statements,omitempty"` 144 UsernameConfig *UsernameConfig `protobuf:"bytes,2,opt,name=username_config,json=usernameConfig,proto3" json:"username_config,omitempty"` 145 Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"` 146 } 147 148 func (x *CreateUserRequest) Reset() { 149 *x = CreateUserRequest{} 150 if protoimpl.UnsafeEnabled { 151 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[2] 152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 153 ms.StoreMessageInfo(mi) 154 } 155 } 156 157 func (x *CreateUserRequest) String() string { 158 return protoimpl.X.MessageStringOf(x) 159 } 160 161 func (*CreateUserRequest) ProtoMessage() {} 162 163 func (x *CreateUserRequest) ProtoReflect() protoreflect.Message { 164 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[2] 165 if protoimpl.UnsafeEnabled && x != nil { 166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 167 if ms.LoadMessageInfo() == nil { 168 ms.StoreMessageInfo(mi) 169 } 170 return ms 171 } 172 return mi.MessageOf(x) 173 } 174 175 // Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead. 176 func (*CreateUserRequest) Descriptor() ([]byte, []int) { 177 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{2} 178 } 179 180 func (x *CreateUserRequest) GetStatements() *Statements { 181 if x != nil { 182 return x.Statements 183 } 184 return nil 185 } 186 187 func (x *CreateUserRequest) GetUsernameConfig() *UsernameConfig { 188 if x != nil { 189 return x.UsernameConfig 190 } 191 return nil 192 } 193 194 func (x *CreateUserRequest) GetExpiration() *timestamppb.Timestamp { 195 if x != nil { 196 return x.Expiration 197 } 198 return nil 199 } 200 201 type RenewUserRequest struct { 202 state protoimpl.MessageState 203 sizeCache protoimpl.SizeCache 204 unknownFields protoimpl.UnknownFields 205 206 Statements *Statements `protobuf:"bytes,1,opt,name=statements,proto3" json:"statements,omitempty"` 207 Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` 208 Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"` 209 } 210 211 func (x *RenewUserRequest) Reset() { 212 *x = RenewUserRequest{} 213 if protoimpl.UnsafeEnabled { 214 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[3] 215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 216 ms.StoreMessageInfo(mi) 217 } 218 } 219 220 func (x *RenewUserRequest) String() string { 221 return protoimpl.X.MessageStringOf(x) 222 } 223 224 func (*RenewUserRequest) ProtoMessage() {} 225 226 func (x *RenewUserRequest) ProtoReflect() protoreflect.Message { 227 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[3] 228 if protoimpl.UnsafeEnabled && x != nil { 229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 230 if ms.LoadMessageInfo() == nil { 231 ms.StoreMessageInfo(mi) 232 } 233 return ms 234 } 235 return mi.MessageOf(x) 236 } 237 238 // Deprecated: Use RenewUserRequest.ProtoReflect.Descriptor instead. 239 func (*RenewUserRequest) Descriptor() ([]byte, []int) { 240 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{3} 241 } 242 243 func (x *RenewUserRequest) GetStatements() *Statements { 244 if x != nil { 245 return x.Statements 246 } 247 return nil 248 } 249 250 func (x *RenewUserRequest) GetUsername() string { 251 if x != nil { 252 return x.Username 253 } 254 return "" 255 } 256 257 func (x *RenewUserRequest) GetExpiration() *timestamppb.Timestamp { 258 if x != nil { 259 return x.Expiration 260 } 261 return nil 262 } 263 264 type RevokeUserRequest struct { 265 state protoimpl.MessageState 266 sizeCache protoimpl.SizeCache 267 unknownFields protoimpl.UnknownFields 268 269 Statements *Statements `protobuf:"bytes,1,opt,name=statements,proto3" json:"statements,omitempty"` 270 Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` 271 } 272 273 func (x *RevokeUserRequest) Reset() { 274 *x = RevokeUserRequest{} 275 if protoimpl.UnsafeEnabled { 276 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[4] 277 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 278 ms.StoreMessageInfo(mi) 279 } 280 } 281 282 func (x *RevokeUserRequest) String() string { 283 return protoimpl.X.MessageStringOf(x) 284 } 285 286 func (*RevokeUserRequest) ProtoMessage() {} 287 288 func (x *RevokeUserRequest) ProtoReflect() protoreflect.Message { 289 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[4] 290 if protoimpl.UnsafeEnabled && x != nil { 291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 292 if ms.LoadMessageInfo() == nil { 293 ms.StoreMessageInfo(mi) 294 } 295 return ms 296 } 297 return mi.MessageOf(x) 298 } 299 300 // Deprecated: Use RevokeUserRequest.ProtoReflect.Descriptor instead. 301 func (*RevokeUserRequest) Descriptor() ([]byte, []int) { 302 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{4} 303 } 304 305 func (x *RevokeUserRequest) GetStatements() *Statements { 306 if x != nil { 307 return x.Statements 308 } 309 return nil 310 } 311 312 func (x *RevokeUserRequest) GetUsername() string { 313 if x != nil { 314 return x.Username 315 } 316 return "" 317 } 318 319 type RotateRootCredentialsRequest struct { 320 state protoimpl.MessageState 321 sizeCache protoimpl.SizeCache 322 unknownFields protoimpl.UnknownFields 323 324 Statements []string `protobuf:"bytes,1,rep,name=statements,proto3" json:"statements,omitempty"` 325 } 326 327 func (x *RotateRootCredentialsRequest) Reset() { 328 *x = RotateRootCredentialsRequest{} 329 if protoimpl.UnsafeEnabled { 330 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[5] 331 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 332 ms.StoreMessageInfo(mi) 333 } 334 } 335 336 func (x *RotateRootCredentialsRequest) String() string { 337 return protoimpl.X.MessageStringOf(x) 338 } 339 340 func (*RotateRootCredentialsRequest) ProtoMessage() {} 341 342 func (x *RotateRootCredentialsRequest) ProtoReflect() protoreflect.Message { 343 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[5] 344 if protoimpl.UnsafeEnabled && x != nil { 345 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 346 if ms.LoadMessageInfo() == nil { 347 ms.StoreMessageInfo(mi) 348 } 349 return ms 350 } 351 return mi.MessageOf(x) 352 } 353 354 // Deprecated: Use RotateRootCredentialsRequest.ProtoReflect.Descriptor instead. 355 func (*RotateRootCredentialsRequest) Descriptor() ([]byte, []int) { 356 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{5} 357 } 358 359 func (x *RotateRootCredentialsRequest) GetStatements() []string { 360 if x != nil { 361 return x.Statements 362 } 363 return nil 364 } 365 366 type Statements struct { 367 state protoimpl.MessageState 368 sizeCache protoimpl.SizeCache 369 unknownFields protoimpl.UnknownFields 370 371 // DEPRECATED, will be removed in 0.12 372 // 373 // Deprecated: Marked as deprecated in sdk/database/dbplugin/database.proto. 374 CreationStatements string `protobuf:"bytes,1,opt,name=creation_statements,json=creationStatements,proto3" json:"creation_statements,omitempty"` 375 // DEPRECATED, will be removed in 0.12 376 // 377 // Deprecated: Marked as deprecated in sdk/database/dbplugin/database.proto. 378 RevocationStatements string `protobuf:"bytes,2,opt,name=revocation_statements,json=revocationStatements,proto3" json:"revocation_statements,omitempty"` 379 // DEPRECATED, will be removed in 0.12 380 // 381 // Deprecated: Marked as deprecated in sdk/database/dbplugin/database.proto. 382 RollbackStatements string `protobuf:"bytes,3,opt,name=rollback_statements,json=rollbackStatements,proto3" json:"rollback_statements,omitempty"` 383 // DEPRECATED, will be removed in 0.12 384 // 385 // Deprecated: Marked as deprecated in sdk/database/dbplugin/database.proto. 386 RenewStatements string `protobuf:"bytes,4,opt,name=renew_statements,json=renewStatements,proto3" json:"renew_statements,omitempty"` 387 Creation []string `protobuf:"bytes,5,rep,name=creation,proto3" json:"creation,omitempty"` 388 Revocation []string `protobuf:"bytes,6,rep,name=revocation,proto3" json:"revocation,omitempty"` 389 Rollback []string `protobuf:"bytes,7,rep,name=rollback,proto3" json:"rollback,omitempty"` 390 Renewal []string `protobuf:"bytes,8,rep,name=renewal,proto3" json:"renewal,omitempty"` 391 Rotation []string `protobuf:"bytes,9,rep,name=rotation,proto3" json:"rotation,omitempty"` 392 } 393 394 func (x *Statements) Reset() { 395 *x = Statements{} 396 if protoimpl.UnsafeEnabled { 397 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[6] 398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 399 ms.StoreMessageInfo(mi) 400 } 401 } 402 403 func (x *Statements) String() string { 404 return protoimpl.X.MessageStringOf(x) 405 } 406 407 func (*Statements) ProtoMessage() {} 408 409 func (x *Statements) ProtoReflect() protoreflect.Message { 410 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[6] 411 if protoimpl.UnsafeEnabled && x != nil { 412 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 413 if ms.LoadMessageInfo() == nil { 414 ms.StoreMessageInfo(mi) 415 } 416 return ms 417 } 418 return mi.MessageOf(x) 419 } 420 421 // Deprecated: Use Statements.ProtoReflect.Descriptor instead. 422 func (*Statements) Descriptor() ([]byte, []int) { 423 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{6} 424 } 425 426 // Deprecated: Marked as deprecated in sdk/database/dbplugin/database.proto. 427 func (x *Statements) GetCreationStatements() string { 428 if x != nil { 429 return x.CreationStatements 430 } 431 return "" 432 } 433 434 // Deprecated: Marked as deprecated in sdk/database/dbplugin/database.proto. 435 func (x *Statements) GetRevocationStatements() string { 436 if x != nil { 437 return x.RevocationStatements 438 } 439 return "" 440 } 441 442 // Deprecated: Marked as deprecated in sdk/database/dbplugin/database.proto. 443 func (x *Statements) GetRollbackStatements() string { 444 if x != nil { 445 return x.RollbackStatements 446 } 447 return "" 448 } 449 450 // Deprecated: Marked as deprecated in sdk/database/dbplugin/database.proto. 451 func (x *Statements) GetRenewStatements() string { 452 if x != nil { 453 return x.RenewStatements 454 } 455 return "" 456 } 457 458 func (x *Statements) GetCreation() []string { 459 if x != nil { 460 return x.Creation 461 } 462 return nil 463 } 464 465 func (x *Statements) GetRevocation() []string { 466 if x != nil { 467 return x.Revocation 468 } 469 return nil 470 } 471 472 func (x *Statements) GetRollback() []string { 473 if x != nil { 474 return x.Rollback 475 } 476 return nil 477 } 478 479 func (x *Statements) GetRenewal() []string { 480 if x != nil { 481 return x.Renewal 482 } 483 return nil 484 } 485 486 func (x *Statements) GetRotation() []string { 487 if x != nil { 488 return x.Rotation 489 } 490 return nil 491 } 492 493 type UsernameConfig struct { 494 state protoimpl.MessageState 495 sizeCache protoimpl.SizeCache 496 unknownFields protoimpl.UnknownFields 497 498 DisplayName string `protobuf:"bytes,1,opt,name=DisplayName,proto3" json:"DisplayName,omitempty"` 499 RoleName string `protobuf:"bytes,2,opt,name=RoleName,proto3" json:"RoleName,omitempty"` 500 } 501 502 func (x *UsernameConfig) Reset() { 503 *x = UsernameConfig{} 504 if protoimpl.UnsafeEnabled { 505 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[7] 506 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 507 ms.StoreMessageInfo(mi) 508 } 509 } 510 511 func (x *UsernameConfig) String() string { 512 return protoimpl.X.MessageStringOf(x) 513 } 514 515 func (*UsernameConfig) ProtoMessage() {} 516 517 func (x *UsernameConfig) ProtoReflect() protoreflect.Message { 518 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[7] 519 if protoimpl.UnsafeEnabled && x != nil { 520 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 521 if ms.LoadMessageInfo() == nil { 522 ms.StoreMessageInfo(mi) 523 } 524 return ms 525 } 526 return mi.MessageOf(x) 527 } 528 529 // Deprecated: Use UsernameConfig.ProtoReflect.Descriptor instead. 530 func (*UsernameConfig) Descriptor() ([]byte, []int) { 531 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{7} 532 } 533 534 func (x *UsernameConfig) GetDisplayName() string { 535 if x != nil { 536 return x.DisplayName 537 } 538 return "" 539 } 540 541 func (x *UsernameConfig) GetRoleName() string { 542 if x != nil { 543 return x.RoleName 544 } 545 return "" 546 } 547 548 type InitResponse struct { 549 state protoimpl.MessageState 550 sizeCache protoimpl.SizeCache 551 unknownFields protoimpl.UnknownFields 552 553 Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 554 } 555 556 func (x *InitResponse) Reset() { 557 *x = InitResponse{} 558 if protoimpl.UnsafeEnabled { 559 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[8] 560 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 561 ms.StoreMessageInfo(mi) 562 } 563 } 564 565 func (x *InitResponse) String() string { 566 return protoimpl.X.MessageStringOf(x) 567 } 568 569 func (*InitResponse) ProtoMessage() {} 570 571 func (x *InitResponse) ProtoReflect() protoreflect.Message { 572 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[8] 573 if protoimpl.UnsafeEnabled && x != nil { 574 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 575 if ms.LoadMessageInfo() == nil { 576 ms.StoreMessageInfo(mi) 577 } 578 return ms 579 } 580 return mi.MessageOf(x) 581 } 582 583 // Deprecated: Use InitResponse.ProtoReflect.Descriptor instead. 584 func (*InitResponse) Descriptor() ([]byte, []int) { 585 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{8} 586 } 587 588 func (x *InitResponse) GetConfig() []byte { 589 if x != nil { 590 return x.Config 591 } 592 return nil 593 } 594 595 type CreateUserResponse struct { 596 state protoimpl.MessageState 597 sizeCache protoimpl.SizeCache 598 unknownFields protoimpl.UnknownFields 599 600 Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` 601 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` 602 } 603 604 func (x *CreateUserResponse) Reset() { 605 *x = CreateUserResponse{} 606 if protoimpl.UnsafeEnabled { 607 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[9] 608 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 609 ms.StoreMessageInfo(mi) 610 } 611 } 612 613 func (x *CreateUserResponse) String() string { 614 return protoimpl.X.MessageStringOf(x) 615 } 616 617 func (*CreateUserResponse) ProtoMessage() {} 618 619 func (x *CreateUserResponse) ProtoReflect() protoreflect.Message { 620 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[9] 621 if protoimpl.UnsafeEnabled && x != nil { 622 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 623 if ms.LoadMessageInfo() == nil { 624 ms.StoreMessageInfo(mi) 625 } 626 return ms 627 } 628 return mi.MessageOf(x) 629 } 630 631 // Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead. 632 func (*CreateUserResponse) Descriptor() ([]byte, []int) { 633 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{9} 634 } 635 636 func (x *CreateUserResponse) GetUsername() string { 637 if x != nil { 638 return x.Username 639 } 640 return "" 641 } 642 643 func (x *CreateUserResponse) GetPassword() string { 644 if x != nil { 645 return x.Password 646 } 647 return "" 648 } 649 650 type TypeResponse struct { 651 state protoimpl.MessageState 652 sizeCache protoimpl.SizeCache 653 unknownFields protoimpl.UnknownFields 654 655 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` 656 } 657 658 func (x *TypeResponse) Reset() { 659 *x = TypeResponse{} 660 if protoimpl.UnsafeEnabled { 661 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[10] 662 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 663 ms.StoreMessageInfo(mi) 664 } 665 } 666 667 func (x *TypeResponse) String() string { 668 return protoimpl.X.MessageStringOf(x) 669 } 670 671 func (*TypeResponse) ProtoMessage() {} 672 673 func (x *TypeResponse) ProtoReflect() protoreflect.Message { 674 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[10] 675 if protoimpl.UnsafeEnabled && x != nil { 676 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 677 if ms.LoadMessageInfo() == nil { 678 ms.StoreMessageInfo(mi) 679 } 680 return ms 681 } 682 return mi.MessageOf(x) 683 } 684 685 // Deprecated: Use TypeResponse.ProtoReflect.Descriptor instead. 686 func (*TypeResponse) Descriptor() ([]byte, []int) { 687 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{10} 688 } 689 690 func (x *TypeResponse) GetType() string { 691 if x != nil { 692 return x.Type 693 } 694 return "" 695 } 696 697 type RotateRootCredentialsResponse struct { 698 state protoimpl.MessageState 699 sizeCache protoimpl.SizeCache 700 unknownFields protoimpl.UnknownFields 701 702 Config []byte `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 703 } 704 705 func (x *RotateRootCredentialsResponse) Reset() { 706 *x = RotateRootCredentialsResponse{} 707 if protoimpl.UnsafeEnabled { 708 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[11] 709 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 710 ms.StoreMessageInfo(mi) 711 } 712 } 713 714 func (x *RotateRootCredentialsResponse) String() string { 715 return protoimpl.X.MessageStringOf(x) 716 } 717 718 func (*RotateRootCredentialsResponse) ProtoMessage() {} 719 720 func (x *RotateRootCredentialsResponse) ProtoReflect() protoreflect.Message { 721 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[11] 722 if protoimpl.UnsafeEnabled && x != nil { 723 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 724 if ms.LoadMessageInfo() == nil { 725 ms.StoreMessageInfo(mi) 726 } 727 return ms 728 } 729 return mi.MessageOf(x) 730 } 731 732 // Deprecated: Use RotateRootCredentialsResponse.ProtoReflect.Descriptor instead. 733 func (*RotateRootCredentialsResponse) Descriptor() ([]byte, []int) { 734 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{11} 735 } 736 737 func (x *RotateRootCredentialsResponse) GetConfig() []byte { 738 if x != nil { 739 return x.Config 740 } 741 return nil 742 } 743 744 type Empty struct { 745 state protoimpl.MessageState 746 sizeCache protoimpl.SizeCache 747 unknownFields protoimpl.UnknownFields 748 } 749 750 func (x *Empty) Reset() { 751 *x = Empty{} 752 if protoimpl.UnsafeEnabled { 753 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[12] 754 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 755 ms.StoreMessageInfo(mi) 756 } 757 } 758 759 func (x *Empty) String() string { 760 return protoimpl.X.MessageStringOf(x) 761 } 762 763 func (*Empty) ProtoMessage() {} 764 765 func (x *Empty) ProtoReflect() protoreflect.Message { 766 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[12] 767 if protoimpl.UnsafeEnabled && x != nil { 768 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 769 if ms.LoadMessageInfo() == nil { 770 ms.StoreMessageInfo(mi) 771 } 772 return ms 773 } 774 return mi.MessageOf(x) 775 } 776 777 // Deprecated: Use Empty.ProtoReflect.Descriptor instead. 778 func (*Empty) Descriptor() ([]byte, []int) { 779 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{12} 780 } 781 782 type GenerateCredentialsResponse struct { 783 state protoimpl.MessageState 784 sizeCache protoimpl.SizeCache 785 unknownFields protoimpl.UnknownFields 786 787 Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` 788 } 789 790 func (x *GenerateCredentialsResponse) Reset() { 791 *x = GenerateCredentialsResponse{} 792 if protoimpl.UnsafeEnabled { 793 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[13] 794 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 795 ms.StoreMessageInfo(mi) 796 } 797 } 798 799 func (x *GenerateCredentialsResponse) String() string { 800 return protoimpl.X.MessageStringOf(x) 801 } 802 803 func (*GenerateCredentialsResponse) ProtoMessage() {} 804 805 func (x *GenerateCredentialsResponse) ProtoReflect() protoreflect.Message { 806 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[13] 807 if protoimpl.UnsafeEnabled && x != nil { 808 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 809 if ms.LoadMessageInfo() == nil { 810 ms.StoreMessageInfo(mi) 811 } 812 return ms 813 } 814 return mi.MessageOf(x) 815 } 816 817 // Deprecated: Use GenerateCredentialsResponse.ProtoReflect.Descriptor instead. 818 func (*GenerateCredentialsResponse) Descriptor() ([]byte, []int) { 819 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{13} 820 } 821 822 func (x *GenerateCredentialsResponse) GetPassword() string { 823 if x != nil { 824 return x.Password 825 } 826 return "" 827 } 828 829 type StaticUserConfig struct { 830 state protoimpl.MessageState 831 sizeCache protoimpl.SizeCache 832 unknownFields protoimpl.UnknownFields 833 834 Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` 835 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` 836 Create bool `protobuf:"varint,3,opt,name=create,proto3" json:"create,omitempty"` 837 } 838 839 func (x *StaticUserConfig) Reset() { 840 *x = StaticUserConfig{} 841 if protoimpl.UnsafeEnabled { 842 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[14] 843 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 844 ms.StoreMessageInfo(mi) 845 } 846 } 847 848 func (x *StaticUserConfig) String() string { 849 return protoimpl.X.MessageStringOf(x) 850 } 851 852 func (*StaticUserConfig) ProtoMessage() {} 853 854 func (x *StaticUserConfig) ProtoReflect() protoreflect.Message { 855 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[14] 856 if protoimpl.UnsafeEnabled && x != nil { 857 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 858 if ms.LoadMessageInfo() == nil { 859 ms.StoreMessageInfo(mi) 860 } 861 return ms 862 } 863 return mi.MessageOf(x) 864 } 865 866 // Deprecated: Use StaticUserConfig.ProtoReflect.Descriptor instead. 867 func (*StaticUserConfig) Descriptor() ([]byte, []int) { 868 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{14} 869 } 870 871 func (x *StaticUserConfig) GetUsername() string { 872 if x != nil { 873 return x.Username 874 } 875 return "" 876 } 877 878 func (x *StaticUserConfig) GetPassword() string { 879 if x != nil { 880 return x.Password 881 } 882 return "" 883 } 884 885 func (x *StaticUserConfig) GetCreate() bool { 886 if x != nil { 887 return x.Create 888 } 889 return false 890 } 891 892 type SetCredentialsRequest struct { 893 state protoimpl.MessageState 894 sizeCache protoimpl.SizeCache 895 unknownFields protoimpl.UnknownFields 896 897 Statements *Statements `protobuf:"bytes,1,opt,name=statements,proto3" json:"statements,omitempty"` 898 StaticUserConfig *StaticUserConfig `protobuf:"bytes,2,opt,name=static_user_config,json=staticUserConfig,proto3" json:"static_user_config,omitempty"` 899 } 900 901 func (x *SetCredentialsRequest) Reset() { 902 *x = SetCredentialsRequest{} 903 if protoimpl.UnsafeEnabled { 904 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[15] 905 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 906 ms.StoreMessageInfo(mi) 907 } 908 } 909 910 func (x *SetCredentialsRequest) String() string { 911 return protoimpl.X.MessageStringOf(x) 912 } 913 914 func (*SetCredentialsRequest) ProtoMessage() {} 915 916 func (x *SetCredentialsRequest) ProtoReflect() protoreflect.Message { 917 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[15] 918 if protoimpl.UnsafeEnabled && x != nil { 919 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 920 if ms.LoadMessageInfo() == nil { 921 ms.StoreMessageInfo(mi) 922 } 923 return ms 924 } 925 return mi.MessageOf(x) 926 } 927 928 // Deprecated: Use SetCredentialsRequest.ProtoReflect.Descriptor instead. 929 func (*SetCredentialsRequest) Descriptor() ([]byte, []int) { 930 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{15} 931 } 932 933 func (x *SetCredentialsRequest) GetStatements() *Statements { 934 if x != nil { 935 return x.Statements 936 } 937 return nil 938 } 939 940 func (x *SetCredentialsRequest) GetStaticUserConfig() *StaticUserConfig { 941 if x != nil { 942 return x.StaticUserConfig 943 } 944 return nil 945 } 946 947 type SetCredentialsResponse struct { 948 state protoimpl.MessageState 949 sizeCache protoimpl.SizeCache 950 unknownFields protoimpl.UnknownFields 951 952 Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` 953 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` 954 } 955 956 func (x *SetCredentialsResponse) Reset() { 957 *x = SetCredentialsResponse{} 958 if protoimpl.UnsafeEnabled { 959 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[16] 960 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 961 ms.StoreMessageInfo(mi) 962 } 963 } 964 965 func (x *SetCredentialsResponse) String() string { 966 return protoimpl.X.MessageStringOf(x) 967 } 968 969 func (*SetCredentialsResponse) ProtoMessage() {} 970 971 func (x *SetCredentialsResponse) ProtoReflect() protoreflect.Message { 972 mi := &file_sdk_database_dbplugin_database_proto_msgTypes[16] 973 if protoimpl.UnsafeEnabled && x != nil { 974 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 975 if ms.LoadMessageInfo() == nil { 976 ms.StoreMessageInfo(mi) 977 } 978 return ms 979 } 980 return mi.MessageOf(x) 981 } 982 983 // Deprecated: Use SetCredentialsResponse.ProtoReflect.Descriptor instead. 984 func (*SetCredentialsResponse) Descriptor() ([]byte, []int) { 985 return file_sdk_database_dbplugin_database_proto_rawDescGZIP(), []int{16} 986 } 987 988 func (x *SetCredentialsResponse) GetUsername() string { 989 if x != nil { 990 return x.Username 991 } 992 return "" 993 } 994 995 func (x *SetCredentialsResponse) GetPassword() string { 996 if x != nil { 997 return x.Password 998 } 999 return "" 1000 } 1001 1002 var File_sdk_database_dbplugin_database_proto protoreflect.FileDescriptor 1003 1004 var file_sdk_database_dbplugin_database_proto_rawDesc = []byte{ 1005 0x0a, 0x24, 0x73, 0x64, 0x6b, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x64, 1006 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 1007 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 1008 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 1009 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1010 0x6f, 0x22, 0x5c, 0x0a, 0x11, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 1011 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1012 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2b, 1013 0x0a, 0x11, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 1014 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x76, 0x65, 0x72, 0x69, 0x66, 1015 0x79, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x02, 0x18, 0x01, 0x22, 1016 0x52, 0x0a, 0x0b, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 1017 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 1018 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2b, 0x0a, 0x11, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 1019 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 1020 0x08, 0x52, 0x10, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 1021 0x69, 0x6f, 0x6e, 0x22, 0xc8, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 1022 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x0a, 0x73, 0x74, 0x61, 1023 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 1024 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 1025 0x6e, 0x74, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 1026 0x41, 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 1027 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 1028 0x67, 0x69, 0x6e, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x66, 1029 0x69, 0x67, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x66, 1030 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1031 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 1032 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 1033 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa0, 1034 0x01, 0x0a, 0x10, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 1035 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 1036 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 1037 0x69, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x0a, 0x73, 1038 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 1039 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 1040 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 1041 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1042 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 1043 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 1044 0x6e, 0x22, 0x65, 0x0a, 0x11, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 1045 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 1046 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x64, 0x62, 0x70, 1047 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 1048 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1a, 0x0a, 0x08, 1049 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 1050 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3e, 0x0a, 0x1c, 0x52, 0x6f, 0x74, 0x61, 1051 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 1052 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 1053 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 1054 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xec, 0x02, 0x0a, 0x0a, 0x53, 0x74, 0x61, 1055 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x33, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 1056 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 1057 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 1058 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x15, 1059 0x72, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 1060 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 1061 0x14, 0x72, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 1062 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x33, 0x0a, 0x13, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 1063 0x6b, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 1064 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x12, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 1065 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2d, 0x0a, 0x10, 0x72, 0x65, 1066 0x6e, 0x65, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 1067 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x53, 1068 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x72, 0x65, 1069 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x63, 0x72, 0x65, 1070 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x76, 0x6f, 0x63, 0x61, 0x74, 1071 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x6f, 0x63, 1072 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 1073 0x6b, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 1074 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x03, 1075 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x6e, 0x65, 0x77, 0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x72, 1076 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x72, 1077 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4e, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x6e, 1078 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x44, 0x69, 0x73, 1079 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 1080 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x52, 1081 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x52, 1082 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x26, 0x0a, 0x0c, 0x49, 0x6e, 0x69, 0x74, 0x52, 1083 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 1084 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 1085 0x4c, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 1086 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 1087 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 1088 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 1089 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x22, 0x0a, 1090 0x0c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 1091 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 1092 0x65, 0x22, 0x37, 0x0a, 0x1d, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x43, 1093 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1094 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 1095 0x28, 0x0c, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 1096 0x70, 0x74, 0x79, 0x22, 0x39, 0x0a, 0x1b, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 1097 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1098 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 1099 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x62, 1100 0x0a, 0x10, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 1101 0x69, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 1102 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 1103 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 1104 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 1105 0x65, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 1106 0x74, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x15, 0x53, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 1107 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x0a, 1108 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 1109 0x32, 0x14, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 1110 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 1111 0x74, 0x73, 0x12, 0x48, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x75, 0x73, 0x65, 1112 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 1113 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 1114 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x73, 0x74, 0x61, 0x74, 1115 0x69, 0x63, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x50, 0x0a, 0x16, 1116 0x53, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x65, 1117 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 1118 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 1119 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 1120 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x32, 0xab, 1121 0x05, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x54, 1122 0x79, 0x70, 0x65, 0x12, 0x0f, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, 1123 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 1124 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0a, 1125 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x64, 0x62, 0x70, 1126 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 1127 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 1128 0x69, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 1129 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x55, 0x73, 1130 0x65, 0x72, 0x12, 0x1a, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x52, 0x65, 1131 0x6e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 1132 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 1133 0x3a, 0x0a, 0x0a, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1b, 0x2e, 1134 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x55, 1135 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x64, 0x62, 0x70, 1136 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x68, 0x0a, 0x15, 0x52, 1137 0x6f, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 1138 0x69, 0x61, 0x6c, 0x73, 0x12, 0x26, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 1139 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 1140 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x64, 1141 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 1142 0x6f, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 1143 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x49, 0x6e, 0x69, 0x74, 0x12, 0x15, 0x2e, 1144 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 1145 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 1146 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, 1147 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x12, 0x0f, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 1148 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0f, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 1149 0x6e, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x53, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x43, 0x72, 1150 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x1f, 0x2e, 0x64, 0x62, 0x70, 0x6c, 1151 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 1152 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x64, 0x62, 0x70, 1153 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x65, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 1154 0x69, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x13, 1155 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 1156 0x61, 0x6c, 0x73, 0x12, 0x0f, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, 1157 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x25, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 1158 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 1159 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x49, 1160 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12, 0x1b, 0x2e, 0x64, 0x62, 0x70, 0x6c, 1161 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 1162 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 1163 0x6e, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x03, 0x88, 0x02, 0x01, 0x42, 0x32, 0x5a, 0x30, 1164 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73, 0x68, 0x69, 1165 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x64, 1166 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 1167 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1168 } 1169 1170 var ( 1171 file_sdk_database_dbplugin_database_proto_rawDescOnce sync.Once 1172 file_sdk_database_dbplugin_database_proto_rawDescData = file_sdk_database_dbplugin_database_proto_rawDesc 1173 ) 1174 1175 func file_sdk_database_dbplugin_database_proto_rawDescGZIP() []byte { 1176 file_sdk_database_dbplugin_database_proto_rawDescOnce.Do(func() { 1177 file_sdk_database_dbplugin_database_proto_rawDescData = protoimpl.X.CompressGZIP(file_sdk_database_dbplugin_database_proto_rawDescData) 1178 }) 1179 return file_sdk_database_dbplugin_database_proto_rawDescData 1180 } 1181 1182 var file_sdk_database_dbplugin_database_proto_msgTypes = make([]protoimpl.MessageInfo, 17) 1183 var file_sdk_database_dbplugin_database_proto_goTypes = []interface{}{ 1184 (*InitializeRequest)(nil), // 0: dbplugin.InitializeRequest 1185 (*InitRequest)(nil), // 1: dbplugin.InitRequest 1186 (*CreateUserRequest)(nil), // 2: dbplugin.CreateUserRequest 1187 (*RenewUserRequest)(nil), // 3: dbplugin.RenewUserRequest 1188 (*RevokeUserRequest)(nil), // 4: dbplugin.RevokeUserRequest 1189 (*RotateRootCredentialsRequest)(nil), // 5: dbplugin.RotateRootCredentialsRequest 1190 (*Statements)(nil), // 6: dbplugin.Statements 1191 (*UsernameConfig)(nil), // 7: dbplugin.UsernameConfig 1192 (*InitResponse)(nil), // 8: dbplugin.InitResponse 1193 (*CreateUserResponse)(nil), // 9: dbplugin.CreateUserResponse 1194 (*TypeResponse)(nil), // 10: dbplugin.TypeResponse 1195 (*RotateRootCredentialsResponse)(nil), // 11: dbplugin.RotateRootCredentialsResponse 1196 (*Empty)(nil), // 12: dbplugin.Empty 1197 (*GenerateCredentialsResponse)(nil), // 13: dbplugin.GenerateCredentialsResponse 1198 (*StaticUserConfig)(nil), // 14: dbplugin.StaticUserConfig 1199 (*SetCredentialsRequest)(nil), // 15: dbplugin.SetCredentialsRequest 1200 (*SetCredentialsResponse)(nil), // 16: dbplugin.SetCredentialsResponse 1201 (*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp 1202 } 1203 var file_sdk_database_dbplugin_database_proto_depIdxs = []int32{ 1204 6, // 0: dbplugin.CreateUserRequest.statements:type_name -> dbplugin.Statements 1205 7, // 1: dbplugin.CreateUserRequest.username_config:type_name -> dbplugin.UsernameConfig 1206 17, // 2: dbplugin.CreateUserRequest.expiration:type_name -> google.protobuf.Timestamp 1207 6, // 3: dbplugin.RenewUserRequest.statements:type_name -> dbplugin.Statements 1208 17, // 4: dbplugin.RenewUserRequest.expiration:type_name -> google.protobuf.Timestamp 1209 6, // 5: dbplugin.RevokeUserRequest.statements:type_name -> dbplugin.Statements 1210 6, // 6: dbplugin.SetCredentialsRequest.statements:type_name -> dbplugin.Statements 1211 14, // 7: dbplugin.SetCredentialsRequest.static_user_config:type_name -> dbplugin.StaticUserConfig 1212 12, // 8: dbplugin.Database.Type:input_type -> dbplugin.Empty 1213 2, // 9: dbplugin.Database.CreateUser:input_type -> dbplugin.CreateUserRequest 1214 3, // 10: dbplugin.Database.RenewUser:input_type -> dbplugin.RenewUserRequest 1215 4, // 11: dbplugin.Database.RevokeUser:input_type -> dbplugin.RevokeUserRequest 1216 5, // 12: dbplugin.Database.RotateRootCredentials:input_type -> dbplugin.RotateRootCredentialsRequest 1217 1, // 13: dbplugin.Database.Init:input_type -> dbplugin.InitRequest 1218 12, // 14: dbplugin.Database.Close:input_type -> dbplugin.Empty 1219 15, // 15: dbplugin.Database.SetCredentials:input_type -> dbplugin.SetCredentialsRequest 1220 12, // 16: dbplugin.Database.GenerateCredentials:input_type -> dbplugin.Empty 1221 0, // 17: dbplugin.Database.Initialize:input_type -> dbplugin.InitializeRequest 1222 10, // 18: dbplugin.Database.Type:output_type -> dbplugin.TypeResponse 1223 9, // 19: dbplugin.Database.CreateUser:output_type -> dbplugin.CreateUserResponse 1224 12, // 20: dbplugin.Database.RenewUser:output_type -> dbplugin.Empty 1225 12, // 21: dbplugin.Database.RevokeUser:output_type -> dbplugin.Empty 1226 11, // 22: dbplugin.Database.RotateRootCredentials:output_type -> dbplugin.RotateRootCredentialsResponse 1227 8, // 23: dbplugin.Database.Init:output_type -> dbplugin.InitResponse 1228 12, // 24: dbplugin.Database.Close:output_type -> dbplugin.Empty 1229 16, // 25: dbplugin.Database.SetCredentials:output_type -> dbplugin.SetCredentialsResponse 1230 13, // 26: dbplugin.Database.GenerateCredentials:output_type -> dbplugin.GenerateCredentialsResponse 1231 12, // 27: dbplugin.Database.Initialize:output_type -> dbplugin.Empty 1232 18, // [18:28] is the sub-list for method output_type 1233 8, // [8:18] is the sub-list for method input_type 1234 8, // [8:8] is the sub-list for extension type_name 1235 8, // [8:8] is the sub-list for extension extendee 1236 0, // [0:8] is the sub-list for field type_name 1237 } 1238 1239 func init() { file_sdk_database_dbplugin_database_proto_init() } 1240 func file_sdk_database_dbplugin_database_proto_init() { 1241 if File_sdk_database_dbplugin_database_proto != nil { 1242 return 1243 } 1244 if !protoimpl.UnsafeEnabled { 1245 file_sdk_database_dbplugin_database_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1246 switch v := v.(*InitializeRequest); i { 1247 case 0: 1248 return &v.state 1249 case 1: 1250 return &v.sizeCache 1251 case 2: 1252 return &v.unknownFields 1253 default: 1254 return nil 1255 } 1256 } 1257 file_sdk_database_dbplugin_database_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1258 switch v := v.(*InitRequest); i { 1259 case 0: 1260 return &v.state 1261 case 1: 1262 return &v.sizeCache 1263 case 2: 1264 return &v.unknownFields 1265 default: 1266 return nil 1267 } 1268 } 1269 file_sdk_database_dbplugin_database_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1270 switch v := v.(*CreateUserRequest); i { 1271 case 0: 1272 return &v.state 1273 case 1: 1274 return &v.sizeCache 1275 case 2: 1276 return &v.unknownFields 1277 default: 1278 return nil 1279 } 1280 } 1281 file_sdk_database_dbplugin_database_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1282 switch v := v.(*RenewUserRequest); i { 1283 case 0: 1284 return &v.state 1285 case 1: 1286 return &v.sizeCache 1287 case 2: 1288 return &v.unknownFields 1289 default: 1290 return nil 1291 } 1292 } 1293 file_sdk_database_dbplugin_database_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1294 switch v := v.(*RevokeUserRequest); i { 1295 case 0: 1296 return &v.state 1297 case 1: 1298 return &v.sizeCache 1299 case 2: 1300 return &v.unknownFields 1301 default: 1302 return nil 1303 } 1304 } 1305 file_sdk_database_dbplugin_database_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1306 switch v := v.(*RotateRootCredentialsRequest); i { 1307 case 0: 1308 return &v.state 1309 case 1: 1310 return &v.sizeCache 1311 case 2: 1312 return &v.unknownFields 1313 default: 1314 return nil 1315 } 1316 } 1317 file_sdk_database_dbplugin_database_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1318 switch v := v.(*Statements); i { 1319 case 0: 1320 return &v.state 1321 case 1: 1322 return &v.sizeCache 1323 case 2: 1324 return &v.unknownFields 1325 default: 1326 return nil 1327 } 1328 } 1329 file_sdk_database_dbplugin_database_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1330 switch v := v.(*UsernameConfig); i { 1331 case 0: 1332 return &v.state 1333 case 1: 1334 return &v.sizeCache 1335 case 2: 1336 return &v.unknownFields 1337 default: 1338 return nil 1339 } 1340 } 1341 file_sdk_database_dbplugin_database_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1342 switch v := v.(*InitResponse); i { 1343 case 0: 1344 return &v.state 1345 case 1: 1346 return &v.sizeCache 1347 case 2: 1348 return &v.unknownFields 1349 default: 1350 return nil 1351 } 1352 } 1353 file_sdk_database_dbplugin_database_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1354 switch v := v.(*CreateUserResponse); i { 1355 case 0: 1356 return &v.state 1357 case 1: 1358 return &v.sizeCache 1359 case 2: 1360 return &v.unknownFields 1361 default: 1362 return nil 1363 } 1364 } 1365 file_sdk_database_dbplugin_database_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1366 switch v := v.(*TypeResponse); i { 1367 case 0: 1368 return &v.state 1369 case 1: 1370 return &v.sizeCache 1371 case 2: 1372 return &v.unknownFields 1373 default: 1374 return nil 1375 } 1376 } 1377 file_sdk_database_dbplugin_database_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1378 switch v := v.(*RotateRootCredentialsResponse); i { 1379 case 0: 1380 return &v.state 1381 case 1: 1382 return &v.sizeCache 1383 case 2: 1384 return &v.unknownFields 1385 default: 1386 return nil 1387 } 1388 } 1389 file_sdk_database_dbplugin_database_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1390 switch v := v.(*Empty); i { 1391 case 0: 1392 return &v.state 1393 case 1: 1394 return &v.sizeCache 1395 case 2: 1396 return &v.unknownFields 1397 default: 1398 return nil 1399 } 1400 } 1401 file_sdk_database_dbplugin_database_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1402 switch v := v.(*GenerateCredentialsResponse); i { 1403 case 0: 1404 return &v.state 1405 case 1: 1406 return &v.sizeCache 1407 case 2: 1408 return &v.unknownFields 1409 default: 1410 return nil 1411 } 1412 } 1413 file_sdk_database_dbplugin_database_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1414 switch v := v.(*StaticUserConfig); i { 1415 case 0: 1416 return &v.state 1417 case 1: 1418 return &v.sizeCache 1419 case 2: 1420 return &v.unknownFields 1421 default: 1422 return nil 1423 } 1424 } 1425 file_sdk_database_dbplugin_database_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 1426 switch v := v.(*SetCredentialsRequest); i { 1427 case 0: 1428 return &v.state 1429 case 1: 1430 return &v.sizeCache 1431 case 2: 1432 return &v.unknownFields 1433 default: 1434 return nil 1435 } 1436 } 1437 file_sdk_database_dbplugin_database_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 1438 switch v := v.(*SetCredentialsResponse); i { 1439 case 0: 1440 return &v.state 1441 case 1: 1442 return &v.sizeCache 1443 case 2: 1444 return &v.unknownFields 1445 default: 1446 return nil 1447 } 1448 } 1449 } 1450 type x struct{} 1451 out := protoimpl.TypeBuilder{ 1452 File: protoimpl.DescBuilder{ 1453 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1454 RawDescriptor: file_sdk_database_dbplugin_database_proto_rawDesc, 1455 NumEnums: 0, 1456 NumMessages: 17, 1457 NumExtensions: 0, 1458 NumServices: 1, 1459 }, 1460 GoTypes: file_sdk_database_dbplugin_database_proto_goTypes, 1461 DependencyIndexes: file_sdk_database_dbplugin_database_proto_depIdxs, 1462 MessageInfos: file_sdk_database_dbplugin_database_proto_msgTypes, 1463 }.Build() 1464 File_sdk_database_dbplugin_database_proto = out.File 1465 file_sdk_database_dbplugin_database_proto_rawDesc = nil 1466 file_sdk_database_dbplugin_database_proto_goTypes = nil 1467 file_sdk_database_dbplugin_database_proto_depIdxs = nil 1468 }