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