blob: db2d562d4025069a5092b246dc47efaa57376ad8 [file] [log] [blame]
// Copyright 2022 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.17.1
// source: chromiumos/test/api/metadata/publish_rdb_metadata.proto
package metadata
import (
artifact "go.chromium.org/chromiumos/config/go/test/artifact"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// NEXT TAG: 7
type PublishRdbMetadata struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Current invocation id
CurrentInvocationId string `protobuf:"bytes,1,opt,name=current_invocation_id,json=currentInvocationId,proto3" json:"current_invocation_id,omitempty"`
// Test results
TestResult *artifact.TestResult `protobuf:"bytes,2,opt,name=test_result,json=testResult,proto3" json:"test_result,omitempty"`
// Stainless url where artifacts have been uploaded
//
// Deprecated: Do not use.
StainlessUrl string `protobuf:"bytes,3,opt,name=stainless_url,json=stainlessUrl,proto3" json:"stainless_url,omitempty"`
// Testhaus url where artifacts have been uploaded
TesthausUrl string `protobuf:"bytes,4,opt,name=testhaus_url,json=testhausUrl,proto3" json:"testhaus_url,omitempty"`
// The code sources tested.
Sources *PublishRdbMetadata_Sources `protobuf:"bytes,5,opt,name=sources,proto3" json:"sources,omitempty"`
// BaseVariant will be added to the variant of each test result within an
// invocation. If there are duplicate keys, the variant value given by the
// test command always wins.
BaseVariant map[string]string `protobuf:"bytes,6,rep,name=base_variant,json=baseVariant,proto3" json:"base_variant,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *PublishRdbMetadata) Reset() {
*x = PublishRdbMetadata{}
if protoimpl.UnsafeEnabled {
mi := &file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PublishRdbMetadata) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PublishRdbMetadata) ProtoMessage() {}
func (x *PublishRdbMetadata) ProtoReflect() protoreflect.Message {
mi := &file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PublishRdbMetadata.ProtoReflect.Descriptor instead.
func (*PublishRdbMetadata) Descriptor() ([]byte, []int) {
return file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_rawDescGZIP(), []int{0}
}
func (x *PublishRdbMetadata) GetCurrentInvocationId() string {
if x != nil {
return x.CurrentInvocationId
}
return ""
}
func (x *PublishRdbMetadata) GetTestResult() *artifact.TestResult {
if x != nil {
return x.TestResult
}
return nil
}
// Deprecated: Do not use.
func (x *PublishRdbMetadata) GetStainlessUrl() string {
if x != nil {
return x.StainlessUrl
}
return ""
}
func (x *PublishRdbMetadata) GetTesthausUrl() string {
if x != nil {
return x.TesthausUrl
}
return ""
}
func (x *PublishRdbMetadata) GetSources() *PublishRdbMetadata_Sources {
if x != nil {
return x.Sources
}
return nil
}
func (x *PublishRdbMetadata) GetBaseVariant() map[string]string {
if x != nil {
return x.BaseVariant
}
return nil
}
// Sources captures information about the code sources tested by
// the invocation.
type PublishRdbMetadata_Sources struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The path to the file in Google Cloud Storage that describes the
// sources used in the Chrome OS build.
// The sources themselves should be a JSON-serialized
// luci.resultdb.v1.Sources proto.
//
// Format: "gs://<bucket>/<build>/metadata/sources.jsonpb".
GsPath string `protobuf:"bytes,1,opt,name=gs_path,json=gsPath,proto3" json:"gs_path,omitempty"`
// Indicates whether the deployment contains items other than
// a Chrome OS system image built from the above sources.
// For example, a different version of Lacros (for Lacros CI),
// or a different version of firmware.
//
// When set, it indicates the sources above are incomplete and certain
// analyses (e.g. regression or changepoint analysis) cannot be
// reliably performed based on the Chrome OS source version alone.
IsDeploymentDirty bool `protobuf:"varint,2,opt,name=is_deployment_dirty,json=isDeploymentDirty,proto3" json:"is_deployment_dirty,omitempty"`
}
func (x *PublishRdbMetadata_Sources) Reset() {
*x = PublishRdbMetadata_Sources{}
if protoimpl.UnsafeEnabled {
mi := &file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PublishRdbMetadata_Sources) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PublishRdbMetadata_Sources) ProtoMessage() {}
func (x *PublishRdbMetadata_Sources) ProtoReflect() protoreflect.Message {
mi := &file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PublishRdbMetadata_Sources.ProtoReflect.Descriptor instead.
func (*PublishRdbMetadata_Sources) Descriptor() ([]byte, []int) {
return file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_rawDescGZIP(), []int{0, 0}
}
func (x *PublishRdbMetadata_Sources) GetGsPath() string {
if x != nil {
return x.GsPath
}
return ""
}
func (x *PublishRdbMetadata_Sources) GetIsDeploymentDirty() bool {
if x != nil {
return x.IsDeploymentDirty
}
return false
}
var File_chromiumos_test_api_metadata_publish_rdb_metadata_proto protoreflect.FileDescriptor
var file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_rawDesc = []byte{
0x0a, 0x37, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73,
0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x70,
0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x72, 0x64, 0x62, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64,
0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x63, 0x68, 0x72, 0x6f, 0x6d,
0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6d,
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x2a, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75,
0x6d, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63,
0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x04, 0x0a, 0x12, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52,
0x64, 0x62, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x32, 0x0a, 0x15, 0x63, 0x75,
0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x75, 0x72, 0x72, 0x65,
0x6e, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x45,
0x0a, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73,
0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x54,
0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x52,
0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x27, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x69, 0x6e, 0x6c, 0x65,
0x73, 0x73, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01,
0x52, 0x0c, 0x73, 0x74, 0x61, 0x69, 0x6e, 0x6c, 0x65, 0x73, 0x73, 0x55, 0x72, 0x6c, 0x12, 0x21,
0x0a, 0x0c, 0x74, 0x65, 0x73, 0x74, 0x68, 0x61, 0x75, 0x73, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x68, 0x61, 0x75, 0x73, 0x55, 0x72,
0x6c, 0x12, 0x52, 0x0a, 0x07, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e,
0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x64, 0x62, 0x4d, 0x65, 0x74, 0x61,
0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x07, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x64, 0x0a, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x76, 0x61,
0x72, 0x69, 0x61, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x63, 0x68,
0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x61, 0x70,
0x69, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69,
0x73, 0x68, 0x52, 0x64, 0x62, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x42, 0x61,
0x73, 0x65, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b,
0x62, 0x61, 0x73, 0x65, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x1a, 0x52, 0x0a, 0x07, 0x53,
0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x67, 0x73, 0x5f, 0x70, 0x61, 0x74,
0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x67, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12,
0x2e, 0x0a, 0x13, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74,
0x5f, 0x64, 0x69, 0x72, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73,
0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x72, 0x74, 0x79, 0x1a,
0x3e, 0x0a, 0x10, 0x42, 0x61, 0x73, 0x65, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42,
0x38, 0x5a, 0x36, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f,
0x72, 0x67, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x61, 0x70, 0x69,
0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var (
file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_rawDescOnce sync.Once
file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_rawDescData = file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_rawDesc
)
func file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_rawDescGZIP() []byte {
file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_rawDescOnce.Do(func() {
file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_rawDescData)
})
return file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_rawDescData
}
var file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_goTypes = []interface{}{
(*PublishRdbMetadata)(nil), // 0: chromiumos.test.api.metadata.PublishRdbMetadata
(*PublishRdbMetadata_Sources)(nil), // 1: chromiumos.test.api.metadata.PublishRdbMetadata.Sources
nil, // 2: chromiumos.test.api.metadata.PublishRdbMetadata.BaseVariantEntry
(*artifact.TestResult)(nil), // 3: chromiumos.test.artifact.TestResult
}
var file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_depIdxs = []int32{
3, // 0: chromiumos.test.api.metadata.PublishRdbMetadata.test_result:type_name -> chromiumos.test.artifact.TestResult
1, // 1: chromiumos.test.api.metadata.PublishRdbMetadata.sources:type_name -> chromiumos.test.api.metadata.PublishRdbMetadata.Sources
2, // 2: chromiumos.test.api.metadata.PublishRdbMetadata.base_variant:type_name -> chromiumos.test.api.metadata.PublishRdbMetadata.BaseVariantEntry
3, // [3:3] is the sub-list for method output_type
3, // [3:3] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_init() }
func file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_init() {
if File_chromiumos_test_api_metadata_publish_rdb_metadata_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PublishRdbMetadata); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PublishRdbMetadata_Sources); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_goTypes,
DependencyIndexes: file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_depIdxs,
MessageInfos: file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_msgTypes,
}.Build()
File_chromiumos_test_api_metadata_publish_rdb_metadata_proto = out.File
file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_rawDesc = nil
file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_goTypes = nil
file_chromiumos_test_api_metadata_publish_rdb_metadata_proto_depIdxs = nil
}