blob: 4c4fdffc0dc31f11981eca7e3cd74607d74eeb01 [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/devtools/resultstore/v2/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"
// 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
// These correspond to the suffix of the rule name. Eg cc_test has type TEST.
type TargetType int32
const (
// Unspecified by the build system.
TargetType_TARGET_TYPE_UNSPECIFIED TargetType = 0
// An application e.g. ios_application.
TargetType_APPLICATION TargetType = 1
// A binary target e.g. cc_binary.
TargetType_BINARY TargetType = 2
// A library target e.g. java_library
TargetType_LIBRARY TargetType = 3
// A package
TargetType_PACKAGE TargetType = 4
// Any test target, in bazel that means a rule with a '_test' suffix.
TargetType_TEST TargetType = 5
)
var TargetType_name = map[int32]string{
0: "TARGET_TYPE_UNSPECIFIED",
1: "APPLICATION",
2: "BINARY",
3: "LIBRARY",
4: "PACKAGE",
5: "TEST",
}
var TargetType_value = map[string]int32{
"TARGET_TYPE_UNSPECIFIED": 0,
"APPLICATION": 1,
"BINARY": 2,
"LIBRARY": 3,
"PACKAGE": 4,
"TEST": 5,
}
func (x TargetType) String() string {
return proto.EnumName(TargetType_name, int32(x))
}
func (TargetType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_target_25848505c9398e1a, []int{0}
}
// Indicates how big the user indicated the test action was.
type TestSize int32
const (
// Unspecified by the user.
TestSize_TEST_SIZE_UNSPECIFIED TestSize = 0
// Unit test taking less than 1 minute.
TestSize_SMALL TestSize = 1
// Integration tests taking less than 5 minutes.
TestSize_MEDIUM TestSize = 2
// End-to-end tests taking less than 15 minutes.
TestSize_LARGE TestSize = 3
// Even bigger than LARGE.
TestSize_ENORMOUS TestSize = 4
// Something that doesn't fit into the above categories.
TestSize_OTHER_SIZE TestSize = 5
)
var TestSize_name = map[int32]string{
0: "TEST_SIZE_UNSPECIFIED",
1: "SMALL",
2: "MEDIUM",
3: "LARGE",
4: "ENORMOUS",
5: "OTHER_SIZE",
}
var TestSize_value = map[string]int32{
"TEST_SIZE_UNSPECIFIED": 0,
"SMALL": 1,
"MEDIUM": 2,
"LARGE": 3,
"ENORMOUS": 4,
"OTHER_SIZE": 5,
}
func (x TestSize) String() string {
return proto.EnumName(TestSize_name, int32(x))
}
func (TestSize) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_target_25848505c9398e1a, []int{1}
}
// Each Target represents data for a given target in a given Invocation.
// ConfiguredTarget and Action resources under each Target contain the bulk of
// the data.
type Target struct {
// The resource name. Its format must be:
// invocations/${INVOCATION_ID}/targets/${TARGET_ID}
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The resource ID components that identify the Target. They must match the
// resource name after proper encoding.
Id *Target_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// This is the aggregate status of the target.
StatusAttributes *StatusAttributes `protobuf:"bytes,3,opt,name=status_attributes,json=statusAttributes,proto3" json:"status_attributes,omitempty"`
// When this target started and its duration.
Timing *Timing `protobuf:"bytes,4,opt,name=timing,proto3" json:"timing,omitempty"`
// Attributes that apply to all targets.
TargetAttributes *TargetAttributes `protobuf:"bytes,5,opt,name=target_attributes,json=targetAttributes,proto3" json:"target_attributes,omitempty"`
// Attributes that apply to all test actions under this target.
TestAttributes *TestAttributes `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 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.
// Use this field to specify outputs not related to a configuration.
Files []*File `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"`
// Provides a hint to clients as to whether to display the Target to users.
// If true then clients likely want to display the Target by default.
// Once set to true, this may not be set back to false.
IsVisible bool `protobuf:"varint,9,opt,name=is_visible,json=isVisible,proto3" json:"is_visible,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Target) Reset() { *m = Target{} }
func (m *Target) String() string { return proto.CompactTextString(m) }
func (*Target) ProtoMessage() {}
func (*Target) Descriptor() ([]byte, []int) {
return fileDescriptor_target_25848505c9398e1a, []int{0}
}
func (m *Target) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Target.Unmarshal(m, b)
}
func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Target.Marshal(b, m, deterministic)
}
func (dst *Target) XXX_Merge(src proto.Message) {
xxx_messageInfo_Target.Merge(dst, src)
}
func (m *Target) XXX_Size() int {
return xxx_messageInfo_Target.Size(m)
}
func (m *Target) XXX_DiscardUnknown() {
xxx_messageInfo_Target.DiscardUnknown(m)
}
var xxx_messageInfo_Target proto.InternalMessageInfo
func (m *Target) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Target) GetId() *Target_Id {
if m != nil {
return m.Id
}
return nil
}
func (m *Target) GetStatusAttributes() *StatusAttributes {
if m != nil {
return m.StatusAttributes
}
return nil
}
func (m *Target) GetTiming() *Timing {
if m != nil {
return m.Timing
}
return nil
}
func (m *Target) GetTargetAttributes() *TargetAttributes {
if m != nil {
return m.TargetAttributes
}
return nil
}
func (m *Target) GetTestAttributes() *TestAttributes {
if m != nil {
return m.TestAttributes
}
return nil
}
func (m *Target) GetProperties() []*Property {
if m != nil {
return m.Properties
}
return nil
}
func (m *Target) GetFiles() []*File {
if m != nil {
return m.Files
}
return nil
}
func (m *Target) GetIsVisible() bool {
if m != nil {
return m.IsVisible
}
return false
}
// The resource ID components that identify the Target.
type Target_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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Target_Id) Reset() { *m = Target_Id{} }
func (m *Target_Id) String() string { return proto.CompactTextString(m) }
func (*Target_Id) ProtoMessage() {}
func (*Target_Id) Descriptor() ([]byte, []int) {
return fileDescriptor_target_25848505c9398e1a, []int{0, 0}
}
func (m *Target_Id) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Target_Id.Unmarshal(m, b)
}
func (m *Target_Id) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Target_Id.Marshal(b, m, deterministic)
}
func (dst *Target_Id) XXX_Merge(src proto.Message) {
xxx_messageInfo_Target_Id.Merge(dst, src)
}
func (m *Target_Id) XXX_Size() int {
return xxx_messageInfo_Target_Id.Size(m)
}
func (m *Target_Id) XXX_DiscardUnknown() {
xxx_messageInfo_Target_Id.DiscardUnknown(m)
}
var xxx_messageInfo_Target_Id proto.InternalMessageInfo
func (m *Target_Id) GetInvocationId() string {
if m != nil {
return m.InvocationId
}
return ""
}
func (m *Target_Id) GetTargetId() string {
if m != nil {
return m.TargetId
}
return ""
}
// Attributes that apply to all targets.
type TargetAttributes struct {
// If known, indicates the type of this target. In bazel this corresponds
// to the rule-suffix.
Type TargetType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.resultstore.v2.TargetType" json:"type,omitempty"`
// If known, the main language of this target, e.g. java, cc, python, etc.
Language Language `protobuf:"varint,2,opt,name=language,proto3,enum=google.devtools.resultstore.v2.Language" json:"language,omitempty"`
// The tags attribute of the build rule. These should be short, descriptive
// words, and there should only be a few of them.
// This is implemented as a set. All tags will be unique. Any duplicate tags
// will be ignored. Tags will be returned in lexicographical order.
Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TargetAttributes) Reset() { *m = TargetAttributes{} }
func (m *TargetAttributes) String() string { return proto.CompactTextString(m) }
func (*TargetAttributes) ProtoMessage() {}
func (*TargetAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_target_25848505c9398e1a, []int{1}
}
func (m *TargetAttributes) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TargetAttributes.Unmarshal(m, b)
}
func (m *TargetAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TargetAttributes.Marshal(b, m, deterministic)
}
func (dst *TargetAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_TargetAttributes.Merge(dst, src)
}
func (m *TargetAttributes) XXX_Size() int {
return xxx_messageInfo_TargetAttributes.Size(m)
}
func (m *TargetAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_TargetAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_TargetAttributes proto.InternalMessageInfo
func (m *TargetAttributes) GetType() TargetType {
if m != nil {
return m.Type
}
return TargetType_TARGET_TYPE_UNSPECIFIED
}
func (m *TargetAttributes) GetLanguage() Language {
if m != nil {
return m.Language
}
return Language_LANGUAGE_UNSPECIFIED
}
func (m *TargetAttributes) GetTags() []string {
if m != nil {
return m.Tags
}
return nil
}
// Attributes that apply only to test actions under this target.
type TestAttributes struct {
// Indicates how big the user indicated the test action was.
Size TestSize `protobuf:"varint,1,opt,name=size,proto3,enum=google.devtools.resultstore.v2.TestSize" json:"size,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TestAttributes) Reset() { *m = TestAttributes{} }
func (m *TestAttributes) String() string { return proto.CompactTextString(m) }
func (*TestAttributes) ProtoMessage() {}
func (*TestAttributes) Descriptor() ([]byte, []int) {
return fileDescriptor_target_25848505c9398e1a, []int{2}
}
func (m *TestAttributes) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TestAttributes.Unmarshal(m, b)
}
func (m *TestAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TestAttributes.Marshal(b, m, deterministic)
}
func (dst *TestAttributes) XXX_Merge(src proto.Message) {
xxx_messageInfo_TestAttributes.Merge(dst, src)
}
func (m *TestAttributes) XXX_Size() int {
return xxx_messageInfo_TestAttributes.Size(m)
}
func (m *TestAttributes) XXX_DiscardUnknown() {
xxx_messageInfo_TestAttributes.DiscardUnknown(m)
}
var xxx_messageInfo_TestAttributes proto.InternalMessageInfo
func (m *TestAttributes) GetSize() TestSize {
if m != nil {
return m.Size
}
return TestSize_TEST_SIZE_UNSPECIFIED
}
func init() {
proto.RegisterType((*Target)(nil), "google.devtools.resultstore.v2.Target")
proto.RegisterType((*Target_Id)(nil), "google.devtools.resultstore.v2.Target.Id")
proto.RegisterType((*TargetAttributes)(nil), "google.devtools.resultstore.v2.TargetAttributes")
proto.RegisterType((*TestAttributes)(nil), "google.devtools.resultstore.v2.TestAttributes")
proto.RegisterEnum("google.devtools.resultstore.v2.TargetType", TargetType_name, TargetType_value)
proto.RegisterEnum("google.devtools.resultstore.v2.TestSize", TestSize_name, TestSize_value)
}
func init() {
proto.RegisterFile("google/devtools/resultstore/v2/target.proto", fileDescriptor_target_25848505c9398e1a)
}
var fileDescriptor_target_25848505c9398e1a = []byte{
// 634 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xed, 0x6a, 0xdb, 0x4a,
0x10, 0xbd, 0xb2, 0x65, 0x47,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