ErrorHandling.pb.go 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: ErrorHandling.proto
  3. package pb
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // *
  12. // Protobuf version of a java.lang.StackTraceElement
  13. // so we can serialize exceptions.
  14. type StackTraceElementMessage struct {
  15. DeclaringClass *string `protobuf:"bytes,1,opt,name=declaring_class,json=declaringClass" json:"declaring_class,omitempty"`
  16. MethodName *string `protobuf:"bytes,2,opt,name=method_name,json=methodName" json:"method_name,omitempty"`
  17. FileName *string `protobuf:"bytes,3,opt,name=file_name,json=fileName" json:"file_name,omitempty"`
  18. LineNumber *int32 `protobuf:"varint,4,opt,name=line_number,json=lineNumber" json:"line_number,omitempty"`
  19. XXX_unrecognized []byte `json:"-"`
  20. }
  21. func (m *StackTraceElementMessage) Reset() { *m = StackTraceElementMessage{} }
  22. func (m *StackTraceElementMessage) String() string { return proto.CompactTextString(m) }
  23. func (*StackTraceElementMessage) ProtoMessage() {}
  24. func (*StackTraceElementMessage) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
  25. func (m *StackTraceElementMessage) GetDeclaringClass() string {
  26. if m != nil && m.DeclaringClass != nil {
  27. return *m.DeclaringClass
  28. }
  29. return ""
  30. }
  31. func (m *StackTraceElementMessage) GetMethodName() string {
  32. if m != nil && m.MethodName != nil {
  33. return *m.MethodName
  34. }
  35. return ""
  36. }
  37. func (m *StackTraceElementMessage) GetFileName() string {
  38. if m != nil && m.FileName != nil {
  39. return *m.FileName
  40. }
  41. return ""
  42. }
  43. func (m *StackTraceElementMessage) GetLineNumber() int32 {
  44. if m != nil && m.LineNumber != nil {
  45. return *m.LineNumber
  46. }
  47. return 0
  48. }
  49. // *
  50. // Cause of a remote failure for a generic exception. Contains
  51. // all the information for a generic exception as well as
  52. // optional info about the error for generic info passing
  53. // (which should be another protobuffed class).
  54. type GenericExceptionMessage struct {
  55. ClassName *string `protobuf:"bytes,1,opt,name=class_name,json=className" json:"class_name,omitempty"`
  56. Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
  57. ErrorInfo []byte `protobuf:"bytes,3,opt,name=error_info,json=errorInfo" json:"error_info,omitempty"`
  58. Trace []*StackTraceElementMessage `protobuf:"bytes,4,rep,name=trace" json:"trace,omitempty"`
  59. XXX_unrecognized []byte `json:"-"`
  60. }
  61. func (m *GenericExceptionMessage) Reset() { *m = GenericExceptionMessage{} }
  62. func (m *GenericExceptionMessage) String() string { return proto.CompactTextString(m) }
  63. func (*GenericExceptionMessage) ProtoMessage() {}
  64. func (*GenericExceptionMessage) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{1} }
  65. func (m *GenericExceptionMessage) GetClassName() string {
  66. if m != nil && m.ClassName != nil {
  67. return *m.ClassName
  68. }
  69. return ""
  70. }
  71. func (m *GenericExceptionMessage) GetMessage() string {
  72. if m != nil && m.Message != nil {
  73. return *m.Message
  74. }
  75. return ""
  76. }
  77. func (m *GenericExceptionMessage) GetErrorInfo() []byte {
  78. if m != nil {
  79. return m.ErrorInfo
  80. }
  81. return nil
  82. }
  83. func (m *GenericExceptionMessage) GetTrace() []*StackTraceElementMessage {
  84. if m != nil {
  85. return m.Trace
  86. }
  87. return nil
  88. }
  89. // *
  90. // Exception sent across the wire when a remote task needs
  91. // to notify other tasks that it failed and why
  92. type ForeignExceptionMessage struct {
  93. Source *string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
  94. GenericException *GenericExceptionMessage `protobuf:"bytes,2,opt,name=generic_exception,json=genericException" json:"generic_exception,omitempty"`
  95. XXX_unrecognized []byte `json:"-"`
  96. }
  97. func (m *ForeignExceptionMessage) Reset() { *m = ForeignExceptionMessage{} }
  98. func (m *ForeignExceptionMessage) String() string { return proto.CompactTextString(m) }
  99. func (*ForeignExceptionMessage) ProtoMessage() {}
  100. func (*ForeignExceptionMessage) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{2} }
  101. func (m *ForeignExceptionMessage) GetSource() string {
  102. if m != nil && m.Source != nil {
  103. return *m.Source
  104. }
  105. return ""
  106. }
  107. func (m *ForeignExceptionMessage) GetGenericException() *GenericExceptionMessage {
  108. if m != nil {
  109. return m.GenericException
  110. }
  111. return nil
  112. }
  113. func init() {
  114. proto.RegisterType((*StackTraceElementMessage)(nil), "pb.StackTraceElementMessage")
  115. proto.RegisterType((*GenericExceptionMessage)(nil), "pb.GenericExceptionMessage")
  116. proto.RegisterType((*ForeignExceptionMessage)(nil), "pb.ForeignExceptionMessage")
  117. }
  118. func init() { proto.RegisterFile("ErrorHandling.proto", fileDescriptor7) }
  119. var fileDescriptor7 = []byte{
  120. // 349 bytes of a gzipped FileDescriptorProto
  121. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x5d, 0x4b, 0xf3, 0x30,
  122. 0x14, 0xc7, 0xc9, 0x5e, 0x9e, 0xe7, 0xe9, 0xe9, 0x83, 0x2f, 0x15, 0x5c, 0x61, 0xca, 0xc6, 0x6e,
  123. 0x1c, 0x5e, 0xf4, 0x62, 0x1f, 0x61, 0xb2, 0x39, 0x2f, 0x1c, 0x52, 0xbd, 0x2f, 0x69, 0x7a, 0xda,
  124. 0x06, 0xdb, 0xa4, 0xa4, 0x19, 0x08, 0x7e, 0x19, 0x11, 0xfc, 0x9e, 0x92, 0x64, 0x15, 0x54, 0x76,
  125. 0x99, 0xdf, 0xf9, 0x9f, 0xf4, 0x77, 0x4e, 0x03, 0x67, 0x2b, 0xa5, 0xa4, 0xda, 0x50, 0x91, 0x55,
  126. 0x5c, 0x14, 0x51, 0xa3, 0xa4, 0x96, 0x41, 0xaf, 0x49, 0x67, 0xef, 0x04, 0xc2, 0x47, 0x4d, 0xd9,
  127. 0xf3, 0x93, 0xa2, 0x0c, 0x57, 0x15, 0xd6, 0x28, 0xf4, 0x3d, 0xb6, 0x2d, 0x2d, 0x30, 0xb8, 0x82,
  128. 0xe3, 0x0c, 0x59, 0x45, 0x15, 0x17, 0x45, 0xc2, 0x2a, 0xda, 0xb6, 0x21, 0x99, 0x92, 0xb9, 0x17,
  129. 0x1f, 0x7d, 0xe1, 0x1b, 0x43, 0x83, 0x09, 0xf8, 0x35, 0xea, 0x52, 0x66, 0x89, 0xa0, 0x35, 0x86,
  130. 0x3d, 0x1b, 0x02, 0x87, 0xb6, 0xb4, 0xc6, 0x60, 0x0c, 0x5e, 0xce, 0x2b, 0x74, 0xe5, 0xbe, 0x2d,
  131. 0xff, 0x33, 0xc0, 0x16, 0x27, 0xe0, 0x57, 0x5c, 0x60, 0x22, 0x76, 0x75, 0x8a, 0x2a, 0x1c, 0x4c,
  132. 0xc9, 0x7c, 0x18, 0x83, 0x41, 0x5b, 0x4b, 0x66, 0x1f, 0x04, 0x46, 0xb7, 0x28, 0x50, 0x71, 0xb6,
  133. 0x7a, 0x61, 0xd8, 0x68, 0x2e, 0x45, 0xe7, 0x78, 0x09, 0x60, 0xcd, 0xdc, 0xd5, 0x4e, 0xcf, 0xb3,
  134. 0xc4, 0xde, 0x1d, 0xc2, 0xdf, 0xda, 0x25, 0xf7, 0x56, 0xdd, 0xd1, 0x34, 0xa2, 0x59, 0x4a, 0xc2,
  135. 0x45, 0x2e, 0xad, 0xd3, 0xff, 0xd8, 0xb3, 0xe4, 0x4e, 0xe4, 0x32, 0x58, 0xc0, 0x50, 0x9b, 0x95,
  136. 0x84, 0x83, 0x69, 0x7f, 0xee, 0x2f, 0x2e, 0xa2, 0x26, 0x8d, 0x0e, 0x2d, 0x2a, 0x76, 0xd1, 0xd9,
  137. 0x2b, 0x8c, 0xd6, 0x52, 0x21, 0x2f, 0xc4, 0x2f, 0xcd, 0x73, 0xf8, 0xd3, 0xca, 0x9d, 0x62, 0x9d,
  138. 0xe2, 0xfe, 0x14, 0x6c, 0xe0, 0xb4, 0x70, 0x93, 0x25, 0xd8, 0xf5, 0x58, 0x53, 0x7f, 0x31, 0x36,
  139. 0x9f, 0x3c, 0x30, 0x76, 0x7c, 0x52, 0xfc, 0x28, 0x2c, 0xd7, 0x70, 0x2d, 0x55, 0x11, 0xd1, 0x86,
  140. 0xb2, 0x12, 0xa3, 0x92, 0x66, 0x52, 0x36, 0x51, 0x99, 0xd2, 0x16, 0xdd, 0xef, 0x4e, 0x77, 0x79,
  141. 0x64, 0x9b, 0xa8, 0xc6, 0x6c, 0xf9, 0xfd, 0x41, 0x3c, 0x98, 0x40, 0xbb, 0x21, 0x6f, 0x84, 0x7c,
  142. 0x06, 0x00, 0x00, 0xff, 0xff, 0x59, 0x62, 0x7e, 0xbe, 0x2b, 0x02, 0x00, 0x00,
  143. }