data.pb.go 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: data.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 QueryRequest struct {
  20. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code"`
  21. Params string `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized []byte `json:"-"`
  24. XXX_sizecache int32 `json:"-"`
  25. }
  26. func (m *QueryRequest) Reset() { *m = QueryRequest{} }
  27. func (m *QueryRequest) String() string { return proto.CompactTextString(m) }
  28. func (*QueryRequest) ProtoMessage() {}
  29. func (*QueryRequest) Descriptor() ([]byte, []int) {
  30. return fileDescriptor_871986018790d2fd, []int{0}
  31. }
  32. func (m *QueryRequest) XXX_Unmarshal(b []byte) error {
  33. return xxx_messageInfo_QueryRequest.Unmarshal(m, b)
  34. }
  35. func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  36. return xxx_messageInfo_QueryRequest.Marshal(b, m, deterministic)
  37. }
  38. func (m *QueryRequest) XXX_Merge(src proto.Message) {
  39. xxx_messageInfo_QueryRequest.Merge(m, src)
  40. }
  41. func (m *QueryRequest) XXX_Size() int {
  42. return xxx_messageInfo_QueryRequest.Size(m)
  43. }
  44. func (m *QueryRequest) XXX_DiscardUnknown() {
  45. xxx_messageInfo_QueryRequest.DiscardUnknown(m)
  46. }
  47. var xxx_messageInfo_QueryRequest proto.InternalMessageInfo
  48. func (m *QueryRequest) GetCode() string {
  49. if m != nil {
  50. return m.Code
  51. }
  52. return ""
  53. }
  54. func (m *QueryRequest) GetParams() string {
  55. if m != nil {
  56. return m.Params
  57. }
  58. return ""
  59. }
  60. type QueryResponse struct {
  61. Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
  62. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  63. XXX_unrecognized []byte `json:"-"`
  64. XXX_sizecache int32 `json:"-"`
  65. }
  66. func (m *QueryResponse) Reset() { *m = QueryResponse{} }
  67. func (m *QueryResponse) String() string { return proto.CompactTextString(m) }
  68. func (*QueryResponse) ProtoMessage() {}
  69. func (*QueryResponse) Descriptor() ([]byte, []int) {
  70. return fileDescriptor_871986018790d2fd, []int{1}
  71. }
  72. func (m *QueryResponse) XXX_Unmarshal(b []byte) error {
  73. return xxx_messageInfo_QueryResponse.Unmarshal(m, b)
  74. }
  75. func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  76. return xxx_messageInfo_QueryResponse.Marshal(b, m, deterministic)
  77. }
  78. func (m *QueryResponse) XXX_Merge(src proto.Message) {
  79. xxx_messageInfo_QueryResponse.Merge(m, src)
  80. }
  81. func (m *QueryResponse) XXX_Size() int {
  82. return xxx_messageInfo_QueryResponse.Size(m)
  83. }
  84. func (m *QueryResponse) XXX_DiscardUnknown() {
  85. xxx_messageInfo_QueryResponse.DiscardUnknown(m)
  86. }
  87. var xxx_messageInfo_QueryResponse proto.InternalMessageInfo
  88. func (m *QueryResponse) GetData() string {
  89. if m != nil {
  90. return m.Data
  91. }
  92. return ""
  93. }
  94. func init() {
  95. proto.RegisterType((*QueryRequest)(nil), "v1.QueryRequest")
  96. proto.RegisterType((*QueryResponse)(nil), "v1.QueryResponse")
  97. }
  98. func init() {
  99. proto.RegisterFile("data.proto", fileDescriptor_871986018790d2fd)
  100. }
  101. var fileDescriptor_871986018790d2fd = []byte{
  102. // 141 bytes of a gzipped FileDescriptorProto
  103. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0x49, 0x2c, 0x49,
  104. 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2a, 0x33, 0x54, 0xb2, 0xe2, 0xe2, 0x09, 0x2c,
  105. 0x4d, 0x2d, 0xaa, 0x0c, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x11, 0x12, 0xe2, 0x62, 0x49, 0xce,
  106. 0x4f, 0x49, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0x02, 0xb3, 0x85, 0xc4, 0xb8, 0xd8, 0x0a,
  107. 0x12, 0x8b, 0x12, 0x73, 0x8b, 0x25, 0x98, 0xc0, 0xa2, 0x50, 0x9e, 0x92, 0x32, 0x17, 0x2f, 0x54,
  108. 0x6f, 0x71, 0x41, 0x7e, 0x5e, 0x71, 0x2a, 0x48, 0x33, 0xc8, 0x78, 0x98, 0x66, 0x10, 0xdb, 0x49,
  109. 0x32, 0x4a, 0x3c, 0x31, 0x25, 0x57, 0xb7, 0x2c, 0x35, 0x23, 0x33, 0x39, 0x27, 0x55, 0xb7, 0xb8,
  110. 0xa4, 0x32, 0x27, 0x55, 0xbf, 0x20, 0x49, 0xbf, 0xcc, 0x30, 0x89, 0x0d, 0xec, 0x0c, 0x63, 0x40,
  111. 0x00, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x97, 0xe4, 0x16, 0x94, 0x00, 0x00, 0x00,
  112. }