123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 |
- // 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"`
- 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 ""
- }
- 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
- 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")
- }
- func init() {
- proto.RegisterFile("thirdparty.proto", fileDescriptor_e10f141fd1fcfe2b)
- }
- var fileDescriptor_e10f141fd1fcfe2b = []byte{
- // 275 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0x4f, 0x4b, 0xc3, 0x30,
- 0x18, 0xc6, 0xa9, 0xda, 0xad, 0x7b, 0x75, 0xcc, 0x45, 0xcb, 0xaa, 0x5e, 0xb4, 0x20, 0x78, 0xd1,
- 0x31, 0xf4, 0x13, 0xe8, 0x41, 0x06, 0x32, 0xa1, 0xa0, 0x07, 0x2f, 0xa5, 0x7f, 0xde, 0xd9, 0xb2,
- 0xa4, 0x79, 0x4d, 0xd3, 0x42, 0xee, 0x7e, 0x70, 0x69, 0xfc, 0xb3, 0xe1, 0x6d, 0xc7, 0xdf, 0x93,
- 0x3c, 0xbf, 0x27, 0x10, 0x38, 0xd4, 0x45, 0xa9, 0x72, 0x4a, 0x94, 0x36, 0x37, 0xa4, 0xa4, 0x96,
- 0xcc, 0xa5, 0x34, 0x6e, 0x67, 0xe1, 0x1d, 0x8c, 0x1e, 0x51, 0xbf, 0x66, 0x32, 0xc7, 0x08, 0x3f,
- 0x1a, 0xac, 0x35, 0xbb, 0x80, 0x03, 0x2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