Files
2026-06-09 14:10:53 +02:00

1283 lines
45 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.5
// protoc v3.21.12
// source: mbctl.proto
package mbctl
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
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)
)
type GetDumpParams struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetDumpParams) Reset() {
*x = GetDumpParams{}
mi := &file_mbctl_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetDumpParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetDumpParams) ProtoMessage() {}
func (x *GetDumpParams) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetDumpParams.ProtoReflect.Descriptor instead.
func (*GetDumpParams) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{0}
}
type GetDumpResult struct {
state protoimpl.MessageState `protogen:"open.v1"`
Dump string `protobuf:"bytes,1,opt,name=dump,proto3" json:"dump,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetDumpResult) Reset() {
*x = GetDumpResult{}
mi := &file_mbctl_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetDumpResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetDumpResult) ProtoMessage() {}
func (x *GetDumpResult) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetDumpResult.ProtoReflect.Descriptor instead.
func (*GetDumpResult) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{1}
}
func (x *GetDumpResult) GetDump() string {
if x != nil {
return x.Dump
}
return ""
}
type RestoreDumpParams struct {
state protoimpl.MessageState `protogen:"open.v1"`
Dump string `protobuf:"bytes,1,opt,name=dump,proto3" json:"dump,omitempty"`
DeleteAllRecords bool `protobuf:"varint,2,opt,name=deleteAllRecords,proto3" json:"deleteAllRecords,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RestoreDumpParams) Reset() {
*x = RestoreDumpParams{}
mi := &file_mbctl_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RestoreDumpParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RestoreDumpParams) ProtoMessage() {}
func (x *RestoreDumpParams) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RestoreDumpParams.ProtoReflect.Descriptor instead.
func (*RestoreDumpParams) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{2}
}
func (x *RestoreDumpParams) GetDump() string {
if x != nil {
return x.Dump
}
return ""
}
func (x *RestoreDumpParams) GetDeleteAllRecords() bool {
if x != nil {
return x.DeleteAllRecords
}
return false
}
type RestoreDumpResult struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RestoreDumpResult) Reset() {
*x = RestoreDumpResult{}
mi := &file_mbctl_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RestoreDumpResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RestoreDumpResult) ProtoMessage() {}
func (x *RestoreDumpResult) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RestoreDumpResult.ProtoReflect.Descriptor instead.
func (*RestoreDumpResult) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{3}
}
type SetGrantParams struct {
state protoimpl.MessageState `protogen:"open.v1"`
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
AccountID string `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
Grantname string `protobuf:"bytes,3,opt,name=grantname,proto3" json:"grantname,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetGrantParams) Reset() {
*x = SetGrantParams{}
mi := &file_mbctl_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetGrantParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetGrantParams) ProtoMessage() {}
func (x *SetGrantParams) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetGrantParams.ProtoReflect.Descriptor instead.
func (*SetGrantParams) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{4}
}
func (x *SetGrantParams) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *SetGrantParams) GetAccountID() string {
if x != nil {
return x.AccountID
}
return ""
}
func (x *SetGrantParams) GetGrantname() string {
if x != nil {
return x.Grantname
}
return ""
}
type SetGrantResult struct {
state protoimpl.MessageState `protogen:"open.v1"`
GrantID string `protobuf:"bytes,1,opt,name=grantID,proto3" json:"grantID,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetGrantResult) Reset() {
*x = SetGrantResult{}
mi := &file_mbctl_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetGrantResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetGrantResult) ProtoMessage() {}
func (x *SetGrantResult) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SetGrantResult.ProtoReflect.Descriptor instead.
func (*SetGrantResult) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{5}
}
func (x *SetGrantResult) GetGrantID() string {
if x != nil {
return x.GrantID
}
return ""
}
type DeleteGrantParams struct {
state protoimpl.MessageState `protogen:"open.v1"`
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
AccountID string `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
Grantname string `protobuf:"bytes,3,opt,name=grantname,proto3" json:"grantname,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteGrantParams) Reset() {
*x = DeleteGrantParams{}
mi := &file_mbctl_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteGrantParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteGrantParams) ProtoMessage() {}
func (x *DeleteGrantParams) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteGrantParams.ProtoReflect.Descriptor instead.
func (*DeleteGrantParams) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{6}
}
func (x *DeleteGrantParams) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *DeleteGrantParams) GetAccountID() string {
if x != nil {
return x.AccountID
}
return ""
}
func (x *DeleteGrantParams) GetGrantname() string {
if x != nil {
return x.Grantname
}
return ""
}
type DeleteGrantResult struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteGrantResult) Reset() {
*x = DeleteGrantResult{}
mi := &file_mbctl_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteGrantResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteGrantResult) ProtoMessage() {}
func (x *DeleteGrantResult) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteGrantResult.ProtoReflect.Descriptor instead.
func (*DeleteGrantResult) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{7}
}
type CreateAccountParams struct {
state protoimpl.MessageState `protogen:"open.v1"`
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAccountParams) Reset() {
*x = CreateAccountParams{}
mi := &file_mbctl_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAccountParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAccountParams) ProtoMessage() {}
func (x *CreateAccountParams) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAccountParams.ProtoReflect.Descriptor instead.
func (*CreateAccountParams) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{8}
}
func (x *CreateAccountParams) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *CreateAccountParams) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
type CreateAccountResult struct {
state protoimpl.MessageState `protogen:"open.v1"`
AccountID string `protobuf:"bytes,1,opt,name=accountID,proto3" json:"accountID,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAccountResult) Reset() {
*x = CreateAccountResult{}
mi := &file_mbctl_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAccountResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAccountResult) ProtoMessage() {}
func (x *CreateAccountResult) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAccountResult.ProtoReflect.Descriptor instead.
func (*CreateAccountResult) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{9}
}
func (x *CreateAccountResult) GetAccountID() string {
if x != nil {
return x.AccountID
}
return ""
}
type DeleteAccountParams struct {
state protoimpl.MessageState `protogen:"open.v1"`
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
AccountID string `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteAccountParams) Reset() {
*x = DeleteAccountParams{}
mi := &file_mbctl_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAccountParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAccountParams) ProtoMessage() {}
func (x *DeleteAccountParams) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteAccountParams.ProtoReflect.Descriptor instead.
func (*DeleteAccountParams) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{10}
}
func (x *DeleteAccountParams) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *DeleteAccountParams) GetAccountID() string {
if x != nil {
return x.AccountID
}
return ""
}
type DeleteAccountResult struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteAccountResult) Reset() {
*x = DeleteAccountResult{}
mi := &file_mbctl_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAccountResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAccountResult) ProtoMessage() {}
func (x *DeleteAccountResult) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteAccountResult.ProtoReflect.Descriptor instead.
func (*DeleteAccountResult) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{11}
}
type UpdateAccountParams struct {
state protoimpl.MessageState `protogen:"open.v1"`
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
AccountID string `protobuf:"bytes,2,opt,name=accountID,proto3" json:"accountID,omitempty"`
NewUsername string `protobuf:"bytes,3,opt,name=newUsername,proto3" json:"newUsername,omitempty"`
NewPassword string `protobuf:"bytes,4,opt,name=newPassword,proto3" json:"newPassword,omitempty"`
Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAccountParams) Reset() {
*x = UpdateAccountParams{}
mi := &file_mbctl_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAccountParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAccountParams) ProtoMessage() {}
func (x *UpdateAccountParams) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAccountParams.ProtoReflect.Descriptor instead.
func (*UpdateAccountParams) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{12}
}
func (x *UpdateAccountParams) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *UpdateAccountParams) GetAccountID() string {
if x != nil {
return x.AccountID
}
return ""
}
func (x *UpdateAccountParams) GetNewUsername() string {
if x != nil {
return x.NewUsername
}
return ""
}
func (x *UpdateAccountParams) GetNewPassword() string {
if x != nil {
return x.NewPassword
}
return ""
}
func (x *UpdateAccountParams) GetDisabled() bool {
if x != nil {
return x.Disabled
}
return false
}
type UpdateAccountResult struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAccountResult) Reset() {
*x = UpdateAccountResult{}
mi := &file_mbctl_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAccountResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAccountResult) ProtoMessage() {}
func (x *UpdateAccountResult) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAccountResult.ProtoReflect.Descriptor instead.
func (*UpdateAccountResult) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{13}
}
type GetAccountParams struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAccountParams) Reset() {
*x = GetAccountParams{}
mi := &file_mbctl_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAccountParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAccountParams) ProtoMessage() {}
func (x *GetAccountParams) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAccountParams.ProtoReflect.Descriptor instead.
func (*GetAccountParams) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{14}
}
type GetAccountResult struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAccountResult) Reset() {
*x = GetAccountResult{}
mi := &file_mbctl_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAccountResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAccountResult) ProtoMessage() {}
func (x *GetAccountResult) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAccountResult.ProtoReflect.Descriptor instead.
func (*GetAccountResult) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{15}
}
type ListAccountsParams struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAccountsParams) Reset() {
*x = ListAccountsParams{}
mi := &file_mbctl_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAccountsParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAccountsParams) ProtoMessage() {}
func (x *ListAccountsParams) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAccountsParams.ProtoReflect.Descriptor instead.
func (*ListAccountsParams) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{16}
}
type ListAccountsResult struct {
state protoimpl.MessageState `protogen:"open.v1"`
Accounts []*AccountShortDescr `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAccountsResult) Reset() {
*x = ListAccountsResult{}
mi := &file_mbctl_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAccountsResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAccountsResult) ProtoMessage() {}
func (x *ListAccountsResult) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAccountsResult.ProtoReflect.Descriptor instead.
func (*ListAccountsResult) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{17}
}
func (x *ListAccountsResult) GetAccounts() []*AccountShortDescr {
if x != nil {
return x.Accounts
}
return nil
}
type AccountShortDescr struct {
state protoimpl.MessageState `protogen:"open.v1"`
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
Disabled bool `protobuf:"varint,2,opt,name=disabled,proto3" json:"disabled,omitempty"`
CreatedAt string `protobuf:"bytes,3,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
UpdatedAt string `protobuf:"bytes,4,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
Grants []*GrantShortDescr `protobuf:"bytes,5,rep,name=grants,proto3" json:"grants,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AccountShortDescr) Reset() {
*x = AccountShortDescr{}
mi := &file_mbctl_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AccountShortDescr) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccountShortDescr) ProtoMessage() {}
func (x *AccountShortDescr) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AccountShortDescr.ProtoReflect.Descriptor instead.
func (*AccountShortDescr) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{18}
}
func (x *AccountShortDescr) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *AccountShortDescr) GetDisabled() bool {
if x != nil {
return x.Disabled
}
return false
}
func (x *AccountShortDescr) GetCreatedAt() string {
if x != nil {
return x.CreatedAt
}
return ""
}
func (x *AccountShortDescr) GetUpdatedAt() string {
if x != nil {
return x.UpdatedAt
}
return ""
}
func (x *AccountShortDescr) GetGrants() []*GrantShortDescr {
if x != nil {
return x.Grants
}
return nil
}
type GrantShortDescr struct {
state protoimpl.MessageState `protogen:"open.v1"`
Grantname string `protobuf:"bytes,1,opt,name=grantname,proto3" json:"grantname,omitempty"`
CreatedAt string `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GrantShortDescr) Reset() {
*x = GrantShortDescr{}
mi := &file_mbctl_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GrantShortDescr) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GrantShortDescr) ProtoMessage() {}
func (x *GrantShortDescr) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GrantShortDescr.ProtoReflect.Descriptor instead.
func (*GrantShortDescr) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{19}
}
func (x *GrantShortDescr) GetGrantname() string {
if x != nil {
return x.Grantname
}
return ""
}
func (x *GrantShortDescr) GetCreatedAt() string {
if x != nil {
return x.CreatedAt
}
return ""
}
type GetHelloParams struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetHelloParams) Reset() {
*x = GetHelloParams{}
mi := &file_mbctl_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetHelloParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetHelloParams) ProtoMessage() {}
func (x *GetHelloParams) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetHelloParams.ProtoReflect.Descriptor instead.
func (*GetHelloParams) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{20}
}
type GetHelloResult struct {
state protoimpl.MessageState `protogen:"open.v1"`
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetHelloResult) Reset() {
*x = GetHelloResult{}
mi := &file_mbctl_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetHelloResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetHelloResult) ProtoMessage() {}
func (x *GetHelloResult) ProtoReflect() protoreflect.Message {
mi := &file_mbctl_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetHelloResult.ProtoReflect.Descriptor instead.
func (*GetHelloResult) Descriptor() ([]byte, []int) {
return file_mbctl_proto_rawDescGZIP(), []int{21}
}
func (x *GetHelloResult) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
var File_mbctl_proto protoreflect.FileDescriptor
var file_mbctl_proto_rawDesc = string([]byte{
0x0a, 0x0b, 0x6d, 0x62, 0x63, 0x74, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d,
0x62, 0x61, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x22, 0x0f, 0x0a, 0x0d, 0x67,
0x65, 0x74, 0x44, 0x75, 0x6d, 0x70, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x23, 0x0a, 0x0d,
0x67, 0x65, 0x74, 0x44, 0x75, 0x6d, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a,
0x04, 0x64, 0x75, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x75, 0x6d,
0x70, 0x22, 0x53, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x44, 0x75, 0x6d, 0x70,
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x75, 0x6d, 0x70, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x75, 0x6d, 0x70, 0x12, 0x2a, 0x0a, 0x10, 0x64, 0x65,
0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x02,
0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x52,
0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72,
0x65, 0x44, 0x75, 0x6d, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x68, 0x0a, 0x0e, 0x73,
0x65, 0x74, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 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, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x61, 0x6e, 0x74,
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x61, 0x6e,
0x74, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2a, 0x0a, 0x0e, 0x73, 0x65, 0x74, 0x47, 0x72, 0x61, 0x6e,
0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74,
0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x49,
0x44, 0x22, 0x6b, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74,
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 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, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44,
0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x13,
0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x73,
0x75, 0x6c, 0x74, 0x22, 0x4d, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 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, 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, 0x22, 0x33, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f,
0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x22, 0x4f, 0x0a, 0x13, 0x64, 0x65, 0x6c, 0x65, 0x74,
0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 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, 0x1c, 0x0a, 0x09, 0x61, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x22, 0x15, 0x0a, 0x13, 0x64, 0x65, 0x6c, 0x65,
0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22,
0xaf, 0x01, 0x0a, 0x13, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 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, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
0x44, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x6e,
0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f,
0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x50, 0x61, 0x73,
0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x22, 0x15, 0x0a, 0x13, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x12, 0x0a, 0x10, 0x67, 0x65, 0x74, 0x41,
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x12, 0x0a, 0x10,
0x67, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
0x22, 0x14, 0x0a, 0x12, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x51, 0x0a, 0x12, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x3b, 0x0a, 0x08,
0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f,
0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x61, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x52,
0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0xbe, 0x01, 0x0a, 0x11, 0x61, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 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, 0x1a, 0x0a, 0x08, 0x64,
0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64,
0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
0x65, 0x64, 0x41, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61,
0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
0x41, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
0x64, 0x41, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72,
0x6f, 0x6c, 0x2e, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73,
0x63, 0x72, 0x52, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x22, 0x4d, 0x0a, 0x0f, 0x67, 0x72,
0x61, 0x6e, 0x74, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x12, 0x1c, 0x0a,
0x09, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x09, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63,
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x67, 0x65, 0x74,
0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x2a, 0x0a, 0x0e, 0x67,
0x65, 0x74, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a,
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xbb, 0x06, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74,
0x72, 0x6f, 0x6c, 0x12, 0x48, 0x0a, 0x08, 0x67, 0x65, 0x74, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12,
0x1c, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x67,
0x65, 0x74, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x1c, 0x2e,
0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x67, 0x65, 0x74,
0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x57, 0x0a,
0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21,
0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x63, 0x72,
0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x73, 0x1a, 0x21, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
0x2e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65,
0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63,
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x63, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x21, 0x2e, 0x6d, 0x62, 0x61,
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12,
0x57, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x12, 0x21, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e,
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x61, 0x72,
0x61, 0x6d, 0x73, 0x1a, 0x21, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72,
0x6f, 0x6c, 0x2e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x4e, 0x0a, 0x0a, 0x67, 0x65, 0x74, 0x41,
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f,
0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x67, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x1e, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f,
0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x67, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x54, 0x0a, 0x0c, 0x6c, 0x69, 0x73, 0x74,
0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65,
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f,
0x75, 0x6e, 0x74, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x20, 0x2e, 0x6d, 0x62, 0x61,
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x48,
0x0a, 0x08, 0x73, 0x65, 0x74, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1c, 0x2e, 0x6d, 0x62, 0x61,
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x47, 0x72, 0x61,
0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x1c, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65,
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x73, 0x65, 0x74, 0x47, 0x72, 0x61, 0x6e, 0x74,
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65,
0x74, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63,
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x61,
0x6e, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x1f, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65,
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72,
0x61, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x12, 0x45, 0x0a, 0x07, 0x67,
0x65, 0x74, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x1b, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f,
0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x67, 0x65, 0x74, 0x44, 0x75, 0x6d, 0x70, 0x50, 0x61, 0x72,
0x61, 0x6d, 0x73, 0x1a, 0x1b, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72,
0x6f, 0x6c, 0x2e, 0x67, 0x65, 0x74, 0x44, 0x75, 0x6d, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
0x22, 0x00, 0x12, 0x51, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x44, 0x75, 0x6d,
0x70, 0x12, 0x1f, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
0x2e, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x44, 0x75, 0x6d, 0x70, 0x50, 0x61, 0x72, 0x61,
0x6d, 0x73, 0x1a, 0x1f, 0x2e, 0x6d, 0x62, 0x61, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
0x6c, 0x2e, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x44, 0x75, 0x6d, 0x70, 0x52, 0x65, 0x73,
0x75, 0x6c, 0x74, 0x22, 0x00, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x3b, 0x6d, 0x62, 0x63, 0x74, 0x6c,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
})
var (
file_mbctl_proto_rawDescOnce sync.Once
file_mbctl_proto_rawDescData []byte
)
func file_mbctl_proto_rawDescGZIP() []byte {
file_mbctl_proto_rawDescOnce.Do(func() {
file_mbctl_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_mbctl_proto_rawDesc), len(file_mbctl_proto_rawDesc)))
})
return file_mbctl_proto_rawDescData
}
var file_mbctl_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
var file_mbctl_proto_goTypes = []any{
(*GetDumpParams)(nil), // 0: mbasecontrol.getDumpParams
(*GetDumpResult)(nil), // 1: mbasecontrol.getDumpResult
(*RestoreDumpParams)(nil), // 2: mbasecontrol.restoreDumpParams
(*RestoreDumpResult)(nil), // 3: mbasecontrol.restoreDumpResult
(*SetGrantParams)(nil), // 4: mbasecontrol.setGrantParams
(*SetGrantResult)(nil), // 5: mbasecontrol.setGrantResult
(*DeleteGrantParams)(nil), // 6: mbasecontrol.deleteGrantParams
(*DeleteGrantResult)(nil), // 7: mbasecontrol.deleteGrantResult
(*CreateAccountParams)(nil), // 8: mbasecontrol.createAccountParams
(*CreateAccountResult)(nil), // 9: mbasecontrol.createAccountResult
(*DeleteAccountParams)(nil), // 10: mbasecontrol.deleteAccountParams
(*DeleteAccountResult)(nil), // 11: mbasecontrol.deleteAccountResult
(*UpdateAccountParams)(nil), // 12: mbasecontrol.updateAccountParams
(*UpdateAccountResult)(nil), // 13: mbasecontrol.updateAccountResult
(*GetAccountParams)(nil), // 14: mbasecontrol.getAccountParams
(*GetAccountResult)(nil), // 15: mbasecontrol.getAccountResult
(*ListAccountsParams)(nil), // 16: mbasecontrol.listAccountsParams
(*ListAccountsResult)(nil), // 17: mbasecontrol.listAccountsResult
(*AccountShortDescr)(nil), // 18: mbasecontrol.accountShortDescr
(*GrantShortDescr)(nil), // 19: mbasecontrol.grantShortDescr
(*GetHelloParams)(nil), // 20: mbasecontrol.getHelloParams
(*GetHelloResult)(nil), // 21: mbasecontrol.getHelloResult
}
var file_mbctl_proto_depIdxs = []int32{
18, // 0: mbasecontrol.listAccountsResult.accounts:type_name -> mbasecontrol.accountShortDescr
19, // 1: mbasecontrol.accountShortDescr.grants:type_name -> mbasecontrol.grantShortDescr
20, // 2: mbasecontrol.Control.getHello:input_type -> mbasecontrol.getHelloParams
8, // 3: mbasecontrol.Control.createAccount:input_type -> mbasecontrol.createAccountParams
10, // 4: mbasecontrol.Control.deleteAccount:input_type -> mbasecontrol.deleteAccountParams
12, // 5: mbasecontrol.Control.updateAccount:input_type -> mbasecontrol.updateAccountParams
14, // 6: mbasecontrol.Control.getAccount:input_type -> mbasecontrol.getAccountParams
16, // 7: mbasecontrol.Control.listAccounts:input_type -> mbasecontrol.listAccountsParams
4, // 8: mbasecontrol.Control.setGrant:input_type -> mbasecontrol.setGrantParams
6, // 9: mbasecontrol.Control.deleteGrant:input_type -> mbasecontrol.deleteGrantParams
0, // 10: mbasecontrol.Control.getDump:input_type -> mbasecontrol.getDumpParams
2, // 11: mbasecontrol.Control.restoreDump:input_type -> mbasecontrol.restoreDumpParams
21, // 12: mbasecontrol.Control.getHello:output_type -> mbasecontrol.getHelloResult
9, // 13: mbasecontrol.Control.createAccount:output_type -> mbasecontrol.createAccountResult
11, // 14: mbasecontrol.Control.deleteAccount:output_type -> mbasecontrol.deleteAccountResult
13, // 15: mbasecontrol.Control.updateAccount:output_type -> mbasecontrol.updateAccountResult
15, // 16: mbasecontrol.Control.getAccount:output_type -> mbasecontrol.getAccountResult
17, // 17: mbasecontrol.Control.listAccounts:output_type -> mbasecontrol.listAccountsResult
5, // 18: mbasecontrol.Control.setGrant:output_type -> mbasecontrol.setGrantResult
7, // 19: mbasecontrol.Control.deleteGrant:output_type -> mbasecontrol.deleteGrantResult
1, // 20: mbasecontrol.Control.getDump:output_type -> mbasecontrol.getDumpResult
3, // 21: mbasecontrol.Control.restoreDump:output_type -> mbasecontrol.restoreDumpResult
12, // [12:22] is the sub-list for method output_type
2, // [2:12] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_mbctl_proto_init() }
func file_mbctl_proto_init() {
if File_mbctl_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_mbctl_proto_rawDesc), len(file_mbctl_proto_rawDesc)),
NumEnums: 0,
NumMessages: 22,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_mbctl_proto_goTypes,
DependencyIndexes: file_mbctl_proto_depIdxs,
MessageInfos: file_mbctl_proto_msgTypes,
}.Build()
File_mbctl_proto = out.File
file_mbctl_proto_goTypes = nil
file_mbctl_proto_depIdxs = nil
}