tgb-user/proto/golang/tgbuser/tgbuser.pb.go
2024-12-04 19:46:11 -04:00

2201 lines
70 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.33.0
// protoc v4.25.1
// source: tgbuser/tgbuser.proto
package tgbuser
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
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)
)
type User struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
TgbId int64 `protobuf:"varint,2,opt,name=tgb_id,json=tgbId,proto3" json:"tgb_id,omitempty"`
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
FirstName string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
LastName string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
TgBot string `protobuf:"bytes,6,opt,name=tg_bot,json=tgBot,proto3" json:"tg_bot,omitempty"`
Created int64 `protobuf:"varint,7,opt,name=created,proto3" json:"created,omitempty"`
Edited int64 `protobuf:"varint,8,opt,name=edited,proto3" json:"edited,omitempty"`
Deleted int64 `protobuf:"varint,9,opt,name=deleted,proto3" json:"deleted,omitempty"`
}
func (x *User) Reset() {
*x = User{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *User) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*User) ProtoMessage() {}
func (x *User) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[0]
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 User.ProtoReflect.Descriptor instead.
func (*User) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{0}
}
func (x *User) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *User) GetTgbId() int64 {
if x != nil {
return x.TgbId
}
return 0
}
func (x *User) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
func (x *User) GetFirstName() string {
if x != nil {
return x.FirstName
}
return ""
}
func (x *User) GetLastName() string {
if x != nil {
return x.LastName
}
return ""
}
func (x *User) GetTgBot() string {
if x != nil {
return x.TgBot
}
return ""
}
func (x *User) GetCreated() int64 {
if x != nil {
return x.Created
}
return 0
}
func (x *User) GetEdited() int64 {
if x != nil {
return x.Edited
}
return 0
}
func (x *User) GetDeleted() int64 {
if x != nil {
return x.Deleted
}
return 0
}
type Bot struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
BotName string `protobuf:"bytes,2,opt,name=bot_name,json=botName,proto3" json:"bot_name,omitempty"`
Created int64 `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"`
}
func (x *Bot) Reset() {
*x = Bot{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Bot) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Bot) ProtoMessage() {}
func (x *Bot) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[1]
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 Bot.ProtoReflect.Descriptor instead.
func (*Bot) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{1}
}
func (x *Bot) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
func (x *Bot) GetBotName() string {
if x != nil {
return x.BotName
}
return ""
}
func (x *Bot) GetCreated() int64 {
if x != nil {
return x.Created
}
return 0
}
type Ban struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TgbId int64 `protobuf:"varint,1,opt,name=tgb_id,json=tgbId,proto3" json:"tgb_id,omitempty"`
BotName string `protobuf:"bytes,2,opt,name=bot_name,json=botName,proto3" json:"bot_name,omitempty"`
Until int64 `protobuf:"varint,3,opt,name=until,proto3" json:"until,omitempty"`
Created int64 `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"`
}
func (x *Ban) Reset() {
*x = Ban{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Ban) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Ban) ProtoMessage() {}
func (x *Ban) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[2]
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 Ban.ProtoReflect.Descriptor instead.
func (*Ban) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{2}
}
func (x *Ban) GetTgbId() int64 {
if x != nil {
return x.TgbId
}
return 0
}
func (x *Ban) GetBotName() string {
if x != nil {
return x.BotName
}
return ""
}
func (x *Ban) GetUntil() int64 {
if x != nil {
return x.Until
}
return 0
}
func (x *Ban) GetCreated() int64 {
if x != nil {
return x.Created
}
return 0
}
type AccessRq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TgbId int64 `protobuf:"varint,1,opt,name=tgb_id,json=tgbId,proto3" json:"tgb_id,omitempty"`
BotName string `protobuf:"bytes,2,opt,name=bot_name,json=botName,proto3" json:"bot_name,omitempty"`
Created int64 `protobuf:"varint,3,opt,name=created,proto3" json:"created,omitempty"`
}
func (x *AccessRq) Reset() {
*x = AccessRq{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AccessRq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AccessRq) ProtoMessage() {}
func (x *AccessRq) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[3]
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 AccessRq.ProtoReflect.Descriptor instead.
func (*AccessRq) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{3}
}
func (x *AccessRq) GetTgbId() int64 {
if x != nil {
return x.TgbId
}
return 0
}
func (x *AccessRq) GetBotName() string {
if x != nil {
return x.BotName
}
return ""
}
func (x *AccessRq) GetCreated() int64 {
if x != nil {
return x.Created
}
return 0
}
type GetTGBUserRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TgbId int64 `protobuf:"varint,1,opt,name=tgb_id,json=tgbId,proto3" json:"tgb_id,omitempty"`
}
func (x *GetTGBUserRequest) Reset() {
*x = GetTGBUserRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetTGBUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetTGBUserRequest) ProtoMessage() {}
func (x *GetTGBUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[4]
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 GetTGBUserRequest.ProtoReflect.Descriptor instead.
func (*GetTGBUserRequest) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{4}
}
func (x *GetTGBUserRequest) GetTgbId() int64 {
if x != nil {
return x.TgbId
}
return 0
}
type GetTGBUserResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (x *GetTGBUserResponse) Reset() {
*x = GetTGBUserResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetTGBUserResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetTGBUserResponse) ProtoMessage() {}
func (x *GetTGBUserResponse) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[5]
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 GetTGBUserResponse.ProtoReflect.Descriptor instead.
func (*GetTGBUserResponse) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{5}
}
func (x *GetTGBUserResponse) GetUser() *User {
if x != nil {
return x.User
}
return nil
}
type CreateTGBUserRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (x *CreateTGBUserRequest) Reset() {
*x = CreateTGBUserRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateTGBUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateTGBUserRequest) ProtoMessage() {}
func (x *CreateTGBUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[6]
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 CreateTGBUserRequest.ProtoReflect.Descriptor instead.
func (*CreateTGBUserRequest) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{6}
}
func (x *CreateTGBUserRequest) GetUser() *User {
if x != nil {
return x.User
}
return nil
}
type CreateTGBUserResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (x *CreateTGBUserResponse) Reset() {
*x = CreateTGBUserResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateTGBUserResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateTGBUserResponse) ProtoMessage() {}
func (x *CreateTGBUserResponse) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_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 CreateTGBUserResponse.ProtoReflect.Descriptor instead.
func (*CreateTGBUserResponse) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{7}
}
func (x *CreateTGBUserResponse) GetId() int64 {
if x != nil {
return x.Id
}
return 0
}
type EditTGBUserRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (x *EditTGBUserRequest) Reset() {
*x = EditTGBUserRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EditTGBUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EditTGBUserRequest) ProtoMessage() {}
func (x *EditTGBUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[8]
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 EditTGBUserRequest.ProtoReflect.Descriptor instead.
func (*EditTGBUserRequest) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{8}
}
func (x *EditTGBUserRequest) GetUser() *User {
if x != nil {
return x.User
}
return nil
}
type EditTGBUserResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Response bool `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"`
}
func (x *EditTGBUserResponse) Reset() {
*x = EditTGBUserResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EditTGBUserResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EditTGBUserResponse) ProtoMessage() {}
func (x *EditTGBUserResponse) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[9]
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 EditTGBUserResponse.ProtoReflect.Descriptor instead.
func (*EditTGBUserResponse) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{9}
}
func (x *EditTGBUserResponse) GetResponse() bool {
if x != nil {
return x.Response
}
return false
}
type DeleteTGBUserRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TgbId int64 `protobuf:"varint,1,opt,name=tgb_id,json=tgbId,proto3" json:"tgb_id,omitempty"`
}
func (x *DeleteTGBUserRequest) Reset() {
*x = DeleteTGBUserRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteTGBUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteTGBUserRequest) ProtoMessage() {}
func (x *DeleteTGBUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[10]
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 DeleteTGBUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteTGBUserRequest) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{10}
}
func (x *DeleteTGBUserRequest) GetTgbId() int64 {
if x != nil {
return x.TgbId
}
return 0
}
type DeleteTGBUserResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Response bool `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"`
}
func (x *DeleteTGBUserResponse) Reset() {
*x = DeleteTGBUserResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteTGBUserResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteTGBUserResponse) ProtoMessage() {}
func (x *DeleteTGBUserResponse) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[11]
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 DeleteTGBUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteTGBUserResponse) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{11}
}
func (x *DeleteTGBUserResponse) GetResponse() bool {
if x != nil {
return x.Response
}
return false
}
type AddBotTGBUserRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TgbId int64 `protobuf:"varint,1,opt,name=tgb_id,json=tgbId,proto3" json:"tgb_id,omitempty"`
BotName string `protobuf:"bytes,2,opt,name=bot_name,json=botName,proto3" json:"bot_name,omitempty"`
}
func (x *AddBotTGBUserRequest) Reset() {
*x = AddBotTGBUserRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AddBotTGBUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddBotTGBUserRequest) ProtoMessage() {}
func (x *AddBotTGBUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[12]
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 AddBotTGBUserRequest.ProtoReflect.Descriptor instead.
func (*AddBotTGBUserRequest) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{12}
}
func (x *AddBotTGBUserRequest) GetTgbId() int64 {
if x != nil {
return x.TgbId
}
return 0
}
func (x *AddBotTGBUserRequest) GetBotName() string {
if x != nil {
return x.BotName
}
return ""
}
type AddBotTGBUserResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Response bool `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"`
}
func (x *AddBotTGBUserResponse) Reset() {
*x = AddBotTGBUserResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AddBotTGBUserResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AddBotTGBUserResponse) ProtoMessage() {}
func (x *AddBotTGBUserResponse) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[13]
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 AddBotTGBUserResponse.ProtoReflect.Descriptor instead.
func (*AddBotTGBUserResponse) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{13}
}
func (x *AddBotTGBUserResponse) GetResponse() bool {
if x != nil {
return x.Response
}
return false
}
type DeleteBotTGBUserRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TgbId int64 `protobuf:"varint,1,opt,name=tgb_id,json=tgbId,proto3" json:"tgb_id,omitempty"`
BotName string `protobuf:"bytes,2,opt,name=bot_name,json=botName,proto3" json:"bot_name,omitempty"`
}
func (x *DeleteBotTGBUserRequest) Reset() {
*x = DeleteBotTGBUserRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteBotTGBUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteBotTGBUserRequest) ProtoMessage() {}
func (x *DeleteBotTGBUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[14]
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 DeleteBotTGBUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteBotTGBUserRequest) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{14}
}
func (x *DeleteBotTGBUserRequest) GetTgbId() int64 {
if x != nil {
return x.TgbId
}
return 0
}
func (x *DeleteBotTGBUserRequest) GetBotName() string {
if x != nil {
return x.BotName
}
return ""
}
type DeleteBotTGBUserResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Response bool `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"`
}
func (x *DeleteBotTGBUserResponse) Reset() {
*x = DeleteBotTGBUserResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteBotTGBUserResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteBotTGBUserResponse) ProtoMessage() {}
func (x *DeleteBotTGBUserResponse) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[15]
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 DeleteBotTGBUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteBotTGBUserResponse) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{15}
}
func (x *DeleteBotTGBUserResponse) GetResponse() bool {
if x != nil {
return x.Response
}
return false
}
type GetBotsTGBUserRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TgbId int64 `protobuf:"varint,1,opt,name=tgb_id,json=tgbId,proto3" json:"tgb_id,omitempty"`
}
func (x *GetBotsTGBUserRequest) Reset() {
*x = GetBotsTGBUserRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetBotsTGBUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBotsTGBUserRequest) ProtoMessage() {}
func (x *GetBotsTGBUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[16]
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 GetBotsTGBUserRequest.ProtoReflect.Descriptor instead.
func (*GetBotsTGBUserRequest) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{16}
}
func (x *GetBotsTGBUserRequest) GetTgbId() int64 {
if x != nil {
return x.TgbId
}
return 0
}
type GetBotsTGBUserResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Bots []*Bot `protobuf:"bytes,1,rep,name=bots,proto3" json:"bots,omitempty"`
}
func (x *GetBotsTGBUserResponse) Reset() {
*x = GetBotsTGBUserResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetBotsTGBUserResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBotsTGBUserResponse) ProtoMessage() {}
func (x *GetBotsTGBUserResponse) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[17]
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 GetBotsTGBUserResponse.ProtoReflect.Descriptor instead.
func (*GetBotsTGBUserResponse) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{17}
}
func (x *GetBotsTGBUserResponse) GetBots() []*Bot {
if x != nil {
return x.Bots
}
return nil
}
type GetAllBotsUsersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BotName string `protobuf:"bytes,1,opt,name=bot_name,json=botName,proto3" json:"bot_name,omitempty"`
}
func (x *GetAllBotsUsersRequest) Reset() {
*x = GetAllBotsUsersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetAllBotsUsersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAllBotsUsersRequest) ProtoMessage() {}
func (x *GetAllBotsUsersRequest) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[18]
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 GetAllBotsUsersRequest.ProtoReflect.Descriptor instead.
func (*GetAllBotsUsersRequest) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{18}
}
func (x *GetAllBotsUsersRequest) GetBotName() string {
if x != nil {
return x.BotName
}
return ""
}
type GetAllBotsUsersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
}
func (x *GetAllBotsUsersResponse) Reset() {
*x = GetAllBotsUsersResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetAllBotsUsersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAllBotsUsersResponse) ProtoMessage() {}
func (x *GetAllBotsUsersResponse) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[19]
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 GetAllBotsUsersResponse.ProtoReflect.Descriptor instead.
func (*GetAllBotsUsersResponse) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{19}
}
func (x *GetAllBotsUsersResponse) GetUsers() []*User {
if x != nil {
return x.Users
}
return nil
}
type GetAllBotsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *GetAllBotsRequest) Reset() {
*x = GetAllBotsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetAllBotsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAllBotsRequest) ProtoMessage() {}
func (x *GetAllBotsRequest) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[20]
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 GetAllBotsRequest.ProtoReflect.Descriptor instead.
func (*GetAllBotsRequest) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{20}
}
type GetAllBotsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Bots []*Bot `protobuf:"bytes,1,rep,name=bots,proto3" json:"bots,omitempty"`
}
func (x *GetAllBotsResponse) Reset() {
*x = GetAllBotsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetAllBotsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAllBotsResponse) ProtoMessage() {}
func (x *GetAllBotsResponse) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[21]
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 GetAllBotsResponse.ProtoReflect.Descriptor instead.
func (*GetAllBotsResponse) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{21}
}
func (x *GetAllBotsResponse) GetBots() []*Bot {
if x != nil {
return x.Bots
}
return nil
}
type TGBGenericResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Response bool `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"`
}
func (x *TGBGenericResponse) Reset() {
*x = TGBGenericResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TGBGenericResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TGBGenericResponse) ProtoMessage() {}
func (x *TGBGenericResponse) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[22]
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 TGBGenericResponse.ProtoReflect.Descriptor instead.
func (*TGBGenericResponse) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{22}
}
func (x *TGBGenericResponse) GetResponse() bool {
if x != nil {
return x.Response
}
return false
}
type TGBUserRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TgbId int64 `protobuf:"varint,1,opt,name=tgb_id,json=tgbId,proto3" json:"tgb_id,omitempty"`
}
func (x *TGBUserRequest) Reset() {
*x = TGBUserRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TGBUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TGBUserRequest) ProtoMessage() {}
func (x *TGBUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[23]
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 TGBUserRequest.ProtoReflect.Descriptor instead.
func (*TGBUserRequest) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{23}
}
func (x *TGBUserRequest) GetTgbId() int64 {
if x != nil {
return x.TgbId
}
return 0
}
type TGBBotNameRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BotName string `protobuf:"bytes,1,opt,name=bot_name,json=botName,proto3" json:"bot_name,omitempty"`
}
func (x *TGBBotNameRequest) Reset() {
*x = TGBBotNameRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TGBBotNameRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TGBBotNameRequest) ProtoMessage() {}
func (x *TGBBotNameRequest) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[24]
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 TGBBotNameRequest.ProtoReflect.Descriptor instead.
func (*TGBBotNameRequest) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{24}
}
func (x *TGBBotNameRequest) GetBotName() string {
if x != nil {
return x.BotName
}
return ""
}
type TGBUserBotNameRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TgbId int64 `protobuf:"varint,1,opt,name=tgb_id,json=tgbId,proto3" json:"tgb_id,omitempty"`
BotName string `protobuf:"bytes,2,opt,name=bot_name,json=botName,proto3" json:"bot_name,omitempty"`
}
func (x *TGBUserBotNameRequest) Reset() {
*x = TGBUserBotNameRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TGBUserBotNameRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TGBUserBotNameRequest) ProtoMessage() {}
func (x *TGBUserBotNameRequest) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[25]
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 TGBUserBotNameRequest.ProtoReflect.Descriptor instead.
func (*TGBUserBotNameRequest) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{25}
}
func (x *TGBUserBotNameRequest) GetTgbId() int64 {
if x != nil {
return x.TgbId
}
return 0
}
func (x *TGBUserBotNameRequest) GetBotName() string {
if x != nil {
return x.BotName
}
return ""
}
type TGBBanUserRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TgbId int64 `protobuf:"varint,1,opt,name=tgb_id,json=tgbId,proto3" json:"tgb_id,omitempty"`
BotName string `protobuf:"bytes,2,opt,name=bot_name,json=botName,proto3" json:"bot_name,omitempty"`
Until int64 `protobuf:"varint,3,opt,name=until,proto3" json:"until,omitempty"`
}
func (x *TGBBanUserRequest) Reset() {
*x = TGBBanUserRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TGBBanUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TGBBanUserRequest) ProtoMessage() {}
func (x *TGBBanUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[26]
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 TGBBanUserRequest.ProtoReflect.Descriptor instead.
func (*TGBBanUserRequest) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{26}
}
func (x *TGBBanUserRequest) GetTgbId() int64 {
if x != nil {
return x.TgbId
}
return 0
}
func (x *TGBBanUserRequest) GetBotName() string {
if x != nil {
return x.BotName
}
return ""
}
func (x *TGBBanUserRequest) GetUntil() int64 {
if x != nil {
return x.Until
}
return 0
}
type GetAccessResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Access []*AccessRq `protobuf:"bytes,1,rep,name=access,proto3" json:"access,omitempty"`
}
func (x *GetAccessResponse) Reset() {
*x = GetAccessResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetAccessResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAccessResponse) ProtoMessage() {}
func (x *GetAccessResponse) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[27]
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 GetAccessResponse.ProtoReflect.Descriptor instead.
func (*GetAccessResponse) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{27}
}
func (x *GetAccessResponse) GetAccess() []*AccessRq {
if x != nil {
return x.Access
}
return nil
}
type GetBanResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Bans []*Ban `protobuf:"bytes,1,rep,name=bans,proto3" json:"bans,omitempty"`
}
func (x *GetBanResponse) Reset() {
*x = GetBanResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_tgbuser_tgbuser_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetBanResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBanResponse) ProtoMessage() {}
func (x *GetBanResponse) ProtoReflect() protoreflect.Message {
mi := &file_tgbuser_tgbuser_proto_msgTypes[28]
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 GetBanResponse.ProtoReflect.Descriptor instead.
func (*GetBanResponse) Descriptor() ([]byte, []int) {
return file_tgbuser_tgbuser_proto_rawDescGZIP(), []int{28}
}
func (x *GetBanResponse) GetBans() []*Ban {
if x != nil {
return x.Bans
}
return nil
}
var File_tgbuser_tgbuser_proto protoreflect.FileDescriptor
var file_tgbuser_tgbuser_proto_rawDesc = []byte{
0x0a, 0x15, 0x74, 0x67, 0x62, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x74, 0x67, 0x62, 0x75, 0x73, 0x65,
0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe8, 0x01, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72,
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
0x12, 0x15, 0x0a, 0x06, 0x74, 0x67, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
0x52, 0x05, 0x74, 0x67, 0x62, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e,
0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e,
0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12,
0x15, 0x0a, 0x06, 0x74, 0x67, 0x5f, 0x62, 0x6f, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
0x05, 0x74, 0x67, 0x42, 0x6f, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
0x12, 0x16, 0x0a, 0x06, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03,
0x52, 0x06, 0x65, 0x64, 0x69, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65,
0x74, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74,
0x65, 0x64, 0x22, 0x4a, 0x0a, 0x03, 0x42, 0x6f, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6f, 0x74,
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x6f, 0x74,
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18,
0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x67,
0x0a, 0x03, 0x42, 0x61, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x67, 0x62, 0x5f, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x67, 0x62, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08,
0x62, 0x6f, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x62, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x6e, 0x74, 0x69, 0x6c,
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x12, 0x18, 0x0a,
0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x56, 0x0a, 0x08, 0x41, 0x63, 0x63, 0x65, 0x73,
0x73, 0x52, 0x71, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x67, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x67, 0x62, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6f,
0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x6f,
0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22,
0x2a, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x67, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x67, 0x62, 0x49, 0x64, 0x22, 0x2f, 0x0a, 0x12, 0x47,
0x65, 0x74, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x12, 0x19, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x05, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x31, 0x0a, 0x14,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x05, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22,
0x27, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0x2f, 0x0a, 0x12, 0x45, 0x64, 0x69, 0x74,
0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19,
0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x55,
0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x31, 0x0a, 0x13, 0x45, 0x64, 0x69,
0x74, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x0a, 0x14,
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x67, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x67, 0x62, 0x49, 0x64, 0x22, 0x33, 0x0a, 0x15, 0x44,
0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x48, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x42, 0x6f, 0x74, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65,
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x67, 0x62, 0x5f,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x67, 0x62, 0x49, 0x64, 0x12,
0x19, 0x0a, 0x08, 0x62, 0x6f, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x62, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x33, 0x0a, 0x15, 0x41, 0x64,
0x64, 0x42, 0x6f, 0x74, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x4b, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6f, 0x74, 0x54, 0x47, 0x42, 0x55,
0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x67,
0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x67, 0x62, 0x49,
0x64, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6f, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a, 0x18,
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6f, 0x74, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x74, 0x73, 0x54,
0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a,
0x06, 0x74, 0x67, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74,
0x67, 0x62, 0x49, 0x64, 0x22, 0x32, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x74, 0x73, 0x54,
0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
0x0a, 0x04, 0x62, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x04, 0x2e, 0x42,
0x6f, 0x74, 0x52, 0x04, 0x62, 0x6f, 0x74, 0x73, 0x22, 0x33, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41,
0x6c, 0x6c, 0x42, 0x6f, 0x74, 0x73, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6f, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a,
0x17, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6f, 0x74, 0x73, 0x55, 0x73, 0x65, 0x72, 0x73,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72,
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05,
0x75, 0x73, 0x65, 0x72, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x42,
0x6f, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2e, 0x0a, 0x12, 0x47, 0x65,
0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6f, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x18, 0x0a, 0x04, 0x62, 0x6f, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x04,
0x2e, 0x42, 0x6f, 0x74, 0x52, 0x04, 0x62, 0x6f, 0x74, 0x73, 0x22, 0x30, 0x0a, 0x12, 0x54, 0x47,
0x42, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x0a, 0x0e,
0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15,
0x0a, 0x06, 0x74, 0x67, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
0x74, 0x67, 0x62, 0x49, 0x64, 0x22, 0x2e, 0x0a, 0x11, 0x54, 0x47, 0x42, 0x42, 0x6f, 0x74, 0x4e,
0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6f,
0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x6f,
0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x49, 0x0a, 0x15, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72,
0x42, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15,
0x0a, 0x06, 0x74, 0x67, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
0x74, 0x67, 0x62, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6f, 0x74, 0x5f, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65,
0x22, 0x5b, 0x0a, 0x11, 0x54, 0x47, 0x42, 0x42, 0x61, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x67, 0x62, 0x5f, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x67, 0x62, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08,
0x62, 0x6f, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x62, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x75, 0x6e, 0x74, 0x69, 0x6c,
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x75, 0x6e, 0x74, 0x69, 0x6c, 0x22, 0x36, 0x0a,
0x11, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x21, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x09, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x71, 0x52, 0x06, 0x61,
0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0x2a, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6e, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x04, 0x62, 0x61, 0x6e, 0x73, 0x18,
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x04, 0x2e, 0x42, 0x61, 0x6e, 0x52, 0x04, 0x62, 0x61, 0x6e,
0x73, 0x32, 0xc2, 0x08, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65,
0x72, 0x12, 0x39, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x15, 0x2e, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x16, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x47, 0x42, 0x55, 0x73,
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x30, 0x0a, 0x03,
0x47, 0x65, 0x74, 0x12, 0x12, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x47, 0x42,
0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x33,
0x0a, 0x04, 0x45, 0x64, 0x69, 0x74, 0x12, 0x13, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x54, 0x47, 0x42,
0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x45, 0x64,
0x69, 0x74, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x15, 0x2e,
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x47, 0x42,
0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39,
0x0a, 0x06, 0x41, 0x64, 0x64, 0x42, 0x6f, 0x74, 0x12, 0x15, 0x2e, 0x41, 0x64, 0x64, 0x42, 0x6f,
0x74, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x16, 0x2e, 0x41, 0x64, 0x64, 0x42, 0x6f, 0x74, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x09, 0x44, 0x65, 0x6c,
0x65, 0x74, 0x65, 0x42, 0x6f, 0x74, 0x12, 0x18, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42,
0x6f, 0x74, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x19, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6f, 0x74, 0x54, 0x47, 0x42, 0x55,
0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3c, 0x0a,
0x07, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x74, 0x73, 0x12, 0x16, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f,
0x74, 0x73, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x17, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x74, 0x73, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65,
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0f, 0x47,
0x65, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6f, 0x74, 0x73, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x17,
0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6f, 0x74, 0x73, 0x55, 0x73, 0x65, 0x72, 0x73,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c,
0x42, 0x6f, 0x74, 0x73, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6f, 0x74,
0x73, 0x12, 0x12, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6f, 0x74, 0x73, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6f,
0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x36, 0x0a, 0x09,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x74, 0x12, 0x12, 0x2e, 0x54, 0x47, 0x42, 0x42,
0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e,
0x54, 0x47, 0x42, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x63,
0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x2e, 0x54, 0x47,
0x42, 0x55, 0x73, 0x65, 0x72, 0x42, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x54, 0x47, 0x42, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3c, 0x0a, 0x0b, 0x47, 0x72,
0x61, 0x6e, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x16, 0x2e, 0x54, 0x47, 0x42, 0x55,
0x73, 0x65, 0x72, 0x42, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x1a, 0x13, 0x2e, 0x54, 0x47, 0x42, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x34, 0x0a, 0x07, 0x42, 0x61, 0x6e, 0x55,
0x73, 0x65, 0x72, 0x12, 0x12, 0x2e, 0x54, 0x47, 0x42, 0x42, 0x61, 0x6e, 0x55, 0x73, 0x65, 0x72,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x54, 0x47, 0x42, 0x47, 0x65, 0x6e,
0x65, 0x72, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a,
0x0a, 0x09, 0x55, 0x6e, 0x42, 0x61, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x54, 0x47,
0x42, 0x55, 0x73, 0x65, 0x72, 0x42, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x54, 0x47, 0x42, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x13, 0x47, 0x65,
0x74, 0x41, 0x6c, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x12, 0x2e, 0x54, 0x47, 0x42, 0x42, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73,
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x11, 0x47,
0x65, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73,
0x12, 0x12, 0x2e, 0x54, 0x47, 0x42, 0x42, 0x6f, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6e, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x39, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x63,
0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0f, 0x2e, 0x54, 0x47,
0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x47,
0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x00, 0x12, 0x32, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x42,
0x6f, 0x74, 0x12, 0x0f, 0x2e, 0x54, 0x47, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x6f, 0x74, 0x65, 0x6a, 0x65, 0x64,
0x61, 0x2f, 0x6d, 0x73, 0x76, 0x63, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6c,
0x61, 0x6e, 0x67, 0x2f, 0x74, 0x67, 0x62, 0x75, 0x73, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
file_tgbuser_tgbuser_proto_rawDescOnce sync.Once
file_tgbuser_tgbuser_proto_rawDescData = file_tgbuser_tgbuser_proto_rawDesc
)
func file_tgbuser_tgbuser_proto_rawDescGZIP() []byte {
file_tgbuser_tgbuser_proto_rawDescOnce.Do(func() {
file_tgbuser_tgbuser_proto_rawDescData = protoimpl.X.CompressGZIP(file_tgbuser_tgbuser_proto_rawDescData)
})
return file_tgbuser_tgbuser_proto_rawDescData
}
var file_tgbuser_tgbuser_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
var file_tgbuser_tgbuser_proto_goTypes = []interface{}{
(*User)(nil), // 0: User
(*Bot)(nil), // 1: Bot
(*Ban)(nil), // 2: Ban
(*AccessRq)(nil), // 3: AccessRq
(*GetTGBUserRequest)(nil), // 4: GetTGBUserRequest
(*GetTGBUserResponse)(nil), // 5: GetTGBUserResponse
(*CreateTGBUserRequest)(nil), // 6: CreateTGBUserRequest
(*CreateTGBUserResponse)(nil), // 7: CreateTGBUserResponse
(*EditTGBUserRequest)(nil), // 8: EditTGBUserRequest
(*EditTGBUserResponse)(nil), // 9: EditTGBUserResponse
(*DeleteTGBUserRequest)(nil), // 10: DeleteTGBUserRequest
(*DeleteTGBUserResponse)(nil), // 11: DeleteTGBUserResponse
(*AddBotTGBUserRequest)(nil), // 12: AddBotTGBUserRequest
(*AddBotTGBUserResponse)(nil), // 13: AddBotTGBUserResponse
(*DeleteBotTGBUserRequest)(nil), // 14: DeleteBotTGBUserRequest
(*DeleteBotTGBUserResponse)(nil), // 15: DeleteBotTGBUserResponse
(*GetBotsTGBUserRequest)(nil), // 16: GetBotsTGBUserRequest
(*GetBotsTGBUserResponse)(nil), // 17: GetBotsTGBUserResponse
(*GetAllBotsUsersRequest)(nil), // 18: GetAllBotsUsersRequest
(*GetAllBotsUsersResponse)(nil), // 19: GetAllBotsUsersResponse
(*GetAllBotsRequest)(nil), // 20: GetAllBotsRequest
(*GetAllBotsResponse)(nil), // 21: GetAllBotsResponse
(*TGBGenericResponse)(nil), // 22: TGBGenericResponse
(*TGBUserRequest)(nil), // 23: TGBUserRequest
(*TGBBotNameRequest)(nil), // 24: TGBBotNameRequest
(*TGBUserBotNameRequest)(nil), // 25: TGBUserBotNameRequest
(*TGBBanUserRequest)(nil), // 26: TGBBanUserRequest
(*GetAccessResponse)(nil), // 27: GetAccessResponse
(*GetBanResponse)(nil), // 28: GetBanResponse
}
var file_tgbuser_tgbuser_proto_depIdxs = []int32{
0, // 0: GetTGBUserResponse.user:type_name -> User
0, // 1: CreateTGBUserRequest.user:type_name -> User
0, // 2: EditTGBUserRequest.user:type_name -> User
1, // 3: GetBotsTGBUserResponse.bots:type_name -> Bot
0, // 4: GetAllBotsUsersResponse.users:type_name -> User
1, // 5: GetAllBotsResponse.bots:type_name -> Bot
3, // 6: GetAccessResponse.access:type_name -> AccessRq
2, // 7: GetBanResponse.bans:type_name -> Ban
6, // 8: UserManager.Create:input_type -> CreateTGBUserRequest
4, // 9: UserManager.Get:input_type -> GetTGBUserRequest
8, // 10: UserManager.Edit:input_type -> EditTGBUserRequest
10, // 11: UserManager.Delete:input_type -> DeleteTGBUserRequest
12, // 12: UserManager.AddBot:input_type -> AddBotTGBUserRequest
14, // 13: UserManager.DeleteBot:input_type -> DeleteBotTGBUserRequest
16, // 14: UserManager.GetBots:input_type -> GetBotsTGBUserRequest
18, // 15: UserManager.GetAllBotsUsers:input_type -> GetAllBotsUsersRequest
20, // 16: UserManager.GetAllBots:input_type -> GetAllBotsRequest
24, // 17: UserManager.CreateBot:input_type -> TGBBotNameRequest
25, // 18: UserManager.CreateAccessRequest:input_type -> TGBUserBotNameRequest
25, // 19: UserManager.GrantAccess:input_type -> TGBUserBotNameRequest
26, // 20: UserManager.BanUser:input_type -> TGBBanUserRequest
25, // 21: UserManager.UnBanUser:input_type -> TGBUserBotNameRequest
24, // 22: UserManager.GetAllAccessRequest:input_type -> TGBBotNameRequest
24, // 23: UserManager.GetAllBannedUsers:input_type -> TGBBotNameRequest
23, // 24: UserManager.GetAccessRequest:input_type -> TGBUserRequest
23, // 25: UserManager.GetBannedBot:input_type -> TGBUserRequest
7, // 26: UserManager.Create:output_type -> CreateTGBUserResponse
5, // 27: UserManager.Get:output_type -> GetTGBUserResponse
9, // 28: UserManager.Edit:output_type -> EditTGBUserResponse
11, // 29: UserManager.Delete:output_type -> DeleteTGBUserResponse
13, // 30: UserManager.AddBot:output_type -> AddBotTGBUserResponse
15, // 31: UserManager.DeleteBot:output_type -> DeleteBotTGBUserResponse
17, // 32: UserManager.GetBots:output_type -> GetBotsTGBUserResponse
19, // 33: UserManager.GetAllBotsUsers:output_type -> GetAllBotsUsersResponse
21, // 34: UserManager.GetAllBots:output_type -> GetAllBotsResponse
22, // 35: UserManager.CreateBot:output_type -> TGBGenericResponse
22, // 36: UserManager.CreateAccessRequest:output_type -> TGBGenericResponse
22, // 37: UserManager.GrantAccess:output_type -> TGBGenericResponse
22, // 38: UserManager.BanUser:output_type -> TGBGenericResponse
22, // 39: UserManager.UnBanUser:output_type -> TGBGenericResponse
27, // 40: UserManager.GetAllAccessRequest:output_type -> GetAccessResponse
28, // 41: UserManager.GetAllBannedUsers:output_type -> GetBanResponse
27, // 42: UserManager.GetAccessRequest:output_type -> GetAccessResponse
28, // 43: UserManager.GetBannedBot:output_type -> GetBanResponse
26, // [26:44] is the sub-list for method output_type
8, // [8:26] is the sub-list for method input_type
8, // [8:8] is the sub-list for extension type_name
8, // [8:8] is the sub-list for extension extendee
0, // [0:8] is the sub-list for field type_name
}
func init() { file_tgbuser_tgbuser_proto_init() }
func file_tgbuser_tgbuser_proto_init() {
if File_tgbuser_tgbuser_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_tgbuser_tgbuser_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*User); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Bot); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Ban); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AccessRq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetTGBUserRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetTGBUserResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateTGBUserRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateTGBUserResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EditTGBUserRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EditTGBUserResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteTGBUserRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteTGBUserResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddBotTGBUserRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AddBotTGBUserResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteBotTGBUserRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteBotTGBUserResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetBotsTGBUserRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetBotsTGBUserResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetAllBotsUsersRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetAllBotsUsersResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetAllBotsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetAllBotsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TGBGenericResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TGBUserRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TGBBotNameRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TGBUserBotNameRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TGBBanUserRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetAccessResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_tgbuser_tgbuser_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetBanResponse); 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(),
RawDescriptor: file_tgbuser_tgbuser_proto_rawDesc,
NumEnums: 0,
NumMessages: 29,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_tgbuser_tgbuser_proto_goTypes,
DependencyIndexes: file_tgbuser_tgbuser_proto_depIdxs,
MessageInfos: file_tgbuser_tgbuser_proto_msgTypes,
}.Build()
File_tgbuser_tgbuser_proto = out.File
file_tgbuser_tgbuser_proto_rawDesc = nil
file_tgbuser_tgbuser_proto_goTypes = nil
file_tgbuser_tgbuser_proto_depIdxs = nil
}