1// Code generated by protoc-gen-go.
2// source: reflection.proto
3// DO NOT EDIT!
4
5/*
6Package grpc_reflection_v1alpha is a generated protocol buffer package.
7
8It is generated from these files:
9	reflection.proto
10
11It has these top-level messages:
12	ServerReflectionRequest
13	ExtensionRequest
14	ServerReflectionResponse
15	FileDescriptorResponse
16	ExtensionNumberResponse
17	ListServiceResponse
18	ServiceResponse
19	ErrorResponse
20*/
21package grpc_reflection_v1alpha
22
23import proto "github.com/golang/protobuf/proto"
24import fmt "fmt"
25import math "math"
26
27import (
28	context "golang.org/x/net/context"
29	grpc "google.golang.org/grpc"
30)
31
32// Reference imports to suppress errors if they are not otherwise used.
33var _ = proto.Marshal
34var _ = fmt.Errorf
35var _ = math.Inf
36
37// This is a compile-time assertion to ensure that this generated file
38// is compatible with the proto package it is being compiled against.
39// A compilation error at this line likely means your copy of the
40// proto package needs to be updated.
41const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
42
43// The message sent by the client when calling ServerReflectionInfo method.
44type ServerReflectionRequest struct {
45	Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"`
46	// To use reflection service, the client should set one of the following
47	// fields in message_request. The server distinguishes requests by their
48	// defined field and then handles them using corresponding methods.
49	//
50	// Types that are valid to be assigned to MessageRequest:
51	//	*ServerReflectionRequest_FileByFilename
52	//	*ServerReflectionRequest_FileContainingSymbol
53	//	*ServerReflectionRequest_FileContainingExtension
54	//	*ServerReflectionRequest_AllExtensionNumbersOfType
55	//	*ServerReflectionRequest_ListServices
56	MessageRequest isServerReflectionRequest_MessageRequest `protobuf_oneof:"message_request"`
57}
58
59func (m *ServerReflectionRequest) Reset()                    { *m = ServerReflectionRequest{} }
60func (m *ServerReflectionRequest) String() string            { return proto.CompactTextString(m) }
61func (*ServerReflectionRequest) ProtoMessage()               {}
62func (*ServerReflectionRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
63
64type isServerReflectionRequest_MessageRequest interface {
65	isServerReflectionRequest_MessageRequest()
66}
67
68type ServerReflectionRequest_FileByFilename struct {
69	FileByFilename string `protobuf:"bytes,3,opt,name=file_by_filename,json=fileByFilename,oneof"`
70}
71type ServerReflectionRequest_FileContainingSymbol struct {
72	FileContainingSymbol string `protobuf:"bytes,4,opt,name=file_containing_symbol,json=fileContainingSymbol,oneof"`
73}
74type ServerReflectionRequest_FileContainingExtension struct {
75	FileContainingExtension *ExtensionRequest `protobuf:"bytes,5,opt,name=file_containing_extension,json=fileContainingExtension,oneof"`
76}
77type ServerReflectionRequest_AllExtensionNumbersOfType struct {
78	AllExtensionNumbersOfType string `protobuf:"bytes,6,opt,name=all_extension_numbers_of_type,json=allExtensionNumbersOfType,oneof"`
79}
80type ServerReflectionRequest_ListServices struct {
81	ListServices string `protobuf:"bytes,7,opt,name=list_services,json=listServices,oneof"`
82}
83
84func (*ServerReflectionRequest_FileByFilename) isServerReflectionRequest_MessageRequest()            {}
85func (*ServerReflectionRequest_FileContainingSymbol) isServerReflectionRequest_MessageRequest()      {}
86func (*ServerReflectionRequest_FileContainingExtension) isServerReflectionRequest_MessageRequest()   {}
87func (*ServerReflectionRequest_AllExtensionNumbersOfType) isServerReflectionRequest_MessageRequest() {}
88func (*ServerReflectionRequest_ListServices) isServerReflectionRequest_MessageRequest()              {}
89
90func (m *ServerReflectionRequest) GetMessageRequest() isServerReflectionRequest_MessageRequest {
91	if m != nil {
92		return m.MessageRequest
93	}
94	return nil
95}
96
97func (m *ServerReflectionRequest) GetFileByFilename() string {
98	if x, ok := m.GetMessageRequest().(*ServerReflectionRequest_FileByFilename); ok {
99		return x.FileByFilename
100	}
101	return ""
102}
103
104func (m *ServerReflectionRequest) GetFileContainingSymbol() string {
105	if x, ok := m.GetMessageRequest().(*ServerReflectionRequest_FileContainingSymbol); ok {
106		return x.FileContainingSymbol
107	}
108	return ""
109}
110
111func (m *ServerReflectionRequest) GetFileContainingExtension() *ExtensionRequest {
112	if x, ok := m.GetMessageRequest().(*ServerReflectionRequest_FileContainingExtension); ok {
113		return x.FileContainingExtension
114	}
115	return nil
116}
117
118func (m *ServerReflectionRequest) GetAllExtensionNumbersOfType() string {
119	if x, ok := m.GetMessageRequest().(*ServerReflectionRequest_AllExtensionNumbersOfType); ok {
120		return x.AllExtensionNumbersOfType
121	}
122	return ""
123}
124
125func (m *ServerReflectionRequest) GetListServices() string {
126	if x, ok := m.GetMessageRequest().(*ServerReflectionRequest_ListServices); ok {
127		return x.ListServices
128	}
129	return ""
130}
131
132// XXX_OneofFuncs is for the internal use of the proto package.
133func (*ServerReflectionRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
134	return _ServerReflectionRequest_OneofMarshaler, _ServerReflectionRequest_OneofUnmarshaler, _ServerReflectionRequest_OneofSizer, []interface{}{
135		(*ServerReflectionRequest_FileByFilename)(nil),
136		(*ServerReflectionRequest_FileContainingSymbol)(nil),
137		(*ServerReflectionRequest_FileContainingExtension)(nil),
138		(*ServerReflectionRequest_AllExtensionNumbersOfType)(nil),
139		(*ServerReflectionRequest_ListServices)(nil),
140	}
141}
142
143func _ServerReflectionRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
144	m := msg.(*ServerReflectionRequest)
145	// message_request
146	switch x := m.MessageRequest.(type) {
147	case *ServerReflectionRequest_FileByFilename:
148		b.EncodeVarint(3<<3 | proto.WireBytes)
149		b.EncodeStringBytes(x.FileByFilename)
150	case *ServerReflectionRequest_FileContainingSymbol:
151		b.EncodeVarint(4<<3 | proto.WireBytes)
152		b.EncodeStringBytes(x.FileContainingSymbol)
153	case *ServerReflectionRequest_FileContainingExtension:
154		b.EncodeVarint(5<<3 | proto.WireBytes)
155		if err := b.EncodeMessage(x.FileContainingExtension); err != nil {
156			return err
157		}
158	case *ServerReflectionRequest_AllExtensionNumbersOfType:
159		b.EncodeVarint(6<<3 | proto.WireBytes)
160		b.EncodeStringBytes(x.AllExtensionNumbersOfType)
161	case *ServerReflectionRequest_ListServices:
162		b.EncodeVarint(7<<3 | proto.WireBytes)
163		b.EncodeStringBytes(x.ListServices)
164	case nil:
165	default:
166		return fmt.Errorf("ServerReflectionRequest.MessageRequest has unexpected type %T", x)
167	}
168	return nil
169}
170
171func _ServerReflectionRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
172	m := msg.(*ServerReflectionRequest)
173	switch tag {
174	case 3: // message_request.file_by_filename
175		if wire != proto.WireBytes {
176			return true, proto.ErrInternalBadWireType
177		}
178		x, err := b.DecodeStringBytes()
179		m.MessageRequest = &ServerReflectionRequest_FileByFilename{x}
180		return true, err
181	case 4: // message_request.file_containing_symbol
182		if wire != proto.WireBytes {
183			return true, proto.ErrInternalBadWireType
184		}
185		x, err := b.DecodeStringBytes()
186		m.MessageRequest = &ServerReflectionRequest_FileContainingSymbol{x}
187		return true, err
188	case 5: // message_request.file_containing_extension
189		if wire != proto.WireBytes {
190			return true, proto.ErrInternalBadWireType
191		}
192		msg := new(ExtensionRequest)
193		err := b.DecodeMessage(msg)
194		m.MessageRequest = &ServerReflectionRequest_FileContainingExtension{msg}
195		return true, err
196	case 6: // message_request.all_extension_numbers_of_type
197		if wire != proto.WireBytes {
198			return true, proto.ErrInternalBadWireType
199		}
200		x, err := b.DecodeStringBytes()
201		m.MessageRequest = &ServerReflectionRequest_AllExtensionNumbersOfType{x}
202		return true, err
203	case 7: // message_request.list_services
204		if wire != proto.WireBytes {
205			return true, proto.ErrInternalBadWireType
206		}
207		x, err := b.DecodeStringBytes()
208		m.MessageRequest = &ServerReflectionRequest_ListServices{x}
209		return true, err
210	default:
211		return false, nil
212	}
213}
214
215func _ServerReflectionRequest_OneofSizer(msg proto.Message) (n int) {
216	m := msg.(*ServerReflectionRequest)
217	// message_request
218	switch x := m.MessageRequest.(type) {
219	case *ServerReflectionRequest_FileByFilename:
220		n += proto.SizeVarint(3<<3 | proto.WireBytes)
221		n += proto.SizeVarint(uint64(len(x.FileByFilename)))
222		n += len(x.FileByFilename)
223	case *ServerReflectionRequest_FileContainingSymbol:
224		n += proto.SizeVarint(4<<3 | proto.WireBytes)
225		n += proto.SizeVarint(uint64(len(x.FileContainingSymbol)))
226		n += len(x.FileContainingSymbol)
227	case *ServerReflectionRequest_FileContainingExtension:
228		s := proto.Size(x.FileContainingExtension)
229		n += proto.SizeVarint(5<<3 | proto.WireBytes)
230		n += proto.SizeVarint(uint64(s))
231		n += s
232	case *ServerReflectionRequest_AllExtensionNumbersOfType:
233		n += proto.SizeVarint(6<<3 | proto.WireBytes)
234		n += proto.SizeVarint(uint64(len(x.AllExtensionNumbersOfType)))
235		n += len(x.AllExtensionNumbersOfType)
236	case *ServerReflectionRequest_ListServices:
237		n += proto.SizeVarint(7<<3 | proto.WireBytes)
238		n += proto.SizeVarint(uint64(len(x.ListServices)))
239		n += len(x.ListServices)
240	case nil:
241	default:
242		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
243	}
244	return n
245}
246
247// The type name and extension number sent by the client when requesting
248// file_containing_extension.
249type ExtensionRequest struct {
250	// Fully-qualified type name. The format should be <package>.<type>
251	ContainingType  string `protobuf:"bytes,1,opt,name=containing_type,json=containingType" json:"containing_type,omitempty"`
252	ExtensionNumber int32  `protobuf:"varint,2,opt,name=extension_number,json=extensionNumber" json:"extension_number,omitempty"`
253}
254
255func (m *ExtensionRequest) Reset()                    { *m = ExtensionRequest{} }
256func (m *ExtensionRequest) String() string            { return proto.CompactTextString(m) }
257func (*ExtensionRequest) ProtoMessage()               {}
258func (*ExtensionRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
259
260// The message sent by the server to answer ServerReflectionInfo method.
261type ServerReflectionResponse struct {
262	ValidHost       string                   `protobuf:"bytes,1,opt,name=valid_host,json=validHost" json:"valid_host,omitempty"`
263	OriginalRequest *ServerReflectionRequest `protobuf:"bytes,2,opt,name=original_request,json=originalRequest" json:"original_request,omitempty"`
264	// The server set one of the following fields accroding to the message_request
265	// in the request.
266	//
267	// Types that are valid to be assigned to MessageResponse:
268	//	*ServerReflectionResponse_FileDescriptorResponse
269	//	*ServerReflectionResponse_AllExtensionNumbersResponse
270	//	*ServerReflectionResponse_ListServicesResponse
271	//	*ServerReflectionResponse_ErrorResponse
272	MessageResponse isServerReflectionResponse_MessageResponse `protobuf_oneof:"message_response"`
273}
274
275func (m *ServerReflectionResponse) Reset()                    { *m = ServerReflectionResponse{} }
276func (m *ServerReflectionResponse) String() string            { return proto.CompactTextString(m) }
277func (*ServerReflectionResponse) ProtoMessage()               {}
278func (*ServerReflectionResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
279
280type isServerReflectionResponse_MessageResponse interface {
281	isServerReflectionResponse_MessageResponse()
282}
283
284type ServerReflectionResponse_FileDescriptorResponse struct {
285	FileDescriptorResponse *FileDescriptorResponse `protobuf:"bytes,4,opt,name=file_descriptor_response,json=fileDescriptorResponse,oneof"`
286}
287type ServerReflectionResponse_AllExtensionNumbersResponse struct {
288	AllExtensionNumbersResponse *ExtensionNumberResponse `protobuf:"bytes,5,opt,name=all_extension_numbers_response,json=allExtensionNumbersResponse,oneof"`
289}
290type ServerReflectionResponse_ListServicesResponse struct {
291	ListServicesResponse *ListServiceResponse `protobuf:"bytes,6,opt,name=list_services_response,json=listServicesResponse,oneof"`
292}
293type ServerReflectionResponse_ErrorResponse struct {
294	ErrorResponse *ErrorResponse `protobuf:"bytes,7,opt,name=error_response,json=errorResponse,oneof"`
295}
296
297func (*ServerReflectionResponse_FileDescriptorResponse) isServerReflectionResponse_MessageResponse() {}
298func (*ServerReflectionResponse_AllExtensionNumbersResponse) isServerReflectionResponse_MessageResponse() {
299}
300func (*ServerReflectionResponse_ListServicesResponse) isServerReflectionResponse_MessageResponse() {}
301func (*ServerReflectionResponse_ErrorResponse) isServerReflectionResponse_MessageResponse()        {}
302
303func (m *ServerReflectionResponse) GetMessageResponse() isServerReflectionResponse_MessageResponse {
304	if m != nil {
305		return m.MessageResponse
306	}
307	return nil
308}
309
310func (m *ServerReflectionResponse) GetOriginalRequest() *ServerReflectionRequest {
311	if m != nil {
312		return m.OriginalRequest
313	}
314	return nil
315}
316
317func (m *ServerReflectionResponse) GetFileDescriptorResponse() *FileDescriptorResponse {
318	if x, ok := m.GetMessageResponse().(*ServerReflectionResponse_FileDescriptorResponse); ok {
319		return x.FileDescriptorResponse
320	}
321	return nil
322}
323
324func (m *ServerReflectionResponse) GetAllExtensionNumbersResponse() *ExtensionNumberResponse {
325	if x, ok := m.GetMessageResponse().(*ServerReflectionResponse_AllExtensionNumbersResponse); ok {
326		return x.AllExtensionNumbersResponse
327	}
328	return nil
329}
330
331func (m *ServerReflectionResponse) GetListServicesResponse() *ListServiceResponse {
332	if x, ok := m.GetMessageResponse().(*ServerReflectionResponse_ListServicesResponse); ok {
333		return x.ListServicesResponse
334	}
335	return nil
336}
337
338func (m *ServerReflectionResponse) GetErrorResponse() *ErrorResponse {
339	if x, ok := m.GetMessageResponse().(*ServerReflectionResponse_ErrorResponse); ok {
340		return x.ErrorResponse
341	}
342	return nil
343}
344
345// XXX_OneofFuncs is for the internal use of the proto package.
346func (*ServerReflectionResponse) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
347	return _ServerReflectionResponse_OneofMarshaler, _ServerReflectionResponse_OneofUnmarshaler, _ServerReflectionResponse_OneofSizer, []interface{}{
348		(*ServerReflectionResponse_FileDescriptorResponse)(nil),
349		(*ServerReflectionResponse_AllExtensionNumbersResponse)(nil),
350		(*ServerReflectionResponse_ListServicesResponse)(nil),
351		(*ServerReflectionResponse_ErrorResponse)(nil),
352	}
353}
354
355func _ServerReflectionResponse_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
356	m := msg.(*ServerReflectionResponse)
357	// message_response
358	switch x := m.MessageResponse.(type) {
359	case *ServerReflectionResponse_FileDescriptorResponse:
360		b.EncodeVarint(4<<3 | proto.WireBytes)
361		if err := b.EncodeMessage(x.FileDescriptorResponse); err != nil {
362			return err
363		}
364	case *ServerReflectionResponse_AllExtensionNumbersResponse:
365		b.EncodeVarint(5<<3 | proto.WireBytes)
366		if err := b.EncodeMessage(x.AllExtensionNumbersResponse); err != nil {
367			return err
368		}
369	case *ServerReflectionResponse_ListServicesResponse:
370		b.EncodeVarint(6<<3 | proto.WireBytes)
371		if err := b.EncodeMessage(x.ListServicesResponse); err != nil {
372			return err
373		}
374	case *ServerReflectionResponse_ErrorResponse:
375		b.EncodeVarint(7<<3 | proto.WireBytes)
376		if err := b.EncodeMessage(x.ErrorResponse); err != nil {
377			return err
378		}
379	case nil:
380	default:
381		return fmt.Errorf("ServerReflectionResponse.MessageResponse has unexpected type %T", x)
382	}
383	return nil
384}
385
386func _ServerReflectionResponse_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
387	m := msg.(*ServerReflectionResponse)
388	switch tag {
389	case 4: // message_response.file_descriptor_response
390		if wire != proto.WireBytes {
391			return true, proto.ErrInternalBadWireType
392		}
393		msg := new(FileDescriptorResponse)
394		err := b.DecodeMessage(msg)
395		m.MessageResponse = &ServerReflectionResponse_FileDescriptorResponse{msg}
396		return true, err
397	case 5: // message_response.all_extension_numbers_response
398		if wire != proto.WireBytes {
399			return true, proto.ErrInternalBadWireType
400		}
401		msg := new(ExtensionNumberResponse)
402		err := b.DecodeMessage(msg)
403		m.MessageResponse = &ServerReflectionResponse_AllExtensionNumbersResponse{msg}
404		return true, err
405	case 6: // message_response.list_services_response
406		if wire != proto.WireBytes {
407			return true, proto.ErrInternalBadWireType
408		}
409		msg := new(ListServiceResponse)
410		err := b.DecodeMessage(msg)
411		m.MessageResponse = &ServerReflectionResponse_ListServicesResponse{msg}
412		return true, err
413	case 7: // message_response.error_response
414		if wire != proto.WireBytes {
415			return true, proto.ErrInternalBadWireType
416		}
417		msg := new(ErrorResponse)
418		err := b.DecodeMessage(msg)
419		m.MessageResponse = &ServerReflectionResponse_ErrorResponse{msg}
420		return true, err
421	default:
422		return false, nil
423	}
424}
425
426func _ServerReflectionResponse_OneofSizer(msg proto.Message) (n int) {
427	m := msg.(*ServerReflectionResponse)
428	// message_response
429	switch x := m.MessageResponse.(type) {
430	case *ServerReflectionResponse_FileDescriptorResponse:
431		s := proto.Size(x.FileDescriptorResponse)
432		n += proto.SizeVarint(4<<3 | proto.WireBytes)
433		n += proto.SizeVarint(uint64(s))
434		n += s
435	case *ServerReflectionResponse_AllExtensionNumbersResponse:
436		s := proto.Size(x.AllExtensionNumbersResponse)
437		n += proto.SizeVarint(5<<3 | proto.WireBytes)
438		n += proto.SizeVarint(uint64(s))
439		n += s
440	case *ServerReflectionResponse_ListServicesResponse:
441		s := proto.Size(x.ListServicesResponse)
442		n += proto.SizeVarint(6<<3 | proto.WireBytes)
443		n += proto.SizeVarint(uint64(s))
444		n += s
445	case *ServerReflectionResponse_ErrorResponse:
446		s := proto.Size(x.ErrorResponse)
447		n += proto.SizeVarint(7<<3 | proto.WireBytes)
448		n += proto.SizeVarint(uint64(s))
449		n += s
450	case nil:
451	default:
452		panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
453	}
454	return n
455}
456
457// Serialized FileDescriptorProto messages sent by the server answering
458// a file_by_filename, file_containing_symbol, or file_containing_extension
459// request.
460type FileDescriptorResponse struct {
461	// Serialized FileDescriptorProto messages. We avoid taking a dependency on
462	// descriptor.proto, which uses proto2 only features, by making them opaque
463	// bytes instead.
464	FileDescriptorProto [][]byte `protobuf:"bytes,1,rep,name=file_descriptor_proto,json=fileDescriptorProto,proto3" json:"file_descriptor_proto,omitempty"`
465}
466
467func (m *FileDescriptorResponse) Reset()                    { *m = FileDescriptorResponse{} }
468func (m *FileDescriptorResponse) String() string            { return proto.CompactTextString(m) }
469func (*FileDescriptorResponse) ProtoMessage()               {}
470func (*FileDescriptorResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
471
472// A list of extension numbers sent by the server answering
473// all_extension_numbers_of_type request.
474type ExtensionNumberResponse struct {
475	// Full name of the base type, including the package name. The format
476	// is <package>.<type>
477	BaseTypeName    string  `protobuf:"bytes,1,opt,name=base_type_name,json=baseTypeName" json:"base_type_name,omitempty"`
478	ExtensionNumber []int32 `protobuf:"varint,2,rep,name=extension_number,json=extensionNumber" json:"extension_number,omitempty"`
479}
480
481func (m *ExtensionNumberResponse) Reset()                    { *m = ExtensionNumberResponse{} }
482func (m *ExtensionNumberResponse) String() string            { return proto.CompactTextString(m) }
483func (*ExtensionNumberResponse) ProtoMessage()               {}
484func (*ExtensionNumberResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
485
486// A list of ServiceResponse sent by the server answering list_services request.
487type ListServiceResponse struct {
488	// The information of each service may be expanded in the future, so we use
489	// ServiceResponse message to encapsulate it.
490	Service []*ServiceResponse `protobuf:"bytes,1,rep,name=service" json:"service,omitempty"`
491}
492
493func (m *ListServiceResponse) Reset()                    { *m = ListServiceResponse{} }
494func (m *ListServiceResponse) String() string            { return proto.CompactTextString(m) }
495func (*ListServiceResponse) ProtoMessage()               {}
496func (*ListServiceResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
497
498func (m *ListServiceResponse) GetService() []*ServiceResponse {
499	if m != nil {
500		return m.Service
501	}
502	return nil
503}
504
505// The information of a single service used by ListServiceResponse to answer
506// list_services request.
507type ServiceResponse struct {
508	// Full name of a registered service, including its package name. The format
509	// is <package>.<service>
510	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
511}
512
513func (m *ServiceResponse) Reset()                    { *m = ServiceResponse{} }
514func (m *ServiceResponse) String() string            { return proto.CompactTextString(m) }
515func (*ServiceResponse) ProtoMessage()               {}
516func (*ServiceResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
517
518// The error code and error message sent by the server when an error occurs.
519type ErrorResponse struct {
520	// This field uses the error codes defined in grpc::StatusCode.
521	ErrorCode    int32  `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"`
522	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
523}
524
525func (m *ErrorResponse) Reset()                    { *m = ErrorResponse{} }
526func (m *ErrorResponse) String() string            { return proto.CompactTextString(m) }
527func (*ErrorResponse) ProtoMessage()               {}
528func (*ErrorResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
529
530func init() {
531	proto.RegisterType((*ServerReflectionRequest)(nil), "grpc.reflection.v1alpha.ServerReflectionRequest")
532	proto.RegisterType((*ExtensionRequest)(nil), "grpc.reflection.v1alpha.ExtensionRequest")
533	proto.RegisterType((*ServerReflectionResponse)(nil), "grpc.reflection.v1alpha.ServerReflectionResponse")
534	proto.RegisterType((*FileDescriptorResponse)(nil), "grpc.reflection.v1alpha.FileDescriptorResponse")
535	proto.RegisterType((*ExtensionNumberResponse)(nil), "grpc.reflection.v1alpha.ExtensionNumberResponse")
536	proto.RegisterType((*ListServiceResponse)(nil), "grpc.reflection.v1alpha.ListServiceResponse")
537	proto.RegisterType((*ServiceResponse)(nil), "grpc.reflection.v1alpha.ServiceResponse")
538	proto.RegisterType((*ErrorResponse)(nil), "grpc.reflection.v1alpha.ErrorResponse")
539}
540
541// Reference imports to suppress errors if they are not otherwise used.
542var _ context.Context
543var _ grpc.ClientConn
544
545// This is a compile-time assertion to ensure that this generated file
546// is compatible with the grpc package it is being compiled against.
547const _ = grpc.SupportPackageIsVersion3
548
549// Client API for ServerReflection service
550
551type ServerReflectionClient interface {
552	// The reflection service is structured as a bidirectional stream, ensuring
553	// all related requests go to a single server.
554	ServerReflectionInfo(ctx context.Context, opts ...grpc.CallOption) (ServerReflection_ServerReflectionInfoClient, error)
555}
556
557type serverReflectionClient struct {
558	cc *grpc.ClientConn
559}
560
561func NewServerReflectionClient(cc *grpc.ClientConn) ServerReflectionClient {
562	return &serverReflectionClient{cc}
563}
564
565func (c *serverReflectionClient) ServerReflectionInfo(ctx context.Context, opts ...grpc.CallOption) (ServerReflection_ServerReflectionInfoClient, error) {
566	stream, err := grpc.NewClientStream(ctx, &_ServerReflection_serviceDesc.Streams[0], c.cc, "/grpc.reflection.v1alpha.ServerReflection/ServerReflectionInfo", opts...)
567	if err != nil {
568		return nil, err
569	}
570	x := &serverReflectionServerReflectionInfoClient{stream}
571	return x, nil
572}
573
574type ServerReflection_ServerReflectionInfoClient interface {
575	Send(*ServerReflectionRequest) error
576	Recv() (*ServerReflectionResponse, error)
577	grpc.ClientStream
578}
579
580type serverReflectionServerReflectionInfoClient struct {
581	grpc.ClientStream
582}
583
584func (x *serverReflectionServerReflectionInfoClient) Send(m *ServerReflectionRequest) error {
585	return x.ClientStream.SendMsg(m)
586}
587
588func (x *serverReflectionServerReflectionInfoClient) Recv() (*ServerReflectionResponse, error) {
589	m := new(ServerReflectionResponse)
590	if err := x.ClientStream.RecvMsg(m); err != nil {
591		return nil, err
592	}
593	return m, nil
594}
595
596// Server API for ServerReflection service
597
598type ServerReflectionServer interface {
599	// The reflection service is structured as a bidirectional stream, ensuring
600	// all related requests go to a single server.
601	ServerReflectionInfo(ServerReflection_ServerReflectionInfoServer) error
602}
603
604func RegisterServerReflectionServer(s *grpc.Server, srv ServerReflectionServer) {
605	s.RegisterService(&_ServerReflection_serviceDesc, srv)
606}
607
608func _ServerReflection_ServerReflectionInfo_Handler(srv interface{}, stream grpc.ServerStream) error {
609	return srv.(ServerReflectionServer).ServerReflectionInfo(&serverReflectionServerReflectionInfoServer{stream})
610}
611
612type ServerReflection_ServerReflectionInfoServer interface {
613	Send(*ServerReflectionResponse) error
614	Recv() (*ServerReflectionRequest, error)
615	grpc.ServerStream
616}
617
618type serverReflectionServerReflectionInfoServer struct {
619	grpc.ServerStream
620}
621
622func (x *serverReflectionServerReflectionInfoServer) Send(m *ServerReflectionResponse) error {
623	return x.ServerStream.SendMsg(m)
624}
625
626func (x *serverReflectionServerReflectionInfoServer) Recv() (*ServerReflectionRequest, error) {
627	m := new(ServerReflectionRequest)
628	if err := x.ServerStream.RecvMsg(m); err != nil {
629		return nil, err
630	}
631	return m, nil
632}
633
634var _ServerReflection_serviceDesc = grpc.ServiceDesc{
635	ServiceName: "grpc.reflection.v1alpha.ServerReflection",
636	HandlerType: (*ServerReflectionServer)(nil),
637	Methods:     []grpc.MethodDesc{},
638	Streams: []grpc.StreamDesc{
639		{
640			StreamName:    "ServerReflectionInfo",
641			Handler:       _ServerReflection_ServerReflectionInfo_Handler,
642			ServerStreams: true,
643			ClientStreams: true,
644		},
645	},
646	Metadata: fileDescriptor0,
647}
648
649func init() { proto.RegisterFile("reflection.proto", fileDescriptor0) }
650
651var fileDescriptor0 = []byte{
652	// 646 bytes of a gzipped FileDescriptorProto
653	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x94, 0x54, 0xdd, 0x6e, 0xd3, 0x4c,
654	0x10, 0xfd, 0xd2, 0xe6, 0x47, 0x99, 0xfc, 0xf9, 0xdb, 0x86, 0xc4, 0x05, 0x15, 0x21, 0x43, 0x21,
655	0x45, 0x28, 0xb4, 0x46, 0xe2, 0x01, 0x52, 0x40, 0x45, 0x2a, 0x2d, 0x72, 0xb8, 0x41, 0x5c, 0x58,
656	0x8e, 0xb3, 0x4e, 0x0d, 0x8e, 0xd7, 0xec, 0xba, 0x81, 0x5c, 0xf1, 0x10, 0x3c, 0x14, 0xaf, 0xc4,
657	0x25, 0xbb, 0xeb, 0x9f, 0x38, 0xae, 0x0d, 0xea, 0x95, 0xad, 0xb3, 0x33, 0x7b, 0x66, 0xe6, 0x9c,
658	0x59, 0x50, 0x28, 0x76, 0x3c, 0x6c, 0x87, 0x2e, 0xf1, 0xc7, 0x01, 0x25, 0x21, 0x41, 0xc3, 0x05,
659	0x0d, 0xec, 0x71, 0x06, 0x5e, 0x9d, 0x58, 0x5e, 0x70, 0x65, 0x69, 0xbf, 0x77, 0x60, 0x38, 0xc5,
660	0x74, 0x85, 0xa9, 0x91, 0x1e, 0x1a, 0xf8, 0xeb, 0x35, 0x66, 0x21, 0x42, 0x50, 0xbd, 0x22, 0x2c,
661	0x54, 0x2b, 0x0f, 0x2a, 0xa3, 0xa6, 0x21, 0xff, 0xd1, 0x53, 0x50, 0x1c, 0xd7, 0xc3, 0xe6, 0x6c,
662	0x6d, 0x8a, 0xaf, 0x6f, 0x2d, 0xb1, 0xba, 0x2b, 0xce, 0xcf, 0xfe, 0x33, 0xba, 0x02, 0x99, 0xac,
663	0xdf, 0xc4, 0x38, 0x7a, 0x09, 0x03, 0x19, 0x6b, 0x13, 0x3f, 0xb4, 0x5c, 0xdf, 0xf5, 0x17, 0x26,
664	0x5b, 0x2f, 0x67, 0xc4, 0x53, 0xab, 0x71, 0x46, 0x5f, 0x9c, 0x9f, 0xa6, 0xc7, 0x53, 0x79, 0x8a,
665	0x16, 0xb0, 0x9f, 0xcf, 0xc3, 0xdf, 0x43, 0xec, 0x33, 0x5e, 0x9b, 0x5a, 0xe3, 0xa9, 0x2d, 0xfd,
666	0x68, 0x5c, 0xd2, 0xd0, 0xf8, 0x75, 0x12, 0x19, 0x77, 0xc1, 0x59, 0x86, 0xdb, 0x2c, 0x69, 0x04,
667	0x9a, 0xc0, 0x81, 0xe5, 0x79, 0x9b, 0xcb, 0x4d, 0xff, 0x7a, 0x39, 0xc3, 0x94, 0x99, 0xc4, 0x31,
668	0xc3, 0x75, 0x80, 0xd5, 0x7a, 0x5c, 0xe7, 0x3e, 0x0f, 0x4b, 0xd3, 0x2e, 0xa2, 0xa0, 0x4b, 0xe7,
669	0x03, 0x0f, 0x41, 0x87, 0xd0, 0xf1, 0x5c, 0x16, 0x9a, 0x8c, 0x0f, 0xd1, 0xb5, 0x31, 0x53, 0x1b,
670	0x71, 0x4e, 0x5b, 0xc0, 0xd3, 0x18, 0x9d, 0xfc, 0x0f, 0xbd, 0x25, 0x66, 0xcc, 0x5a, 0x60, 0x93,
671	0x46, 0x85, 0x69, 0x0e, 0x28, 0xf9, 0x62, 0xd1, 0x13, 0xe8, 0x65, 0xba, 0x96, 0x35, 0x44, 0xd3,
672	0xef, 0x6e, 0x60, 0x49, 0x7b, 0x04, 0x4a, 0xbe, 0x6c, 0x75, 0x87, 0x47, 0xd6, 0x8c, 0x1e, 0xde,
673	0x2e, 0x54, 0xfb, 0x55, 0x05, 0xf5, 0xa6, 0xc4, 0x2c, 0x20, 0x3e, 0xc3, 0xe8, 0x00, 0x60, 0x65,
674	0x79, 0xee, 0xdc, 0xcc, 0x28, 0xdd, 0x94, 0xc8, 0x99, 0x90, 0xfb, 0x13, 0x28, 0x84, 0xba, 0x0b,
675	0xd7, 0xb7, 0xbc, 0xa4, 0x6e, 0x49, 0xd3, 0xd2, 0x8f, 0x4b, 0x15, 0x28, 0xb1, 0x93, 0xd1, 0x4b,
676	0x6e, 0x4a, 0x9a, 0xfd, 0x02, 0xaa, 0xd4, 0x79, 0x8e, 0x99, 0x4d, 0xdd, 0x20, 0x24, 0x94, 0x73,
677	0x44, 0x75, 0x49, 0x87, 0xb4, 0xf4, 0xe7, 0xa5, 0x24, 0xc2, 0x64, 0xaf, 0xd2, 0xbc, 0xa4, 0x1d,
678	0x3e, 0x76, 0x69, 0xb9, 0x9b, 0x27, 0xe8, 0x1b, 0xdc, 0x2f, 0xd6, 0x3a, 0xa5, 0xac, 0xfd, 0xa3,
679	0xaf, 0x9c, 0x01, 0x32, 0x9c, 0xf7, 0x0a, 0xec, 0x91, 0x12, 0xcf, 0x61, 0xb0, 0x65, 0x90, 0x0d,
680	0x61, 0x5d, 0x12, 0x3e, 0x2b, 0x25, 0x3c, 0xdf, 0x18, 0x28, 0x43, 0xd6, 0xcf, 0xfa, 0x2a, 0x65,
681	0xb9, 0x84, 0x2e, 0xa6, 0x34, 0x3b, 0xc1, 0x86, 0xbc, 0xfd, 0x71, 0x79, 0x3b, 0x22, 0x3c, 0x73,
682	0x6f, 0x07, 0x67, 0x81, 0x09, 0x02, 0x65, 0x63, 0xd8, 0x08, 0xd3, 0xce, 0x61, 0x50, 0x3c, 0x77,
683	0xa4, 0xc3, 0x9d, 0xbc, 0x94, 0xf2, 0xe1, 0xe1, 0x8e, 0xda, 0x1d, 0xb5, 0x8d, 0xbd, 0x6d, 0x51,
684	0xde, 0x8b, 0x23, 0xed, 0x33, 0x0c, 0x4b, 0x46, 0x8a, 0x1e, 0x41, 0x77, 0x66, 0x31, 0x2c, 0x17,
685	0xc0, 0x94, 0x6f, 0x4c, 0xe4, 0xcc, 0xb6, 0x40, 0x85, 0xff, 0x2f, 0xc4, 0xfb, 0x52, 0xbc, 0x03,
686	0xbb, 0x45, 0x3b, 0xf0, 0x11, 0xf6, 0x0a, 0xa6, 0xc9, 0x1f, 0x80, 0x46, 0x2c, 0x8b, 0x2c, 0xb4,
687	0xa5, 0x8f, 0xfe, 0xea, 0xea, 0x4c, 0xaa, 0x91, 0x24, 0x6a, 0x87, 0xd0, 0xcb, 0x5f, 0xcb, 0x1f,
688	0xce, 0x4c, 0xd1, 0xf2, 0x5f, 0x9b, 0x42, 0x67, 0x6b, 0xe2, 0x62, 0xf3, 0x22, 0xc5, 0x6c, 0x32,
689	0x8f, 0x42, 0x6b, 0x46, 0x53, 0x22, 0xa7, 0x1c, 0x40, 0x0f, 0x21, 0x12, 0xc4, 0x8c, 0x55, 0x90,
690	0x6b, 0xc7, 0x27, 0x20, 0xc1, 0x77, 0x11, 0xa6, 0xff, 0xac, 0x80, 0x92, 0x5f, 0x37, 0xf4, 0x03,
691	0xfa, 0x79, 0xec, 0xad, 0xef, 0x10, 0x74, 0xeb, 0x8d, 0xbd, 0x7b, 0x72, 0x8b, 0x8c, 0xa8, 0xab,
692	0x51, 0xe5, 0xb8, 0x32, 0xab, 0x4b, 0xe9, 0x5f, 0xfc, 0x09, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x3f,
693	0x7b, 0x08, 0x87, 0x06, 0x00, 0x00,
694}
695