選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

291 行
12 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/devtools/resultstore/v2/configured_target.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. import duration "github.com/golang/protobuf/ptypes/duration"
  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. // Each ConfiguredTarget represents data for a given configuration of a given
  18. // target in a given Invocation.
  19. // Every ConfiguredTarget should have at least one Action as a child resource
  20. // before the invocation is finalized. Refer to the Action's documentation for
  21. // more info on this.
  22. type ConfiguredTarget struct {
  23. // The resource name. Its format must be:
  24. // invocations/${INVOCATION_ID}/targets/${TARGET_ID}/configuredTargets/${CONFIG_ID}
  25. // where ${CONFIG_ID} must match the ID of an existing Configuration under
  26. // this Invocation.
  27. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  28. // The resource ID components that identify the ConfiguredTarget. They must
  29. // match the resource name after proper encoding.
  30. Id *ConfiguredTarget_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  31. // The aggregate status for this configuration of this target. If testing
  32. // was not requested, set this to the build status (e.g. BUILT or
  33. // FAILED_TO_BUILD).
  34. StatusAttributes *StatusAttributes `protobuf:"bytes,3,opt,name=status_attributes,json=statusAttributes,proto3" json:"status_attributes,omitempty"`
  35. // Captures the start time and duration of this configured target.
  36. Timing *Timing `protobuf:"bytes,4,opt,name=timing,proto3" json:"timing,omitempty"`
  37. // Test specific attributes for this ConfiguredTarget.
  38. TestAttributes *ConfiguredTestAttributes `protobuf:"bytes,6,opt,name=test_attributes,json=testAttributes,proto3" json:"test_attributes,omitempty"`
  39. // Arbitrary name-value pairs.
  40. // This is implemented as a multi-map. Multiple properties are allowed with
  41. // the same key. Properties will be returned in lexicographical order by key.
  42. Properties []*Property `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"`
  43. // A list of file references for configured target level files.
  44. // The file IDs must be unique within this list. Duplicate file IDs will
  45. // result in an error. Files will be returned in lexicographical order by ID.
  46. Files []*File `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"`
  47. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  48. XXX_unrecognized []byte `json:"-"`
  49. XXX_sizecache int32 `json:"-"`
  50. }
  51. func (m *ConfiguredTarget) Reset() { *m = ConfiguredTarget{} }
  52. func (m *ConfiguredTarget) String() string { return proto.CompactTextString(m) }
  53. func (*ConfiguredTarget) ProtoMessage() {}
  54. func (*ConfiguredTarget) Descriptor() ([]byte, []int) {
  55. return fileDescriptor_configured_target_56b34c80e2f1e864, []int{0}
  56. }
  57. func (m *ConfiguredTarget) XXX_Unmarshal(b []byte) error {
  58. return xxx_messageInfo_ConfiguredTarget.Unmarshal(m, b)
  59. }
  60. func (m *ConfiguredTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  61. return xxx_messageInfo_ConfiguredTarget.Marshal(b, m, deterministic)
  62. }
  63. func (dst *ConfiguredTarget) XXX_Merge(src proto.Message) {
  64. xxx_messageInfo_ConfiguredTarget.Merge(dst, src)
  65. }
  66. func (m *ConfiguredTarget) XXX_Size() int {
  67. return xxx_messageInfo_ConfiguredTarget.Size(m)
  68. }
  69. func (m *ConfiguredTarget) XXX_DiscardUnknown() {
  70. xxx_messageInfo_ConfiguredTarget.DiscardUnknown(m)
  71. }
  72. var xxx_messageInfo_ConfiguredTarget proto.InternalMessageInfo
  73. func (m *ConfiguredTarget) GetName() string {
  74. if m != nil {
  75. return m.Name
  76. }
  77. return ""
  78. }
  79. func (m *ConfiguredTarget) GetId() *ConfiguredTarget_Id {
  80. if m != nil {
  81. return m.Id
  82. }
  83. return nil
  84. }
  85. func (m *ConfiguredTarget) GetStatusAttributes() *StatusAttributes {
  86. if m != nil {
  87. return m.StatusAttributes
  88. }
  89. return nil
  90. }
  91. func (m *ConfiguredTarget) GetTiming() *Timing {
  92. if m != nil {
  93. return m.Timing
  94. }
  95. return nil
  96. }
  97. func (m *ConfiguredTarget) GetTestAttributes() *ConfiguredTestAttributes {
  98. if m != nil {
  99. return m.TestAttributes
  100. }
  101. return nil
  102. }
  103. func (m *ConfiguredTarget) GetProperties() []*Property {
  104. if m != nil {
  105. return m.Properties
  106. }
  107. return nil
  108. }
  109. func (m *ConfiguredTarget) GetFiles() []*File {
  110. if m != nil {
  111. return m.Files
  112. }
  113. return nil
  114. }
  115. // The resource ID components that identify the ConfiguredTarget.
  116. type ConfiguredTarget_Id struct {
  117. // The Invocation ID.
  118. InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"`
  119. // The Target ID.
  120. TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
  121. // The Configuration ID.
  122. ConfigurationId string `protobuf:"bytes,3,opt,name=configuration_id,json=configurationId,proto3" json:"configuration_id,omitempty"`
  123. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  124. XXX_unrecognized []byte `json:"-"`
  125. XXX_sizecache int32 `json:"-"`
  126. }
  127. func (m *ConfiguredTarget_Id) Reset() { *m = ConfiguredTarget_Id{} }
  128. func (m *ConfiguredTarget_Id) String() string { return proto.CompactTextString(m) }
  129. func (*ConfiguredTarget_Id) ProtoMessage() {}
  130. func (*ConfiguredTarget_Id) Descriptor() ([]byte, []int) {
  131. return fileDescriptor_configured_target_56b34c80e2f1e864, []int{0, 0}
  132. }
  133. func (m *ConfiguredTarget_Id) XXX_Unmarshal(b []byte) error {
  134. return xxx_messageInfo_ConfiguredTarget_Id.Unmarshal(m, b)
  135. }
  136. func (m *ConfiguredTarget_Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  137. return xxx_messageInfo_ConfiguredTarget_Id.Marshal(b, m, deterministic)
  138. }
  139. func (dst *ConfiguredTarget_Id) XXX_Merge(src proto.Message) {
  140. xxx_messageInfo_ConfiguredTarget_Id.Merge(dst, src)
  141. }
  142. func (m *ConfiguredTarget_Id) XXX_Size() int {
  143. return xxx_messageInfo_ConfiguredTarget_Id.Size(m)
  144. }
  145. func (m *ConfiguredTarget_Id) XXX_DiscardUnknown() {
  146. xxx_messageInfo_ConfiguredTarget_Id.DiscardUnknown(m)
  147. }
  148. var xxx_messageInfo_ConfiguredTarget_Id proto.InternalMessageInfo
  149. func (m *ConfiguredTarget_Id) GetInvocationId() string {
  150. if m != nil {
  151. return m.InvocationId
  152. }
  153. return ""
  154. }
  155. func (m *ConfiguredTarget_Id) GetTargetId() string {
  156. if m != nil {
  157. return m.TargetId
  158. }
  159. return ""
  160. }
  161. func (m *ConfiguredTarget_Id) GetConfigurationId() string {
  162. if m != nil {
  163. return m.ConfigurationId
  164. }
  165. return ""
  166. }
  167. // Attributes that apply only to test actions under this configured target.
  168. type ConfiguredTestAttributes struct {
  169. // Total number of test runs. For example, in bazel this is specified with
  170. // --runs_per_test. Zero if runs_per_test is not used.
  171. TotalRunCount int32 `protobuf:"varint,2,opt,name=total_run_count,json=totalRunCount,proto3" json:"total_run_count,omitempty"`
  172. // Total number of test shards. Zero if shard count was not specified.
  173. TotalShardCount int32 `protobuf:"varint,3,opt,name=total_shard_count,json=totalShardCount,proto3" json:"total_shard_count,omitempty"`
  174. // How long test is allowed to run.
  175. TimeoutDuration *duration.Duration `protobuf:"bytes,5,opt,name=timeout_duration,json=timeoutDuration,proto3" json:"timeout_duration,omitempty"`
  176. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  177. XXX_unrecognized []byte `json:"-"`
  178. XXX_sizecache int32 `json:"-"`
  179. }
  180. func (m *ConfiguredTestAttributes) Reset() { *m = ConfiguredTestAttributes{} }
  181. func (m *ConfiguredTestAttributes) String() string { return proto.CompactTextString(m) }
  182. func (*ConfiguredTestAttributes) ProtoMessage() {}
  183. func (*ConfiguredTestAttributes) Descriptor() ([]byte, []int) {
  184. return fileDescriptor_configured_target_56b34c80e2f1e864, []int{1}
  185. }
  186. func (m *ConfiguredTestAttributes) XXX_Unmarshal(b []byte) error {
  187. return xxx_messageInfo_ConfiguredTestAttributes.Unmarshal(m, b)
  188. }
  189. func (m *ConfiguredTestAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  190. return xxx_messageInfo_ConfiguredTestAttributes.Marshal(b, m, deterministic)
  191. }
  192. func (dst *ConfiguredTestAttributes) XXX_Merge(src proto.Message) {
  193. xxx_messageInfo_ConfiguredTestAttributes.Merge(dst, src)
  194. }
  195. func (m *ConfiguredTestAttributes) XXX_Size() int {
  196. return xxx_messageInfo_ConfiguredTestAttributes.Size(m)
  197. }
  198. func (m *ConfiguredTestAttributes) XXX_DiscardUnknown() {
  199. xxx_messageInfo_ConfiguredTestAttributes.DiscardUnknown(m)
  200. }
  201. var xxx_messageInfo_ConfiguredTestAttributes proto.InternalMessageInfo
  202. func (m *ConfiguredTestAttributes) GetTotalRunCount() int32 {
  203. if m != nil {
  204. return m.TotalRunCount
  205. }
  206. return 0
  207. }
  208. func (m *ConfiguredTestAttributes) GetTotalShardCount() int32 {
  209. if m != nil {
  210. return m.TotalShardCount
  211. }
  212. return 0
  213. }
  214. func (m *ConfiguredTestAttributes) GetTimeoutDuration() *duration.Duration {
  215. if m != nil {
  216. return m.TimeoutDuration
  217. }
  218. return nil
  219. }
  220. func init() {
  221. proto.RegisterType((*ConfiguredTarget)(nil), "google.devtools.resultstore.v2.ConfiguredTarget")
  222. proto.RegisterType((*ConfiguredTarget_Id)(nil), "google.devtools.resultstore.v2.ConfiguredTarget.Id")
  223. proto.RegisterType((*ConfiguredTestAttributes)(nil), "google.devtools.resultstore.v2.ConfiguredTestAttributes")
  224. }
  225. func init() {
  226. proto.RegisterFile("google/devtools/resultstore/v2/configured_target.proto", fileDescriptor_configured_target_56b34c80e2f1e864)
  227. }
  228. var fileDescriptor_configured_target_56b34c80e2f1e864 = []byte{
  229. // 488 bytes of a gzipped FileDescriptorProto
  230. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xdf, 0x8a, 0x13, 0x31,
  231. 0x14, 0xc6, 0xe9, 0x5f, 0xb7, 0x67, 0x5d, 0xdb, 0xcd, 0xd5, 0x58, 0x41, 0x4a, 0x95, 0xa5, 0xab,
  232. 0x30, 0x23, 0x5d, 0x10, 0x51, 0x10, 0xb4, 0x8b, 0x38, 0x77, 0x4b, 0x76, 0xaf, 0x04, 0x19, 0xd2,
  233. 0x26, 0x1d, 0x03, 0x33, 0x49, 0x37, 0x39, 0x29, 0xf8, 0x5e, 0x3e, 0x93, 0xcf, 0x21, 0x4d, 0x66,
  234. 0x6a, 0x77, 0x61, 0x1d, 0xbc, 0x9b, 0x7c, 0xf3, 0x7d, 0xbf, 0x9c, 0xe4, 0x9c, 0xc0, 0xdb, 0x5c,
  235. 0xeb, 0xbc, 0x10, 0x09, 0x17, 0x5b, 0xd4, 0xba, 0xb0, 0x89, 0x11, 0xd6, 0x15, 0x68, 0x51, 0x1b,
  236. 0x91, 0x6c, 0xe7, 0xc9, 0x4a, 0xab, 0xb5, 0xcc, 0x9d, 0x11, 0x3c, 0x43, 0x66, 0x72, 0x81, 0xf1,
  237. 0xc6, 0x68, 0xd4, 0xe4, 0x79, 0xc8, 0xc5, 0x75, 0x2e, 0x3e, 0xc8, 0xc5, 0xdb, 0xf9, 0xf8, 0x75,
  238. 0x23, 0xb7, 0x2c, 0xb5, 0x0a, 0xb0, 0xf1, 0x79, 0x83, 0x79, 0x2d, 0x0b, 0x51, 0x59, 0xab, 0x7d,
  239. 0x13, 0xbf, 0x5a, 0xba, 0x75, 0xc2, 0x9d, 0x61, 0x28, 0x6b, 0xd4, 0xf4, 0x77, 0x17, 0x46, 0x8b,
  240. 0x7d, 0xcd, 0x37, 0xbe, 0x64, 0x42, 0xa0, 0xab, 0x58, 0x29, 0xa2, 0xd6, 0xa4, 0x35, 0x1b, 0x50,
  241. 0xff, 0x4d, 0x16, 0xd0, 0x96, 0x3c, 0x6a, 0x4f, 0x5a, 0xb3, 0xe3, 0xf9, 0x45, 0xfc, 0xef, 0xd3,
  242. 0xc4, 0xf7, 0x89, 0x71, 0xca, 0x69, 0x5b, 0x72, 0xf2, 0x1d, 0x4e, 0x2d, 0x32, 0x74, 0x36, 0x63,
  243. 0x88, 0x46, 0x2e, 0x1d, 0x0a, 0x1b, 0x75, 0x3c, 0xf3, 0x4d, 0x13, 0xf3, 0xda, 0x07, 0x3f, 0xed,
  244. 0x73, 0x74, 0x64, 0xef, 0x29, 0xe4, 0x23, 0xf4, 0x51, 0x96, 0x52, 0xe5, 0x51, 0xd7, 0x33, 0xcf,
  245. 0x9a, 0x98, 0x37, 0xde, 0x4d, 0xab, 0x14, 0x61, 0x30, 0x44, 0x61, 0xf1, 0xb0, 0xb8, 0xbe, 0x07,
  246. 0xbd, 0xfb, 0x8f, 0x03, 0x0b, 0x8b, 0x07, 0x45, 0x3e, 0xc1, 0x3b, 0x6b, 0xf2, 0x15, 0x60, 0x63,
  247. 0xf4, 0x46, 0x18, 0x94, 0xc2, 0x46, 0x8f, 0x26, 0x9d, 0xd9, 0xf1, 0x7c, 0xd6, 0x44, 0xbf, 0x0a,
  248. 0x89, 0x9f, 0xf4, 0x20, 0x4b, 0xde, 0x43, 0x6f, 0xd7, 0x67, 0x1b, 0x1d, 0x79, 0xc8, 0xcb, 0x26,
  249. 0xc8, 0x17, 0x59, 0x08, 0x1a, 0x22, 0xe3, 0x5b, 0x68, 0xa7, 0x9c, 0xbc, 0x80, 0x13, 0xa9, 0xb6,
  250. 0x7a, 0xe5, 0xe7, 0x21, 0x93, 0xbc, 0xea, 0xf7, 0xe3, 0xbf, 0x62, 0xca, 0xc9, 0x33, 0x18, 0x84,
  251. 0x41, 0xce, 0xaa, 0xf6, 0x0f, 0xe8, 0x51, 0x10, 0x52, 0x4e, 0xce, 0x61, 0x54, 0x0f, 0xfc, 0x1e,
  252. 0xd2, 0xf1, 0x9e, 0xe1, 0x1d, 0x3d, 0xe5, 0xd3, 0x5f, 0x2d, 0x88, 0x1e, 0xba, 0x25, 0x72, 0x06,
  253. 0x43, 0xd4, 0xc8, 0x8a, 0xcc, 0x38, 0x95, 0xad, 0xb4, 0x53, 0xe8, 0xb7, 0xea, 0xd1, 0x13, 0x2f,
  254. 0x53, 0xa7, 0x16, 0x3b, 0x91, 0xbc, 0x82, 0xd3, 0xe0, 0xb3, 0x3f, 0x98, 0xe1, 0x95, 0xb3, 0xe3,
  255. 0x9d, 0x01, 0x70, 0xbd, 0xd3, 0x83, 0xf7, 0x12, 0x46, 0x28, 0x4b, 0xa1, 0x1d, 0x66, 0xf5, 0xcc,
  256. 0x47, 0x3d, 0xdf, 0xcd, 0xa7, 0xf5, 0x55, 0xd5, 0x8f, 0x22, 0xbe, 0xac, 0x0c, 0x74, 0x58, 0x45,
  257. 0x6a, 0xe1, 0xf3, 0x2d, 0x4c, 0x57, 0xba, 0x6c, 0xb8, 0xdb, 0xab, 0xd6, 0xb7, 0xb4, 0x72, 0xe4,
  258. 0xba, 0x60, 0x2a, 0x8f, 0xb5, 0xc9, 0x93, 0x5c, 0x28, 0xbf, 0x41, 0x12, 0x7e, 0xb1, 0x8d, 0xb4,
  259. 0x0f, 0xbd, 0xd8, 0x0f, 0x07, 0xcb, 0x65, 0xdf, 0xa7, 0x2e, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff,
  260. 0xe2, 0xc4, 0xd5, 0x45, 0x6b, 0x04, 0x00, 0x00,
  261. }