thirdparty.pb.go 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: thirdparty.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package v1
  5. import (
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. math "math"
  9. )
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  19. type GetVcodeRequest struct {
  20. PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number"`
  21. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  22. XXX_unrecognized []byte `json:"-"`
  23. XXX_sizecache int32 `json:"-"`
  24. }
  25. func (m *GetVcodeRequest) Reset() { *m = GetVcodeRequest{} }
  26. func (m *GetVcodeRequest) String() string { return proto.CompactTextString(m) }
  27. func (*GetVcodeRequest) ProtoMessage() {}
  28. func (*GetVcodeRequest) Descriptor() ([]byte, []int) {
  29. return fileDescriptor_e10f141fd1fcfe2b, []int{0}
  30. }
  31. func (m *GetVcodeRequest) XXX_Unmarshal(b []byte) error {
  32. return xxx_messageInfo_GetVcodeRequest.Unmarshal(m, b)
  33. }
  34. func (m *GetVcodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  35. return xxx_messageInfo_GetVcodeRequest.Marshal(b, m, deterministic)
  36. }
  37. func (m *GetVcodeRequest) XXX_Merge(src proto.Message) {
  38. xxx_messageInfo_GetVcodeRequest.Merge(m, src)
  39. }
  40. func (m *GetVcodeRequest) XXX_Size() int {
  41. return xxx_messageInfo_GetVcodeRequest.Size(m)
  42. }
  43. func (m *GetVcodeRequest) XXX_DiscardUnknown() {
  44. xxx_messageInfo_GetVcodeRequest.DiscardUnknown(m)
  45. }
  46. var xxx_messageInfo_GetVcodeRequest proto.InternalMessageInfo
  47. func (m *GetVcodeRequest) GetPhoneNumber() string {
  48. if m != nil {
  49. return m.PhoneNumber
  50. }
  51. return ""
  52. }
  53. type GetVcodeReply struct {
  54. Vcode uint32 `protobuf:"varint,1,opt,name=vcode,proto3" json:"vcode"`
  55. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  56. XXX_unrecognized []byte `json:"-"`
  57. XXX_sizecache int32 `json:"-"`
  58. }
  59. func (m *GetVcodeReply) Reset() { *m = GetVcodeReply{} }
  60. func (m *GetVcodeReply) String() string { return proto.CompactTextString(m) }
  61. func (*GetVcodeReply) ProtoMessage() {}
  62. func (*GetVcodeReply) Descriptor() ([]byte, []int) {
  63. return fileDescriptor_e10f141fd1fcfe2b, []int{1}
  64. }
  65. func (m *GetVcodeReply) XXX_Unmarshal(b []byte) error {
  66. return xxx_messageInfo_GetVcodeReply.Unmarshal(m, b)
  67. }
  68. func (m *GetVcodeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  69. return xxx_messageInfo_GetVcodeReply.Marshal(b, m, deterministic)
  70. }
  71. func (m *GetVcodeReply) XXX_Merge(src proto.Message) {
  72. xxx_messageInfo_GetVcodeReply.Merge(m, src)
  73. }
  74. func (m *GetVcodeReply) XXX_Size() int {
  75. return xxx_messageInfo_GetVcodeReply.Size(m)
  76. }
  77. func (m *GetVcodeReply) XXX_DiscardUnknown() {
  78. xxx_messageInfo_GetVcodeReply.DiscardUnknown(m)
  79. }
  80. var xxx_messageInfo_GetVcodeReply proto.InternalMessageInfo
  81. func (m *GetVcodeReply) GetVcode() uint32 {
  82. if m != nil {
  83. return m.Vcode
  84. }
  85. return 0
  86. }
  87. type CheckVcodeRequest struct {
  88. PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number"`
  89. Vcode uint32 `protobuf:"varint,2,opt,name=vcode,proto3" json:"vcode"`
  90. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  91. XXX_unrecognized []byte `json:"-"`
  92. XXX_sizecache int32 `json:"-"`
  93. }
  94. func (m *CheckVcodeRequest) Reset() { *m = CheckVcodeRequest{} }
  95. func (m *CheckVcodeRequest) String() string { return proto.CompactTextString(m) }
  96. func (*CheckVcodeRequest) ProtoMessage() {}
  97. func (*CheckVcodeRequest) Descriptor() ([]byte, []int) {
  98. return fileDescriptor_e10f141fd1fcfe2b, []int{2}
  99. }
  100. func (m *CheckVcodeRequest) XXX_Unmarshal(b []byte) error {
  101. return xxx_messageInfo_CheckVcodeRequest.Unmarshal(m, b)
  102. }
  103. func (m *CheckVcodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  104. return xxx_messageInfo_CheckVcodeRequest.Marshal(b, m, deterministic)
  105. }
  106. func (m *CheckVcodeRequest) XXX_Merge(src proto.Message) {
  107. xxx_messageInfo_CheckVcodeRequest.Merge(m, src)
  108. }
  109. func (m *CheckVcodeRequest) XXX_Size() int {
  110. return xxx_messageInfo_CheckVcodeRequest.Size(m)
  111. }
  112. func (m *CheckVcodeRequest) XXX_DiscardUnknown() {
  113. xxx_messageInfo_CheckVcodeRequest.DiscardUnknown(m)
  114. }
  115. var xxx_messageInfo_CheckVcodeRequest proto.InternalMessageInfo
  116. func (m *CheckVcodeRequest) GetPhoneNumber() string {
  117. if m != nil {
  118. return m.PhoneNumber
  119. }
  120. return ""
  121. }
  122. func (m *CheckVcodeRequest) GetVcode() uint32 {
  123. if m != nil {
  124. return m.Vcode
  125. }
  126. return 0
  127. }
  128. type CheckVcodeReply struct {
  129. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  130. XXX_unrecognized []byte `json:"-"`
  131. XXX_sizecache int32 `json:"-"`
  132. }
  133. func (m *CheckVcodeReply) Reset() { *m = CheckVcodeReply{} }
  134. func (m *CheckVcodeReply) String() string { return proto.CompactTextString(m) }
  135. func (*CheckVcodeReply) ProtoMessage() {}
  136. func (*CheckVcodeReply) Descriptor() ([]byte, []int) {
  137. return fileDescriptor_e10f141fd1fcfe2b, []int{3}
  138. }
  139. func (m *CheckVcodeReply) XXX_Unmarshal(b []byte) error {
  140. return xxx_messageInfo_CheckVcodeReply.Unmarshal(m, b)
  141. }
  142. func (m *CheckVcodeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  143. return xxx_messageInfo_CheckVcodeReply.Marshal(b, m, deterministic)
  144. }
  145. func (m *CheckVcodeReply) XXX_Merge(src proto.Message) {
  146. xxx_messageInfo_CheckVcodeReply.Merge(m, src)
  147. }
  148. func (m *CheckVcodeReply) XXX_Size() int {
  149. return xxx_messageInfo_CheckVcodeReply.Size(m)
  150. }
  151. func (m *CheckVcodeReply) XXX_DiscardUnknown() {
  152. xxx_messageInfo_CheckVcodeReply.DiscardUnknown(m)
  153. }
  154. var xxx_messageInfo_CheckVcodeReply proto.InternalMessageInfo
  155. func init() {
  156. proto.RegisterType((*GetVcodeRequest)(nil), "pb_v1.GetVcodeRequest")
  157. proto.RegisterType((*GetVcodeReply)(nil), "pb_v1.GetVcodeReply")
  158. proto.RegisterType((*CheckVcodeRequest)(nil), "pb_v1.CheckVcodeRequest")
  159. proto.RegisterType((*CheckVcodeReply)(nil), "pb_v1.CheckVcodeReply")
  160. }
  161. func init() {
  162. proto.RegisterFile("thirdparty.proto", fileDescriptor_e10f141fd1fcfe2b)
  163. }
  164. var fileDescriptor_e10f141fd1fcfe2b = []byte{
  165. // 183 bytes of a gzipped FileDescriptorProto
  166. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x28, 0xc9, 0xc8, 0x2c,
  167. 0x4a, 0x29, 0x48, 0x2c, 0x2a, 0xa9, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2d, 0x48,
  168. 0x8a, 0x2f, 0x33, 0x54, 0x32, 0xe1, 0xe2, 0x77, 0x4f, 0x2d, 0x09, 0x4b, 0xce, 0x4f, 0x49, 0x0d,
  169. 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x11, 0x52, 0xe4, 0xe2, 0x29, 0xc8, 0xc8, 0xcf, 0x4b, 0x8d,
  170. 0xcf, 0x2b, 0xcd, 0x4d, 0x4a, 0x2d, 0x92, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0xe2, 0x06, 0x8b,
  171. 0xf9, 0x81, 0x85, 0x94, 0x54, 0xb9, 0x78, 0x11, 0xba, 0x0a, 0x72, 0x2a, 0x85, 0x44, 0xb8, 0x58,
  172. 0xcb, 0x40, 0x3c, 0xb0, 0x62, 0xde, 0x20, 0x08, 0x47, 0xc9, 0x87, 0x4b, 0xd0, 0x39, 0x23, 0x35,
  173. 0x39, 0x9b, 0x44, 0xe3, 0x11, 0xa6, 0x31, 0x21, 0x9b, 0x26, 0xc8, 0xc5, 0x8f, 0x6c, 0x5a, 0x41,
  174. 0x4e, 0xa5, 0x93, 0x42, 0x94, 0x5c, 0x41, 0x51, 0x7e, 0x41, 0x6a, 0x51, 0x49, 0xa5, 0x6e, 0x62,
  175. 0x41, 0x41, 0x4e, 0x6a, 0x49, 0xaa, 0x6e, 0x7a, 0x62, 0x49, 0x6a, 0x79, 0x62, 0xa5, 0x7e, 0x41,
  176. 0x92, 0x7e, 0x99, 0x61, 0x12, 0x1b, 0xd8, 0xb7, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbd,
  177. 0xf3, 0xab, 0x0d, 0x01, 0x01, 0x00, 0x00,
  178. }