|
|
@@ -7,12 +7,11 @@
|
|
|
package base
|
|
|
|
|
|
import (
|
|
|
- common "git.ikuban.com/server/pw-protobuf/api/common"
|
|
|
+ _ "git.ikuban.com/server/pw-protobuf/api/common"
|
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
reflect "reflect"
|
|
|
- sync "sync"
|
|
|
)
|
|
|
|
|
|
const (
|
|
|
@@ -22,335 +21,6 @@ const (
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
)
|
|
|
|
|
|
-type CheckTextRequest struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text"` // 待审核的文本
|
|
|
-}
|
|
|
-
|
|
|
-func (x *CheckTextRequest) Reset() {
|
|
|
- *x = CheckTextRequest{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_base_proto_msgTypes[0]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *CheckTextRequest) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*CheckTextRequest) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *CheckTextRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_base_proto_msgTypes[0]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use CheckTextRequest.ProtoReflect.Descriptor instead.
|
|
|
-func (*CheckTextRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_base_proto_rawDescGZIP(), []int{0}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *CheckTextRequest) GetText() string {
|
|
|
- if x != nil {
|
|
|
- return x.Text
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type CheckTextReply struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- IsPass bool `protobuf:"varint,1,opt,name=isPass,proto3" json:"isPass"` // 是否通过
|
|
|
-}
|
|
|
-
|
|
|
-func (x *CheckTextReply) Reset() {
|
|
|
- *x = CheckTextReply{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_base_proto_msgTypes[1]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *CheckTextReply) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*CheckTextReply) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *CheckTextReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_base_proto_msgTypes[1]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use CheckTextReply.ProtoReflect.Descriptor instead.
|
|
|
-func (*CheckTextReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_base_proto_rawDescGZIP(), []int{1}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *CheckTextReply) GetIsPass() bool {
|
|
|
- if x != nil {
|
|
|
- return x.IsPass
|
|
|
- }
|
|
|
- return false
|
|
|
-}
|
|
|
-
|
|
|
-type MediaID struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- MediaId string `protobuf:"bytes,1,opt,name=mediaId,proto3" json:"mediaId"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *MediaID) Reset() {
|
|
|
- *x = MediaID{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_base_proto_msgTypes[2]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *MediaID) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*MediaID) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *MediaID) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_base_proto_msgTypes[2]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use MediaID.ProtoReflect.Descriptor instead.
|
|
|
-func (*MediaID) Descriptor() ([]byte, []int) {
|
|
|
- return file_base_proto_rawDescGZIP(), []int{2}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *MediaID) GetMediaId() string {
|
|
|
- if x != nil {
|
|
|
- return x.MediaId
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type MaterialLink struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *MaterialLink) Reset() {
|
|
|
- *x = MaterialLink{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_base_proto_msgTypes[3]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *MaterialLink) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*MaterialLink) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *MaterialLink) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_base_proto_msgTypes[3]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use MaterialLink.ProtoReflect.Descriptor instead.
|
|
|
-func (*MaterialLink) Descriptor() ([]byte, []int) {
|
|
|
- return file_base_proto_rawDescGZIP(), []int{3}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *MaterialLink) GetLink() string {
|
|
|
- if x != nil {
|
|
|
- return x.Link
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type RandomNicknameReply struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *RandomNicknameReply) Reset() {
|
|
|
- *x = RandomNicknameReply{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_base_proto_msgTypes[4]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *RandomNicknameReply) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*RandomNicknameReply) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *RandomNicknameReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_base_proto_msgTypes[4]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use RandomNicknameReply.ProtoReflect.Descriptor instead.
|
|
|
-func (*RandomNicknameReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_base_proto_rawDescGZIP(), []int{4}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *RandomNicknameReply) GetNickname() string {
|
|
|
- if x != nil {
|
|
|
- return x.Nickname
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type RandomAvatarReply struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- AvatarUrl string `protobuf:"bytes,1,opt,name=avatarUrl,proto3" json:"avatarUrl"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *RandomAvatarReply) Reset() {
|
|
|
- *x = RandomAvatarReply{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_base_proto_msgTypes[5]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *RandomAvatarReply) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*RandomAvatarReply) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *RandomAvatarReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_base_proto_msgTypes[5]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use RandomAvatarReply.ProtoReflect.Descriptor instead.
|
|
|
-func (*RandomAvatarReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_base_proto_rawDescGZIP(), []int{5}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *RandomAvatarReply) GetAvatarUrl() string {
|
|
|
- if x != nil {
|
|
|
- return x.AvatarUrl
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type RandomAvatarListReply struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *RandomAvatarListReply) Reset() {
|
|
|
- *x = RandomAvatarListReply{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_base_proto_msgTypes[6]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *RandomAvatarListReply) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*RandomAvatarListReply) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *RandomAvatarListReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_base_proto_msgTypes[6]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use RandomAvatarListReply.ProtoReflect.Descriptor instead.
|
|
|
-func (*RandomAvatarListReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_base_proto_rawDescGZIP(), []int{6}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *RandomAvatarListReply) GetList() []string {
|
|
|
- if x != nil {
|
|
|
- return x.List
|
|
|
- }
|
|
|
- return make([]string, 0)
|
|
|
-}
|
|
|
-
|
|
|
var File_base_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_base_proto_rawDesc = []byte{
|
|
|
@@ -358,144 +28,21 @@ var file_base_proto_rawDesc = []byte{
|
|
|
0x69, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
|
|
|
0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
|
|
|
- 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x26, 0x0a,
|
|
|
- 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
- 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
- 0x04, 0x74, 0x65, 0x78, 0x74, 0x22, 0x28, 0x0a, 0x0e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x65,
|
|
|
- 0x78, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x50, 0x61, 0x73,
|
|
|
- 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x50, 0x61, 0x73, 0x73, 0x22,
|
|
|
- 0x23, 0x0a, 0x07, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65,
|
|
|
- 0x64, 0x69, 0x61, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x64,
|
|
|
- 0x69, 0x61, 0x49, 0x64, 0x22, 0x22, 0x0a, 0x0c, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
|
|
|
- 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01,
|
|
|
- 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x22, 0x31, 0x0a, 0x13, 0x52, 0x61, 0x6e, 0x64,
|
|
|
- 0x6f, 0x6d, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12,
|
|
|
- 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
- 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x31, 0x0a, 0x11, 0x52,
|
|
|
- 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79,
|
|
|
- 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20,
|
|
|
- 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x22, 0x2b,
|
|
|
- 0x0a, 0x15, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69,
|
|
|
- 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18,
|
|
|
- 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x32, 0xbc, 0x06, 0x0a, 0x04,
|
|
|
- 0x42, 0x61, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0e, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d, 0x4e, 0x69,
|
|
|
- 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x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0x69, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x52, 0x61,
|
|
|
- 0x6e, 0x64, 0x6f, 0x6d, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
|
|
|
- 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67,
|
|
|
- 0x4c, 0x69, 0x73, 0x74, 0x42, 0x79, 0x53, 0x65, 0x78, 0x12, 0x12, 0x2e, 0x61, 0x70, 0x69, 0x2e,
|
|
|
- 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e,
|
|
|
- 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c, 0x69,
|
|
|
- 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x3a, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x54,
|
|
|
- 0x61, 0x67, 0x73, 0x42, 0x79, 0x49, 0x44, 0x73, 0x12, 0x0f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
|
|
|
- 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x49, 0x64, 0x73, 0x1a, 0x18, 0x2e, 0x61, 0x70, 0x69, 0x2e,
|
|
|
- 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
|
|
|
- 0x70, 0x6c, 0x79, 0x12, 0x41, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x6d, 0x65, 0x42,
|
|
|
- 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17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6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x54,
|
|
|
- 0x65, 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x12, 0x52, 0x61, 0x6e,
|
|
|
- 0x64, 0x6f, 0x6d, 0x53, 0x77, 0x69, 0x66, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
|
|
|
- 0x1b, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x52, 0x61, 0x6e,
|
|
|
- 0x64, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x41, 0x6e, 0x64, 0x53, 0x65, 0x78, 0x1a, 0x1a, 0x2e, 0x61,
|
|
|
- 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
|
|
|
- 0x54, 0x65, 0x78, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x00, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70,
|
|
|
- 0x69, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b,
|
|
|
- 0x75, 0x62, 0x61, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f,
|
|
|
- 0x70, 0x77, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f,
|
|
|
- 0x62, 0x61, 0x73, 0x65, 0x3b, 0x62, 0x61, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
- 0x33,
|
|
|
+ 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x06, 0x0a,
|
|
|
+ 0x04, 0x42, 0x61, 0x73, 0x65, 0x42, 0x3d, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x73,
|
|
|
+ 0x65, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e,
|
|
|
+ 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72,
|
|
|
+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x3b,
|
|
|
+ 0x62, 0x61, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
-var (
|
|
|
- file_base_proto_rawDescOnce sync.Once
|
|
|
- file_base_proto_rawDescData = file_base_proto_rawDesc
|
|
|
-)
|
|
|
-
|
|
|
-func file_base_proto_rawDescGZIP() []byte {
|
|
|
- file_base_proto_rawDescOnce.Do(func() {
|
|
|
- file_base_proto_rawDescData = protoimpl.X.CompressGZIP(file_base_proto_rawDescData)
|
|
|
- })
|
|
|
- return file_base_proto_rawDescData
|
|
|
-}
|
|
|
-
|
|
|
-var file_base_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
|
|
|
-var file_base_proto_goTypes = []interface{}{
|
|
|
- (*CheckTextRequest)(nil), // 0: api.base.CheckTextRequest
|
|
|
- (*CheckTextReply)(nil), // 1: api.base.CheckTextReply
|
|
|
- (*MediaID)(nil), // 2: api.base.MediaID
|
|
|
- (*MaterialLink)(nil), // 3: api.base.MaterialLink
|
|
|
- (*RandomNicknameReply)(nil), // 4: api.base.RandomNicknameReply
|
|
|
- (*RandomAvatarReply)(nil), // 5: api.base.RandomAvatarReply
|
|
|
- (*RandomAvatarListReply)(nil), // 6: api.base.RandomAvatarListReply
|
|
|
- (*common.SexReq)(nil), // 7: api.common.SexReq
|
|
|
- (*common.Ids)(nil), // 8: api.common.Ids
|
|
|
- (*common.MemeRequest)(nil), // 9: api.common.MemeRequest
|
|
|
- (*common.FindChatTopicRequest)(nil), // 10: api.common.FindChatTopicRequest
|
|
|
- (*common.RandomNum)(nil), // 11: api.common.RandomNum
|
|
|
- (*common.RandomNumAndSex)(nil), // 12: api.common.RandomNumAndSex
|
|
|
- (*common.RandomIntroduceReply)(nil), // 13: api.common.RandomIntroduceReply
|
|
|
- (*common.TagListReply)(nil), // 14: api.common.TagListReply
|
|
|
- (*common.MemeList)(nil), // 15: api.common.MemeList
|
|
|
- (*common.ChatTopicList)(nil), // 16: api.common.ChatTopicList
|
|
|
- (*common.CommonTextList)(nil), // 17: api.common.CommonTextList
|
|
|
-}
|
|
|
+var file_base_proto_goTypes = []interface{}{}
|
|
|
var file_base_proto_depIdxs = []int32{
|
|
|
- 7, // 0: api.base.Base.RandomNickname:input_type -> api.common.SexReq
|
|
|
- 7, // 1: api.base.Base.RandomAvatar:input_type -> api.common.SexReq
|
|
|
- 7, // 2: api.base.Base.RandomIntroduce:input_type -> api.common.SexReq
|
|
|
- 7, // 3: api.base.Base.RandomAvatarList:input_type -> api.common.SexReq
|
|
|
- 7, // 4: api.base.Base.FindTagListBySex:input_type -> api.common.SexReq
|
|
|
- 8, // 5: api.base.Base.FindTagsByIDs:input_type -> api.common.Ids
|
|
|
- 9, // 6: api.base.Base.FindMemeByType:input_type -> api.common.MemeRequest
|
|
|
- 10, // 7: api.base.Base.FindChatTopic:input_type -> api.common.FindChatTopicRequest
|
|
|
- 11, // 8: api.base.Base.RandomMeme:input_type -> api.common.RandomNum
|
|
|
- 12, // 9: api.base.Base.RandomSwiftMessage:input_type -> api.common.RandomNumAndSex
|
|
|
- 4, // 10: api.base.Base.RandomNickname:output_type -> api.base.RandomNicknameReply
|
|
|
- 5, // 11: api.base.Base.RandomAvatar:output_type -> api.base.RandomAvatarReply
|
|
|
- 13, // 12: api.base.Base.RandomIntroduce:output_type -> api.common.RandomIntroduceReply
|
|
|
- 6, // 13: api.base.Base.RandomAvatarList:output_type -> api.base.RandomAvatarListReply
|
|
|
- 14, // 14: api.base.Base.FindTagListBySex:output_type -> api.common.TagListReply
|
|
|
- 14, // 15: api.base.Base.FindTagsByIDs:output_type -> api.common.TagListReply
|
|
|
- 15, // 16: api.base.Base.FindMemeByType:output_type -> api.common.MemeList
|
|
|
- 16, // 17: api.base.Base.FindChatTopic:output_type -> api.common.ChatTopicList
|
|
|
- 17, // 18: api.base.Base.RandomMeme:output_type -> api.common.CommonTextList
|
|
|
- 17, // 19: api.base.Base.RandomSwiftMessage:output_type -> api.common.CommonTextList
|
|
|
- 10, // [10:20] is the sub-list for method output_type
|
|
|
- 0, // [0:10] is the sub-list for method input_type
|
|
|
- 0, // [0:0] is the sub-list for extension type_name
|
|
|
- 0, // [0:0] is the sub-list for extension extendee
|
|
|
- 0, // [0:0] is the sub-list for field type_name
|
|
|
+ 0, // [0:0] is the sub-list for method output_type
|
|
|
+ 0, // [0:0] is the sub-list for method input_type
|
|
|
+ 0, // [0:0] is the sub-list for extension type_name
|
|
|
+ 0, // [0:0] is the sub-list for extension extendee
|
|
|
+ 0, // [0:0] is the sub-list for field type_name
|
|
|
}
|
|
|
|
|
|
func init() { file_base_proto_init() }
|
|
|
@@ -503,105 +50,18 @@ func file_base_proto_init() {
|
|
|
if File_base_proto != nil {
|
|
|
return
|
|
|
}
|
|
|
- if !protoimpl.UnsafeEnabled {
|
|
|
- file_base_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*CheckTextRequest); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_base_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*CheckTextReply); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_base_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*MediaID); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_base_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*MaterialLink); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_base_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*RandomNicknameReply); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_base_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*RandomAvatarReply); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_base_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*RandomAvatarListReply); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
type x struct{}
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
File: protoimpl.DescBuilder{
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_base_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 7,
|
|
|
+ NumMessages: 0,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
|
},
|
|
|
GoTypes: file_base_proto_goTypes,
|
|
|
DependencyIndexes: file_base_proto_depIdxs,
|
|
|
- MessageInfos: file_base_proto_msgTypes,
|
|
|
}.Build()
|
|
|
File_base_proto = out.File
|
|
|
file_base_proto_rawDesc = nil
|