stack.pb.go 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: stack.proto
  3. package stack
  4. import (
  5. fmt "fmt"
  6. proto "github.com/golang/protobuf/proto"
  7. math "math"
  8. )
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  18. type Stack struct {
  19. Frames []*Frame `protobuf:"bytes,1,rep,name=frames,proto3" json:"frames,omitempty"`
  20. Cmdline []string `protobuf:"bytes,2,rep,name=cmdline,proto3" json:"cmdline,omitempty"`
  21. Pid int32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"`
  22. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
  23. Revision string `protobuf:"bytes,5,opt,name=revision,proto3" json:"revision,omitempty"`
  24. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  25. XXX_unrecognized []byte `json:"-"`
  26. XXX_sizecache int32 `json:"-"`
  27. }
  28. func (m *Stack) Reset() { *m = Stack{} }
  29. func (m *Stack) String() string { return proto.CompactTextString(m) }
  30. func (*Stack) ProtoMessage() {}
  31. func (*Stack) Descriptor() ([]byte, []int) {
  32. return fileDescriptor_b44c07feb2ca0a5a, []int{0}
  33. }
  34. func (m *Stack) XXX_Unmarshal(b []byte) error {
  35. return xxx_messageInfo_Stack.Unmarshal(m, b)
  36. }
  37. func (m *Stack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  38. return xxx_messageInfo_Stack.Marshal(b, m, deterministic)
  39. }
  40. func (m *Stack) XXX_Merge(src proto.Message) {
  41. xxx_messageInfo_Stack.Merge(m, src)
  42. }
  43. func (m *Stack) XXX_Size() int {
  44. return xxx_messageInfo_Stack.Size(m)
  45. }
  46. func (m *Stack) XXX_DiscardUnknown() {
  47. xxx_messageInfo_Stack.DiscardUnknown(m)
  48. }
  49. var xxx_messageInfo_Stack proto.InternalMessageInfo
  50. func (m *Stack) GetFrames() []*Frame {
  51. if m != nil {
  52. return m.Frames
  53. }
  54. return nil
  55. }
  56. func (m *Stack) GetCmdline() []string {
  57. if m != nil {
  58. return m.Cmdline
  59. }
  60. return nil
  61. }
  62. func (m *Stack) GetPid() int32 {
  63. if m != nil {
  64. return m.Pid
  65. }
  66. return 0
  67. }
  68. func (m *Stack) GetVersion() string {
  69. if m != nil {
  70. return m.Version
  71. }
  72. return ""
  73. }
  74. func (m *Stack) GetRevision() string {
  75. if m != nil {
  76. return m.Revision
  77. }
  78. return ""
  79. }
  80. type Frame struct {
  81. Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
  82. File string `protobuf:"bytes,2,opt,name=File,proto3" json:"File,omitempty"`
  83. Line int32 `protobuf:"varint,3,opt,name=Line,proto3" json:"Line,omitempty"`
  84. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  85. XXX_unrecognized []byte `json:"-"`
  86. XXX_sizecache int32 `json:"-"`
  87. }
  88. func (m *Frame) Reset() { *m = Frame{} }
  89. func (m *Frame) String() string { return proto.CompactTextString(m) }
  90. func (*Frame) ProtoMessage() {}
  91. func (*Frame) Descriptor() ([]byte, []int) {
  92. return fileDescriptor_b44c07feb2ca0a5a, []int{1}
  93. }
  94. func (m *Frame) XXX_Unmarshal(b []byte) error {
  95. return xxx_messageInfo_Frame.Unmarshal(m, b)
  96. }
  97. func (m *Frame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  98. return xxx_messageInfo_Frame.Marshal(b, m, deterministic)
  99. }
  100. func (m *Frame) XXX_Merge(src proto.Message) {
  101. xxx_messageInfo_Frame.Merge(m, src)
  102. }
  103. func (m *Frame) XXX_Size() int {
  104. return xxx_messageInfo_Frame.Size(m)
  105. }
  106. func (m *Frame) XXX_DiscardUnknown() {
  107. xxx_messageInfo_Frame.DiscardUnknown(m)
  108. }
  109. var xxx_messageInfo_Frame proto.InternalMessageInfo
  110. func (m *Frame) GetName() string {
  111. if m != nil {
  112. return m.Name
  113. }
  114. return ""
  115. }
  116. func (m *Frame) GetFile() string {
  117. if m != nil {
  118. return m.File
  119. }
  120. return ""
  121. }
  122. func (m *Frame) GetLine() int32 {
  123. if m != nil {
  124. return m.Line
  125. }
  126. return 0
  127. }
  128. func init() {
  129. proto.RegisterType((*Stack)(nil), "stack.Stack")
  130. proto.RegisterType((*Frame)(nil), "stack.Frame")
  131. }
  132. func init() { proto.RegisterFile("stack.proto", fileDescriptor_b44c07feb2ca0a5a) }
  133. var fileDescriptor_b44c07feb2ca0a5a = []byte{
  134. // 185 bytes of a gzipped FileDescriptorProto
  135. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x8f, 0x3d, 0xce, 0x82, 0x40,
  136. 0x10, 0x86, 0xb3, 0xdf, 0xb2, 0x7c, 0x3a, 0x58, 0x98, 0xa9, 0x36, 0x56, 0x1b, 0x62, 0x41, 0x45,
  137. 0xa1, 0x47, 0x30, 0xa1, 0x32, 0x16, 0x78, 0x02, 0x84, 0x35, 0xd9, 0xc8, 0x5f, 0x76, 0x09, 0xd7,
  138. 0xf0, 0xca, 0x66, 0x06, 0xb4, 0x7b, 0xde, 0x9f, 0xe4, 0x9d, 0x81, 0x24, 0x4c, 0x55, 0xfd, 0xca,
  139. 0x47, 0x3f, 0x4c, 0x03, 0x2a, 0x16, 0xe9, 0x5b, 0x80, 0xba, 0x13, 0xe1, 0x11, 0xe2, 0xa7, 0xaf,
  140. 0x3a, 0x1b, 0xb4, 0x30, 0x32, 0x4b, 0x4e, 0xbb, 0x7c, 0xa9, 0x17, 0x64, 0x96, 0x6b, 0x86, 0x1a,
  141. 0xfe, 0xeb, 0xae, 0x69, 0x5d, 0x6f, 0xf5, 0x9f, 0x91, 0xd9, 0xb6, 0xfc, 0x4a, 0xdc, 0x83, 0x1c,
  142. 0x5d, 0xa3, 0xa5, 0x11, 0x99, 0x2a, 0x09, 0xa9, 0x3b, 0x5b, 0x1f, 0xdc, 0xd0, 0xeb, 0xc8, 0x08,
  143. 0xea, 0xae, 0x12, 0x0f, 0xb0, 0xf1, 0x76, 0x76, 0x1c, 0x29, 0x8e, 0x7e, 0x3a, 0xbd, 0x80, 0xe2,
  144. 0x49, 0x44, 0x88, 0x6e, 0x55, 0x67, 0xb5, 0xe0, 0x02, 0x33, 0x79, 0x85, 0x6b, 0x69, 0x9b, 0x3d,
  145. 0x62, 0xf2, 0xae, 0x74, 0xcf, 0xb2, 0xcc, 0xfc, 0x88, 0xf9, 0xc9, 0xf3, 0x27, 0x00, 0x00, 0xff,
  146. 0xff, 0xfd, 0x2c, 0xbb, 0xfb, 0xf3, 0x00, 0x00, 0x00,
  147. }