blob: 0b470b566a26df68bab83246920ef2ba037604be [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: chromiumos/config/api/test/results/v2/result.proto
package results
import (
fmt "fmt"
proto ""
_struct ""
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.ProtoPackageIsVersion3 // please upgrade the proto package
// Enum entries *may* be added to this enum in the future.
type Result_State int32
const (
// No end state specified. MUST NOT be used.
Result_STATE_UNSPECIFIED Result_State = 0
// Test request succeeded. All was well.
Result_SUCCEEDED Result_State = 1
// Test request failed. See `error` for more information.
Result_FAILED Result_State = 2
// Test did not run because the Remote Test Driver decided to skip it.
// Common reasons a test may be skipped:
// * A runtime check by the Remote Test Driver concluded that the test is
// not applicable to the targeted device(s). The Remote Test Driver SHOULD
// include detailed reasons in `errors`.
Result_SKIPPED Result_State = 3
var Result_State_name = map[int32]string{
2: "FAILED",
var Result_State_value = map[string]int32{
"FAILED": 2,
func (x Result_State) String() string {
return proto.EnumName(Result_State_name, int32(x))
func (Result_State) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_39fa352305904e34, []int{0, 0}
// Enum entries *may* be added in the future.
type Result_Error_Source int32
const (
// No Source specified. SHOULD NOT be used.
// If source is unspecified, the Test Lab Environment SHOULD assume the
// source to be the Remote Test Driver.
Result_Error_SOURCE_UNSPECIFIED Result_Error_Source = 0
// The test failed.
Result_Error_TEST Result_Error_Source = 1
// There was an error in Remote Test Driver invocation.
Result_Error_REMOTE_TEST_DRIVER Result_Error_Source = 2
// There was an error in a Test Lab Services API call.
Result_Error_TEST_LAB_SERVICES Result_Error_Source = 3
var Result_Error_Source_name = map[int32]string{
1: "TEST",
var Result_Error_Source_value = map[string]int32{
"TEST": 1,
func (x Result_Error_Source) String() string {
return proto.EnumName(Result_Error_Source_name, int32(x))
func (Result_Error_Source) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_39fa352305904e34, []int{0, 0, 0}
// Enum entries *may* be added in the future.
type Result_Error_Severity int32
const (
// No Severity set. SHOULD NOT be used.
Result_Error_SEVERITY_UNSPECIFIED Result_Error_Severity = 0
// Remote Test Server SHOULD validate that a Result contains a CRITICAL
// message iff state == FAILED.
Result_Error_CRITICAL Result_Error_Severity = 1
// MUST NOT, by itself, lead to a FAILED Result.state.
Result_Error_WARNING Result_Error_Severity = 2
var Result_Error_Severity_name = map[int32]string{
var Result_Error_Severity_value = map[string]int32{
func (x Result_Error_Severity) String() string {
return proto.EnumName(Result_Error_Severity_name, int32(x))
func (Result_Error_Severity) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_39fa352305904e34, []int{0, 0, 1}
// Result for a single invocation request.
type Result struct {
// Final state of the test execution.
// Error details MUST be available in `errors` if state != SUCCEEDED.
State Result_State `protobuf:"varint,1,opt,name=state,proto3,enum=chromiumos.config.api.test.results.v2.Result_State" json:"state,omitempty"`
// errors MUST be set if state != SUCCEEDED.
// errors may be provided even if state == SUCCEEDED. Remote Test Drivers are
// encouraged to provide multiple observed errors in Result to aid end-user
// visibility of problems encountered.
Errors []*Result_Error `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
func (m *Result) Reset() { *m = Result{} }
func (m *Result) String() string { return proto.CompactTextString(m) }
func (*Result) ProtoMessage() {}
func (*Result) Descriptor() ([]byte, []int) {
return fileDescriptor_39fa352305904e34, []int{0}
func (m *Result) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Result.Unmarshal(m, b)
func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Result.Marshal(b, m, deterministic)
func (m *Result) XXX_Merge(src proto.Message) {
xxx_messageInfo_Result.Merge(m, src)
func (m *Result) XXX_Size() int {
return xxx_messageInfo_Result.Size(m)
func (m *Result) XXX_DiscardUnknown() {
var xxx_messageInfo_Result proto.InternalMessageInfo
func (m *Result) GetState() Result_State {
if m != nil {
return m.State
func (m *Result) GetErrors() []*Result_Error {
if m != nil {
return m.Errors
return nil
type Result_Error struct {
// Provenance of the detected error.
Source Result_Error_Source `protobuf:"varint,1,opt,name=source,proto3,enum=chromiumos.config.api.test.results.v2.Result_Error_Source" json:"source,omitempty"`
// Severity of reported error.
Severity Result_Error_Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=chromiumos.config.api.test.results.v2.Result_Error_Severity" json:"severity,omitempty"`
// Machine parseable details about the error.
// Test Lab Environments and Remote Test Servers MUST NOT interpret the
// details.
// Remote Test Drivers SHOULD use uniform stable schema for `details` to
// enable robust analytics.
Details *_struct.Struct `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
func (m *Result_Error) Reset() { *m = Result_Error{} }
func (m *Result_Error) String() string { return proto.CompactTextString(m) }
func (*Result_Error) ProtoMessage() {}
func (*Result_Error) Descriptor() ([]byte, []int) {
return fileDescriptor_39fa352305904e34, []int{0, 0}
func (m *Result_Error) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Result_Error.Unmarshal(m, b)
func (m *Result_Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Result_Error.Marshal(b, m, deterministic)
func (m *Result_Error) XXX_Merge(src proto.Message) {
xxx_messageInfo_Result_Error.Merge(m, src)
func (m *Result_Error) XXX_Size() int {
return xxx_messageInfo_Result_Error.Size(m)
func (m *Result_Error) XXX_DiscardUnknown() {
var xxx_messageInfo_Result_Error proto.InternalMessageInfo
func (m *Result_Error) GetSource() Result_Error_Source {
if m != nil {
return m.Source
return Result_Error_SOURCE_UNSPECIFIED
func (m *Result_Error) GetSeverity() Result_Error_Severity {
if m != nil {
return m.Severity
func (m *Result_Error) GetDetails() *_struct.Struct {
if m != nil {
return m.Details
return nil
func init() {
proto.RegisterEnum("chromiumos.config.api.test.results.v2.Result_State", Result_State_name, Result_State_value)
proto.RegisterEnum("chromiumos.config.api.test.results.v2.Result_Error_Source", Result_Error_Source_name, Result_Error_Source_value)
proto.RegisterEnum("chromiumos.config.api.test.results.v2.Result_Error_Severity", Result_Error_Severity_name, Result_Error_Severity_value)
proto.RegisterType((*Result)(nil), "chromiumos.config.api.test.results.v2.Result")
proto.RegisterType((*Result_Error)(nil), "chromiumos.config.api.test.results.v2.Result.Error")
func init() {
proto.RegisterFile("chromiumos/config/api/test/results/v2/result.proto", fileDescriptor_39fa352305904e34)
var fileDescriptor_39fa352305904e34 = []byte{
// 438 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0x4f, 0x6f, 0xd3, 0x30,
0x18, 0xc6, 0x49, 0xb2, 0x66, 0xe5, 0x2d, 0x20, 0x63, 0xf1, 0x27, 0x9a, 0x38, 0x54, 0x95, 0x90,
0x7a, 0x72, 0x44, 0x76, 0x03, 0x24, 0x48, 0x13, 0x17, 0x59, 0x2b, 0x5d, 0x65, 0xa7, 0x85, 0x71,
0xa9, 0xba, 0x92, 0x85, 0x48, 0x1d, 0xae, 0x6c, 0xa7, 0x12, 0x77, 0xbe, 0x2f, 0x5f, 0x01, 0xc5,
0x49, 0x87, 0x34, 0x38, 0xb0, 0xde, 0xac, 0x57, 0xef, 0xef, 0xe7, 0x47, 0x7e, 0x0c, 0xd1, 0xfa,
0x9b, 0x92, 0xd7, 0x65, 0x75, 0x2d, 0x75, 0xb8, 0x96, 0xdf, 0xaf, 0xca, 0x22, 0x5c, 0x6d, 0xcb,
0xd0, 0xe4, 0xda, 0x84, 0x2a, 0xd7, 0xd5, 0xc6, 0xe8, 0x70, 0x17, 0xb5, 0x47, 0xb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