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