blob: ea4534129aa6474379b9411465fa12351ad1ede0 [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// 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.11.4
// source: features.proto
package protocol
import (
protocol "chromiumos/tast/framework/protocol"
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)
)
// Features represents a set of features available for tests.
type Features struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// CheckDeps indicates whether to skip tests whose dependencies are not
// satisfied by available features.
CheckDeps bool `protobuf:"varint,5,opt,name=check_deps,json=checkDeps,proto3" json:"check_deps,omitempty"`
Dut *protocol.DUTFeatures `protobuf:"bytes,6,opt,name=dut,proto3" json:"dut,omitempty"`
Infra *InfraFeatures `protobuf:"bytes,7,opt,name=infra,proto3" json:"infra,omitempty"`
CompanionFeatures map[string]*protocol.DUTFeatures `protobuf:"bytes,8,rep,name=companionFeatures,proto3" json:"companionFeatures,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// ForceSkip provides a mapping of the tests forced to skip and the reasons.
ForceSkips map[string]*ForceSkip `protobuf:"bytes,9,rep,name=force_skips,json=forceSkips,proto3" json:"force_skips,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *Features) Reset() {
*x = Features{}
if protoimpl.UnsafeEnabled {
mi := &file_features_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Features) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Features) ProtoMessage() {}
func (x *Features) ProtoReflect() protoreflect.Message {
mi := &file_features_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 Features.ProtoReflect.Descriptor instead.
func (*Features) Descriptor() ([]byte, []int) {
return file_features_proto_rawDescGZIP(), []int{0}
}
func (x *Features) GetCheckDeps() bool {
if x != nil {
return x.CheckDeps
}
return false
}
func (x *Features) GetDut() *protocol.DUTFeatures {
if x != nil {
return x.Dut
}
return nil
}
func (x *Features) GetInfra() *InfraFeatures {
if x != nil {
return x.Infra
}
return nil
}
func (x *Features) GetCompanionFeatures() map[string]*protocol.DUTFeatures {
if x != nil {
return x.CompanionFeatures
}
return nil
}
func (x *Features) GetForceSkips() map[string]*ForceSkip {
if x != nil {
return x.ForceSkips
}
return nil
}
// InfraFeatures represents a set of features made available by testing
// infrastructure.
type InfraFeatures struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Vars map[string]string `protobuf:"bytes,1,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
MaybeMissingVars string `protobuf:"bytes,2,opt,name=maybe_missing_vars,json=maybeMissingVars,proto3" json:"maybe_missing_vars,omitempty"`
}
func (x *InfraFeatures) Reset() {
*x = InfraFeatures{}
if protoimpl.UnsafeEnabled {
mi := &file_features_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InfraFeatures) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InfraFeatures) ProtoMessage() {}
func (x *InfraFeatures) ProtoReflect() protoreflect.Message {
mi := &file_features_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 InfraFeatures.ProtoReflect.Descriptor instead.
func (*InfraFeatures) Descriptor() ([]byte, []int) {
return file_features_proto_rawDescGZIP(), []int{1}
}
func (x *InfraFeatures) GetVars() map[string]string {
if x != nil {
return x.Vars
}
return nil
}
func (x *InfraFeatures) GetMaybeMissingVars() string {
if x != nil {
return x.MaybeMissingVars
}
return ""
}
// ForceSkip provides the reason of skipping a test by force.
type ForceSkip struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
}
func (x *ForceSkip) Reset() {
*x = ForceSkip{}
if protoimpl.UnsafeEnabled {
mi := &file_features_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ForceSkip) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ForceSkip) ProtoMessage() {}
func (x *ForceSkip) ProtoReflect() protoreflect.Message {
mi := &file_features_proto_msgTypes[2]
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 ForceSkip.ProtoReflect.Descriptor instead.
func (*ForceSkip) Descriptor() ([]byte, []int) {
return file_features_proto_rawDescGZIP(), []int{2}
}
func (x *ForceSkip) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
var File_features_proto protoreflect.FileDescriptor
var file_features_proto_rawDesc = []byte{
0x0a, 0x0e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x12, 0x09, 0x74, 0x61, 0x73, 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x34, 0x63, 0x68, 0x72,
0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x74, 0x2f, 0x66, 0x72, 0x61,
0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
0x64, 0x75, 0x74, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0xdc, 0x03, 0x0a, 0x08, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x1d,
0x0a, 0x0a, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x64, 0x65, 0x70, 0x73, 0x18, 0x05, 0x20, 0x01,
0x28, 0x08, 0x52, 0x09, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x44, 0x65, 0x70, 0x73, 0x12, 0x28, 0x0a,
0x03, 0x64, 0x75, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x61, 0x73,
0x74, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44, 0x55, 0x54, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
0x65, 0x73, 0x52, 0x03, 0x64, 0x75, 0x74, 0x12, 0x2e, 0x0a, 0x05, 0x69, 0x6e, 0x66, 0x72, 0x61,
0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x61, 0x73, 0x74, 0x2e, 0x63, 0x6f,
0x72, 0x65, 0x2e, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73,
0x52, 0x05, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x12, 0x58, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x70, 0x61,
0x6e, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x61, 0x73, 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x46,
0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x6f,
0x6e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11,
0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
0x73, 0x12, 0x44, 0x0a, 0x0b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x6b, 0x69, 0x70, 0x73,
0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, 0x61, 0x73, 0x74, 0x2e, 0x63, 0x6f,
0x72, 0x65, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, 0x46, 0x6f, 0x72, 0x63,
0x65, 0x53, 0x6b, 0x69, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x66, 0x6f, 0x72,
0x63, 0x65, 0x53, 0x6b, 0x69, 0x70, 0x73, 0x1a, 0x5c, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x70, 0x61,
0x6e, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72,
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x61, 0x73, 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x44,
0x55, 0x54, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x53, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x53, 0x6b,
0x69, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x61, 0x73, 0x74,
0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x53, 0x6b, 0x69, 0x70, 0x52,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x05,
0x22, 0xae, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
0x65, 0x73, 0x12, 0x36, 0x0a, 0x04, 0x76, 0x61, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x22, 0x2e, 0x74, 0x61, 0x73, 0x74, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x49, 0x6e, 0x66,
0x72, 0x61, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, 0x56, 0x61, 0x72, 0x73, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x76, 0x61, 0x72, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x61,
0x79, 0x62, 0x65, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x72, 0x73,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x61, 0x79, 0x62, 0x65, 0x4d, 0x69, 0x73,
0x73, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x72, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x56, 0x61, 0x72, 0x73,
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, 0x22, 0x23, 0x0a, 0x09, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x53, 0x6b, 0x69, 0x70, 0x12, 0x16,
0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x23, 0x5a, 0x21, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69,
0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e,
0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
file_features_proto_rawDescOnce sync.Once
file_features_proto_rawDescData = file_features_proto_rawDesc
)
func file_features_proto_rawDescGZIP() []byte {
file_features_proto_rawDescOnce.Do(func() {
file_features_proto_rawDescData = protoimpl.X.CompressGZIP(file_features_proto_rawDescData)
})
return file_features_proto_rawDescData
}
var file_features_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_features_proto_goTypes = []interface{}{
(*Features)(nil), // 0: tast.core.Features
(*InfraFeatures)(nil), // 1: tast.core.InfraFeatures
(*ForceSkip)(nil), // 2: tast.core.ForceSkip
nil, // 3: tast.core.Features.CompanionFeaturesEntry
nil, // 4: tast.core.Features.ForceSkipsEntry
nil, // 5: tast.core.InfraFeatures.VarsEntry
(*protocol.DUTFeatures)(nil), // 6: tast.core.DUTFeatures
}
var file_features_proto_depIdxs = []int32{
6, // 0: tast.core.Features.dut:type_name -> tast.core.DUTFeatures
1, // 1: tast.core.Features.infra:type_name -> tast.core.InfraFeatures
3, // 2: tast.core.Features.companionFeatures:type_name -> tast.core.Features.CompanionFeaturesEntry
4, // 3: tast.core.Features.force_skips:type_name -> tast.core.Features.ForceSkipsEntry
5, // 4: tast.core.InfraFeatures.vars:type_name -> tast.core.InfraFeatures.VarsEntry
6, // 5: tast.core.Features.CompanionFeaturesEntry.value:type_name -> tast.core.DUTFeatures
2, // 6: tast.core.Features.ForceSkipsEntry.value:type_name -> tast.core.ForceSkip
7, // [7:7] is the sub-list for method output_type
7, // [7:7] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name
}
func init() { file_features_proto_init() }
func file_features_proto_init() {
if File_features_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_features_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Features); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_features_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*InfraFeatures); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_features_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ForceSkip); 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_features_proto_rawDesc,
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_features_proto_goTypes,
DependencyIndexes: file_features_proto_depIdxs,
MessageInfos: file_features_proto_msgTypes,
}.Build()
File_features_proto = out.File
file_features_proto_rawDesc = nil
file_features_proto_goTypes = nil
file_features_proto_depIdxs = nil
}