stream_chunk.pb.go 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: internal/stream_chunk.proto
  3. package internal
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import any "github.com/golang/protobuf/ptypes/any"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // StreamError is a response type which is returned when
  18. // streaming rpc returns an error.
  19. type StreamError struct {
  20. GrpcCode int32 `protobuf:"varint,1,opt,name=grpc_code,json=grpcCode,proto3" json:"grpc_code,omitempty"`
  21. HttpCode int32 `protobuf:"varint,2,opt,name=http_code,json=httpCode,proto3" json:"http_code,omitempty"`
  22. Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
  23. HttpStatus string `protobuf:"bytes,4,opt,name=http_status,json=httpStatus,proto3" json:"http_status,omitempty"`
  24. Details []*any.Any `protobuf:"bytes,5,rep,name=details,proto3" json:"details,omitempty"`
  25. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  26. XXX_unrecognized []byte `json:"-"`
  27. XXX_sizecache int32 `json:"-"`
  28. }
  29. func (m *StreamError) Reset() { *m = StreamError{} }
  30. func (m *StreamError) String() string { return proto.CompactTextString(m) }
  31. func (*StreamError) ProtoMessage() {}
  32. func (*StreamError) Descriptor() ([]byte, []int) {
  33. return fileDescriptor_stream_chunk_a2afb657504565d7, []int{0}
  34. }
  35. func (m *StreamError) XXX_Unmarshal(b []byte) error {
  36. return xxx_messageInfo_StreamError.Unmarshal(m, b)
  37. }
  38. func (m *StreamError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  39. return xxx_messageInfo_StreamError.Marshal(b, m, deterministic)
  40. }
  41. func (dst *StreamError) XXX_Merge(src proto.Message) {
  42. xxx_messageInfo_StreamError.Merge(dst, src)
  43. }
  44. func (m *StreamError) XXX_Size() int {
  45. return xxx_messageInfo_StreamError.Size(m)
  46. }
  47. func (m *StreamError) XXX_DiscardUnknown() {
  48. xxx_messageInfo_StreamError.DiscardUnknown(m)
  49. }
  50. var xxx_messageInfo_StreamError proto.InternalMessageInfo
  51. func (m *StreamError) GetGrpcCode() int32 {
  52. if m != nil {
  53. return m.GrpcCode
  54. }
  55. return 0
  56. }
  57. func (m *StreamError) GetHttpCode() int32 {
  58. if m != nil {
  59. return m.HttpCode
  60. }
  61. return 0
  62. }
  63. func (m *StreamError) GetMessage() string {
  64. if m != nil {
  65. return m.Message
  66. }
  67. return ""
  68. }
  69. func (m *StreamError) GetHttpStatus() string {
  70. if m != nil {
  71. return m.HttpStatus
  72. }
  73. return ""
  74. }
  75. func (m *StreamError) GetDetails() []*any.Any {
  76. if m != nil {
  77. return m.Details
  78. }
  79. return nil
  80. }
  81. func init() {
  82. proto.RegisterType((*StreamError)(nil), "grpc.gateway.runtime.StreamError")
  83. }
  84. func init() {
  85. proto.RegisterFile("internal/stream_chunk.proto", fileDescriptor_stream_chunk_a2afb657504565d7)
  86. }
  87. var fileDescriptor_stream_chunk_a2afb657504565d7 = []byte{
  88. // 223 bytes of a gzipped FileDescriptorProto
  89. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x34, 0x90, 0x41, 0x4e, 0xc3, 0x30,
  90. 0x10, 0x45, 0x15, 0x4a, 0x69, 0x3b, 0xd9, 0x45, 0x5d, 0x18, 0xba, 0x20, 0x62, 0x95, 0x95, 0x23,
  91. 0xc1, 0x09, 0x00, 0x71, 0x81, 0x74, 0xc7, 0xa6, 0x9a, 0x26, 0x83, 0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, 0x17, 0x01, 0x00, 0x00,
  103. }