go-grpc/bots/bots.pb.go

683 lines
20 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v3.21.12
// source: bots.proto
package bots
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 IdList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ID []int64 `protobuf:"varint,1,rep,packed,name=ID,proto3" json:"ID,omitempty"`
}
func (x *IdList) Reset() {
*x = IdList{}
if protoimpl.UnsafeEnabled {
mi := &file_bots_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IdList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IdList) ProtoMessage() {}
func (x *IdList) ProtoReflect() protoreflect.Message {
mi := &file_bots_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 IdList.ProtoReflect.Descriptor instead.
func (*IdList) Descriptor() ([]byte, []int) {
return file_bots_proto_rawDescGZIP(), []int{0}
}
func (x *IdList) GetID() []int64 {
if x != nil {
return x.ID
}
return nil
}
type IdMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
}
func (x *IdMessage) Reset() {
*x = IdMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_bots_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IdMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IdMessage) ProtoMessage() {}
func (x *IdMessage) ProtoReflect() protoreflect.Message {
mi := &file_bots_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 IdMessage.ProtoReflect.Descriptor instead.
func (*IdMessage) Descriptor() ([]byte, []int) {
return file_bots_proto_rawDescGZIP(), []int{1}
}
func (x *IdMessage) GetID() int64 {
if x != nil {
return x.ID
}
return 0
}
type BotResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
TimeID int64 `protobuf:"varint,2,opt,name=TimeID,proto3" json:"TimeID,omitempty"`
Date int64 `protobuf:"varint,3,opt,name=Date,proto3" json:"Date,omitempty"`
FileID string `protobuf:"bytes,4,opt,name=FileID,proto3" json:"FileID,omitempty"`
}
func (x *BotResponse) Reset() {
*x = BotResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_bots_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BotResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BotResponse) ProtoMessage() {}
func (x *BotResponse) ProtoReflect() protoreflect.Message {
mi := &file_bots_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 BotResponse.ProtoReflect.Descriptor instead.
func (*BotResponse) Descriptor() ([]byte, []int) {
return file_bots_proto_rawDescGZIP(), []int{2}
}
func (x *BotResponse) GetID() int64 {
if x != nil {
return x.ID
}
return 0
}
func (x *BotResponse) GetTimeID() int64 {
if x != nil {
return x.TimeID
}
return 0
}
func (x *BotResponse) GetDate() int64 {
if x != nil {
return x.Date
}
return 0
}
func (x *BotResponse) GetFileID() string {
if x != nil {
return x.FileID
}
return ""
}
type BotRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
TimeID *int64 `protobuf:"varint,2,opt,name=TimeID,proto3,oneof" json:"TimeID,omitempty"`
Date *int64 `protobuf:"varint,3,opt,name=Date,proto3,oneof" json:"Date,omitempty"`
FileID *string `protobuf:"bytes,4,opt,name=FileID,proto3,oneof" json:"FileID,omitempty"`
}
func (x *BotRequest) Reset() {
*x = BotRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_bots_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BotRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BotRequest) ProtoMessage() {}
func (x *BotRequest) ProtoReflect() protoreflect.Message {
mi := &file_bots_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 BotRequest.ProtoReflect.Descriptor instead.
func (*BotRequest) Descriptor() ([]byte, []int) {
return file_bots_proto_rawDescGZIP(), []int{3}
}
func (x *BotRequest) GetID() int64 {
if x != nil {
return x.ID
}
return 0
}
func (x *BotRequest) GetTimeID() int64 {
if x != nil && x.TimeID != nil {
return *x.TimeID
}
return 0
}
func (x *BotRequest) GetDate() int64 {
if x != nil && x.Date != nil {
return *x.Date
}
return 0
}
func (x *BotRequest) GetFileID() string {
if x != nil && x.FileID != nil {
return *x.FileID
}
return ""
}
type BotList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Bots []*BotResponse `protobuf:"bytes,1,rep,name=Bots,proto3" json:"Bots,omitempty"`
}
func (x *BotList) Reset() {
*x = BotList{}
if protoimpl.UnsafeEnabled {
mi := &file_bots_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BotList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BotList) ProtoMessage() {}
func (x *BotList) ProtoReflect() protoreflect.Message {
mi := &file_bots_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 BotList.ProtoReflect.Descriptor instead.
func (*BotList) Descriptor() ([]byte, []int) {
return file_bots_proto_rawDescGZIP(), []int{4}
}
func (x *BotList) GetBots() []*BotResponse {
if x != nil {
return x.Bots
}
return nil
}
type ListRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Filter *BotRequest `protobuf:"bytes,1,opt,name=Filter,proto3" json:"Filter,omitempty"`
Page *Pagination `protobuf:"bytes,2,opt,name=Page,proto3" json:"Page,omitempty"`
}
func (x *ListRequest) Reset() {
*x = ListRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_bots_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRequest) ProtoMessage() {}
func (x *ListRequest) ProtoReflect() protoreflect.Message {
mi := &file_bots_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 ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) Descriptor() ([]byte, []int) {
return file_bots_proto_rawDescGZIP(), []int{5}
}
func (x *ListRequest) GetFilter() *BotRequest {
if x != nil {
return x.Filter
}
return nil
}
func (x *ListRequest) GetPage() *Pagination {
if x != nil {
return x.Page
}
return nil
}
type Pagination struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Size int32 `protobuf:"varint,1,opt,name=Size,proto3" json:"Size,omitempty"`
Number int32 `protobuf:"varint,2,opt,name=Number,proto3" json:"Number,omitempty"`
}
func (x *Pagination) Reset() {
*x = Pagination{}
if protoimpl.UnsafeEnabled {
mi := &file_bots_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Pagination) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Pagination) ProtoMessage() {}
func (x *Pagination) ProtoReflect() protoreflect.Message {
mi := &file_bots_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 Pagination.ProtoReflect.Descriptor instead.
func (*Pagination) Descriptor() ([]byte, []int) {
return file_bots_proto_rawDescGZIP(), []int{6}
}
func (x *Pagination) GetSize() int32 {
if x != nil {
return x.Size
}
return 0
}
func (x *Pagination) GetNumber() int32 {
if x != nil {
return x.Number
}
return 0
}
type NullResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *NullResponse) Reset() {
*x = NullResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_bots_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *NullResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*NullResponse) ProtoMessage() {}
func (x *NullResponse) ProtoReflect() protoreflect.Message {
mi := &file_bots_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 NullResponse.ProtoReflect.Descriptor instead.
func (*NullResponse) Descriptor() ([]byte, []int) {
return file_bots_proto_rawDescGZIP(), []int{7}
}
var File_bots_proto protoreflect.FileDescriptor
var file_bots_proto_rawDesc = []byte{
0x0a, 0x0a, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x62, 0x6f,
0x74, 0x73, 0x22, 0x18, 0x0a, 0x06, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
0x49, 0x44, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x22, 0x1b, 0x0a, 0x09,
0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18,
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x22, 0x61, 0x0a, 0x0b, 0x42, 0x6f, 0x74,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01,
0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x69, 0x6d, 0x65,
0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x44,
0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
0x44, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x44, 0x22, 0x8e, 0x01, 0x0a,
0x0a, 0x42, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49,
0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x44, 0x12, 0x1b, 0x0a, 0x06, 0x54,
0x69, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x06, 0x54,
0x69, 0x6d, 0x65, 0x49, 0x44, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x04, 0x44, 0x61, 0x74, 0x65, 0x88, 0x01,
0x01, 0x12, 0x1b, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28,
0x09, 0x48, 0x02, 0x52, 0x06, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x44, 0x88, 0x01, 0x01, 0x42, 0x09,
0x0a, 0x07, 0x5f, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x44, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x44, 0x61,
0x74, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x44, 0x22, 0x30, 0x0a,
0x07, 0x42, 0x6f, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x04, 0x42, 0x6f, 0x74, 0x73,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x42, 0x6f,
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x04, 0x42, 0x6f, 0x74, 0x73, 0x22,
0x5d, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28,
0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10,
0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x42, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x52, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x24, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x50, 0x61,
0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x22, 0x38,
0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
0x53, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x69, 0x7a, 0x65,
0x12, 0x16, 0x0a, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x52, 0x06, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x0e, 0x0a, 0x0c, 0x4e, 0x75, 0x6c, 0x6c,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x96, 0x02, 0x0a, 0x0b, 0x42, 0x6f, 0x74,
0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12,
0x0f, 0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
0x1a, 0x11, 0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x42, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0c,
0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x62,
0x6f, 0x74, 0x73, 0x2e, 0x42, 0x6f, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x55,
0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x10, 0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x42, 0x6f, 0x74,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x4e,
0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x10, 0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x42, 0x6f, 0x74,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x49,
0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2d, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65,
0x74, 0x65, 0x12, 0x0f, 0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x49, 0x64, 0x4d, 0x65, 0x73, 0x73,
0x61, 0x67, 0x65, 0x1a, 0x12, 0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12,
0x11, 0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x0d, 0x2e, 0x62, 0x6f, 0x74, 0x73, 0x2e, 0x42, 0x6f, 0x74, 0x4c, 0x69, 0x73,
0x74, 0x42, 0x27, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x74, 0x7a, 0x61, 0x6e, 0x61, 0x2e,
0x6d, 0x65, 0x2f, 0x73, 0x74, 0x72, 0x61, 0x66, 0x65, 0x73, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x6f,
0x2d, 0x67, 0x72, 0x70, 0x63, 0x2f, 0x62, 0x6f, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var (
file_bots_proto_rawDescOnce sync.Once
file_bots_proto_rawDescData = file_bots_proto_rawDesc
)
func file_bots_proto_rawDescGZIP() []byte {
file_bots_proto_rawDescOnce.Do(func() {
file_bots_proto_rawDescData = protoimpl.X.CompressGZIP(file_bots_proto_rawDescData)
})
return file_bots_proto_rawDescData
}
var file_bots_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_bots_proto_goTypes = []interface{}{
(*IdList)(nil), // 0: bots.IdList
(*IdMessage)(nil), // 1: bots.IdMessage
(*BotResponse)(nil), // 2: bots.BotResponse
(*BotRequest)(nil), // 3: bots.BotRequest
(*BotList)(nil), // 4: bots.BotList
(*ListRequest)(nil), // 5: bots.ListRequest
(*Pagination)(nil), // 6: bots.Pagination
(*NullResponse)(nil), // 7: bots.NullResponse
}
var file_bots_proto_depIdxs = []int32{
2, // 0: bots.BotList.Bots:type_name -> bots.BotResponse
3, // 1: bots.ListRequest.Filter:type_name -> bots.BotRequest
6, // 2: bots.ListRequest.Page:type_name -> bots.Pagination
1, // 3: bots.BotsService.Get:input_type -> bots.IdMessage
0, // 4: bots.BotsService.GetList:input_type -> bots.IdList
3, // 5: bots.BotsService.Update:input_type -> bots.BotRequest
3, // 6: bots.BotsService.Create:input_type -> bots.BotRequest
1, // 7: bots.BotsService.Delete:input_type -> bots.IdMessage
5, // 8: bots.BotsService.List:input_type -> bots.ListRequest
2, // 9: bots.BotsService.Get:output_type -> bots.BotResponse
4, // 10: bots.BotsService.GetList:output_type -> bots.BotList
7, // 11: bots.BotsService.Update:output_type -> bots.NullResponse
1, // 12: bots.BotsService.Create:output_type -> bots.IdMessage
7, // 13: bots.BotsService.Delete:output_type -> bots.NullResponse
4, // 14: bots.BotsService.List:output_type -> bots.BotList
9, // [9:15] is the sub-list for method output_type
3, // [3:9] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_bots_proto_init() }
func file_bots_proto_init() {
if File_bots_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_bots_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IdList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_bots_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IdMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_bots_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BotResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_bots_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BotRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_bots_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BotList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_bots_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_bots_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Pagination); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_bots_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NullResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_bots_proto_msgTypes[3].OneofWrappers = []interface{}{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_bots_proto_rawDesc,
NumEnums: 0,
NumMessages: 8,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_bots_proto_goTypes,
DependencyIndexes: file_bots_proto_depIdxs,
MessageInfos: file_bots_proto_msgTypes,
}.Build()
File_bots_proto = out.File
file_bots_proto_rawDesc = nil
file_bots_proto_goTypes = nil
file_bots_proto_depIdxs = nil
}