2023-03-15 16:00:52 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2020-08-28 17:20:49 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
2022-09-19 20:45:44 +00:00
|
|
|
// protoc-gen-go v1.28.1
|
2023-01-24 19:00:27 +00:00
|
|
|
// protoc v3.21.12
|
2020-10-15 19:20:12 +00:00
|
|
|
// source: sdk/database/dbplugin/v5/proto/database.proto
|
2020-08-28 17:20:49 +00:00
|
|
|
|
|
|
|
package proto
|
|
|
|
|
|
|
|
import (
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
2021-05-03 23:56:06 +00:00
|
|
|
structpb "google.golang.org/protobuf/types/known/structpb"
|
|
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
2020-08-28 17:20:49 +00:00
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
)
|
|
|
|
|
2022-09-13 13:40:12 +00:00
|
|
|
// ///////////////
|
2020-08-28 17:20:49 +00:00
|
|
|
// Initialize()
|
2022-09-13 13:40:12 +00:00
|
|
|
// ///////////////
|
2020-08-28 17:20:49 +00:00
|
|
|
type InitializeRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-05-03 23:56:06 +00:00
|
|
|
ConfigData *structpb.Struct `protobuf:"bytes,1,opt,name=config_data,json=configData,proto3" json:"config_data,omitempty"`
|
|
|
|
VerifyConnection bool `protobuf:"varint,2,opt,name=verify_connection,json=verifyConnection,proto3" json:"verify_connection,omitempty"`
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitializeRequest) Reset() {
|
|
|
|
*x = InitializeRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[0]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitializeRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*InitializeRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *InitializeRequest) ProtoReflect() protoreflect.Message {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[0]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use InitializeRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*InitializeRequest) Descriptor() ([]byte, []int) {
|
2020-10-15 19:20:12 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{0}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
2021-05-03 23:56:06 +00:00
|
|
|
func (x *InitializeRequest) GetConfigData() *structpb.Struct {
|
2020-08-28 17:20:49 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.ConfigData
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitializeRequest) GetVerifyConnection() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.VerifyConnection
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type InitializeResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-05-03 23:56:06 +00:00
|
|
|
ConfigData *structpb.Struct `protobuf:"bytes,1,opt,name=config_data,json=configData,proto3" json:"config_data,omitempty"`
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitializeResponse) Reset() {
|
|
|
|
*x = InitializeResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[1]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitializeResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*InitializeResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *InitializeResponse) ProtoReflect() protoreflect.Message {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[1]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use InitializeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*InitializeResponse) Descriptor() ([]byte, []int) {
|
2020-10-15 19:20:12 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{1}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
2021-05-03 23:56:06 +00:00
|
|
|
func (x *InitializeResponse) GetConfigData() *structpb.Struct {
|
2020-08-28 17:20:49 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.ConfigData
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type NewUserRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-05-03 23:56:06 +00:00
|
|
|
UsernameConfig *UsernameConfig `protobuf:"bytes,1,opt,name=username_config,json=usernameConfig,proto3" json:"username_config,omitempty"`
|
|
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
|
|
Expiration *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
|
|
|
Statements *Statements `protobuf:"bytes,4,opt,name=statements,proto3" json:"statements,omitempty"`
|
|
|
|
RollbackStatements *Statements `protobuf:"bytes,5,opt,name=rollback_statements,json=rollbackStatements,proto3" json:"rollback_statements,omitempty"`
|
2022-05-17 16:21:26 +00:00
|
|
|
CredentialType int32 `protobuf:"varint,6,opt,name=credential_type,json=credentialType,proto3" json:"credential_type,omitempty"`
|
|
|
|
PublicKey []byte `protobuf:"bytes,7,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NewUserRequest) Reset() {
|
|
|
|
*x = NewUserRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[2]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NewUserRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*NewUserRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *NewUserRequest) ProtoReflect() protoreflect.Message {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[2]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use NewUserRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*NewUserRequest) Descriptor() ([]byte, []int) {
|
2020-10-15 19:20:12 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{2}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NewUserRequest) GetUsernameConfig() *UsernameConfig {
|
|
|
|
if x != nil {
|
|
|
|
return x.UsernameConfig
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NewUserRequest) GetPassword() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Password
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-05-03 23:56:06 +00:00
|
|
|
func (x *NewUserRequest) GetExpiration() *timestamppb.Timestamp {
|
2020-08-28 17:20:49 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Expiration
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NewUserRequest) GetStatements() *Statements {
|
|
|
|
if x != nil {
|
|
|
|
return x.Statements
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NewUserRequest) GetRollbackStatements() *Statements {
|
|
|
|
if x != nil {
|
|
|
|
return x.RollbackStatements
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-05-17 16:21:26 +00:00
|
|
|
func (x *NewUserRequest) GetCredentialType() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.CredentialType
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NewUserRequest) GetPublicKey() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.PublicKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-08-28 17:20:49 +00:00
|
|
|
type UsernameConfig struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
|
|
RoleName string `protobuf:"bytes,2,opt,name=role_name,json=roleName,proto3" json:"role_name,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UsernameConfig) Reset() {
|
|
|
|
*x = UsernameConfig{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[3]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UsernameConfig) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*UsernameConfig) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *UsernameConfig) ProtoReflect() protoreflect.Message {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[3]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use UsernameConfig.ProtoReflect.Descriptor instead.
|
|
|
|
func (*UsernameConfig) Descriptor() ([]byte, []int) {
|
2020-10-15 19:20:12 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{3}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UsernameConfig) GetDisplayName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.DisplayName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UsernameConfig) GetRoleName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.RoleName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type NewUserResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NewUserResponse) Reset() {
|
|
|
|
*x = NewUserResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[4]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NewUserResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*NewUserResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *NewUserResponse) ProtoReflect() protoreflect.Message {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[4]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use NewUserResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*NewUserResponse) Descriptor() ([]byte, []int) {
|
2020-10-15 19:20:12 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{4}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NewUserResponse) GetUsername() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Username
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-09-13 13:40:12 +00:00
|
|
|
// ///////////////
|
2020-08-28 17:20:49 +00:00
|
|
|
// UpdateUser()
|
2022-09-13 13:40:12 +00:00
|
|
|
// ///////////////
|
2020-08-28 17:20:49 +00:00
|
|
|
type UpdateUserRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2022-05-17 16:21:26 +00:00
|
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
|
|
Password *ChangePassword `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
|
|
Expiration *ChangeExpiration `protobuf:"bytes,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
|
|
|
|
PublicKey *ChangePublicKey `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
|
|
|
|
CredentialType int32 `protobuf:"varint,5,opt,name=credential_type,json=credentialType,proto3" json:"credential_type,omitempty"`
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UpdateUserRequest) Reset() {
|
|
|
|
*x = UpdateUserRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[5]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UpdateUserRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*UpdateUserRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[5]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*UpdateUserRequest) Descriptor() ([]byte, []int) {
|
2020-10-15 19:20:12 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{5}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UpdateUserRequest) GetUsername() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Username
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UpdateUserRequest) GetPassword() *ChangePassword {
|
|
|
|
if x != nil {
|
|
|
|
return x.Password
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UpdateUserRequest) GetExpiration() *ChangeExpiration {
|
|
|
|
if x != nil {
|
|
|
|
return x.Expiration
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-05-17 16:21:26 +00:00
|
|
|
func (x *UpdateUserRequest) GetPublicKey() *ChangePublicKey {
|
|
|
|
if x != nil {
|
|
|
|
return x.PublicKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UpdateUserRequest) GetCredentialType() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.CredentialType
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-08-28 17:20:49 +00:00
|
|
|
type ChangePassword struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
NewPassword string `protobuf:"bytes,1,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
|
|
|
|
Statements *Statements `protobuf:"bytes,2,opt,name=statements,proto3" json:"statements,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ChangePassword) Reset() {
|
|
|
|
*x = ChangePassword{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[6]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ChangePassword) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*ChangePassword) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ChangePassword) ProtoReflect() protoreflect.Message {
|
2020-10-15 19:20:12 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[6]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use ChangePassword.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ChangePassword) Descriptor() ([]byte, []int) {
|
2020-10-15 19:20:12 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{6}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ChangePassword) GetNewPassword() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.NewPassword
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ChangePassword) GetStatements() *Statements {
|
|
|
|
if x != nil {
|
|
|
|
return x.Statements
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-05-17 16:21:26 +00:00
|
|
|
type ChangePublicKey struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
NewPublicKey []byte `protobuf:"bytes,1,opt,name=new_public_key,json=newPublicKey,proto3" json:"new_public_key,omitempty"`
|
|
|
|
Statements *Statements `protobuf:"bytes,2,opt,name=statements,proto3" json:"statements,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ChangePublicKey) Reset() {
|
|
|
|
*x = ChangePublicKey{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ChangePublicKey) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*ChangePublicKey) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ChangePublicKey) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[7]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use ChangePublicKey.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ChangePublicKey) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ChangePublicKey) GetNewPublicKey() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.NewPublicKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ChangePublicKey) GetStatements() *Statements {
|
|
|
|
if x != nil {
|
|
|
|
return x.Statements
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-08-28 17:20:49 +00:00
|
|
|
type ChangeExpiration struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-05-03 23:56:06 +00:00
|
|
|
NewExpiration *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=new_expiration,json=newExpiration,proto3" json:"new_expiration,omitempty"`
|
|
|
|
Statements *Statements `protobuf:"bytes,2,opt,name=statements,proto3" json:"statements,omitempty"`
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ChangeExpiration) Reset() {
|
|
|
|
*x = ChangeExpiration{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[8]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ChangeExpiration) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*ChangeExpiration) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ChangeExpiration) ProtoReflect() protoreflect.Message {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[8]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use ChangeExpiration.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ChangeExpiration) Descriptor() ([]byte, []int) {
|
2022-05-17 16:21:26 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{8}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
2021-05-03 23:56:06 +00:00
|
|
|
func (x *ChangeExpiration) GetNewExpiration() *timestamppb.Timestamp {
|
2020-08-28 17:20:49 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.NewExpiration
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ChangeExpiration) GetStatements() *Statements {
|
|
|
|
if x != nil {
|
|
|
|
return x.Statements
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type UpdateUserResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UpdateUserResponse) Reset() {
|
|
|
|
*x = UpdateUserResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[9]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UpdateUserResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*UpdateUserResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[9]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*UpdateUserResponse) Descriptor() ([]byte, []int) {
|
2022-05-17 16:21:26 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{9}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
2022-09-13 13:40:12 +00:00
|
|
|
// ///////////////
|
2020-08-28 17:20:49 +00:00
|
|
|
// DeleteUser()
|
2022-09-13 13:40:12 +00:00
|
|
|
// ///////////////
|
2020-08-28 17:20:49 +00:00
|
|
|
type DeleteUserRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
|
|
Statements *Statements `protobuf:"bytes,2,opt,name=statements,proto3" json:"statements,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DeleteUserRequest) Reset() {
|
|
|
|
*x = DeleteUserRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[10]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DeleteUserRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*DeleteUserRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[10]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DeleteUserRequest) Descriptor() ([]byte, []int) {
|
2022-05-17 16:21:26 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{10}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DeleteUserRequest) GetUsername() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Username
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DeleteUserRequest) GetStatements() *Statements {
|
|
|
|
if x != nil {
|
|
|
|
return x.Statements
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeleteUserResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DeleteUserResponse) Reset() {
|
|
|
|
*x = DeleteUserResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[11]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DeleteUserResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*DeleteUserResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[11]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DeleteUserResponse) Descriptor() ([]byte, []int) {
|
2022-05-17 16:21:26 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{11}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
2022-09-13 13:40:12 +00:00
|
|
|
// ///////////////
|
2020-08-28 17:20:49 +00:00
|
|
|
// Type()
|
2022-09-13 13:40:12 +00:00
|
|
|
// ///////////////
|
2020-08-28 17:20:49 +00:00
|
|
|
type TypeResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TypeResponse) Reset() {
|
|
|
|
*x = TypeResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[12]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TypeResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*TypeResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *TypeResponse) ProtoReflect() protoreflect.Message {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[12]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use TypeResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TypeResponse) Descriptor() ([]byte, []int) {
|
2022-05-17 16:21:26 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{12}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TypeResponse) GetType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-09-13 13:40:12 +00:00
|
|
|
// ///////////////
|
2020-08-28 17:20:49 +00:00
|
|
|
// General purpose
|
2022-09-13 13:40:12 +00:00
|
|
|
// ///////////////
|
2020-08-28 17:20:49 +00:00
|
|
|
type Statements struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Commands []string `protobuf:"bytes,1,rep,name=Commands,proto3" json:"Commands,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Statements) Reset() {
|
|
|
|
*x = Statements{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[13]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Statements) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*Statements) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Statements) ProtoReflect() protoreflect.Message {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[13]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use Statements.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Statements) Descriptor() ([]byte, []int) {
|
2022-05-17 16:21:26 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{13}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Statements) GetCommands() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Commands
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Empty struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Empty) Reset() {
|
|
|
|
*x = Empty{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[14]
|
2020-08-28 17:20:49 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Empty) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*Empty) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Empty) ProtoReflect() protoreflect.Message {
|
2022-05-17 16:21:26 +00:00
|
|
|
mi := &file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[14]
|
2020-08-28 17:20:49 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use Empty.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Empty) Descriptor() ([]byte, []int) {
|
2022-05-17 16:21:26 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP(), []int{14}
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
2020-10-15 19:20:12 +00:00
|
|
|
var File_sdk_database_dbplugin_v5_proto_database_proto protoreflect.FileDescriptor
|
2020-08-28 17:20:49 +00:00
|
|
|
|
2020-10-15 19:20:12 +00:00
|
|
|
var file_sdk_database_dbplugin_v5_proto_database_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x64,
|
|
|
|
0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x76, 0x35, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x0b, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x1a, 0x1c, 0x67, 0x6f,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74,
|
|
|
|
0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
|
|
|
|
0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65,
|
|
|
|
0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7a, 0x0a, 0x11, 0x49,
|
|
|
|
0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
0x12, 0x38, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a,
|
|
|
|
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x2b, 0x0a, 0x11, 0x76, 0x65,
|
|
|
|
0x72, 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6e,
|
|
|
|
0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4e, 0x0a, 0x12, 0x49, 0x6e, 0x69, 0x74, 0x69,
|
|
|
|
0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a,
|
|
|
|
0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x63, 0x6f, 0x6e,
|
2022-05-17 16:21:26 +00:00
|
|
|
0x66, 0x69, 0x67, 0x44, 0x61, 0x74, 0x61, 0x22, 0xf9, 0x02, 0x0a, 0x0e, 0x4e, 0x65, 0x77, 0x55,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x0f, 0x75, 0x73,
|
|
|
|
0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76,
|
|
|
|
0x35, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
|
|
0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x3a, 0x0a, 0x0a,
|
|
|
|
0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
|
|
0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x65, 0x78,
|
|
|
|
0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x64,
|
|
|
|
0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74,
|
|
|
|
0x73, 0x12, 0x48, 0x0a, 0x13, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x73, 0x74,
|
|
|
|
0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x53, 0x74, 0x61,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x12, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63,
|
2022-05-17 16:21:26 +00:00
|
|
|
0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x63,
|
|
|
|
0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06,
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c,
|
|
|
|
0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b,
|
|
|
|
0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
|
|
|
|
0x4b, 0x65, 0x79, 0x22, 0x50, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x43,
|
|
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
|
|
|
|
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73,
|
|
|
|
0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6c, 0x65,
|
|
|
|
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c,
|
|
|
|
0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2d, 0x0a, 0x0f, 0x4e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72,
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72,
|
|
|
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72,
|
|
|
|
0x6e, 0x61, 0x6d, 0x65, 0x22, 0x8d, 0x02, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
|
|
|
|
0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73,
|
|
|
|
0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73,
|
|
|
|
0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
|
|
|
|
0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75,
|
|
|
|
0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x61, 0x73,
|
|
|
|
0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12,
|
|
|
|
0x3d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76,
|
|
|
|
0x35, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69,
|
|
|
|
0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b,
|
|
|
|
0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01,
|
|
|
|
0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35,
|
|
|
|
0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
|
|
|
|
0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x63,
|
|
|
|
0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05,
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c,
|
|
|
|
0x54, 0x79, 0x70, 0x65, 0x22, 0x6c, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x61,
|
|
|
|
0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x61,
|
|
|
|
0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65,
|
|
|
|
0x77, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x37, 0x0a, 0x0a, 0x73, 0x74, 0x61,
|
|
|
|
0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
|
|
|
0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e,
|
|
|
|
0x74, 0x73, 0x22, 0x70, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x62, 0x6c,
|
|
|
|
0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x75, 0x62,
|
|
|
|
0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6e,
|
|
|
|
0x65, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x37, 0x0a, 0x0a, 0x73,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x17, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x53, 0x74,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d,
|
|
|
|
0x65, 0x6e, 0x74, 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x45,
|
|
|
|
0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0e, 0x6e, 0x65, 0x77,
|
|
|
|
0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x6e,
|
|
|
|
0x65, 0x77, 0x45, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x0a,
|
|
|
|
0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x32, 0x17, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x53,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
|
|
0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
|
|
|
|
0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x68, 0x0a, 0x11, 0x44,
|
|
|
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0a,
|
|
|
|
0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x32, 0x17, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x53,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
|
|
0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55,
|
|
|
|
0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x0a, 0x0c, 0x54,
|
|
|
|
0x79, 0x70, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x54,
|
|
|
|
0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x54, 0x79, 0x70, 0x65, 0x22,
|
|
|
|
0x28, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1a, 0x0a,
|
|
|
|
0x08, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
|
|
|
|
0x08, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70,
|
|
|
|
0x74, 0x79, 0x32, 0xa5, 0x03, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12,
|
|
|
|
0x4d, 0x0a, 0x0a, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12, 0x1e, 0x2e,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x49, 0x6e, 0x69, 0x74,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x49, 0x6e, 0x69, 0x74,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x0a, 0x07, 0x4e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1b, 0x2e, 0x64, 0x62, 0x70, 0x6c,
|
|
|
|
0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x4e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x52,
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69,
|
|
|
|
0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x4e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x65, 0x72, 0x12, 0x1e, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x72, 0x12, 0x1e, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x74, 0x1a, 0x1f, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x73, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x2e, 0x64, 0x62, 0x70,
|
|
|
|
0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x19,
|
|
|
|
0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x54, 0x79, 0x70,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x43, 0x6c, 0x6f,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x73, 0x65, 0x12, 0x12, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x76, 0x35,
|
|
|
|
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x12, 0x2e, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69,
|
|
|
|
0x6e, 0x2e, 0x76, 0x35, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x3b, 0x5a, 0x39, 0x67, 0x69,
|
2020-08-28 17:20:49 +00:00
|
|
|
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f,
|
|
|
|
0x72, 0x70, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x64, 0x61, 0x74,
|
2020-10-15 19:20:12 +00:00
|
|
|
0x61, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x64, 0x62, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x76,
|
|
|
|
0x35, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_rawDescOnce sync.Once
|
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_rawDescData = file_sdk_database_dbplugin_v5_proto_database_proto_rawDesc
|
2020-08-28 17:20:49 +00:00
|
|
|
)
|
|
|
|
|
2020-10-15 19:20:12 +00:00
|
|
|
func file_sdk_database_dbplugin_v5_proto_database_proto_rawDescGZIP() []byte {
|
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_rawDescOnce.Do(func() {
|
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_rawDescData = protoimpl.X.CompressGZIP(file_sdk_database_dbplugin_v5_proto_database_proto_rawDescData)
|
2020-08-28 17:20:49 +00:00
|
|
|
})
|
2020-10-15 19:20:12 +00:00
|
|
|
return file_sdk_database_dbplugin_v5_proto_database_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2022-05-17 16:21:26 +00:00
|
|
|
var file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
2020-10-15 19:20:12 +00:00
|
|
|
var file_sdk_database_dbplugin_v5_proto_database_proto_goTypes = []interface{}{
|
2021-05-03 23:56:06 +00:00
|
|
|
(*InitializeRequest)(nil), // 0: dbplugin.v5.InitializeRequest
|
|
|
|
(*InitializeResponse)(nil), // 1: dbplugin.v5.InitializeResponse
|
|
|
|
(*NewUserRequest)(nil), // 2: dbplugin.v5.NewUserRequest
|
|
|
|
(*UsernameConfig)(nil), // 3: dbplugin.v5.UsernameConfig
|
|
|
|
(*NewUserResponse)(nil), // 4: dbplugin.v5.NewUserResponse
|
|
|
|
(*UpdateUserRequest)(nil), // 5: dbplugin.v5.UpdateUserRequest
|
|
|
|
(*ChangePassword)(nil), // 6: dbplugin.v5.ChangePassword
|
2022-05-17 16:21:26 +00:00
|
|
|
(*ChangePublicKey)(nil), // 7: dbplugin.v5.ChangePublicKey
|
|
|
|
(*ChangeExpiration)(nil), // 8: dbplugin.v5.ChangeExpiration
|
|
|
|
(*UpdateUserResponse)(nil), // 9: dbplugin.v5.UpdateUserResponse
|
|
|
|
(*DeleteUserRequest)(nil), // 10: dbplugin.v5.DeleteUserRequest
|
|
|
|
(*DeleteUserResponse)(nil), // 11: dbplugin.v5.DeleteUserResponse
|
|
|
|
(*TypeResponse)(nil), // 12: dbplugin.v5.TypeResponse
|
|
|
|
(*Statements)(nil), // 13: dbplugin.v5.Statements
|
|
|
|
(*Empty)(nil), // 14: dbplugin.v5.Empty
|
|
|
|
(*structpb.Struct)(nil), // 15: google.protobuf.Struct
|
|
|
|
(*timestamppb.Timestamp)(nil), // 16: google.protobuf.Timestamp
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
var file_sdk_database_dbplugin_v5_proto_database_proto_depIdxs = []int32{
|
2022-05-17 16:21:26 +00:00
|
|
|
15, // 0: dbplugin.v5.InitializeRequest.config_data:type_name -> google.protobuf.Struct
|
|
|
|
15, // 1: dbplugin.v5.InitializeResponse.config_data:type_name -> google.protobuf.Struct
|
2020-10-15 19:20:12 +00:00
|
|
|
3, // 2: dbplugin.v5.NewUserRequest.username_config:type_name -> dbplugin.v5.UsernameConfig
|
2022-05-17 16:21:26 +00:00
|
|
|
16, // 3: dbplugin.v5.NewUserRequest.expiration:type_name -> google.protobuf.Timestamp
|
|
|
|
13, // 4: dbplugin.v5.NewUserRequest.statements:type_name -> dbplugin.v5.Statements
|
|
|
|
13, // 5: dbplugin.v5.NewUserRequest.rollback_statements:type_name -> dbplugin.v5.Statements
|
2020-10-15 19:20:12 +00:00
|
|
|
6, // 6: dbplugin.v5.UpdateUserRequest.password:type_name -> dbplugin.v5.ChangePassword
|
2022-05-17 16:21:26 +00:00
|
|
|
8, // 7: dbplugin.v5.UpdateUserRequest.expiration:type_name -> dbplugin.v5.ChangeExpiration
|
|
|
|
7, // 8: dbplugin.v5.UpdateUserRequest.public_key:type_name -> dbplugin.v5.ChangePublicKey
|
|
|
|
13, // 9: dbplugin.v5.ChangePassword.statements:type_name -> dbplugin.v5.Statements
|
|
|
|
13, // 10: dbplugin.v5.ChangePublicKey.statements:type_name -> dbplugin.v5.Statements
|
|
|
|
16, // 11: dbplugin.v5.ChangeExpiration.new_expiration:type_name -> google.protobuf.Timestamp
|
|
|
|
13, // 12: dbplugin.v5.ChangeExpiration.statements:type_name -> dbplugin.v5.Statements
|
|
|
|
13, // 13: dbplugin.v5.DeleteUserRequest.statements:type_name -> dbplugin.v5.Statements
|
|
|
|
0, // 14: dbplugin.v5.Database.Initialize:input_type -> dbplugin.v5.InitializeRequest
|
|
|
|
2, // 15: dbplugin.v5.Database.NewUser:input_type -> dbplugin.v5.NewUserRequest
|
|
|
|
5, // 16: dbplugin.v5.Database.UpdateUser:input_type -> dbplugin.v5.UpdateUserRequest
|
|
|
|
10, // 17: dbplugin.v5.Database.DeleteUser:input_type -> dbplugin.v5.DeleteUserRequest
|
|
|
|
14, // 18: dbplugin.v5.Database.Type:input_type -> dbplugin.v5.Empty
|
|
|
|
14, // 19: dbplugin.v5.Database.Close:input_type -> dbplugin.v5.Empty
|
|
|
|
1, // 20: dbplugin.v5.Database.Initialize:output_type -> dbplugin.v5.InitializeResponse
|
|
|
|
4, // 21: dbplugin.v5.Database.NewUser:output_type -> dbplugin.v5.NewUserResponse
|
|
|
|
9, // 22: dbplugin.v5.Database.UpdateUser:output_type -> dbplugin.v5.UpdateUserResponse
|
|
|
|
11, // 23: dbplugin.v5.Database.DeleteUser:output_type -> dbplugin.v5.DeleteUserResponse
|
|
|
|
12, // 24: dbplugin.v5.Database.Type:output_type -> dbplugin.v5.TypeResponse
|
|
|
|
14, // 25: dbplugin.v5.Database.Close:output_type -> dbplugin.v5.Empty
|
|
|
|
20, // [20:26] is the sub-list for method output_type
|
|
|
|
14, // [14:20] is the sub-list for method input_type
|
|
|
|
14, // [14:14] is the sub-list for extension type_name
|
|
|
|
14, // [14:14] is the sub-list for extension extendee
|
|
|
|
0, // [0:14] is the sub-list for field type_name
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|
|
|
|
|
2020-10-15 19:20:12 +00:00
|
|
|
func init() { file_sdk_database_dbplugin_v5_proto_database_proto_init() }
|
|
|
|
func file_sdk_database_dbplugin_v5_proto_database_proto_init() {
|
|
|
|
if File_sdk_database_dbplugin_v5_proto_database_proto != nil {
|
2020-08-28 17:20:49 +00:00
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
2020-08-28 17:20:49 +00:00
|
|
|
switch v := v.(*InitializeRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2020-08-28 17:20:49 +00:00
|
|
|
switch v := v.(*InitializeResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2020-08-28 17:20:49 +00:00
|
|
|
switch v := v.(*NewUserRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2020-08-28 17:20:49 +00:00
|
|
|
switch v := v.(*UsernameConfig); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2020-08-28 17:20:49 +00:00
|
|
|
switch v := v.(*NewUserResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2020-08-28 17:20:49 +00:00
|
|
|
switch v := v.(*UpdateUserRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2020-08-28 17:20:49 +00:00
|
|
|
switch v := v.(*ChangePassword); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2022-05-17 16:21:26 +00:00
|
|
|
switch v := v.(*ChangePublicKey); i {
|
2020-08-28 17:20:49 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2022-05-17 16:21:26 +00:00
|
|
|
switch v := v.(*ChangeExpiration); i {
|
2020-08-28 17:20:49 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2022-05-17 16:21:26 +00:00
|
|
|
switch v := v.(*UpdateUserResponse); i {
|
2020-08-28 17:20:49 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
2022-05-17 16:21:26 +00:00
|
|
|
switch v := v.(*DeleteUserRequest); i {
|
2020-08-28 17:20:49 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
2022-05-17 16:21:26 +00:00
|
|
|
switch v := v.(*DeleteUserResponse); i {
|
2020-08-28 17:20:49 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
2022-05-17 16:21:26 +00:00
|
|
|
switch v := v.(*TypeResponse); i {
|
2020-08-28 17:20:49 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 19:20:12 +00:00
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
2022-05-17 16:21:26 +00:00
|
|
|
switch v := v.(*Statements); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
2020-08-28 17:20:49 +00:00
|
|
|
switch v := v.(*Empty); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
2020-10-15 19:20:12 +00:00
|
|
|
RawDescriptor: file_sdk_database_dbplugin_v5_proto_database_proto_rawDesc,
|
2020-08-28 17:20:49 +00:00
|
|
|
NumEnums: 0,
|
2022-05-17 16:21:26 +00:00
|
|
|
NumMessages: 15,
|
2020-08-28 17:20:49 +00:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
2020-10-15 19:20:12 +00:00
|
|
|
GoTypes: file_sdk_database_dbplugin_v5_proto_database_proto_goTypes,
|
|
|
|
DependencyIndexes: file_sdk_database_dbplugin_v5_proto_database_proto_depIdxs,
|
|
|
|
MessageInfos: file_sdk_database_dbplugin_v5_proto_database_proto_msgTypes,
|
2020-08-28 17:20:49 +00:00
|
|
|
}.Build()
|
2020-10-15 19:20:12 +00:00
|
|
|
File_sdk_database_dbplugin_v5_proto_database_proto = out.File
|
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_rawDesc = nil
|
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_goTypes = nil
|
|
|
|
file_sdk_database_dbplugin_v5_proto_database_proto_depIdxs = nil
|
2020-08-28 17:20:49 +00:00
|
|
|
}
|