123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: thirdparty.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1
- import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
- )
- // Reference imports to suppress errors if they are not otherwise used.
- var _ = proto.Marshal
- var _ = fmt.Errorf
- var _ = math.Inf
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- type GetVcodeRequest struct {
- PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetVcodeRequest) Reset() { *m = GetVcodeRequest{} }
- func (m *GetVcodeRequest) String() string { return proto.CompactTextString(m) }
- func (*GetVcodeRequest) ProtoMessage() {}
- func (*GetVcodeRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_e10f141fd1fcfe2b, []int{0}
- }
- func (m *GetVcodeRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetVcodeRequest.Unmarshal(m, b)
- }
- func (m *GetVcodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetVcodeRequest.Marshal(b, m, deterministic)
- }
- func (m *GetVcodeRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetVcodeRequest.Merge(m, src)
- }
- func (m *GetVcodeRequest) XXX_Size() int {
- return xxx_messageInfo_GetVcodeRequest.Size(m)
- }
- func (m *GetVcodeRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetVcodeRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetVcodeRequest proto.InternalMessageInfo
- func (m *GetVcodeRequest) GetPhoneNumber() string {
- if m != nil {
- return m.PhoneNumber
- }
- return ""
- }
- type GetVcodeReply struct {
- Vcode uint32 `protobuf:"varint,1,opt,name=vcode,proto3" json:"vcode"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *GetVcodeReply) Reset() { *m = GetVcodeReply{} }
- func (m *GetVcodeReply) String() string { return proto.CompactTextString(m) }
- func (*GetVcodeReply) ProtoMessage() {}
- func (*GetVcodeReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_e10f141fd1fcfe2b, []int{1}
- }
- func (m *GetVcodeReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetVcodeReply.Unmarshal(m, b)
- }
- func (m *GetVcodeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetVcodeReply.Marshal(b, m, deterministic)
- }
- func (m *GetVcodeReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetVcodeReply.Merge(m, src)
- }
- func (m *GetVcodeReply) XXX_Size() int {
- return xxx_messageInfo_GetVcodeReply.Size(m)
- }
- func (m *GetVcodeReply) XXX_DiscardUnknown() {
- xxx_messageInfo_GetVcodeReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_GetVcodeReply proto.InternalMessageInfo
- func (m *GetVcodeReply) GetVcode() uint32 {
- if m != nil {
- return m.Vcode
- }
- return 0
- }
- type CheckVcodeRequest struct {
- PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number"`
- Vcode uint32 `protobuf:"varint,2,opt,name=vcode,proto3" json:"vcode"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CheckVcodeRequest) Reset() { *m = CheckVcodeRequest{} }
- func (m *CheckVcodeRequest) String() string { return proto.CompactTextString(m) }
- func (*CheckVcodeRequest) ProtoMessage() {}
- func (*CheckVcodeRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_e10f141fd1fcfe2b, []int{2}
- }
- func (m *CheckVcodeRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CheckVcodeRequest.Unmarshal(m, b)
- }
- func (m *CheckVcodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CheckVcodeRequest.Marshal(b, m, deterministic)
- }
- func (m *CheckVcodeRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CheckVcodeRequest.Merge(m, src)
- }
- func (m *CheckVcodeRequest) XXX_Size() int {
- return xxx_messageInfo_CheckVcodeRequest.Size(m)
- }
- func (m *CheckVcodeRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CheckVcodeRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_CheckVcodeRequest proto.InternalMessageInfo
- func (m *CheckVcodeRequest) GetPhoneNumber() string {
- if m != nil {
- return m.PhoneNumber
- }
- return ""
- }
- func (m *CheckVcodeRequest) GetVcode() uint32 {
- if m != nil {
- return m.Vcode
- }
- return 0
- }
- type CheckVcodeReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CheckVcodeReply) Reset() { *m = CheckVcodeReply{} }
- func (m *CheckVcodeReply) String() string { return proto.CompactTextString(m) }
- func (*CheckVcodeReply) ProtoMessage() {}
- func (*CheckVcodeReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_e10f141fd1fcfe2b, []int{3}
- }
- func (m *CheckVcodeReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CheckVcodeReply.Unmarshal(m, b)
- }
- func (m *CheckVcodeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CheckVcodeReply.Marshal(b, m, deterministic)
- }
- func (m *CheckVcodeReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CheckVcodeReply.Merge(m, src)
- }
- func (m *CheckVcodeReply) XXX_Size() int {
- return xxx_messageInfo_CheckVcodeReply.Size(m)
- }
- func (m *CheckVcodeReply) XXX_DiscardUnknown() {
- xxx_messageInfo_CheckVcodeReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_CheckVcodeReply proto.InternalMessageInfo
- type OpenImRegisterRequest struct {
- UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id"`
- Platform int32 `protobuf:"varint,2,opt,name=platform,proto3" json:"platform"`
- NickName string `protobuf:"bytes,3,opt,name=nick_name,json=nickName,proto3" json:"nick_name"`
- FaceUrl string `protobuf:"bytes,4,opt,name=face_url,json=faceUrl,proto3" json:"face_url"`
- Gender int32 `protobuf:"varint,5,opt,name=gender,proto3" json:"gender"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *OpenImRegisterRequest) Reset() { *m = OpenImRegisterRequest{} }
- func (m *OpenImRegisterRequest) String() string { return proto.CompactTextString(m) }
- func (*OpenImRegisterRequest) ProtoMessage() {}
- func (*OpenImRegisterRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_e10f141fd1fcfe2b, []int{4}
- }
- func (m *OpenImRegisterRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_OpenImRegisterRequest.Unmarshal(m, b)
- }
- func (m *OpenImRegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_OpenImRegisterRequest.Marshal(b, m, deterministic)
- }
- func (m *OpenImRegisterRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_OpenImRegisterRequest.Merge(m, src)
- }
- func (m *OpenImRegisterRequest) XXX_Size() int {
- return xxx_messageInfo_OpenImRegisterRequest.Size(m)
- }
- func (m *OpenImRegisterRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_OpenImRegisterRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_OpenImRegisterRequest proto.InternalMessageInfo
- func (m *OpenImRegisterRequest) GetUserId() string {
- if m != nil {
- return m.UserId
- }
- return ""
- }
- func (m *OpenImRegisterRequest) GetPlatform() int32 {
- if m != nil {
- return m.Platform
- }
- return 0
- }
- func (m *OpenImRegisterRequest) GetNickName() string {
- if m != nil {
- return m.NickName
- }
- return ""
- }
- func (m *OpenImRegisterRequest) GetFaceUrl() string {
- if m != nil {
- return m.FaceUrl
- }
- return ""
- }
- func (m *OpenImRegisterRequest) GetGender() int32 {
- if m != nil {
- return m.Gender
- }
- return 0
- }
- type OpenImRegisterReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *OpenImRegisterReply) Reset() { *m = OpenImRegisterReply{} }
- func (m *OpenImRegisterReply) String() string { return proto.CompactTextString(m) }
- func (*OpenImRegisterReply) ProtoMessage() {}
- func (*OpenImRegisterReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_e10f141fd1fcfe2b, []int{5}
- }
- func (m *OpenImRegisterReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_OpenImRegisterReply.Unmarshal(m, b)
- }
- func (m *OpenImRegisterReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_OpenImRegisterReply.Marshal(b, m, deterministic)
- }
- func (m *OpenImRegisterReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_OpenImRegisterReply.Merge(m, src)
- }
- func (m *OpenImRegisterReply) XXX_Size() int {
- return xxx_messageInfo_OpenImRegisterReply.Size(m)
- }
- func (m *OpenImRegisterReply) XXX_DiscardUnknown() {
- xxx_messageInfo_OpenImRegisterReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_OpenImRegisterReply proto.InternalMessageInfo
- type RobotMsgRequest struct {
- Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *RobotMsgRequest) Reset() { *m = RobotMsgRequest{} }
- func (m *RobotMsgRequest) String() string { return proto.CompactTextString(m) }
- func (*RobotMsgRequest) ProtoMessage() {}
- func (*RobotMsgRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_e10f141fd1fcfe2b, []int{6}
- }
- func (m *RobotMsgRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RobotMsgRequest.Unmarshal(m, b)
- }
- func (m *RobotMsgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RobotMsgRequest.Marshal(b, m, deterministic)
- }
- func (m *RobotMsgRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RobotMsgRequest.Merge(m, src)
- }
- func (m *RobotMsgRequest) XXX_Size() int {
- return xxx_messageInfo_RobotMsgRequest.Size(m)
- }
- func (m *RobotMsgRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_RobotMsgRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_RobotMsgRequest proto.InternalMessageInfo
- func (m *RobotMsgRequest) GetContent() string {
- if m != nil {
- return m.Content
- }
- return ""
- }
- type RobotMsgReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *RobotMsgReply) Reset() { *m = RobotMsgReply{} }
- func (m *RobotMsgReply) String() string { return proto.CompactTextString(m) }
- func (*RobotMsgReply) ProtoMessage() {}
- func (*RobotMsgReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_e10f141fd1fcfe2b, []int{7}
- }
- func (m *RobotMsgReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RobotMsgReply.Unmarshal(m, b)
- }
- func (m *RobotMsgReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RobotMsgReply.Marshal(b, m, deterministic)
- }
- func (m *RobotMsgReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RobotMsgReply.Merge(m, src)
- }
- func (m *RobotMsgReply) XXX_Size() int {
- return xxx_messageInfo_RobotMsgReply.Size(m)
- }
- func (m *RobotMsgReply) XXX_DiscardUnknown() {
- xxx_messageInfo_RobotMsgReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_RobotMsgReply proto.InternalMessageInfo
- func init() {
- proto.RegisterType((*GetVcodeRequest)(nil), "pb_v1.GetVcodeRequest")
- proto.RegisterType((*GetVcodeReply)(nil), "pb_v1.GetVcodeReply")
- proto.RegisterType((*CheckVcodeRequest)(nil), "pb_v1.CheckVcodeRequest")
- proto.RegisterType((*CheckVcodeReply)(nil), "pb_v1.CheckVcodeReply")
- proto.RegisterType((*OpenImRegisterRequest)(nil), "pb_v1.OpenImRegisterRequest")
- proto.RegisterType((*OpenImRegisterReply)(nil), "pb_v1.OpenImRegisterReply")
- proto.RegisterType((*RobotMsgRequest)(nil), "pb_v1.RobotMsgRequest")
- proto.RegisterType((*RobotMsgReply)(nil), "pb_v1.RobotMsgReply")
- }
- func init() {
- proto.RegisterFile("thirdparty.proto", fileDescriptor_e10f141fd1fcfe2b)
- }
- var fileDescriptor_e10f141fd1fcfe2b = []byte{
- // 316 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00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