blob: 5e6e217387469fa9d341e34bef59f10d189fc414 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/devtools/resultstore/v2/configured_target.proto
package resultstore // import "google.golang.org/genproto/googleapis/devtools/resultstore/v2"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import duration "github.com/golang/protobuf/ptypes/duration"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Each ConfiguredTarget represents data for a given configuration of a given
// target in a given Invocation.
// Every ConfiguredTarget should have at least one Action as a child resource
// before the invocation is finalized. Refer to the Action's documentation for
// more info on this.
type ConfiguredTarget struct {
// The resource name. Its format must be:
// invocations/${INVOCATION_ID}/targets/${TARGET_ID}/configuredTargets/${CONFIG_ID}
// where ${CONFIG_ID} must match the ID of an existing Configuration under
// this Invocation.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The resource ID components that identify the ConfiguredTarget. They must
// match the resource name after proper encoding.
Id *ConfiguredTarget_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// The aggregate status for this configuration of this target. If testing
// was not requested, set this to the build status (e.g. BUILT or
// FAILED_TO_BUILD).
StatusAttributes *StatusAttributes `protobuf:"bytes,3,opt,name=status_attributes,json=statusAttributes,proto3" json:"status_attributes,omitempty"`
// Captures the start time and duration of this configured target.
Timing *Timing `protobuf:"bytes,4,opt,name=timing,proto3" json:"timing,omitempty"`
// Test specific attributes for this ConfiguredTarget.
TestAttributes *ConfiguredTestAttributes `protobuf:"bytes,6,opt,name=test_attributes,json=testAttributes,proto3" json:"test_attributes,omitempty"`
// Arbitrary name-value pairs.
// This is implemented as a multi-map. Multiple properties are allowed with
// the same key. Properties will be returned in lexicographical order by key.
Properties []*Property `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"`
// A list of file references for configured target level files.
// The file IDs must be unique within this list. Duplicate file IDs will
// result in an error. Files will be returned in lexicographical order by ID.
Files []*File `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"`
// Summary of aggregate coverage across all test actions for this target in
// this configuration. The server populates this for you in the
// post-processing phase.
CoverageSummaries []*LanguageCoverageSummary `protobuf:"bytes,9,rep,name=coverage_summaries,json=coverageSummaries,proto3" json:"coverage_summaries,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ConfiguredTarget) Reset() { *m = ConfiguredTarget{} }
func (m *ConfiguredTarget) String() string { return proto.CompactTextString(m) }
func (*ConfiguredTarget) ProtoMessage() {}
func (*ConfiguredTarget) Descriptor() ([]byte, []int) {
return fileDescriptor_configured_target_48a4f73ce345d3e8, []int{0}
}
func (m *ConfiguredTarget) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ConfiguredTarget.Unmarshal(m, b)
}
func (m *ConfiguredTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ConfiguredTarget.Marshal(b, m, deterministic)
}
func (dst *ConfiguredTarget) XXX_Merge(src proto.Message) {
xxx_messageInfo_ConfiguredTarget.Merge(dst, src)
}
func (m *ConfiguredTarget) XXX_Size() int {
return xxx_messageInfo_ConfiguredTarget.Size(m)
}
func (m *ConfiguredTarget) XXX_DiscardUnknown() {
xxx_messageInfo_ConfiguredTarget.DiscardUnknown(m)
}
var xxx_messageInfo_ConfiguredTarget proto.InternalMessageInfo
func (m *ConfiguredTarget) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ConfiguredTarget) GetId() *ConfiguredTarget_Id {
if m != nil {
return m.Id
}
return nil
}
func (m *ConfiguredTarget) GetStatusAttributes() *StatusAttributes {
if m != nil {
return m.StatusAttributes
}
return nil
}
func (m *ConfiguredTarget) GetTiming() *Timing {
if m != nil {
return m.Timing
}
return nil
}
func (m *ConfiguredTarget) GetTestAttributes() *ConfiguredTestAttributes {
if m != nil {
return m.TestAttributes
}
return nil
}
func (m *ConfiguredTarget) GetProperties() []*Property {
if m != nil {
return m.Properties
}
return nil
}
func (m *ConfiguredTarget) GetFiles() []*File {
if m != nil {
return m.Files
}
return nil
}
func (m *ConfiguredTarget) GetCoverageSummaries() []*LanguageCoverageSummary {
if m != nil {
return m.CoverageSummaries
}
return nil
}
// The resource ID components that identify the ConfiguredTarget.
type ConfiguredTarget_Id struct {
// The Invocation ID.
InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"`
// The Target ID.
TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// The Configuration ID.
ConfigurationId string `protobuf:"bytes,3,opt,name=configuration_id,json=configurationId,proto3" json:"configuration_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ConfiguredTarget_Id) Reset() { *m = ConfiguredTarget_Id{} }
func (m *ConfiguredTarget_Id) String() string { return proto.CompactTextString(m) }
func (*ConfiguredTarget_Id) ProtoMessage() {}
func (*ConfiguredTarget_Id) Descriptor() ([]byte, []int) {
return fileDescriptor_configured_target_48a4f73ce345d3e8, []int{0, 0}
}
func (m *ConfiguredTarget_Id) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ConfiguredTarget_Id.Unmarshal(m, b)
}
func (m *ConfiguredTarget_Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ConfiguredTarget_Id.Marshal(b, m, deterministic)
}
func (dst *ConfiguredTarget_Id) XXX_Merge(src proto.Message) {
xxx_messageInfo_ConfiguredTarget_Id.Merge(dst, src)
}
func (m *ConfiguredTarget_Id) XXX_Size() int {
return xxx_messageInfo_ConfiguredTarget_Id.Size(m)
}
func (m *ConfiguredTarget_Id) XXX_DiscardUnknown() {
xxx_messageInfo_ConfiguredTarget_Id.DiscardUnknown(m)
}
var xxx_messageInfo_ConfiguredTarget_Id proto.InternalMessageInfo
func (m *ConfiguredTarget_Id) GetInvocationId() string {
if m != nil {
return m.InvocationId
}
return ""
}
func (m *ConfiguredTarget_Id) GetTargetId() string {
if m != nil {
return m.TargetId
}
return ""
}
func (m *ConfiguredTarget_Id) GetConfigurationId() string {
if m != nil {
return m.ConfigurationId
}
return ""
}
// Attributes that apply only to test actions under this configured target.
type ConfiguredTestAttributes struct {
// Total number of test runs. For example, in bazel this is specified with
// --runs_per_test. Zero if runs_per_test is not used.
TotalRunCount int32 `protobuf:"varint,2,opt,name=total_run_count,json=totalRunCount,proto3" json:"total_run_count,omitempty"`
// Total number of test shards. Zero if shard count was not specified.
TotalShardCount int32 `protobuf:"varint,3,opt,name=total_shard_count,json=totalShardCount,proto3" json:"total_shard_count,omitempty"`
// How long test is allowed to run.
TimeoutDuration *duration.Duration `protobuf:"bytes,5,opt,name=timeout_duration,json=timeoutDuration,proto3" json:"timeout_duration,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ConfiguredTestAttributes) Reset() { *m = ConfiguredTestAttributes{} }
func (m *ConfiguredTestAttributes) String() string { return proto.CompactTextString(m) }
func (*ConfiguredTestAttributes) ProtoMessage() {}
func (*ConfiguredTestAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_configured_target_48a4f73ce345d3e8, []int{1}
}
func (m *ConfiguredTestAttributes) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ConfiguredTestAttributes.Unmarshal(m, b)
}
func (m *ConfiguredTestAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ConfiguredTestAttributes.Marshal(b, m, deterministic)
}
func (dst *ConfiguredTestAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_ConfiguredTestAttributes.Merge(dst, src)
}
func (m *ConfiguredTestAttributes) XXX_Size() int {
return xxx_messageInfo_ConfiguredTestAttributes.Size(m)
}
func (m *ConfiguredTestAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_ConfiguredTestAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_ConfiguredTestAttributes proto.InternalMessageInfo
func (m *ConfiguredTestAttributes) GetTotalRunCount() int32 {
if m != nil {
return m.TotalRunCount
}
return 0
}
func (m *ConfiguredTestAttributes) GetTotalShardCount() int32 {
if m != nil {
return m.TotalShardCount
}
return 0
}
func (m *ConfiguredTestAttributes) GetTimeoutDuration() *duration.Duration {
if m != nil {
return m.TimeoutDuration
}
return nil
}
func init() {
proto.RegisterType((*ConfiguredTarget)(nil), "google.devtools.resultstore.v2.ConfiguredTarget")
proto.RegisterType((*ConfiguredTarget_Id)(nil), "google.devtools.resultstore.v2.ConfiguredTarget.Id")
proto.RegisterType((*ConfiguredTestAttributes)(nil), "google.devtools.resultstore.v2.ConfiguredTestAttributes")
}
func init() {
proto.RegisterFile("google/devtools/resultstore/v2/configured_target.proto", fileDescriptor_configured_target_48a4f73ce345d3e8)
}
var fileDescriptor_configured_target_48a4f73ce345d3e8 = []byte{
// 536 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdf, 0x8a, 0x13, 0x31,
0x14, 0xc6, 0x69, 0xbb, 0x5d, 0xb7, 0x59, 0xd7, 0xb6, 0xb9, 0x1a, 0x2b, 0x48, 0xa9, 0xb2, 0x74,
0x15, 0x66, 0xa4, 0x8b, 0x7f, 0x50, 0x10, 0xb4, 0x8b, 0x38, 0xe0, 0xc5, 0x32, 0xdd, 0x2b, 0x41,
0x86, 0xb4, 0x49, 0x63, 0x60, 0x26, 0xe9, 0x26, 0x27, 0x85, 0x7d, 0x2f, 0x9f, 0xc3, 0x67, 0x92,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