...

Source file src/google.golang.org/genproto/googleapis/devtools/resultstore/v2/target.pb.go

Documentation: google.golang.org/genproto/googleapis/devtools/resultstore/v2

     1  // Copyright 2021 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v3.12.2
    19  // source: google/devtools/resultstore/v2/target.proto
    20  
    21  package resultstore
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    30  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // These correspond to the suffix of the rule name. Eg cc_test has type TEST.
    40  type TargetType int32
    41  
    42  const (
    43  	// Unspecified by the build system.
    44  	TargetType_TARGET_TYPE_UNSPECIFIED TargetType = 0
    45  	// An application e.g. ios_application.
    46  	TargetType_APPLICATION TargetType = 1
    47  	// A binary target e.g. cc_binary.
    48  	TargetType_BINARY TargetType = 2
    49  	// A library target e.g. java_library
    50  	TargetType_LIBRARY TargetType = 3
    51  	// A package
    52  	TargetType_PACKAGE TargetType = 4
    53  	// Any test target, in bazel that means a rule with a '_test' suffix.
    54  	TargetType_TEST TargetType = 5
    55  )
    56  
    57  // Enum value maps for TargetType.
    58  var (
    59  	TargetType_name = map[int32]string{
    60  		0: "TARGET_TYPE_UNSPECIFIED",
    61  		1: "APPLICATION",
    62  		2: "BINARY",
    63  		3: "LIBRARY",
    64  		4: "PACKAGE",
    65  		5: "TEST",
    66  	}
    67  	TargetType_value = map[string]int32{
    68  		"TARGET_TYPE_UNSPECIFIED": 0,
    69  		"APPLICATION":             1,
    70  		"BINARY":                  2,
    71  		"LIBRARY":                 3,
    72  		"PACKAGE":                 4,
    73  		"TEST":                    5,
    74  	}
    75  )
    76  
    77  func (x TargetType) Enum() *TargetType {
    78  	p := new(TargetType)
    79  	*p = x
    80  	return p
    81  }
    82  
    83  func (x TargetType) String() string {
    84  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    85  }
    86  
    87  func (TargetType) Descriptor() protoreflect.EnumDescriptor {
    88  	return file_google_devtools_resultstore_v2_target_proto_enumTypes[0].Descriptor()
    89  }
    90  
    91  func (TargetType) Type() protoreflect.EnumType {
    92  	return &file_google_devtools_resultstore_v2_target_proto_enumTypes[0]
    93  }
    94  
    95  func (x TargetType) Number() protoreflect.EnumNumber {
    96  	return protoreflect.EnumNumber(x)
    97  }
    98  
    99  // Deprecated: Use TargetType.Descriptor instead.
   100  func (TargetType) EnumDescriptor() ([]byte, []int) {
   101  	return file_google_devtools_resultstore_v2_target_proto_rawDescGZIP(), []int{0}
   102  }
   103  
   104  // Indicates how big the user indicated the test action was.
   105  type TestSize int32
   106  
   107  const (
   108  	// Unspecified by the user.
   109  	TestSize_TEST_SIZE_UNSPECIFIED TestSize = 0
   110  	// Unit test taking less than 1 minute.
   111  	TestSize_SMALL TestSize = 1
   112  	// Integration tests taking less than 5 minutes.
   113  	TestSize_MEDIUM TestSize = 2
   114  	// End-to-end tests taking less than 15 minutes.
   115  	TestSize_LARGE TestSize = 3
   116  	// Even bigger than LARGE.
   117  	TestSize_ENORMOUS TestSize = 4
   118  	// Something that doesn't fit into the above categories.
   119  	TestSize_OTHER_SIZE TestSize = 5
   120  )
   121  
   122  // Enum value maps for TestSize.
   123  var (
   124  	TestSize_name = map[int32]string{
   125  		0: "TEST_SIZE_UNSPECIFIED",
   126  		1: "SMALL",
   127  		2: "MEDIUM",
   128  		3: "LARGE",
   129  		4: "ENORMOUS",
   130  		5: "OTHER_SIZE",
   131  	}
   132  	TestSize_value = map[string]int32{
   133  		"TEST_SIZE_UNSPECIFIED": 0,
   134  		"SMALL":                 1,
   135  		"MEDIUM":                2,
   136  		"LARGE":                 3,
   137  		"ENORMOUS":              4,
   138  		"OTHER_SIZE":            5,
   139  	}
   140  )
   141  
   142  func (x TestSize) Enum() *TestSize {
   143  	p := new(TestSize)
   144  	*p = x
   145  	return p
   146  }
   147  
   148  func (x TestSize) String() string {
   149  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   150  }
   151  
   152  func (TestSize) Descriptor() protoreflect.EnumDescriptor {
   153  	return file_google_devtools_resultstore_v2_target_proto_enumTypes[1].Descriptor()
   154  }
   155  
   156  func (TestSize) Type() protoreflect.EnumType {
   157  	return &file_google_devtools_resultstore_v2_target_proto_enumTypes[1]
   158  }
   159  
   160  func (x TestSize) Number() protoreflect.EnumNumber {
   161  	return protoreflect.EnumNumber(x)
   162  }
   163  
   164  // Deprecated: Use TestSize.Descriptor instead.
   165  func (TestSize) EnumDescriptor() ([]byte, []int) {
   166  	return file_google_devtools_resultstore_v2_target_proto_rawDescGZIP(), []int{1}
   167  }
   168  
   169  // Each Target represents data for a given target in a given Invocation.
   170  // ConfiguredTarget and Action resources under each Target contain the bulk of
   171  // the data.
   172  type Target struct {
   173  	state         protoimpl.MessageState
   174  	sizeCache     protoimpl.SizeCache
   175  	unknownFields protoimpl.UnknownFields
   176  
   177  	// The resource name.  Its format must be:
   178  	// invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}
   179  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   180  	// The resource ID components that identify the Target. They must match the
   181  	// resource name after proper encoding.
   182  	Id *Target_Id `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
   183  	// This is the aggregate status of the target.
   184  	StatusAttributes *StatusAttributes `protobuf:"bytes,3,opt,name=status_attributes,json=statusAttributes,proto3" json:"status_attributes,omitempty"`
   185  	// When this target started and its duration.
   186  	Timing *Timing `protobuf:"bytes,4,opt,name=timing,proto3" json:"timing,omitempty"`
   187  	// Attributes that apply to all targets.
   188  	TargetAttributes *TargetAttributes `protobuf:"bytes,5,opt,name=target_attributes,json=targetAttributes,proto3" json:"target_attributes,omitempty"`
   189  	// Attributes that apply to all test actions under this target.
   190  	TestAttributes *TestAttributes `protobuf:"bytes,6,opt,name=test_attributes,json=testAttributes,proto3" json:"test_attributes,omitempty"`
   191  	// Arbitrary name-value pairs.
   192  	// This is implemented as a multi-map. Multiple properties are allowed with
   193  	// the same key. Properties will be returned in lexicographical order by key.
   194  	Properties []*Property `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"`
   195  	// A list of file references for target level files.
   196  	// The file IDs must be unique within this list. Duplicate file IDs will
   197  	// result in an error. Files will be returned in lexicographical order by ID.
   198  	// Use this field to specify outputs not related to a configuration.
   199  	Files []*File `protobuf:"bytes,8,rep,name=files,proto3" json:"files,omitempty"`
   200  	// Provides a hint to clients as to whether to display the Target to users.
   201  	// If true then clients likely want to display the Target by default.
   202  	// Once set to true, this may not be set back to false.
   203  	Visible bool `protobuf:"varint,10,opt,name=visible,proto3" json:"visible,omitempty"`
   204  }
   205  
   206  func (x *Target) Reset() {
   207  	*x = Target{}
   208  	if protoimpl.UnsafeEnabled {
   209  		mi := &file_google_devtools_resultstore_v2_target_proto_msgTypes[0]
   210  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   211  		ms.StoreMessageInfo(mi)
   212  	}
   213  }
   214  
   215  func (x *Target) String() string {
   216  	return protoimpl.X.MessageStringOf(x)
   217  }
   218  
   219  func (*Target) ProtoMessage() {}
   220  
   221  func (x *Target) ProtoReflect() protoreflect.Message {
   222  	mi := &file_google_devtools_resultstore_v2_target_proto_msgTypes[0]
   223  	if protoimpl.UnsafeEnabled && x != nil {
   224  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   225  		if ms.LoadMessageInfo() == nil {
   226  			ms.StoreMessageInfo(mi)
   227  		}
   228  		return ms
   229  	}
   230  	return mi.MessageOf(x)
   231  }
   232  
   233  // Deprecated: Use Target.ProtoReflect.Descriptor instead.
   234  func (*Target) Descriptor() ([]byte, []int) {
   235  	return file_google_devtools_resultstore_v2_target_proto_rawDescGZIP(), []int{0}
   236  }
   237  
   238  func (x *Target) GetName() string {
   239  	if x != nil {
   240  		return x.Name
   241  	}
   242  	return ""
   243  }
   244  
   245  func (x *Target) GetId() *Target_Id {
   246  	if x != nil {
   247  		return x.Id
   248  	}
   249  	return nil
   250  }
   251  
   252  func (x *Target) GetStatusAttributes() *StatusAttributes {
   253  	if x != nil {
   254  		return x.StatusAttributes
   255  	}
   256  	return nil
   257  }
   258  
   259  func (x *Target) GetTiming() *Timing {
   260  	if x != nil {
   261  		return x.Timing
   262  	}
   263  	return nil
   264  }
   265  
   266  func (x *Target) GetTargetAttributes() *TargetAttributes {
   267  	if x != nil {
   268  		return x.TargetAttributes
   269  	}
   270  	return nil
   271  }
   272  
   273  func (x *Target) GetTestAttributes() *TestAttributes {
   274  	if x != nil {
   275  		return x.TestAttributes
   276  	}
   277  	return nil
   278  }
   279  
   280  func (x *Target) GetProperties() []*Property {
   281  	if x != nil {
   282  		return x.Properties
   283  	}
   284  	return nil
   285  }
   286  
   287  func (x *Target) GetFiles() []*File {
   288  	if x != nil {
   289  		return x.Files
   290  	}
   291  	return nil
   292  }
   293  
   294  func (x *Target) GetVisible() bool {
   295  	if x != nil {
   296  		return x.Visible
   297  	}
   298  	return false
   299  }
   300  
   301  // Attributes that apply to all targets.
   302  type TargetAttributes struct {
   303  	state         protoimpl.MessageState
   304  	sizeCache     protoimpl.SizeCache
   305  	unknownFields protoimpl.UnknownFields
   306  
   307  	// If known, indicates the type of this target.  In bazel this corresponds
   308  	// to the rule-suffix.
   309  	Type TargetType `protobuf:"varint,1,opt,name=type,proto3,enum=google.devtools.resultstore.v2.TargetType" json:"type,omitempty"`
   310  	// If known, the main language of this target, e.g. java, cc, python, etc.
   311  	Language Language `protobuf:"varint,2,opt,name=language,proto3,enum=google.devtools.resultstore.v2.Language" json:"language,omitempty"`
   312  	// The tags attribute of the build rule. These should be short, descriptive
   313  	// words, and there should only be a few of them.
   314  	// This is implemented as a set. All tags will be unique. Any duplicate tags
   315  	// will be ignored. Tags will be returned in lexicographical order.
   316  	Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
   317  }
   318  
   319  func (x *TargetAttributes) Reset() {
   320  	*x = TargetAttributes{}
   321  	if protoimpl.UnsafeEnabled {
   322  		mi := &file_google_devtools_resultstore_v2_target_proto_msgTypes[1]
   323  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   324  		ms.StoreMessageInfo(mi)
   325  	}
   326  }
   327  
   328  func (x *TargetAttributes) String() string {
   329  	return protoimpl.X.MessageStringOf(x)
   330  }
   331  
   332  func (*TargetAttributes) ProtoMessage() {}
   333  
   334  func (x *TargetAttributes) ProtoReflect() protoreflect.Message {
   335  	mi := &file_google_devtools_resultstore_v2_target_proto_msgTypes[1]
   336  	if protoimpl.UnsafeEnabled && x != nil {
   337  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   338  		if ms.LoadMessageInfo() == nil {
   339  			ms.StoreMessageInfo(mi)
   340  		}
   341  		return ms
   342  	}
   343  	return mi.MessageOf(x)
   344  }
   345  
   346  // Deprecated: Use TargetAttributes.ProtoReflect.Descriptor instead.
   347  func (*TargetAttributes) Descriptor() ([]byte, []int) {
   348  	return file_google_devtools_resultstore_v2_target_proto_rawDescGZIP(), []int{1}
   349  }
   350  
   351  func (x *TargetAttributes) GetType() TargetType {
   352  	if x != nil {
   353  		return x.Type
   354  	}
   355  	return TargetType_TARGET_TYPE_UNSPECIFIED
   356  }
   357  
   358  func (x *TargetAttributes) GetLanguage() Language {
   359  	if x != nil {
   360  		return x.Language
   361  	}
   362  	return Language_LANGUAGE_UNSPECIFIED
   363  }
   364  
   365  func (x *TargetAttributes) GetTags() []string {
   366  	if x != nil {
   367  		return x.Tags
   368  	}
   369  	return nil
   370  }
   371  
   372  // Attributes that apply only to test actions under this target.
   373  type TestAttributes struct {
   374  	state         protoimpl.MessageState
   375  	sizeCache     protoimpl.SizeCache
   376  	unknownFields protoimpl.UnknownFields
   377  
   378  	// Indicates how big the user indicated the test action was.
   379  	Size TestSize `protobuf:"varint,1,opt,name=size,proto3,enum=google.devtools.resultstore.v2.TestSize" json:"size,omitempty"`
   380  }
   381  
   382  func (x *TestAttributes) Reset() {
   383  	*x = TestAttributes{}
   384  	if protoimpl.UnsafeEnabled {
   385  		mi := &file_google_devtools_resultstore_v2_target_proto_msgTypes[2]
   386  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   387  		ms.StoreMessageInfo(mi)
   388  	}
   389  }
   390  
   391  func (x *TestAttributes) String() string {
   392  	return protoimpl.X.MessageStringOf(x)
   393  }
   394  
   395  func (*TestAttributes) ProtoMessage() {}
   396  
   397  func (x *TestAttributes) ProtoReflect() protoreflect.Message {
   398  	mi := &file_google_devtools_resultstore_v2_target_proto_msgTypes[2]
   399  	if protoimpl.UnsafeEnabled && x != nil {
   400  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   401  		if ms.LoadMessageInfo() == nil {
   402  			ms.StoreMessageInfo(mi)
   403  		}
   404  		return ms
   405  	}
   406  	return mi.MessageOf(x)
   407  }
   408  
   409  // Deprecated: Use TestAttributes.ProtoReflect.Descriptor instead.
   410  func (*TestAttributes) Descriptor() ([]byte, []int) {
   411  	return file_google_devtools_resultstore_v2_target_proto_rawDescGZIP(), []int{2}
   412  }
   413  
   414  func (x *TestAttributes) GetSize() TestSize {
   415  	if x != nil {
   416  		return x.Size
   417  	}
   418  	return TestSize_TEST_SIZE_UNSPECIFIED
   419  }
   420  
   421  // The resource ID components that identify the Target.
   422  type Target_Id struct {
   423  	state         protoimpl.MessageState
   424  	sizeCache     protoimpl.SizeCache
   425  	unknownFields protoimpl.UnknownFields
   426  
   427  	// The Invocation ID.
   428  	InvocationId string `protobuf:"bytes,1,opt,name=invocation_id,json=invocationId,proto3" json:"invocation_id,omitempty"`
   429  	// The Target ID.
   430  	TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
   431  }
   432  
   433  func (x *Target_Id) Reset() {
   434  	*x = Target_Id{}
   435  	if protoimpl.UnsafeEnabled {
   436  		mi := &file_google_devtools_resultstore_v2_target_proto_msgTypes[3]
   437  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   438  		ms.StoreMessageInfo(mi)
   439  	}
   440  }
   441  
   442  func (x *Target_Id) String() string {
   443  	return protoimpl.X.MessageStringOf(x)
   444  }
   445  
   446  func (*Target_Id) ProtoMessage() {}
   447  
   448  func (x *Target_Id) ProtoReflect() protoreflect.Message {
   449  	mi := &file_google_devtools_resultstore_v2_target_proto_msgTypes[3]
   450  	if protoimpl.UnsafeEnabled && x != nil {
   451  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   452  		if ms.LoadMessageInfo() == nil {
   453  			ms.StoreMessageInfo(mi)
   454  		}
   455  		return ms
   456  	}
   457  	return mi.MessageOf(x)
   458  }
   459  
   460  // Deprecated: Use Target_Id.ProtoReflect.Descriptor instead.
   461  func (*Target_Id) Descriptor() ([]byte, []int) {
   462  	return file_google_devtools_resultstore_v2_target_proto_rawDescGZIP(), []int{0, 0}
   463  }
   464  
   465  func (x *Target_Id) GetInvocationId() string {
   466  	if x != nil {
   467  		return x.InvocationId
   468  	}
   469  	return ""
   470  }
   471  
   472  func (x *Target_Id) GetTargetId() string {
   473  	if x != nil {
   474  		return x.TargetId
   475  	}
   476  	return ""
   477  }
   478  
   479  var File_google_devtools_resultstore_v2_target_proto protoreflect.FileDescriptor
   480  
   481  var file_google_devtools_resultstore_v2_target_proto_rawDesc = []byte{
   482  	0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
   483  	0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32,
   484  	0x2f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67,
   485  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72,
   486  	0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x1a, 0x19, 0x67,
   487  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
   488  	0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   489  	0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
   490  	0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
   491  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65,
   492  	0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f,
   493  	0x72, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   494  	0x22, 0xe9, 0x05, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e,
   495  	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
   496  	0x39, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f,
   497  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65,
   498  	0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x61, 0x72,
   499  	0x67, 0x65, 0x74, 0x2e, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x5d, 0x0a, 0x11, 0x73, 0x74,
   500  	0x61, 0x74, 0x75, 0x73, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18,
   501  	0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
   502  	0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74,
   503  	0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x74, 0x74,
   504  	0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x10, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41,
   505  	0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x06, 0x74, 0x69, 0x6d,
   506  	0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   507  	0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75,
   508  	0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x69, 0x6d, 0x69, 0x6e,
   509  	0x67, 0x52, 0x06, 0x74, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x5d, 0x0a, 0x11, 0x74, 0x61, 0x72,
   510  	0x67, 0x65, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x05,
   511  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65,
   512  	0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f,
   513  	0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72,
   514  	0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x74,
   515  	0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x57, 0x0a, 0x0f, 0x74, 0x65, 0x73, 0x74,
   516  	0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
   517  	0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f,
   518  	0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e,
   519  	0x76, 0x32, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
   520  	0x73, 0x52, 0x0e, 0x74, 0x65, 0x73, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
   521  	0x73, 0x12, 0x48, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18,
   522  	0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64,
   523  	0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74,
   524  	0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52,
   525  	0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x3a, 0x0a, 0x05, 0x66,
   526  	0x69, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f,
   527  	0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73,
   528  	0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x69, 0x6c, 0x65,
   529  	0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x69, 0x73, 0x69, 0x62,
   530  	0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c,
   531  	0x65, 0x1a, 0x46, 0x0a, 0x02, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x76, 0x6f, 0x63,
   532  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
   533  	0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09,
   534  	0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   535  	0x08, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x49, 0x64, 0x3a, 0x51, 0xea, 0x41, 0x4e, 0x0a, 0x21,
   536  	0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   537  	0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x72, 0x67, 0x65,
   538  	0x74, 0x12, 0x29, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b,
   539  	0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x74, 0x61, 0x72, 0x67,
   540  	0x65, 0x74, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x7d, 0x22, 0xac, 0x01, 0x0a,
   541  	0x10, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
   542  	0x73, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
   543  	0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c,
   544  	0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32,
   545  	0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70,
   546  	0x65, 0x12, 0x44, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20,
   547  	0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76,
   548  	0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72,
   549  	0x65, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x08, 0x6c,
   550  	0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18,
   551  	0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x4e, 0x0a, 0x0e, 0x54,
   552  	0x65, 0x73, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a,
   553  	0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x6f,
   554  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65,
   555  	0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x65, 0x73,
   556  	0x74, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x2a, 0x6a, 0x0a, 0x0a, 0x54,
   557  	0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x54, 0x41, 0x52,
   558  	0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
   559  	0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43,
   560  	0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52,
   561  	0x59, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x49, 0x42, 0x52, 0x41, 0x52, 0x59, 0x10, 0x03,
   562  	0x12, 0x0b, 0x0a, 0x07, 0x50, 0x41, 0x43, 0x4b, 0x41, 0x47, 0x45, 0x10, 0x04, 0x12, 0x08, 0x0a,
   563  	0x04, 0x54, 0x45, 0x53, 0x54, 0x10, 0x05, 0x2a, 0x65, 0x0a, 0x08, 0x54, 0x65, 0x73, 0x74, 0x53,
   564  	0x69, 0x7a, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x53, 0x49, 0x5a, 0x45,
   565  	0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09,
   566  	0x0a, 0x05, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x44,
   567  	0x49, 0x55, 0x4d, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x41, 0x52, 0x47, 0x45, 0x10, 0x03,
   568  	0x12, 0x0c, 0x0a, 0x08, 0x45, 0x4e, 0x4f, 0x52, 0x4d, 0x4f, 0x55, 0x53, 0x10, 0x04, 0x12, 0x0e,
   569  	0x0a, 0x0a, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x10, 0x05, 0x42, 0x7e,
   570  	0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76,
   571  	0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72,
   572  	0x65, 0x2e, 0x76, 0x32, 0x42, 0x0b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74,
   573  	0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
   574  	0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
   575  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f,
   576  	0x6f, 0x6c, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f,
   577  	0x76, 0x32, 0x3b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06,
   578  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   579  }
   580  
   581  var (
   582  	file_google_devtools_resultstore_v2_target_proto_rawDescOnce sync.Once
   583  	file_google_devtools_resultstore_v2_target_proto_rawDescData = file_google_devtools_resultstore_v2_target_proto_rawDesc
   584  )
   585  
   586  func file_google_devtools_resultstore_v2_target_proto_rawDescGZIP() []byte {
   587  	file_google_devtools_resultstore_v2_target_proto_rawDescOnce.Do(func() {
   588  		file_google_devtools_resultstore_v2_target_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_resultstore_v2_target_proto_rawDescData)
   589  	})
   590  	return file_google_devtools_resultstore_v2_target_proto_rawDescData
   591  }
   592  
   593  var file_google_devtools_resultstore_v2_target_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   594  var file_google_devtools_resultstore_v2_target_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   595  var file_google_devtools_resultstore_v2_target_proto_goTypes = []interface{}{
   596  	(TargetType)(0),          // 0: google.devtools.resultstore.v2.TargetType
   597  	(TestSize)(0),            // 1: google.devtools.resultstore.v2.TestSize
   598  	(*Target)(nil),           // 2: google.devtools.resultstore.v2.Target
   599  	(*TargetAttributes)(nil), // 3: google.devtools.resultstore.v2.TargetAttributes
   600  	(*TestAttributes)(nil),   // 4: google.devtools.resultstore.v2.TestAttributes
   601  	(*Target_Id)(nil),        // 5: google.devtools.resultstore.v2.Target.Id
   602  	(*StatusAttributes)(nil), // 6: google.devtools.resultstore.v2.StatusAttributes
   603  	(*Timing)(nil),           // 7: google.devtools.resultstore.v2.Timing
   604  	(*Property)(nil),         // 8: google.devtools.resultstore.v2.Property
   605  	(*File)(nil),             // 9: google.devtools.resultstore.v2.File
   606  	(Language)(0),            // 10: google.devtools.resultstore.v2.Language
   607  }
   608  var file_google_devtools_resultstore_v2_target_proto_depIdxs = []int32{
   609  	5,  // 0: google.devtools.resultstore.v2.Target.id:type_name -> google.devtools.resultstore.v2.Target.Id
   610  	6,  // 1: google.devtools.resultstore.v2.Target.status_attributes:type_name -> google.devtools.resultstore.v2.StatusAttributes
   611  	7,  // 2: google.devtools.resultstore.v2.Target.timing:type_name -> google.devtools.resultstore.v2.Timing
   612  	3,  // 3: google.devtools.resultstore.v2.Target.target_attributes:type_name -> google.devtools.resultstore.v2.TargetAttributes
   613  	4,  // 4: google.devtools.resultstore.v2.Target.test_attributes:type_name -> google.devtools.resultstore.v2.TestAttributes
   614  	8,  // 5: google.devtools.resultstore.v2.Target.properties:type_name -> google.devtools.resultstore.v2.Property
   615  	9,  // 6: google.devtools.resultstore.v2.Target.files:type_name -> google.devtools.resultstore.v2.File
   616  	0,  // 7: google.devtools.resultstore.v2.TargetAttributes.type:type_name -> google.devtools.resultstore.v2.TargetType
   617  	10, // 8: google.devtools.resultstore.v2.TargetAttributes.language:type_name -> google.devtools.resultstore.v2.Language
   618  	1,  // 9: google.devtools.resultstore.v2.TestAttributes.size:type_name -> google.devtools.resultstore.v2.TestSize
   619  	10, // [10:10] is the sub-list for method output_type
   620  	10, // [10:10] is the sub-list for method input_type
   621  	10, // [10:10] is the sub-list for extension type_name
   622  	10, // [10:10] is the sub-list for extension extendee
   623  	0,  // [0:10] is the sub-list for field type_name
   624  }
   625  
   626  func init() { file_google_devtools_resultstore_v2_target_proto_init() }
   627  func file_google_devtools_resultstore_v2_target_proto_init() {
   628  	if File_google_devtools_resultstore_v2_target_proto != nil {
   629  		return
   630  	}
   631  	file_google_devtools_resultstore_v2_common_proto_init()
   632  	file_google_devtools_resultstore_v2_file_proto_init()
   633  	if !protoimpl.UnsafeEnabled {
   634  		file_google_devtools_resultstore_v2_target_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   635  			switch v := v.(*Target); i {
   636  			case 0:
   637  				return &v.state
   638  			case 1:
   639  				return &v.sizeCache
   640  			case 2:
   641  				return &v.unknownFields
   642  			default:
   643  				return nil
   644  			}
   645  		}
   646  		file_google_devtools_resultstore_v2_target_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   647  			switch v := v.(*TargetAttributes); i {
   648  			case 0:
   649  				return &v.state
   650  			case 1:
   651  				return &v.sizeCache
   652  			case 2:
   653  				return &v.unknownFields
   654  			default:
   655  				return nil
   656  			}
   657  		}
   658  		file_google_devtools_resultstore_v2_target_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   659  			switch v := v.(*TestAttributes); i {
   660  			case 0:
   661  				return &v.state
   662  			case 1:
   663  				return &v.sizeCache
   664  			case 2:
   665  				return &v.unknownFields
   666  			default:
   667  				return nil
   668  			}
   669  		}
   670  		file_google_devtools_resultstore_v2_target_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   671  			switch v := v.(*Target_Id); i {
   672  			case 0:
   673  				return &v.state
   674  			case 1:
   675  				return &v.sizeCache
   676  			case 2:
   677  				return &v.unknownFields
   678  			default:
   679  				return nil
   680  			}
   681  		}
   682  	}
   683  	type x struct{}
   684  	out := protoimpl.TypeBuilder{
   685  		File: protoimpl.DescBuilder{
   686  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   687  			RawDescriptor: file_google_devtools_resultstore_v2_target_proto_rawDesc,
   688  			NumEnums:      2,
   689  			NumMessages:   4,
   690  			NumExtensions: 0,
   691  			NumServices:   0,
   692  		},
   693  		GoTypes:           file_google_devtools_resultstore_v2_target_proto_goTypes,
   694  		DependencyIndexes: file_google_devtools_resultstore_v2_target_proto_depIdxs,
   695  		EnumInfos:         file_google_devtools_resultstore_v2_target_proto_enumTypes,
   696  		MessageInfos:      file_google_devtools_resultstore_v2_target_proto_msgTypes,
   697  	}.Build()
   698  	File_google_devtools_resultstore_v2_target_proto = out.File
   699  	file_google_devtools_resultstore_v2_target_proto_rawDesc = nil
   700  	file_google_devtools_resultstore_v2_target_proto_goTypes = nil
   701  	file_google_devtools_resultstore_v2_target_proto_depIdxs = nil
   702  }
   703  

View as plain text