// Code generated by protoc-gen-go. DO NOT EDIT. // source: data.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 QueryRequest struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code"` Params string `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *QueryRequest) Reset() { *m = QueryRequest{} } func (m *QueryRequest) String() string { return proto.CompactTextString(m) } func (*QueryRequest) ProtoMessage() {} func (*QueryRequest) Descriptor() ([]byte, []int) { return fileDescriptor_871986018790d2fd, []int{0} } func (m *QueryRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryRequest.Unmarshal(m, b) } func (m *QueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_QueryRequest.Marshal(b, m, deterministic) } func (m *QueryRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryRequest.Merge(m, src) } func (m *QueryRequest) XXX_Size() int { return xxx_messageInfo_QueryRequest.Size(m) } func (m *QueryRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryRequest.DiscardUnknown(m) } var xxx_messageInfo_QueryRequest proto.InternalMessageInfo func (m *QueryRequest) GetCode() string { if m != nil { return m.Code } return "" } func (m *QueryRequest) GetParams() string { if m != nil { return m.Params } return "" } type QueryResponse struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *QueryResponse) Reset() { *m = QueryResponse{} } func (m *QueryResponse) String() string { return proto.CompactTextString(m) } func (*QueryResponse) ProtoMessage() {} func (*QueryResponse) Descriptor() ([]byte, []int) { return fileDescriptor_871986018790d2fd, []int{1} } func (m *QueryResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_QueryResponse.Unmarshal(m, b) } func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_QueryResponse.Marshal(b, m, deterministic) } func (m *QueryResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryResponse.Merge(m, src) } func (m *QueryResponse) XXX_Size() int { return xxx_messageInfo_QueryResponse.Size(m) } func (m *QueryResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryResponse.DiscardUnknown(m) } var xxx_messageInfo_QueryResponse proto.InternalMessageInfo func (m *QueryResponse) GetData() string { if m != nil { return m.Data } return "" } func init() { proto.RegisterType((*QueryRequest)(nil), "v1.QueryRequest") proto.RegisterType((*QueryResponse)(nil), "v1.QueryResponse") } func init() { proto.RegisterFile("data.proto", fileDescriptor_871986018790d2fd) } var fileDescriptor_871986018790d2fd = []byte{ // 141 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0x49, 0x2c, 0x49, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x2a, 0x33, 0x54, 0xb2, 0xe2, 0xe2, 0x09, 0x2c, 0x4d, 0x2d, 0xaa, 0x0c, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x11, 0x12, 0xe2, 0x62, 0x49, 0xce, 0x4f, 0x49, 0x95, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0x02, 0xb3, 0x85, 0xc4, 0xb8, 0xd8, 0x0a, 0x12, 0x8b, 0x12, 0x73, 0x8b, 0x25, 0x98, 0xc0, 0xa2, 0x50, 0x9e, 0x92, 0x32, 0x17, 0x2f, 0x54, 0x6f, 0x71, 0x41, 0x7e, 0x5e, 0x71, 0x2a, 0x48, 0x33, 0xc8, 0x78, 0x98, 0x66, 0x10, 0xdb, 0x49, 0x32, 0x4a, 0x3c, 0x31, 0x25, 0x57, 0xb7, 0x2c, 0x35, 0x23, 0x33, 0x39, 0x27, 0x55, 0xb7, 0xb8, 0xa4, 0x32, 0x27, 0x55, 0xbf, 0x20, 0x49, 0xbf, 0xcc, 0x30, 0x89, 0x0d, 0xec, 0x0c, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x97, 0xe4, 0x16, 0x94, 0x00, 0x00, 0x00, }