generated from VLADIMIR/template
3135 lines
97 KiB
Go
3135 lines
97 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v7.35.1
|
|
// source: main.proto
|
|
|
|
package proto
|
|
|
|
import (
|
|
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
httpbody "google.golang.org/genproto/googleapis/api/httpbody"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
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 PingReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PingReq) Reset() {
|
|
*x = PingReq{}
|
|
mi := &file_main_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PingReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PingReq) ProtoMessage() {}
|
|
|
|
func (x *PingReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 PingReq.ProtoReflect.Descriptor instead.
|
|
func (*PingReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type PingRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PingRsp) Reset() {
|
|
*x = PingRsp{}
|
|
mi := &file_main_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PingRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PingRsp) ProtoMessage() {}
|
|
|
|
func (x *PingRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 PingRsp.ProtoReflect.Descriptor instead.
|
|
func (*PingRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type EchoReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EchoReq) Reset() {
|
|
*x = EchoReq{}
|
|
mi := &file_main_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EchoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EchoReq) ProtoMessage() {}
|
|
|
|
func (x *EchoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 EchoReq.ProtoReflect.Descriptor instead.
|
|
func (*EchoReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *EchoReq) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EchoRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EchoRsp) Reset() {
|
|
*x = EchoRsp{}
|
|
mi := &file_main_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EchoRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EchoRsp) ProtoMessage() {}
|
|
|
|
func (x *EchoRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 EchoRsp.ProtoReflect.Descriptor instead.
|
|
func (*EchoRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *EchoRsp) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SignupReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SignupReq) Reset() {
|
|
*x = SignupReq{}
|
|
mi := &file_main_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignupReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignupReq) ProtoMessage() {}
|
|
|
|
func (x *SignupReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 SignupReq.ProtoReflect.Descriptor instead.
|
|
func (*SignupReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SignupReq) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SignupReq) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SignupRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SignupRsp) Reset() {
|
|
*x = SignupRsp{}
|
|
mi := &file_main_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SignupRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignupRsp) ProtoMessage() {}
|
|
|
|
func (x *SignupRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 SignupRsp.ProtoReflect.Descriptor instead.
|
|
func (*SignupRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *SignupRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RefreshPasswordReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RefreshPasswordReq) Reset() {
|
|
*x = RefreshPasswordReq{}
|
|
mi := &file_main_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RefreshPasswordReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RefreshPasswordReq) ProtoMessage() {}
|
|
|
|
func (x *RefreshPasswordReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 RefreshPasswordReq.ProtoReflect.Descriptor instead.
|
|
func (*RefreshPasswordReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *RefreshPasswordReq) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RefreshPasswordRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RefreshPasswordRsp) Reset() {
|
|
*x = RefreshPasswordRsp{}
|
|
mi := &file_main_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RefreshPasswordRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RefreshPasswordRsp) ProtoMessage() {}
|
|
|
|
func (x *RefreshPasswordRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 RefreshPasswordRsp.ProtoReflect.Descriptor instead.
|
|
func (*RefreshPasswordRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *RefreshPasswordRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LoginReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LoginReq) Reset() {
|
|
*x = LoginReq{}
|
|
mi := &file_main_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LoginReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoginReq) ProtoMessage() {}
|
|
|
|
func (x *LoginReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 LoginReq.ProtoReflect.Descriptor instead.
|
|
func (*LoginReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *LoginReq) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginReq) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type LoginRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
AccessToken string `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
|
|
RefreshToken string `protobuf:"bytes,3,opt,name=refreshToken,proto3" json:"refreshToken,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LoginRsp) Reset() {
|
|
*x = LoginRsp{}
|
|
mi := &file_main_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LoginRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LoginRsp) ProtoMessage() {}
|
|
|
|
func (x *LoginRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 LoginRsp.ProtoReflect.Descriptor instead.
|
|
func (*LoginRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *LoginRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginRsp) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LoginRsp) GetRefreshToken() string {
|
|
if x != nil {
|
|
return x.RefreshToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RefreshReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RefreshToken string `protobuf:"bytes,1,opt,name=refreshToken,proto3" json:"refreshToken,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RefreshReq) Reset() {
|
|
*x = RefreshReq{}
|
|
mi := &file_main_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RefreshReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RefreshReq) ProtoMessage() {}
|
|
|
|
func (x *RefreshReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 RefreshReq.ProtoReflect.Descriptor instead.
|
|
func (*RefreshReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *RefreshReq) GetRefreshToken() string {
|
|
if x != nil {
|
|
return x.RefreshToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RefreshRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
AccessToken string `protobuf:"bytes,2,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
|
|
RefreshToken string `protobuf:"bytes,3,opt,name=refreshToken,proto3" json:"refreshToken,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RefreshRsp) Reset() {
|
|
*x = RefreshRsp{}
|
|
mi := &file_main_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RefreshRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RefreshRsp) ProtoMessage() {}
|
|
|
|
func (x *RefreshRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 RefreshRsp.ProtoReflect.Descriptor instead.
|
|
func (*RefreshRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *RefreshRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RefreshRsp) GetAccessToken() string {
|
|
if x != nil {
|
|
return x.AccessToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RefreshRsp) GetRefreshToken() string {
|
|
if x != nil {
|
|
return x.RefreshToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetUsersReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUsersReq) Reset() {
|
|
*x = GetUsersReq{}
|
|
mi := &file_main_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUsersReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUsersReq) ProtoMessage() {}
|
|
|
|
func (x *GetUsersReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 GetUsersReq.ProtoReflect.Descriptor instead.
|
|
func (*GetUsersReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
type GetUsersRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
Users []*User `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUsersRsp) Reset() {
|
|
*x = GetUsersRsp{}
|
|
mi := &file_main_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUsersRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUsersRsp) ProtoMessage() {}
|
|
|
|
func (x *GetUsersRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 GetUsersRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetUsersRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *GetUsersRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetUsersRsp) GetUsers() []*User {
|
|
if x != nil {
|
|
return x.Users
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type User struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
|
|
Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
|
|
Roles []string `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
|
|
IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *User) Reset() {
|
|
*x = User{}
|
|
mi := &file_main_proto_msgTypes[14]
|
|
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_main_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 User.ProtoReflect.Descriptor instead.
|
|
func (*User) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *User) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *User) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetEmail() string {
|
|
if x != nil {
|
|
return x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *User) GetRoles() []string {
|
|
if x != nil {
|
|
return x.Roles
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *User) GetIsActive() bool {
|
|
if x != nil {
|
|
return x.IsActive
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *User) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetUserByIdReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserByIdReq) Reset() {
|
|
*x = GetUserByIdReq{}
|
|
mi := &file_main_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserByIdReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserByIdReq) ProtoMessage() {}
|
|
|
|
func (x *GetUserByIdReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 GetUserByIdReq.ProtoReflect.Descriptor instead.
|
|
func (*GetUserByIdReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *GetUserByIdReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetUserByIdRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetUserByIdRsp) Reset() {
|
|
*x = GetUserByIdRsp{}
|
|
mi := &file_main_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetUserByIdRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetUserByIdRsp) ProtoMessage() {}
|
|
|
|
func (x *GetUserByIdRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 GetUserByIdRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetUserByIdRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *GetUserByIdRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetUserByIdRsp) GetUser() *User {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetMeReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMeReq) Reset() {
|
|
*x = GetMeReq{}
|
|
mi := &file_main_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMeReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMeReq) ProtoMessage() {}
|
|
|
|
func (x *GetMeReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 GetMeReq.ProtoReflect.Descriptor instead.
|
|
func (*GetMeReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
type GetMeRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMeRsp) Reset() {
|
|
*x = GetMeRsp{}
|
|
mi := &file_main_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMeRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMeRsp) ProtoMessage() {}
|
|
|
|
func (x *GetMeRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 GetMeRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetMeRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *GetMeRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMeRsp) GetUser() *User {
|
|
if x != nil {
|
|
return x.User
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddUserRoleReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddUserRoleReq) Reset() {
|
|
*x = AddUserRoleReq{}
|
|
mi := &file_main_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddUserRoleReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddUserRoleReq) ProtoMessage() {}
|
|
|
|
func (x *AddUserRoleReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 AddUserRoleReq.ProtoReflect.Descriptor instead.
|
|
func (*AddUserRoleReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *AddUserRoleReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddUserRoleReq) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddUserRoleRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddUserRoleRsp) Reset() {
|
|
*x = AddUserRoleRsp{}
|
|
mi := &file_main_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddUserRoleRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddUserRoleRsp) ProtoMessage() {}
|
|
|
|
func (x *AddUserRoleRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 AddUserRoleRsp.ProtoReflect.Descriptor instead.
|
|
func (*AddUserRoleRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *AddUserRoleRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteUserRoleReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteUserRoleReq) Reset() {
|
|
*x = DeleteUserRoleReq{}
|
|
mi := &file_main_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteUserRoleReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteUserRoleReq) ProtoMessage() {}
|
|
|
|
func (x *DeleteUserRoleReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_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 DeleteUserRoleReq.ProtoReflect.Descriptor instead.
|
|
func (*DeleteUserRoleReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *DeleteUserRoleReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeleteUserRoleReq) GetRole() string {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteUserRoleRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteUserRoleRsp) Reset() {
|
|
*x = DeleteUserRoleRsp{}
|
|
mi := &file_main_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteUserRoleRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteUserRoleRsp) ProtoMessage() {}
|
|
|
|
func (x *DeleteUserRoleRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[22]
|
|
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 DeleteUserRoleRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeleteUserRoleRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *DeleteUserRoleRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetPermissionsReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPermissionsReq) Reset() {
|
|
*x = GetPermissionsReq{}
|
|
mi := &file_main_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPermissionsReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPermissionsReq) ProtoMessage() {}
|
|
|
|
func (x *GetPermissionsReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[23]
|
|
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 GetPermissionsReq.ProtoReflect.Descriptor instead.
|
|
func (*GetPermissionsReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
type GetPermissionsRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPermissionsRsp) Reset() {
|
|
*x = GetPermissionsRsp{}
|
|
mi := &file_main_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPermissionsRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPermissionsRsp) ProtoMessage() {}
|
|
|
|
func (x *GetPermissionsRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[24]
|
|
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 GetPermissionsRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetPermissionsRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *GetPermissionsRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetPermissionsRsp) GetPermissions() []string {
|
|
if x != nil {
|
|
return x.Permissions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UploadFileReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UploadFileReq) Reset() {
|
|
*x = UploadFileReq{}
|
|
mi := &file_main_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UploadFileReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UploadFileReq) ProtoMessage() {}
|
|
|
|
func (x *UploadFileReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[25]
|
|
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 UploadFileReq.ProtoReflect.Descriptor instead.
|
|
func (*UploadFileReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *UploadFileReq) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UploadFileReq) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UploadFileRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UploadFileRsp) Reset() {
|
|
*x = UploadFileRsp{}
|
|
mi := &file_main_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UploadFileRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UploadFileRsp) ProtoMessage() {}
|
|
|
|
func (x *UploadFileRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[26]
|
|
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 UploadFileRsp.ProtoReflect.Descriptor instead.
|
|
func (*UploadFileRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *UploadFileRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UploadFileRsp) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DownloadFileReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DownloadFileReq) Reset() {
|
|
*x = DownloadFileReq{}
|
|
mi := &file_main_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DownloadFileReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DownloadFileReq) ProtoMessage() {}
|
|
|
|
func (x *DownloadFileReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[27]
|
|
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 DownloadFileReq.ProtoReflect.Descriptor instead.
|
|
func (*DownloadFileReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *DownloadFileReq) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddScenarioReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddScenarioReq) Reset() {
|
|
*x = AddScenarioReq{}
|
|
mi := &file_main_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddScenarioReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddScenarioReq) ProtoMessage() {}
|
|
|
|
func (x *AddScenarioReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[28]
|
|
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 AddScenarioReq.ProtoReflect.Descriptor instead.
|
|
func (*AddScenarioReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *AddScenarioReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddScenarioRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddScenarioRsp) Reset() {
|
|
*x = AddScenarioRsp{}
|
|
mi := &file_main_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddScenarioRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddScenarioRsp) ProtoMessage() {}
|
|
|
|
func (x *AddScenarioRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[29]
|
|
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 AddScenarioRsp.ProtoReflect.Descriptor instead.
|
|
func (*AddScenarioRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *AddScenarioRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddScenarioRsp) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetMyScenariosReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMyScenariosReq) Reset() {
|
|
*x = GetMyScenariosReq{}
|
|
mi := &file_main_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMyScenariosReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMyScenariosReq) ProtoMessage() {}
|
|
|
|
func (x *GetMyScenariosReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[30]
|
|
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 GetMyScenariosReq.ProtoReflect.Descriptor instead.
|
|
func (*GetMyScenariosReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
type GetMyScenariosRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
Scenarios []*Scenario `protobuf:"bytes,2,rep,name=scenarios,proto3" json:"scenarios,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMyScenariosRsp) Reset() {
|
|
*x = GetMyScenariosRsp{}
|
|
mi := &file_main_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMyScenariosRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMyScenariosRsp) ProtoMessage() {}
|
|
|
|
func (x *GetMyScenariosRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[31]
|
|
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 GetMyScenariosRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetMyScenariosRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *GetMyScenariosRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMyScenariosRsp) GetScenarios() []*Scenario {
|
|
if x != nil {
|
|
return x.Scenarios
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetScenarioReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScenarioReq) Reset() {
|
|
*x = GetScenarioReq{}
|
|
mi := &file_main_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScenarioReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScenarioReq) ProtoMessage() {}
|
|
|
|
func (x *GetScenarioReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[32]
|
|
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 GetScenarioReq.ProtoReflect.Descriptor instead.
|
|
func (*GetScenarioReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *GetScenarioReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetScenarioRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
Scenario *Scenario `protobuf:"bytes,2,opt,name=scenario,proto3" json:"scenario,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetScenarioRsp) Reset() {
|
|
*x = GetScenarioRsp{}
|
|
mi := &file_main_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetScenarioRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetScenarioRsp) ProtoMessage() {}
|
|
|
|
func (x *GetScenarioRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[33]
|
|
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 GetScenarioRsp.ProtoReflect.Descriptor instead.
|
|
func (*GetScenarioRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *GetScenarioRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetScenarioRsp) GetScenario() *Scenario {
|
|
if x != nil {
|
|
return x.Scenario
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Scenario struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
|
|
Image *string `protobuf:"bytes,4,opt,name=image,proto3,oneof" json:"image,omitempty"`
|
|
Story *Story `protobuf:"bytes,5,opt,name=story,proto3" json:"story,omitempty"`
|
|
Author *User `protobuf:"bytes,6,opt,name=author,proto3" json:"author,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
PublishedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=published_at,json=publishedAt,proto3" json:"published_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Scenario) Reset() {
|
|
*x = Scenario{}
|
|
mi := &file_main_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Scenario) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Scenario) ProtoMessage() {}
|
|
|
|
func (x *Scenario) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[34]
|
|
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 Scenario.ProtoReflect.Descriptor instead.
|
|
func (*Scenario) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *Scenario) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Scenario) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Scenario) GetDescription() string {
|
|
if x != nil && x.Description != nil {
|
|
return *x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Scenario) GetImage() string {
|
|
if x != nil && x.Image != nil {
|
|
return *x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Scenario) GetStory() *Story {
|
|
if x != nil {
|
|
return x.Story
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Scenario) GetAuthor() *User {
|
|
if x != nil {
|
|
return x.Author
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Scenario) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Scenario) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Scenario) GetPublishedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.PublishedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Story struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Places []*Place `protobuf:"bytes,1,rep,name=places,proto3" json:"places,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Story) Reset() {
|
|
*x = Story{}
|
|
mi := &file_main_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Story) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Story) ProtoMessage() {}
|
|
|
|
func (x *Story) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[35]
|
|
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 Story.ProtoReflect.Descriptor instead.
|
|
func (*Story) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *Story) GetPlaces() []*Place {
|
|
if x != nil {
|
|
return x.Places
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Place struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
|
|
Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
|
|
Hidden bool `protobuf:"varint,5,opt,name=hidden,proto3" json:"hidden,omitempty"`
|
|
Applications []*Application `protobuf:"bytes,6,rep,name=applications,proto3" json:"applications,omitempty"`
|
|
Doors []*Door `protobuf:"bytes,7,rep,name=doors,proto3" json:"doors,omitempty"`
|
|
Keys []*Key `protobuf:"bytes,8,rep,name=keys,proto3" json:"keys,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Place) Reset() {
|
|
*x = Place{}
|
|
mi := &file_main_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Place) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Place) ProtoMessage() {}
|
|
|
|
func (x *Place) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[36]
|
|
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 Place.ProtoReflect.Descriptor instead.
|
|
func (*Place) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *Place) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Place) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Place) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Place) GetImage() string {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Place) GetHidden() bool {
|
|
if x != nil {
|
|
return x.Hidden
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Place) GetApplications() []*Application {
|
|
if x != nil {
|
|
return x.Applications
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Place) GetDoors() []*Door {
|
|
if x != nil {
|
|
return x.Doors
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Place) GetKeys() []*Key {
|
|
if x != nil {
|
|
return x.Keys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Application struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Application) Reset() {
|
|
*x = Application{}
|
|
mi := &file_main_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Application) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Application) ProtoMessage() {}
|
|
|
|
func (x *Application) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[37]
|
|
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 Application.ProtoReflect.Descriptor instead.
|
|
func (*Application) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *Application) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Application) GetImage() string {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Door struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Keys []*Key `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Door) Reset() {
|
|
*x = Door{}
|
|
mi := &file_main_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Door) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Door) ProtoMessage() {}
|
|
|
|
func (x *Door) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[38]
|
|
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 Door.ProtoReflect.Descriptor instead.
|
|
func (*Door) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *Door) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Door) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Door) GetKeys() []*Key {
|
|
if x != nil {
|
|
return x.Keys
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Key struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Key) Reset() {
|
|
*x = Key{}
|
|
mi := &file_main_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Key) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Key) ProtoMessage() {}
|
|
|
|
func (x *Key) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[39]
|
|
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 Key.ProtoReflect.Descriptor instead.
|
|
func (*Key) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *Key) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateScenarioReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioReq) Reset() {
|
|
*x = UpdateScenarioReq{}
|
|
mi := &file_main_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[40]
|
|
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 UpdateScenarioReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *UpdateScenarioReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateScenarioReq) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateScenarioReq) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateScenarioReq) GetImage() string {
|
|
if x != nil {
|
|
return x.Image
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateScenarioRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioRsp) Reset() {
|
|
*x = UpdateScenarioRsp{}
|
|
mi := &file_main_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioRsp) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[41]
|
|
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 UpdateScenarioRsp.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *UpdateScenarioRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PublicScenarioReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublicScenarioReq) Reset() {
|
|
*x = PublicScenarioReq{}
|
|
mi := &file_main_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublicScenarioReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublicScenarioReq) ProtoMessage() {}
|
|
|
|
func (x *PublicScenarioReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[42]
|
|
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 PublicScenarioReq.ProtoReflect.Descriptor instead.
|
|
func (*PublicScenarioReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *PublicScenarioReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PublicScenarioRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublicScenarioRsp) Reset() {
|
|
*x = PublicScenarioRsp{}
|
|
mi := &file_main_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublicScenarioRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublicScenarioRsp) ProtoMessage() {}
|
|
|
|
func (x *PublicScenarioRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[43]
|
|
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 PublicScenarioRsp.ProtoReflect.Descriptor instead.
|
|
func (*PublicScenarioRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *PublicScenarioRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DraftScenarioReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DraftScenarioReq) Reset() {
|
|
*x = DraftScenarioReq{}
|
|
mi := &file_main_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DraftScenarioReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DraftScenarioReq) ProtoMessage() {}
|
|
|
|
func (x *DraftScenarioReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[44]
|
|
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 DraftScenarioReq.ProtoReflect.Descriptor instead.
|
|
func (*DraftScenarioReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *DraftScenarioReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DraftScenarioRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DraftScenarioRsp) Reset() {
|
|
*x = DraftScenarioRsp{}
|
|
mi := &file_main_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DraftScenarioRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DraftScenarioRsp) ProtoMessage() {}
|
|
|
|
func (x *DraftScenarioRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[45]
|
|
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 DraftScenarioRsp.ProtoReflect.Descriptor instead.
|
|
func (*DraftScenarioRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *DraftScenarioRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteScenarioReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteScenarioReq) Reset() {
|
|
*x = DeleteScenarioReq{}
|
|
mi := &file_main_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteScenarioReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteScenarioReq) ProtoMessage() {}
|
|
|
|
func (x *DeleteScenarioReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[46]
|
|
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 DeleteScenarioReq.ProtoReflect.Descriptor instead.
|
|
func (*DeleteScenarioReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *DeleteScenarioReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteScenarioRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteScenarioRsp) Reset() {
|
|
*x = DeleteScenarioRsp{}
|
|
mi := &file_main_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteScenarioRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteScenarioRsp) ProtoMessage() {}
|
|
|
|
func (x *DeleteScenarioRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[47]
|
|
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 DeleteScenarioRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeleteScenarioRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *DeleteScenarioRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AddScenarioPlaceReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Place *Place `protobuf:"bytes,2,opt,name=place,proto3" json:"place,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddScenarioPlaceReq) Reset() {
|
|
*x = AddScenarioPlaceReq{}
|
|
mi := &file_main_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddScenarioPlaceReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddScenarioPlaceReq) ProtoMessage() {}
|
|
|
|
func (x *AddScenarioPlaceReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[48]
|
|
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 AddScenarioPlaceReq.ProtoReflect.Descriptor instead.
|
|
func (*AddScenarioPlaceReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *AddScenarioPlaceReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddScenarioPlaceReq) GetPlace() *Place {
|
|
if x != nil {
|
|
return x.Place
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddScenarioPlaceRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddScenarioPlaceRsp) Reset() {
|
|
*x = AddScenarioPlaceRsp{}
|
|
mi := &file_main_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddScenarioPlaceRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddScenarioPlaceRsp) ProtoMessage() {}
|
|
|
|
func (x *AddScenarioPlaceRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[49]
|
|
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 AddScenarioPlaceRsp.ProtoReflect.Descriptor instead.
|
|
func (*AddScenarioPlaceRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *AddScenarioPlaceRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateScenarioPlaceReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
Place *Place `protobuf:"bytes,3,opt,name=place,proto3" json:"place,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceReq) Reset() {
|
|
*x = UpdateScenarioPlaceReq{}
|
|
mi := &file_main_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioPlaceReq) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioPlaceReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[50]
|
|
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 UpdateScenarioPlaceReq.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioPlaceReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceReq) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceReq) GetPlace() *Place {
|
|
if x != nil {
|
|
return x.Place
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateScenarioPlaceRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceRsp) Reset() {
|
|
*x = UpdateScenarioPlaceRsp{}
|
|
mi := &file_main_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateScenarioPlaceRsp) ProtoMessage() {}
|
|
|
|
func (x *UpdateScenarioPlaceRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[51]
|
|
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 UpdateScenarioPlaceRsp.ProtoReflect.Descriptor instead.
|
|
func (*UpdateScenarioPlaceRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *UpdateScenarioPlaceRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteScenarioPlaceReq struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteScenarioPlaceReq) Reset() {
|
|
*x = DeleteScenarioPlaceReq{}
|
|
mi := &file_main_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteScenarioPlaceReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteScenarioPlaceReq) ProtoMessage() {}
|
|
|
|
func (x *DeleteScenarioPlaceReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[52]
|
|
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 DeleteScenarioPlaceReq.ProtoReflect.Descriptor instead.
|
|
func (*DeleteScenarioPlaceReq) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *DeleteScenarioPlaceReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DeleteScenarioPlaceReq) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteScenarioPlaceRsp struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteScenarioPlaceRsp) Reset() {
|
|
*x = DeleteScenarioPlaceRsp{}
|
|
mi := &file_main_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteScenarioPlaceRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteScenarioPlaceRsp) ProtoMessage() {}
|
|
|
|
func (x *DeleteScenarioPlaceRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_main_proto_msgTypes[53]
|
|
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 DeleteScenarioPlaceRsp.ProtoReflect.Descriptor instead.
|
|
func (*DeleteScenarioPlaceRsp) Descriptor() ([]byte, []int) {
|
|
return file_main_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *DeleteScenarioPlaceRsp) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_main_proto protoreflect.FileDescriptor
|
|
|
|
const file_main_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\n" +
|
|
"main.proto\x12\x1ecrabs.evening_detective_server\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x19google/api/httpbody.proto\"\t\n" +
|
|
"\aPingReq\"\t\n" +
|
|
"\aPingRsp\"\x1d\n" +
|
|
"\aEchoReq\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\"\x1d\n" +
|
|
"\aEchoRsp\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\"=\n" +
|
|
"\tSignupReq\x12\x1a\n" +
|
|
"\busername\x18\x01 \x01(\tR\busername\x12\x14\n" +
|
|
"\x05email\x18\x02 \x01(\tR\x05email\"!\n" +
|
|
"\tSignupRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\"*\n" +
|
|
"\x12RefreshPasswordReq\x12\x14\n" +
|
|
"\x05email\x18\x01 \x01(\tR\x05email\"*\n" +
|
|
"\x12RefreshPasswordRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\"<\n" +
|
|
"\bLoginReq\x12\x14\n" +
|
|
"\x05email\x18\x01 \x01(\tR\x05email\x12\x1a\n" +
|
|
"\bpassword\x18\x02 \x01(\tR\bpassword\"f\n" +
|
|
"\bLoginRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\x12 \n" +
|
|
"\vaccessToken\x18\x02 \x01(\tR\vaccessToken\x12\"\n" +
|
|
"\frefreshToken\x18\x03 \x01(\tR\frefreshToken\"0\n" +
|
|
"\n" +
|
|
"RefreshReq\x12\"\n" +
|
|
"\frefreshToken\x18\x01 \x01(\tR\frefreshToken\"h\n" +
|
|
"\n" +
|
|
"RefreshRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\x12 \n" +
|
|
"\vaccessToken\x18\x02 \x01(\tR\vaccessToken\x12\"\n" +
|
|
"\frefreshToken\x18\x03 \x01(\tR\frefreshToken\"\r\n" +
|
|
"\vGetUsersReq\"_\n" +
|
|
"\vGetUsersRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\x12:\n" +
|
|
"\x05users\x18\x02 \x03(\v2$.crabs.evening_detective_server.UserR\x05users\"\xb6\x01\n" +
|
|
"\x04User\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x1a\n" +
|
|
"\busername\x18\x02 \x01(\tR\busername\x12\x14\n" +
|
|
"\x05email\x18\x03 \x01(\tR\x05email\x12\x14\n" +
|
|
"\x05roles\x18\x04 \x03(\tR\x05roles\x12\x1b\n" +
|
|
"\tis_active\x18\x05 \x01(\bR\bisActive\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\" \n" +
|
|
"\x0eGetUserByIdReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\"`\n" +
|
|
"\x0eGetUserByIdRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\x128\n" +
|
|
"\x04user\x18\x02 \x01(\v2$.crabs.evening_detective_server.UserR\x04user\"\n" +
|
|
"\n" +
|
|
"\bGetMeReq\"Z\n" +
|
|
"\bGetMeRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\x128\n" +
|
|
"\x04user\x18\x02 \x01(\v2$.crabs.evening_detective_server.UserR\x04user\"4\n" +
|
|
"\x0eAddUserRoleReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x12\n" +
|
|
"\x04role\x18\x02 \x01(\tR\x04role\"&\n" +
|
|
"\x0eAddUserRoleRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\"7\n" +
|
|
"\x11DeleteUserRoleReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x12\n" +
|
|
"\x04role\x18\x02 \x01(\tR\x04role\")\n" +
|
|
"\x11DeleteUserRoleRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\"\x13\n" +
|
|
"\x11GetPermissionsReq\"K\n" +
|
|
"\x11GetPermissionsRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\x12 \n" +
|
|
"\vpermissions\x18\x02 \x03(\tR\vpermissions\"?\n" +
|
|
"\rUploadFileReq\x12\x1a\n" +
|
|
"\bfilename\x18\x01 \x01(\tR\bfilename\x12\x12\n" +
|
|
"\x04data\x18\x02 \x01(\fR\x04data\"A\n" +
|
|
"\rUploadFileRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\x12\x1a\n" +
|
|
"\bfilename\x18\x02 \x01(\tR\bfilename\"-\n" +
|
|
"\x0fDownloadFileReq\x12\x1a\n" +
|
|
"\bfilename\x18\x01 \x01(\tR\bfilename\"$\n" +
|
|
"\x0eAddScenarioReq\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"6\n" +
|
|
"\x0eAddScenarioRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\x12\x0e\n" +
|
|
"\x02id\x18\x02 \x01(\x05R\x02id\"\x13\n" +
|
|
"\x11GetMyScenariosReq\"q\n" +
|
|
"\x11GetMyScenariosRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\x12F\n" +
|
|
"\tscenarios\x18\x02 \x03(\v2(.crabs.evening_detective_server.ScenarioR\tscenarios\" \n" +
|
|
"\x0eGetScenarioReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\"l\n" +
|
|
"\x0eGetScenarioRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\x12D\n" +
|
|
"\bscenario\x18\x02 \x01(\v2(.crabs.evening_detective_server.ScenarioR\bscenario\"\xba\x03\n" +
|
|
"\bScenario\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12%\n" +
|
|
"\vdescription\x18\x03 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x19\n" +
|
|
"\x05image\x18\x04 \x01(\tH\x01R\x05image\x88\x01\x01\x12;\n" +
|
|
"\x05story\x18\x05 \x01(\v2%.crabs.evening_detective_server.StoryR\x05story\x12<\n" +
|
|
"\x06author\x18\x06 \x01(\v2$.crabs.evening_detective_server.UserR\x06author\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12=\n" +
|
|
"\fpublished_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\vpublishedAtB\x0e\n" +
|
|
"\f_descriptionB\b\n" +
|
|
"\x06_image\"F\n" +
|
|
"\x05Story\x12=\n" +
|
|
"\x06places\x18\x01 \x03(\v2%.crabs.evening_detective_server.PlaceR\x06places\"\xb7\x02\n" +
|
|
"\x05Place\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04text\x18\x03 \x01(\tR\x04text\x12\x14\n" +
|
|
"\x05image\x18\x04 \x01(\tR\x05image\x12\x16\n" +
|
|
"\x06hidden\x18\x05 \x01(\bR\x06hidden\x12O\n" +
|
|
"\fapplications\x18\x06 \x03(\v2+.crabs.evening_detective_server.ApplicationR\fapplications\x12:\n" +
|
|
"\x05doors\x18\a \x03(\v2$.crabs.evening_detective_server.DoorR\x05doors\x127\n" +
|
|
"\x04keys\x18\b \x03(\v2#.crabs.evening_detective_server.KeyR\x04keys\"7\n" +
|
|
"\vApplication\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
|
|
"\x05image\x18\x02 \x01(\tR\x05image\"g\n" +
|
|
"\x04Door\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\tR\x04code\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x127\n" +
|
|
"\x04keys\x18\x03 \x03(\v2#.crabs.evening_detective_server.KeyR\x04keys\"\x19\n" +
|
|
"\x03Key\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\"o\n" +
|
|
"\x11UpdateScenarioReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x14\n" +
|
|
"\x05image\x18\x04 \x01(\tR\x05image\")\n" +
|
|
"\x11UpdateScenarioRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\"#\n" +
|
|
"\x11PublicScenarioReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\")\n" +
|
|
"\x11PublicScenarioRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\"\"\n" +
|
|
"\x10DraftScenarioReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\"(\n" +
|
|
"\x10DraftScenarioRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\"#\n" +
|
|
"\x11DeleteScenarioReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\")\n" +
|
|
"\x11DeleteScenarioRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\"b\n" +
|
|
"\x13AddScenarioPlaceReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12;\n" +
|
|
"\x05place\x18\x02 \x01(\v2%.crabs.evening_detective_server.PlaceR\x05place\"+\n" +
|
|
"\x13AddScenarioPlaceRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\"y\n" +
|
|
"\x16UpdateScenarioPlaceReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x12\n" +
|
|
"\x04code\x18\x02 \x01(\tR\x04code\x12;\n" +
|
|
"\x05place\x18\x03 \x01(\v2%.crabs.evening_detective_server.PlaceR\x05place\".\n" +
|
|
"\x16UpdateScenarioPlaceRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error\"<\n" +
|
|
"\x16DeleteScenarioPlaceReq\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x12\n" +
|
|
"\x04code\x18\x02 \x01(\tR\x04code\".\n" +
|
|
"\x16DeleteScenarioPlaceRsp\x12\x14\n" +
|
|
"\x05error\x18\x01 \x01(\tR\x05error2\xe1(\n" +
|
|
"\x16EveningDetectiveServer\x12\xa6\x01\n" +
|
|
"\x04Ping\x12'.crabs.evening_detective_server.PingReq\x1a'.crabs.evening_detective_server.PingRsp\"L\x92A3\x12)Проверить доступностьb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x10\x12\x0e/api/test/ping\x12\xaf\x01\n" +
|
|
"\x04Echo\x12'.crabs.evening_detective_server.EchoReq\x1a'.crabs.evening_detective_server.EchoRsp\"U\x92A<\x122Проверить обработку данныхb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x10\"\x0e/api/test/echo\x12\xd0\x01\n" +
|
|
"\x06Signup\x12).crabs.evening_detective_server.SignupReq\x1a).crabs.evening_detective_server.SignupRsp\"p\x92AR\n" +
|
|
"\"Регистрация и вход\x12$Зарегистрироватьсяb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x15:\x01*\"\x10/api/auth/signup\x12\xee\x01\n" +
|
|
"\x0fRefreshPassword\x122.crabs.evening_detective_server.RefreshPasswordReq\x1a2.crabs.evening_detective_server.RefreshPasswordRsp\"s\x92AK\n" +
|
|
"\"Регистрация и вход\x12\x1dОбновить парольb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/api/auth/refresh-password\x12\xe3\x01\n" +
|
|
"\x05Login\x12(.crabs.evening_detective_server.LoginReq\x1a(.crabs.evening_detective_server.LoginRsp\"\x85\x01\x92Ah\n" +
|
|
"\"Регистрация и вход\x12:Войти и получить токена доступаb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x14:\x01*\"\x0f/api/auth/login\x12\xdc\x01\n" +
|
|
"\aRefresh\x12*.crabs.evening_detective_server.RefreshReq\x1a*.crabs.evening_detective_server.RefreshRsp\"y\x92AZ\n" +
|
|
"\"Регистрация и вход\x12,Обновить токена доступаb\x06\n" +
|
|
"\x04\n" +
|
|
"\x00\x12\x00\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/api/auth/refresh\x12\xcb\x01\n" +
|
|
"\bGetUsers\x12+.crabs.evening_detective_server.GetUsersReq\x1a+.crabs.evening_detective_server.GetUsersRsp\"e\x92AP\n" +
|
|
"\x18Пользователи\x124Получить всех пользователей\x82\xd3\xe4\x93\x02\f\x12\n" +
|
|
"/api/users\x12\xd6\x01\n" +
|
|
"\vGetUserById\x12..crabs.evening_detective_server.GetUserByIdReq\x1a..crabs.evening_detective_server.GetUserByIdRsp\"g\x92AM\n" +
|
|
"\x18Пользователи\x121Получить пользователя по id\x82\xd3\xe4\x93\x02\x11\x12\x0f/api/users/{id}\x12\xc2\x01\n" +
|
|
"\x05GetMe\x12(.crabs.evening_detective_server.GetMeReq\x1a(.crabs.evening_detective_server.GetMeRsp\"e\x92AM\n" +
|
|
"\x18Пользователи\x121Получить информацию о себе\x82\xd3\xe4\x93\x02\x0f\x12\r/api/users/me\x12\xe3\x01\n" +
|
|
"\vAddUserRole\x12..crabs.evening_detective_server.AddUserRoleReq\x1a..crabs.evening_detective_server.AddUserRoleRsp\"t\x92AN\n" +
|
|
"\x18Пользователи\x122Добавить пользователю роль\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/api/users/{id}/role/add\x12\xf0\x01\n" +
|
|
"\x0eDeleteUserRole\x121.crabs.evening_detective_server.DeleteUserRoleReq\x1a1.crabs.evening_detective_server.DeleteUserRoleRsp\"x\x92AO\n" +
|
|
"\x18Пользователи\x123Забрать у пользователя роль\x82\xd3\xe4\x93\x02 :\x01*\"\x1b/api/users/{id}/role/delete\x12\x81\x02\n" +
|
|
"\x0eGetPermissions\x121.crabs.evening_detective_server.GetPermissionsReq\x1a1.crabs.evening_detective_server.GetPermissionsRsp\"\x88\x01\x92Aj\n" +
|
|
"\x0eДоступы\x12XПолучить список доступных элементов интерфейса\x82\xd3\xe4\x93\x02\x15\x12\x13/api/ui/permissions\x12\xb4\x01\n" +
|
|
"\n" +
|
|
"UploadFile\x12-.crabs.evening_detective_server.UploadFileReq\x1a-.crabs.evening_detective_server.UploadFileRsp\"H\x92A)\n" +
|
|
"\n" +
|
|
"Файлы\x12\x1bЗагрузить файл\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/api/files/upload\x12\x9e\x01\n" +
|
|
"\fDownloadFile\x12/.crabs.evening_detective_server.DownloadFileReq\x1a\x14.google.api.HttpBody\"G\x92A'\n" +
|
|
"\n" +
|
|
"Файлы\x12\x19Получить файл\x82\xd3\xe4\x93\x02\x17\x12\x15/api/files/{filename}\x12\xbd\x01\n" +
|
|
"\vAddScenario\x12..crabs.evening_detective_server.AddScenarioReq\x1a..crabs.evening_detective_server.AddScenarioRsp\"N\x92A3\n" +
|
|
"\x10Сценарии\x12\x1fСоздать сценарий\x82\xd3\xe4\x93\x02\x12:\x01*\"\r/api/scenario\x12\xd2\x01\n" +
|
|
"\x0eGetMyScenarios\x121.crabs.evening_detective_server.GetMyScenariosReq\x1a1.crabs.evening_detective_server.GetMyScenariosRsp\"Z\x92A>\n" +
|
|
"\x10Сценарии\x12*Получить свои сценарии\x82\xd3\xe4\x93\x02\x13\x12\x11/api/my-scenarios\x12\xca\x01\n" +
|
|
"\vGetScenario\x12..crabs.evening_detective_server.GetScenarioReq\x1a..crabs.evening_detective_server.GetScenarioRsp\"[\x92A=\n" +
|
|
"\x10Сценарии\x12)Получить сценарий по id\x82\xd3\xe4\x93\x02\x15\x12\x13/api/scenarios/{id}\x12\xd8\x01\n" +
|
|
"\x0eUpdateScenario\x121.crabs.evening_detective_server.UpdateScenarioReq\x1a1.crabs.evening_detective_server.UpdateScenarioRsp\"`\x92A?\n" +
|
|
"\x10Сценарии\x12+Редактировать сценарий\x82\xd3\xe4\x93\x02\x18:\x01*\x1a\x13/api/scenarios/{id}\x12\xdd\x01\n" +
|
|
"\x0ePublicScenario\x121.crabs.evening_detective_server.PublicScenarioReq\x1a1.crabs.evening_detective_server.PublicScenarioRsp\"e\x92A=\n" +
|
|
"\x10Сценарии\x12)Опубликовать сценарий\x82\xd3\xe4\x93\x02\x1f:\x01*\x1a\x1a/api/scenarios/{id}/public\x12\xe3\x01\n" +
|
|
"\rDraftScenario\x120.crabs.evening_detective_server.DraftScenarioReq\x1a0.crabs.evening_detective_server.DraftScenarioRsp\"n\x92AG\n" +
|
|
"\x10Сценарии\x123Снять с публикации сценарий\x82\xd3\xe4\x93\x02\x1e:\x01*\x1a\x19/api/scenarios/{id}/draft\x12\xc9\x01\n" +
|
|
"\x0eDeleteScenario\x121.crabs.evening_detective_server.DeleteScenarioReq\x1a1.crabs.evening_detective_server.DeleteScenarioRsp\"Q\x92A3\n" +
|
|
"\x10Сценарии\x12\x1fУдалить сценарий\x82\xd3\xe4\x93\x02\x15*\x13/api/scenarios/{id}\x12\xef\x01\n" +
|
|
"\x10AddScenarioPlace\x123.crabs.evening_detective_server.AddScenarioPlaceReq\x1a3.crabs.evening_detective_server.AddScenarioPlaceRsp\"q\x92AI\n" +
|
|
"\x1bТочки сценария\x12*Создать точку сценария\x82\xd3\xe4\x93\x02\x1f:\x01*\"\x1a/api/scenarios/{id}/places\x12\x81\x02\n" +
|
|
"\x13UpdateScenarioPlace\x126.crabs.evening_detective_server.UpdateScenarioPlaceReq\x1a6.crabs.evening_detective_server.UpdateScenarioPlaceRsp\"z\x92AK\n" +
|
|
"\x1bТочки сценария\x12,Обновить точку сценария\x82\xd3\xe4\x93\x02&:\x01*\x1a!/api/scenarios/{id}/places/{code}\x12\xfc\x01\n" +
|
|
"\x13DeleteScenarioPlace\x126.crabs.evening_detective_server.DeleteScenarioPlaceReq\x1a6.crabs.evening_detective_server.DeleteScenarioPlaceRsp\"u\x92AI\n" +
|
|
"\x1bТочки сценария\x12*Удалить точку сценария\x82\xd3\xe4\x93\x02#*!/api/scenarios/{id}/places/{code}B\xd7\x01\x92A\xc8\x01\x12U\n" +
|
|
"KДокументация сервиса \"Вечерний детектив\"2\x06v0.1.0Z]\n" +
|
|
"[\n" +
|
|
"\n" +
|
|
"BearerAuth\x12M\b\x02\x128Authentication token, prefixed by Bearer: Bearer <token>\x1a\rAuthorization \x02b\x10\n" +
|
|
"\x0e\n" +
|
|
"\n" +
|
|
"BearerAuth\x12\x00Z\tpkg/protob\x06proto3"
|
|
|
|
var (
|
|
file_main_proto_rawDescOnce sync.Once
|
|
file_main_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_main_proto_rawDescGZIP() []byte {
|
|
file_main_proto_rawDescOnce.Do(func() {
|
|
file_main_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_main_proto_rawDesc), len(file_main_proto_rawDesc)))
|
|
})
|
|
return file_main_proto_rawDescData
|
|
}
|
|
|
|
var file_main_proto_msgTypes = make([]protoimpl.MessageInfo, 54)
|
|
var file_main_proto_goTypes = []any{
|
|
(*PingReq)(nil), // 0: crabs.evening_detective_server.PingReq
|
|
(*PingRsp)(nil), // 1: crabs.evening_detective_server.PingRsp
|
|
(*EchoReq)(nil), // 2: crabs.evening_detective_server.EchoReq
|
|
(*EchoRsp)(nil), // 3: crabs.evening_detective_server.EchoRsp
|
|
(*SignupReq)(nil), // 4: crabs.evening_detective_server.SignupReq
|
|
(*SignupRsp)(nil), // 5: crabs.evening_detective_server.SignupRsp
|
|
(*RefreshPasswordReq)(nil), // 6: crabs.evening_detective_server.RefreshPasswordReq
|
|
(*RefreshPasswordRsp)(nil), // 7: crabs.evening_detective_server.RefreshPasswordRsp
|
|
(*LoginReq)(nil), // 8: crabs.evening_detective_server.LoginReq
|
|
(*LoginRsp)(nil), // 9: crabs.evening_detective_server.LoginRsp
|
|
(*RefreshReq)(nil), // 10: crabs.evening_detective_server.RefreshReq
|
|
(*RefreshRsp)(nil), // 11: crabs.evening_detective_server.RefreshRsp
|
|
(*GetUsersReq)(nil), // 12: crabs.evening_detective_server.GetUsersReq
|
|
(*GetUsersRsp)(nil), // 13: crabs.evening_detective_server.GetUsersRsp
|
|
(*User)(nil), // 14: crabs.evening_detective_server.User
|
|
(*GetUserByIdReq)(nil), // 15: crabs.evening_detective_server.GetUserByIdReq
|
|
(*GetUserByIdRsp)(nil), // 16: crabs.evening_detective_server.GetUserByIdRsp
|
|
(*GetMeReq)(nil), // 17: crabs.evening_detective_server.GetMeReq
|
|
(*GetMeRsp)(nil), // 18: crabs.evening_detective_server.GetMeRsp
|
|
(*AddUserRoleReq)(nil), // 19: crabs.evening_detective_server.AddUserRoleReq
|
|
(*AddUserRoleRsp)(nil), // 20: crabs.evening_detective_server.AddUserRoleRsp
|
|
(*DeleteUserRoleReq)(nil), // 21: crabs.evening_detective_server.DeleteUserRoleReq
|
|
(*DeleteUserRoleRsp)(nil), // 22: crabs.evening_detective_server.DeleteUserRoleRsp
|
|
(*GetPermissionsReq)(nil), // 23: crabs.evening_detective_server.GetPermissionsReq
|
|
(*GetPermissionsRsp)(nil), // 24: crabs.evening_detective_server.GetPermissionsRsp
|
|
(*UploadFileReq)(nil), // 25: crabs.evening_detective_server.UploadFileReq
|
|
(*UploadFileRsp)(nil), // 26: crabs.evening_detective_server.UploadFileRsp
|
|
(*DownloadFileReq)(nil), // 27: crabs.evening_detective_server.DownloadFileReq
|
|
(*AddScenarioReq)(nil), // 28: crabs.evening_detective_server.AddScenarioReq
|
|
(*AddScenarioRsp)(nil), // 29: crabs.evening_detective_server.AddScenarioRsp
|
|
(*GetMyScenariosReq)(nil), // 30: crabs.evening_detective_server.GetMyScenariosReq
|
|
(*GetMyScenariosRsp)(nil), // 31: crabs.evening_detective_server.GetMyScenariosRsp
|
|
(*GetScenarioReq)(nil), // 32: crabs.evening_detective_server.GetScenarioReq
|
|
(*GetScenarioRsp)(nil), // 33: crabs.evening_detective_server.GetScenarioRsp
|
|
(*Scenario)(nil), // 34: crabs.evening_detective_server.Scenario
|
|
(*Story)(nil), // 35: crabs.evening_detective_server.Story
|
|
(*Place)(nil), // 36: crabs.evening_detective_server.Place
|
|
(*Application)(nil), // 37: crabs.evening_detective_server.Application
|
|
(*Door)(nil), // 38: crabs.evening_detective_server.Door
|
|
(*Key)(nil), // 39: crabs.evening_detective_server.Key
|
|
(*UpdateScenarioReq)(nil), // 40: crabs.evening_detective_server.UpdateScenarioReq
|
|
(*UpdateScenarioRsp)(nil), // 41: crabs.evening_detective_server.UpdateScenarioRsp
|
|
(*PublicScenarioReq)(nil), // 42: crabs.evening_detective_server.PublicScenarioReq
|
|
(*PublicScenarioRsp)(nil), // 43: crabs.evening_detective_server.PublicScenarioRsp
|
|
(*DraftScenarioReq)(nil), // 44: crabs.evening_detective_server.DraftScenarioReq
|
|
(*DraftScenarioRsp)(nil), // 45: crabs.evening_detective_server.DraftScenarioRsp
|
|
(*DeleteScenarioReq)(nil), // 46: crabs.evening_detective_server.DeleteScenarioReq
|
|
(*DeleteScenarioRsp)(nil), // 47: crabs.evening_detective_server.DeleteScenarioRsp
|
|
(*AddScenarioPlaceReq)(nil), // 48: crabs.evening_detective_server.AddScenarioPlaceReq
|
|
(*AddScenarioPlaceRsp)(nil), // 49: crabs.evening_detective_server.AddScenarioPlaceRsp
|
|
(*UpdateScenarioPlaceReq)(nil), // 50: crabs.evening_detective_server.UpdateScenarioPlaceReq
|
|
(*UpdateScenarioPlaceRsp)(nil), // 51: crabs.evening_detective_server.UpdateScenarioPlaceRsp
|
|
(*DeleteScenarioPlaceReq)(nil), // 52: crabs.evening_detective_server.DeleteScenarioPlaceReq
|
|
(*DeleteScenarioPlaceRsp)(nil), // 53: crabs.evening_detective_server.DeleteScenarioPlaceRsp
|
|
(*timestamppb.Timestamp)(nil), // 54: google.protobuf.Timestamp
|
|
(*httpbody.HttpBody)(nil), // 55: google.api.HttpBody
|
|
}
|
|
var file_main_proto_depIdxs = []int32{
|
|
14, // 0: crabs.evening_detective_server.GetUsersRsp.users:type_name -> crabs.evening_detective_server.User
|
|
54, // 1: crabs.evening_detective_server.User.created_at:type_name -> google.protobuf.Timestamp
|
|
14, // 2: crabs.evening_detective_server.GetUserByIdRsp.user:type_name -> crabs.evening_detective_server.User
|
|
14, // 3: crabs.evening_detective_server.GetMeRsp.user:type_name -> crabs.evening_detective_server.User
|
|
34, // 4: crabs.evening_detective_server.GetMyScenariosRsp.scenarios:type_name -> crabs.evening_detective_server.Scenario
|
|
34, // 5: crabs.evening_detective_server.GetScenarioRsp.scenario:type_name -> crabs.evening_detective_server.Scenario
|
|
35, // 6: crabs.evening_detective_server.Scenario.story:type_name -> crabs.evening_detective_server.Story
|
|
14, // 7: crabs.evening_detective_server.Scenario.author:type_name -> crabs.evening_detective_server.User
|
|
54, // 8: crabs.evening_detective_server.Scenario.updated_at:type_name -> google.protobuf.Timestamp
|
|
54, // 9: crabs.evening_detective_server.Scenario.created_at:type_name -> google.protobuf.Timestamp
|
|
54, // 10: crabs.evening_detective_server.Scenario.published_at:type_name -> google.protobuf.Timestamp
|
|
36, // 11: crabs.evening_detective_server.Story.places:type_name -> crabs.evening_detective_server.Place
|
|
37, // 12: crabs.evening_detective_server.Place.applications:type_name -> crabs.evening_detective_server.Application
|
|
38, // 13: crabs.evening_detective_server.Place.doors:type_name -> crabs.evening_detective_server.Door
|
|
39, // 14: crabs.evening_detective_server.Place.keys:type_name -> crabs.evening_detective_server.Key
|
|
39, // 15: crabs.evening_detective_server.Door.keys:type_name -> crabs.evening_detective_server.Key
|
|
36, // 16: crabs.evening_detective_server.AddScenarioPlaceReq.place:type_name -> crabs.evening_detective_server.Place
|
|
36, // 17: crabs.evening_detective_server.UpdateScenarioPlaceReq.place:type_name -> crabs.evening_detective_server.Place
|
|
0, // 18: crabs.evening_detective_server.EveningDetectiveServer.Ping:input_type -> crabs.evening_detective_server.PingReq
|
|
2, // 19: crabs.evening_detective_server.EveningDetectiveServer.Echo:input_type -> crabs.evening_detective_server.EchoReq
|
|
4, // 20: crabs.evening_detective_server.EveningDetectiveServer.Signup:input_type -> crabs.evening_detective_server.SignupReq
|
|
6, // 21: crabs.evening_detective_server.EveningDetectiveServer.RefreshPassword:input_type -> crabs.evening_detective_server.RefreshPasswordReq
|
|
8, // 22: crabs.evening_detective_server.EveningDetectiveServer.Login:input_type -> crabs.evening_detective_server.LoginReq
|
|
10, // 23: crabs.evening_detective_server.EveningDetectiveServer.Refresh:input_type -> crabs.evening_detective_server.RefreshReq
|
|
12, // 24: crabs.evening_detective_server.EveningDetectiveServer.GetUsers:input_type -> crabs.evening_detective_server.GetUsersReq
|
|
15, // 25: crabs.evening_detective_server.EveningDetectiveServer.GetUserById:input_type -> crabs.evening_detective_server.GetUserByIdReq
|
|
17, // 26: crabs.evening_detective_server.EveningDetectiveServer.GetMe:input_type -> crabs.evening_detective_server.GetMeReq
|
|
19, // 27: crabs.evening_detective_server.EveningDetectiveServer.AddUserRole:input_type -> crabs.evening_detective_server.AddUserRoleReq
|
|
21, // 28: crabs.evening_detective_server.EveningDetectiveServer.DeleteUserRole:input_type -> crabs.evening_detective_server.DeleteUserRoleReq
|
|
23, // 29: crabs.evening_detective_server.EveningDetectiveServer.GetPermissions:input_type -> crabs.evening_detective_server.GetPermissionsReq
|
|
25, // 30: crabs.evening_detective_server.EveningDetectiveServer.UploadFile:input_type -> crabs.evening_detective_server.UploadFileReq
|
|
27, // 31: crabs.evening_detective_server.EveningDetectiveServer.DownloadFile:input_type -> crabs.evening_detective_server.DownloadFileReq
|
|
28, // 32: crabs.evening_detective_server.EveningDetectiveServer.AddScenario:input_type -> crabs.evening_detective_server.AddScenarioReq
|
|
30, // 33: crabs.evening_detective_server.EveningDetectiveServer.GetMyScenarios:input_type -> crabs.evening_detective_server.GetMyScenariosReq
|
|
32, // 34: crabs.evening_detective_server.EveningDetectiveServer.GetScenario:input_type -> crabs.evening_detective_server.GetScenarioReq
|
|
40, // 35: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenario:input_type -> crabs.evening_detective_server.UpdateScenarioReq
|
|
42, // 36: crabs.evening_detective_server.EveningDetectiveServer.PublicScenario:input_type -> crabs.evening_detective_server.PublicScenarioReq
|
|
44, // 37: crabs.evening_detective_server.EveningDetectiveServer.DraftScenario:input_type -> crabs.evening_detective_server.DraftScenarioReq
|
|
46, // 38: crabs.evening_detective_server.EveningDetectiveServer.DeleteScenario:input_type -> crabs.evening_detective_server.DeleteScenarioReq
|
|
48, // 39: crabs.evening_detective_server.EveningDetectiveServer.AddScenarioPlace:input_type -> crabs.evening_detective_server.AddScenarioPlaceReq
|
|
50, // 40: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenarioPlace:input_type -> crabs.evening_detective_server.UpdateScenarioPlaceReq
|
|
52, // 41: crabs.evening_detective_server.EveningDetectiveServer.DeleteScenarioPlace:input_type -> crabs.evening_detective_server.DeleteScenarioPlaceReq
|
|
1, // 42: crabs.evening_detective_server.EveningDetectiveServer.Ping:output_type -> crabs.evening_detective_server.PingRsp
|
|
3, // 43: crabs.evening_detective_server.EveningDetectiveServer.Echo:output_type -> crabs.evening_detective_server.EchoRsp
|
|
5, // 44: crabs.evening_detective_server.EveningDetectiveServer.Signup:output_type -> crabs.evening_detective_server.SignupRsp
|
|
7, // 45: crabs.evening_detective_server.EveningDetectiveServer.RefreshPassword:output_type -> crabs.evening_detective_server.RefreshPasswordRsp
|
|
9, // 46: crabs.evening_detective_server.EveningDetectiveServer.Login:output_type -> crabs.evening_detective_server.LoginRsp
|
|
11, // 47: crabs.evening_detective_server.EveningDetectiveServer.Refresh:output_type -> crabs.evening_detective_server.RefreshRsp
|
|
13, // 48: crabs.evening_detective_server.EveningDetectiveServer.GetUsers:output_type -> crabs.evening_detective_server.GetUsersRsp
|
|
16, // 49: crabs.evening_detective_server.EveningDetectiveServer.GetUserById:output_type -> crabs.evening_detective_server.GetUserByIdRsp
|
|
18, // 50: crabs.evening_detective_server.EveningDetectiveServer.GetMe:output_type -> crabs.evening_detective_server.GetMeRsp
|
|
20, // 51: crabs.evening_detective_server.EveningDetectiveServer.AddUserRole:output_type -> crabs.evening_detective_server.AddUserRoleRsp
|
|
22, // 52: crabs.evening_detective_server.EveningDetectiveServer.DeleteUserRole:output_type -> crabs.evening_detective_server.DeleteUserRoleRsp
|
|
24, // 53: crabs.evening_detective_server.EveningDetectiveServer.GetPermissions:output_type -> crabs.evening_detective_server.GetPermissionsRsp
|
|
26, // 54: crabs.evening_detective_server.EveningDetectiveServer.UploadFile:output_type -> crabs.evening_detective_server.UploadFileRsp
|
|
55, // 55: crabs.evening_detective_server.EveningDetectiveServer.DownloadFile:output_type -> google.api.HttpBody
|
|
29, // 56: crabs.evening_detective_server.EveningDetectiveServer.AddScenario:output_type -> crabs.evening_detective_server.AddScenarioRsp
|
|
31, // 57: crabs.evening_detective_server.EveningDetectiveServer.GetMyScenarios:output_type -> crabs.evening_detective_server.GetMyScenariosRsp
|
|
33, // 58: crabs.evening_detective_server.EveningDetectiveServer.GetScenario:output_type -> crabs.evening_detective_server.GetScenarioRsp
|
|
41, // 59: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenario:output_type -> crabs.evening_detective_server.UpdateScenarioRsp
|
|
43, // 60: crabs.evening_detective_server.EveningDetectiveServer.PublicScenario:output_type -> crabs.evening_detective_server.PublicScenarioRsp
|
|
45, // 61: crabs.evening_detective_server.EveningDetectiveServer.DraftScenario:output_type -> crabs.evening_detective_server.DraftScenarioRsp
|
|
47, // 62: crabs.evening_detective_server.EveningDetectiveServer.DeleteScenario:output_type -> crabs.evening_detective_server.DeleteScenarioRsp
|
|
49, // 63: crabs.evening_detective_server.EveningDetectiveServer.AddScenarioPlace:output_type -> crabs.evening_detective_server.AddScenarioPlaceRsp
|
|
51, // 64: crabs.evening_detective_server.EveningDetectiveServer.UpdateScenarioPlace:output_type -> crabs.evening_detective_server.UpdateScenarioPlaceRsp
|
|
53, // 65: crabs.evening_detective_server.EveningDetectiveServer.DeleteScenarioPlace:output_type -> crabs.evening_detective_server.DeleteScenarioPlaceRsp
|
|
42, // [42:66] is the sub-list for method output_type
|
|
18, // [18:42] is the sub-list for method input_type
|
|
18, // [18:18] is the sub-list for extension type_name
|
|
18, // [18:18] is the sub-list for extension extendee
|
|
0, // [0:18] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_main_proto_init() }
|
|
func file_main_proto_init() {
|
|
if File_main_proto != nil {
|
|
return
|
|
}
|
|
file_main_proto_msgTypes[34].OneofWrappers = []any{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_main_proto_rawDesc), len(file_main_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 54,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_main_proto_goTypes,
|
|
DependencyIndexes: file_main_proto_depIdxs,
|
|
MessageInfos: file_main_proto_msgTypes,
|
|
}.Build()
|
|
File_main_proto = out.File
|
|
file_main_proto_goTypes = nil
|
|
file_main_proto_depIdxs = nil
|
|
}
|