| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: reflection/grpc_testing/test.proto |
| |
| package grpc_testing |
| |
| 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 SearchResponse struct { |
| Results []*SearchResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SearchResponse) Reset() { *m = SearchResponse{} } |
| func (m *SearchResponse) String() string { return proto.CompactTextString(m) } |
| func (*SearchResponse) ProtoMessage() {} |
| func (*SearchResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b179ea967ba71047, []int{0} |
| } |
| |
| func (m *SearchResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SearchResponse.Unmarshal(m, b) |
| } |
| func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SearchResponse.Marshal(b, m, deterministic) |
| } |
| func (m *SearchResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SearchResponse.Merge(m, src) |
| } |
| func (m *SearchResponse) XXX_Size() int { |
| return xxx_messageInfo_SearchResponse.Size(m) |
| } |
| func (m *SearchResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_SearchResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SearchResponse proto.InternalMessageInfo |
| |
| func (m *SearchResponse) GetResults() []*SearchResponse_Result { |
| if m != nil { |
| return m.Results |
| } |
| return nil |
| } |
| |
| type SearchResponse_Result struct { |
| Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` |
| Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` |
| Snippets []string `protobuf:"bytes,3,rep,name=snippets,proto3" json:"snippets,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SearchResponse_Result) Reset() { *m = SearchResponse_Result{} } |
| func (m *SearchResponse_Result) String() string { return proto.CompactTextString(m) } |
| func (*SearchResponse_Result) ProtoMessage() {} |
| func (*SearchResponse_Result) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b179ea967ba71047, []int{0, 0} |
| } |
| |
| func (m *SearchResponse_Result) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SearchResponse_Result.Unmarshal(m, b) |
| } |
| func (m *SearchResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SearchResponse_Result.Marshal(b, m, deterministic) |
| } |
| func (m *SearchResponse_Result) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SearchResponse_Result.Merge(m, src) |
| } |
| func (m *SearchResponse_Result) XXX_Size() int { |
| return xxx_messageInfo_SearchResponse_Result.Size(m) |
| } |
| func (m *SearchResponse_Result) XXX_DiscardUnknown() { |
| xxx_messageInfo_SearchResponse_Result.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SearchResponse_Result proto.InternalMessageInfo |
| |
| func (m *SearchResponse_Result) GetUrl() string { |
| if m != nil { |
| return m.Url |
| } |
| return "" |
| } |
| |
| func (m *SearchResponse_Result) GetTitle() string { |
| if m != nil { |
| return m.Title |
| } |
| return "" |
| } |
| |
| func (m *SearchResponse_Result) GetSnippets() []string { |
| if m != nil { |
| return m.Snippets |
| } |
| return nil |
| } |
| |
| type SearchRequest struct { |
| Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SearchRequest) Reset() { *m = SearchRequest{} } |
| func (m *SearchRequest) String() string { return proto.CompactTextString(m) } |
| func (*SearchRequest) ProtoMessage() {} |
| func (*SearchRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b179ea967ba71047, []int{1} |
| } |
| |
| func (m *SearchRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SearchRequest.Unmarshal(m, b) |
| } |
| func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SearchRequest.Marshal(b, m, deterministic) |
| } |
| func (m *SearchRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SearchRequest.Merge(m, src) |
| } |
| func (m *SearchRequest) XXX_Size() int { |
| return xxx_messageInfo_SearchRequest.Size(m) |
| } |
| func (m *SearchRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_SearchRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SearchRequest proto.InternalMessageInfo |
| |
| func (m *SearchRequest) GetQuery() string { |
| if m != nil { |
| return m.Query |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterType((*SearchResponse)(nil), "grpc.testing.SearchResponse") |
| proto.RegisterType((*SearchResponse_Result)(nil), "grpc.testing.SearchResponse.Result") |
| proto.RegisterType((*SearchRequest)(nil), "grpc.testing.SearchRequest") |
| } |
| |
| func init() { |
| proto.RegisterFile("reflection/grpc_testing/test.proto", fileDescriptor_b179ea967ba71047) |
| } |
| |
| var fileDescriptor_b179ea967ba71047 = []byte{ |
| // 267 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x51, 0x3f, 0x4b, 0xfd, 0x30, |
| 0x14, 0x25, 0xbf, 0xf2, 0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