Matteo Scandolo | a6a3aee | 2019-11-26 13:30:14 -0700 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: internal/stream_chunk.proto |
| 3 | |
| 4 | package internal |
| 5 | |
| 6 | import proto "github.com/golang/protobuf/proto" |
| 7 | import fmt "fmt" |
| 8 | import math "math" |
| 9 | import any "github.com/golang/protobuf/ptypes/any" |
| 10 | |
| 11 | // Reference imports to suppress errors if they are not otherwise used. |
| 12 | var _ = proto.Marshal |
| 13 | var _ = fmt.Errorf |
| 14 | var _ = math.Inf |
| 15 | |
| 16 | // This is a compile-time assertion to ensure that this generated file |
| 17 | // is compatible with the proto package it is being compiled against. |
| 18 | // A compilation error at this line likely means your copy of the |
| 19 | // proto package needs to be updated. |
| 20 | const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package |
| 21 | |
| 22 | // StreamError is a response type which is returned when |
| 23 | // streaming rpc returns an error. |
| 24 | type StreamError struct { |
| 25 | GrpcCode int32 `protobuf:"varint,1,opt,name=grpc_code,json=grpcCode,proto3" json:"grpc_code,omitempty"` |
| 26 | HttpCode int32 `protobuf:"varint,2,opt,name=http_code,json=httpCode,proto3" json:"http_code,omitempty"` |
| 27 | Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` |
| 28 | HttpStatus string `protobuf:"bytes,4,opt,name=http_status,json=httpStatus,proto3" json:"http_status,omitempty"` |
| 29 | Details []*any.Any `protobuf:"bytes,5,rep,name=details,proto3" json:"details,omitempty"` |
| 30 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 31 | XXX_unrecognized []byte `json:"-"` |
| 32 | XXX_sizecache int32 `json:"-"` |
| 33 | } |
| 34 | |
| 35 | func (m *StreamError) Reset() { *m = StreamError{} } |
| 36 | func (m *StreamError) String() string { return proto.CompactTextString(m) } |
| 37 | func (*StreamError) ProtoMessage() {} |
| 38 | func (*StreamError) Descriptor() ([]byte, []int) { |
| 39 | return fileDescriptor_stream_chunk_a2afb657504565d7, []int{0} |
| 40 | } |
| 41 | func (m *StreamError) XXX_Unmarshal(b []byte) error { |
| 42 | return xxx_messageInfo_StreamError.Unmarshal(m, b) |
| 43 | } |
| 44 | func (m *StreamError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 45 | return xxx_messageInfo_StreamError.Marshal(b, m, deterministic) |
| 46 | } |
| 47 | func (dst *StreamError) XXX_Merge(src proto.Message) { |
| 48 | xxx_messageInfo_StreamError.Merge(dst, src) |
| 49 | } |
| 50 | func (m *StreamError) XXX_Size() int { |
| 51 | return xxx_messageInfo_StreamError.Size(m) |
| 52 | } |
| 53 | func (m *StreamError) XXX_DiscardUnknown() { |
| 54 | xxx_messageInfo_StreamError.DiscardUnknown(m) |
| 55 | } |
| 56 | |
| 57 | var xxx_messageInfo_StreamError proto.InternalMessageInfo |
| 58 | |
| 59 | func (m *StreamError) GetGrpcCode() int32 { |
| 60 | if m != nil { |
| 61 | return m.GrpcCode |
| 62 | } |
| 63 | return 0 |
| 64 | } |
| 65 | |
| 66 | func (m *StreamError) GetHttpCode() int32 { |
| 67 | if m != nil { |
| 68 | return m.HttpCode |
| 69 | } |
| 70 | return 0 |
| 71 | } |
| 72 | |
| 73 | func (m *StreamError) GetMessage() string { |
| 74 | if m != nil { |
| 75 | return m.Message |
| 76 | } |
| 77 | return "" |
| 78 | } |
| 79 | |
| 80 | func (m *StreamError) GetHttpStatus() string { |
| 81 | if m != nil { |
| 82 | return m.HttpStatus |
| 83 | } |
| 84 | return "" |
| 85 | } |
| 86 | |
| 87 | func (m *StreamError) GetDetails() []*any.Any { |
| 88 | if m != nil { |
| 89 | return m.Details |
| 90 | } |
| 91 | return nil |
| 92 | } |
| 93 | |
| 94 | func init() { |
| 95 | proto.RegisterType((*StreamError)(nil), "grpc.gateway.runtime.StreamError") |
| 96 | } |
| 97 | |
| 98 | func init() { |
| 99 | proto.RegisterFile("internal/stream_chunk.proto", fileDescriptor_stream_chunk_a2afb657504565d7) |
| 100 | } |
| 101 | |
| 102 | var fileDescriptor_stream_chunk_a2afb657504565d7 = []byte{ |
| 103 | // 223 bytes of a gzipped FileDescriptorProto |
| 104 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x34, 0x90, 0x41, 0x4e, 0xc3, 0x30, |
| 105 | 0x10, 0x45, 0x15, 0x4a, 0x69, 0x3b, 0xd9, 0x45, 0x5d, 0x18, 0xba, 0x20, 0x62, 0x95, 0x95, 0x23, |
| 106 | 0xc1, 0x09, 0x00, 0x71, 0x81, 0x74, 0xc7, 0xa6, 0x9a, 0x26, 0x83, 0x13, 0x91, 0xd8, 0xd1, 0x78, |
| 107 | 0x22, 0x94, 0x6b, 0x71, 0xc2, 0xca, 0x8e, 0xb2, 0xf4, 0x7b, 0x7f, 0xbe, 0xbe, 0x0c, 0xa7, 0xce, |
| 108 | 0x0a, 0xb1, 0xc5, 0xbe, 0xf4, 0xc2, 0x84, 0xc3, 0xa5, 0x6e, 0x27, 0xfb, 0xab, 0x47, 0x76, 0xe2, |
| 109 | 0xb2, 0xa3, 0xe1, 0xb1, 0xd6, 0x06, 0x85, 0xfe, 0x70, 0xd6, 0x3c, 0x59, 0xe9, 0x06, 0x7a, 0x7a, |
| 110 | 0x34, 0xce, 0x99, 0x9e, 0xca, 0x98, 0xb9, 0x4e, 0x3f, 0x25, 0xda, 0x79, 0x39, 0x78, 0xf9, 0x4f, |
| 111 | 0x20, 0x3d, 0xc7, 0x9e, 0x2f, 0x66, 0xc7, 0xd9, 0x09, 0x0e, 0xa1, 0xe2, 0x52, 0xbb, 0x86, 0x54, |
| 112 | 0x92, 0x27, 0xc5, 0xb6, 0xda, 0x07, 0xf0, 0xe9, 0x1a, 0x0a, 0xb2, 0x15, 0x19, 0x17, 0x79, 0xb7, |
| 113 | 0xc8, 0x00, 0xa2, 0x54, 0xb0, 0x1b, 0xc8, 0x7b, 0x34, 0xa4, 0x36, 0x79, 0x52, 0x1c, 0xaa, 0xf5, |
| 114 | 0x99, 0x3d, 0x43, 0x1a, 0xcf, 0xbc, 0xa0, 0x4c, 0x5e, 0xdd, 0x47, 0x0b, 0x01, 0x9d, 0x23, 0xc9, |
| 115 | 0x34, 0xec, 0x1a, 0x12, 0xec, 0x7a, 0xaf, 0xb6, 0xf9, 0xa6, 0x48, 0x5f, 0x8f, 0x7a, 0x59, 0xac, |
| 116 | 0xd7, 0xc5, 0xfa, 0xdd, 0xce, 0xd5, 0x1a, 0xfa, 0x80, 0xef, 0xfd, 0xfa, 0x09, 0xd7, 0x87, 0x18, |
| 117 | 0x79, 0xbb, 0x05, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x7d, 0xa5, 0x18, 0x17, 0x01, 0x00, 0x00, |
| 118 | } |