You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

230 lines
10 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/devtools/resultstore/v2/coverage_summary.proto
  3. package resultstore // import "google.golang.org/genproto/googleapis/devtools/resultstore/v2"
  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. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. // Summary of line coverage
  17. type LineCoverageSummary struct {
  18. // Number of lines instrumented for coverage.
  19. InstrumentedLineCount int32 `protobuf:"varint,1,opt,name=instrumented_line_count,json=instrumentedLineCount,proto3" json:"instrumented_line_count,omitempty"`
  20. // Number of instrumented lines that were executed by the test.
  21. ExecutedLineCount int32 `protobuf:"varint,2,opt,name=executed_line_count,json=executedLineCount,proto3" json:"executed_line_count,omitempty"`
  22. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  23. XXX_unrecognized []byte `json:"-"`
  24. XXX_sizecache int32 `json:"-"`
  25. }
  26. func (m *LineCoverageSummary) Reset() { *m = LineCoverageSummary{} }
  27. func (m *LineCoverageSummary) String() string { return proto.CompactTextString(m) }
  28. func (*LineCoverageSummary) ProtoMessage() {}
  29. func (*LineCoverageSummary) Descriptor() ([]byte, []int) {
  30. return fileDescriptor_coverage_summary_391ab5d1bf003efe, []int{0}
  31. }
  32. func (m *LineCoverageSummary) XXX_Unmarshal(b []byte) error {
  33. return xxx_messageInfo_LineCoverageSummary.Unmarshal(m, b)
  34. }
  35. func (m *LineCoverageSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  36. return xxx_messageInfo_LineCoverageSummary.Marshal(b, m, deterministic)
  37. }
  38. func (dst *LineCoverageSummary) XXX_Merge(src proto.Message) {
  39. xxx_messageInfo_LineCoverageSummary.Merge(dst, src)
  40. }
  41. func (m *LineCoverageSummary) XXX_Size() int {
  42. return xxx_messageInfo_LineCoverageSummary.Size(m)
  43. }
  44. func (m *LineCoverageSummary) XXX_DiscardUnknown() {
  45. xxx_messageInfo_LineCoverageSummary.DiscardUnknown(m)
  46. }
  47. var xxx_messageInfo_LineCoverageSummary proto.InternalMessageInfo
  48. func (m *LineCoverageSummary) GetInstrumentedLineCount() int32 {
  49. if m != nil {
  50. return m.InstrumentedLineCount
  51. }
  52. return 0
  53. }
  54. func (m *LineCoverageSummary) GetExecutedLineCount() int32 {
  55. if m != nil {
  56. return m.ExecutedLineCount
  57. }
  58. return 0
  59. }
  60. // Summary of branch coverage
  61. // A branch may be:
  62. // * not executed. Counted only in total.
  63. // * executed but not taken. Appears in total and executed.
  64. // * executed and taken. Appears in all three fields.
  65. type BranchCoverageSummary struct {
  66. // The number of branches present in the file.
  67. TotalBranchCount int32 `protobuf:"varint,1,opt,name=total_branch_count,json=totalBranchCount,proto3" json:"total_branch_count,omitempty"`
  68. // The number of branches executed out of the total branches present.
  69. // A branch is executed when its condition is evaluated.
  70. // This is <= total_branch_count as not all branches are executed.
  71. ExecutedBranchCount int32 `protobuf:"varint,2,opt,name=executed_branch_count,json=executedBranchCount,proto3" json:"executed_branch_count,omitempty"`
  72. // The number of branches taken out of the total branches executed.
  73. // A branch is taken when its condition is satisfied.
  74. // This is <= executed_branch_count as not all executed branches are taken.
  75. TakenBranchCount int32 `protobuf:"varint,3,opt,name=taken_branch_count,json=takenBranchCount,proto3" json:"taken_branch_count,omitempty"`
  76. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  77. XXX_unrecognized []byte `json:"-"`
  78. XXX_sizecache int32 `json:"-"`
  79. }
  80. func (m *BranchCoverageSummary) Reset() { *m = BranchCoverageSummary{} }
  81. func (m *BranchCoverageSummary) String() string { return proto.CompactTextString(m) }
  82. func (*BranchCoverageSummary) ProtoMessage() {}
  83. func (*BranchCoverageSummary) Descriptor() ([]byte, []int) {
  84. return fileDescriptor_coverage_summary_391ab5d1bf003efe, []int{1}
  85. }
  86. func (m *BranchCoverageSummary) XXX_Unmarshal(b []byte) error {
  87. return xxx_messageInfo_BranchCoverageSummary.Unmarshal(m, b)
  88. }
  89. func (m *BranchCoverageSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  90. return xxx_messageInfo_BranchCoverageSummary.Marshal(b, m, deterministic)
  91. }
  92. func (dst *BranchCoverageSummary) XXX_Merge(src proto.Message) {
  93. xxx_messageInfo_BranchCoverageSummary.Merge(dst, src)
  94. }
  95. func (m *BranchCoverageSummary) XXX_Size() int {
  96. return xxx_messageInfo_BranchCoverageSummary.Size(m)
  97. }
  98. func (m *BranchCoverageSummary) XXX_DiscardUnknown() {
  99. xxx_messageInfo_BranchCoverageSummary.DiscardUnknown(m)
  100. }
  101. var xxx_messageInfo_BranchCoverageSummary proto.InternalMessageInfo
  102. func (m *BranchCoverageSummary) GetTotalBranchCount() int32 {
  103. if m != nil {
  104. return m.TotalBranchCount
  105. }
  106. return 0
  107. }
  108. func (m *BranchCoverageSummary) GetExecutedBranchCount() int32 {
  109. if m != nil {
  110. return m.ExecutedBranchCount
  111. }
  112. return 0
  113. }
  114. func (m *BranchCoverageSummary) GetTakenBranchCount() int32 {
  115. if m != nil {
  116. return m.TakenBranchCount
  117. }
  118. return 0
  119. }
  120. // Summary of coverage in each language
  121. type LanguageCoverageSummary struct {
  122. // This summary is for all files written in this programming language.
  123. Language Language `protobuf:"varint,1,opt,name=language,proto3,enum=google.devtools.resultstore.v2.Language" json:"language,omitempty"`
  124. // Summary of lines covered vs instrumented.
  125. LineSummary *LineCoverageSummary `protobuf:"bytes,2,opt,name=line_summary,json=lineSummary,proto3" json:"line_summary,omitempty"`
  126. // Summary of branch coverage.
  127. BranchSummary *BranchCoverageSummary `protobuf:"bytes,3,opt,name=branch_summary,json=branchSummary,proto3" json:"branch_summary,omitempty"`
  128. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  129. XXX_unrecognized []byte `json:"-"`
  130. XXX_sizecache int32 `json:"-"`
  131. }
  132. func (m *LanguageCoverageSummary) Reset() { *m = LanguageCoverageSummary{} }
  133. func (m *LanguageCoverageSummary) String() string { return proto.CompactTextString(m) }
  134. func (*LanguageCoverageSummary) ProtoMessage() {}
  135. func (*LanguageCoverageSummary) Descriptor() ([]byte, []int) {
  136. return fileDescriptor_coverage_summary_391ab5d1bf003efe, []int{2}
  137. }
  138. func (m *LanguageCoverageSummary) XXX_Unmarshal(b []byte) error {
  139. return xxx_messageInfo_LanguageCoverageSummary.Unmarshal(m, b)
  140. }
  141. func (m *LanguageCoverageSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  142. return xxx_messageInfo_LanguageCoverageSummary.Marshal(b, m, deterministic)
  143. }
  144. func (dst *LanguageCoverageSummary) XXX_Merge(src proto.Message) {
  145. xxx_messageInfo_LanguageCoverageSummary.Merge(dst, src)
  146. }
  147. func (m *LanguageCoverageSummary) XXX_Size() int {
  148. return xxx_messageInfo_LanguageCoverageSummary.Size(m)
  149. }
  150. func (m *LanguageCoverageSummary) XXX_DiscardUnknown() {
  151. xxx_messageInfo_LanguageCoverageSummary.DiscardUnknown(m)
  152. }
  153. var xxx_messageInfo_LanguageCoverageSummary proto.InternalMessageInfo
  154. func (m *LanguageCoverageSummary) GetLanguage() Language {
  155. if m != nil {
  156. return m.Language
  157. }
  158. return Language_LANGUAGE_UNSPECIFIED
  159. }
  160. func (m *LanguageCoverageSummary) GetLineSummary() *LineCoverageSummary {
  161. if m != nil {
  162. return m.LineSummary
  163. }
  164. return nil
  165. }
  166. func (m *LanguageCoverageSummary) GetBranchSummary() *BranchCoverageSummary {
  167. if m != nil {
  168. return m.BranchSummary
  169. }
  170. return nil
  171. }
  172. func init() {
  173. proto.RegisterType((*LineCoverageSummary)(nil), "google.devtools.resultstore.v2.LineCoverageSummary")
  174. proto.RegisterType((*BranchCoverageSummary)(nil), "google.devtools.resultstore.v2.BranchCoverageSummary")
  175. proto.RegisterType((*LanguageCoverageSummary)(nil), "google.devtools.resultstore.v2.LanguageCoverageSummary")
  176. }
  177. func init() {
  178. proto.RegisterFile("google/devtools/resultstore/v2/coverage_summary.proto", fileDescriptor_coverage_summary_391ab5d1bf003efe)
  179. }
  180. var fileDescriptor_coverage_summary_391ab5d1bf003efe = []byte{
  181. // 358 bytes of a gzipped FileDescriptorProto
  182. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x41, 0x4b, 0xeb, 0x40,
  183. 0x14, 0x85, 0x49, 0xcb, 0x7b, 0x3c, 0xa6, 0xef, 0x95, 0x67, 0x4a, 0xa9, 0xb8, 0x10, 0xc9, 0xaa,
  184. 0xa0, 0x4c, 0x20, 0xa5, 0x6e, 0xdc, 0x55, 0x37, 0x42, 0x17, 0x12, 0xc1, 0x85, 0x08, 0x61, 0x9a,
  185. 0x5e, 0xc6, 0x60, 0x32, 0xb7, 0x4e, 0x26, 0x41, 0x17, 0xfe, 0x0c, 0x7f, 0x83, 0x7f, 0x53, 0x32,
  186. 0x33, 0x09, 0x69, 0xab, 0x66, 0x39, 0x9c, 0x7b, 0xbe, 0x73, 0x66, 0xee, 0x90, 0x39, 0x47, 0xe4,
  187. 0x29, 0xf8, 0x6b, 0x28, 0x15, 0x62, 0x9a, 0xfb, 0x12, 0xf2, 0x22, 0x55, 0xb9, 0x42, 0x09, 0x7e,
  188. 0x19, 0xf8, 0x31, 0x96, 0x20, 0x19, 0x87, 0x28, 0x2f, 0xb2, 0x8c, 0xc9, 0x57, 0xba, 0x91, 0xa8,
  189. 0xd0, 0x3d, 0x36, 0x36, 0x5a, 0xdb, 0x68, 0xcb, 0x46, 0xcb, 0xe0, 0xe8, 0xb4, 0x13, 0x9b, 0x65,
  190. 0x28, 0x0c, 0xcc, 0x7b, 0x23, 0xa3, 0x65, 0x22, 0xe0, 0xd2, 0x46, 0xdd, 0x9a, 0x24, 0xf7, 0x9c,
  191. 0x4c, 0x12, 0x91, 0x2b, 0x59, 0x64, 0x20, 0x14, 0xac, 0xa3, 0x34, 0x11, 0x10, 0xc5, 0x58, 0x08,
  192. 0x75, 0xe8, 0x9c, 0x38, 0xd3, 0x5f, 0xe1, 0xb8, 0x2d, 0x1b, 0x42, 0x21, 0x94, 0x4b, 0xc9, 0x08,
  193. 0x5e, 0x20, 0x2e, 0x76, 0x3c, 0x3d, 0xed, 0x39, 0xa8, 0xa5, 0x66, 0xde, 0xfb, 0x70, 0xc8, 0x78,
  194. 0x21, 0x99, 0x88, 0x1f, 0x77, 0x1b, 0x9c, 0x11, 0x57, 0xa1, 0x62, 0x69, 0xb4, 0xd2, 0xf2, 0x56,
  195. 0xf8, 0x7f, 0xad, 0xd4, 0xbe, 0x2a, 0x37, 0x20, 0xe3, 0x26, 0x77, 0xcb, 0x60, 0x92, 0x9b, 0x52,
  196. 0x6d, 0x4f, 0x95, 0xc0, 0x9e, 0x40, 0x6c, 0x1b, 0xfa, 0x36, 0xa1, 0x52, 0x5a, 0xd3, 0xde, 0x7b,
  197. 0x8f, 0x4c, 0x96, 0x4c, 0xf0, 0x82, 0xf1, 0xbd, 0xd7, 0xba, 0x22, 0x7f, 0x52, 0x2b, 0xe9, 0x86,
  198. 0xc3, 0x60, 0x4a, 0x7f, 0x5e, 0x12, 0xad, 0x51, 0x61, 0xe3, 0x74, 0xef, 0xc8, 0x5f, 0xfd, 0x64,
  199. 0x76, 0xdb, 0xba, 0xfa, 0x20, 0x98, 0x75, 0x92, 0xf6, 0xd7, 0x17, 0x0e, 0x2a, 0x50, 0xdd, 0xee,
  200. 0x81, 0x0c, 0xed, 0x0d, 0x6b, 0x72, 0x5f, 0x93, 0xe7, 0x5d, 0xe4, 0x2f, 0x17, 0x13, 0xfe, 0x33,
  201. 0x30, 0x7b, 0x5c, 0x3c, 0x13, 0x2f, 0xc6, 0xac, 0x03, 0x75, 0xe3, 0xdc, 0x5f, 0xdb, 0x09, 0x8e,
  202. 0xd5, 0x85, 0x29, 0x4a, 0xee, 0x73, 0x10, 0xfa, 0x13, 0xfa, 0x46, 0x62, 0x9b, 0x24, 0xff, 0xee,
  203. 0xd3, 0x5e, 0xb4, 0x8e, 0xab, 0xdf, 0xda, 0x35, 0xfb, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x0f, 0x65,
  204. 0x24, 0xb5, 0x40, 0x03, 0x00, 0x00,
  205. }