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