github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/pingcap/go-hbase/proto/ErrorHandling.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: ErrorHandling.proto 3 // DO NOT EDIT! 4 5 package proto 6 7 import proto1 "github.com/insionng/yougam/libraries/golang/protobuf/proto" 8 import math "math" 9 10 // Reference imports to suppress errors if they are not otherwise used. 11 var _ = proto1.Marshal 12 var _ = math.Inf 13 14 // * 15 // Protobuf version of a java.lang.StackTraceElement 16 // so we can serialize exceptions. 17 type StackTraceElementMessage struct { 18 DeclaringClass *string `protobuf:"bytes,1,opt,name=declaring_class" json:"declaring_class,omitempty"` 19 MethodName *string `protobuf:"bytes,2,opt,name=method_name" json:"method_name,omitempty"` 20 FileName *string `protobuf:"bytes,3,opt,name=file_name" json:"file_name,omitempty"` 21 LineNumber *int32 `protobuf:"varint,4,opt,name=line_number" json:"line_number,omitempty"` 22 XXX_unrecognized []byte `json:"-"` 23 } 24 25 func (m *StackTraceElementMessage) Reset() { *m = StackTraceElementMessage{} } 26 func (m *StackTraceElementMessage) String() string { return proto1.CompactTextString(m) } 27 func (*StackTraceElementMessage) ProtoMessage() {} 28 29 func (m *StackTraceElementMessage) GetDeclaringClass() string { 30 if m != nil && m.DeclaringClass != nil { 31 return *m.DeclaringClass 32 } 33 return "" 34 } 35 36 func (m *StackTraceElementMessage) GetMethodName() string { 37 if m != nil && m.MethodName != nil { 38 return *m.MethodName 39 } 40 return "" 41 } 42 43 func (m *StackTraceElementMessage) GetFileName() string { 44 if m != nil && m.FileName != nil { 45 return *m.FileName 46 } 47 return "" 48 } 49 50 func (m *StackTraceElementMessage) GetLineNumber() int32 { 51 if m != nil && m.LineNumber != nil { 52 return *m.LineNumber 53 } 54 return 0 55 } 56 57 // * 58 // Cause of a remote failure for a generic exception. Contains 59 // all the information for a generic exception as well as 60 // optional info about the error for generic info passing 61 // (which should be another protobuffed class). 62 type GenericExceptionMessage struct { 63 ClassName *string `protobuf:"bytes,1,opt,name=class_name" json:"class_name,omitempty"` 64 Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` 65 ErrorInfo []byte `protobuf:"bytes,3,opt,name=error_info" json:"error_info,omitempty"` 66 Trace []*StackTraceElementMessage `protobuf:"bytes,4,rep,name=trace" json:"trace,omitempty"` 67 XXX_unrecognized []byte `json:"-"` 68 } 69 70 func (m *GenericExceptionMessage) Reset() { *m = GenericExceptionMessage{} } 71 func (m *GenericExceptionMessage) String() string { return proto1.CompactTextString(m) } 72 func (*GenericExceptionMessage) ProtoMessage() {} 73 74 func (m *GenericExceptionMessage) GetClassName() string { 75 if m != nil && m.ClassName != nil { 76 return *m.ClassName 77 } 78 return "" 79 } 80 81 func (m *GenericExceptionMessage) GetMessage() string { 82 if m != nil && m.Message != nil { 83 return *m.Message 84 } 85 return "" 86 } 87 88 func (m *GenericExceptionMessage) GetErrorInfo() []byte { 89 if m != nil { 90 return m.ErrorInfo 91 } 92 return nil 93 } 94 95 func (m *GenericExceptionMessage) GetTrace() []*StackTraceElementMessage { 96 if m != nil { 97 return m.Trace 98 } 99 return nil 100 } 101 102 // * 103 // Exception sent across the wire when a remote task needs 104 // to notify other tasks that it failed and why 105 type ForeignExceptionMessage struct { 106 Source *string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"` 107 GenericException *GenericExceptionMessage `protobuf:"bytes,2,opt,name=generic_exception" json:"generic_exception,omitempty"` 108 XXX_unrecognized []byte `json:"-"` 109 } 110 111 func (m *ForeignExceptionMessage) Reset() { *m = ForeignExceptionMessage{} } 112 func (m *ForeignExceptionMessage) String() string { return proto1.CompactTextString(m) } 113 func (*ForeignExceptionMessage) ProtoMessage() {} 114 115 func (m *ForeignExceptionMessage) GetSource() string { 116 if m != nil && m.Source != nil { 117 return *m.Source 118 } 119 return "" 120 } 121 122 func (m *ForeignExceptionMessage) GetGenericException() *GenericExceptionMessage { 123 if m != nil { 124 return m.GenericException 125 } 126 return nil 127 } 128 129 func init() { 130 }