| // Copyright 2019 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/config/api/test/results/v2/result.proto |
| |
| package results |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| structpb "google.golang.org/protobuf/types/known/structpb" |
| 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) |
| ) |
| |
| // 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 |
| ) |
| |
| // Enum value maps for Result_State. |
| var ( |
| Result_State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "SUCCEEDED", |
| 2: "FAILED", |
| 3: "SKIPPED", |
| } |
| Result_State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "SUCCEEDED": 1, |
| "FAILED": 2, |
| "SKIPPED": 3, |
| } |
| ) |
| |
| func (x Result_State) Enum() *Result_State { |
| p := new(Result_State) |
| *p = x |
| return p |
| } |
| |
| func (x Result_State) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Result_State) Descriptor() protoreflect.EnumDescriptor { |
| return file_chromiumos_config_api_test_results_v2_result_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (Result_State) Type() protoreflect.EnumType { |
| return &file_chromiumos_config_api_test_results_v2_result_proto_enumTypes[0] |
| } |
| |
| func (x Result_State) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Result_State.Descriptor instead. |
| func (Result_State) EnumDescriptor() ([]byte, []int) { |
| return file_chromiumos_config_api_test_results_v2_result_proto_rawDescGZIP(), []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 |
| ) |
| |
| // Enum value maps for Result_Error_Source. |
| var ( |
| Result_Error_Source_name = map[int32]string{ |
| 0: "SOURCE_UNSPECIFIED", |
| 1: "TEST", |
| 2: "REMOTE_TEST_DRIVER", |
| 3: "TEST_LAB_SERVICES", |
| } |
| Result_Error_Source_value = map[string]int32{ |
| "SOURCE_UNSPECIFIED": 0, |
| "TEST": 1, |
| "REMOTE_TEST_DRIVER": 2, |
| "TEST_LAB_SERVICES": 3, |
| } |
| ) |
| |
| func (x Result_Error_Source) Enum() *Result_Error_Source { |
| p := new(Result_Error_Source) |
| *p = x |
| return p |
| } |
| |
| func (x Result_Error_Source) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Result_Error_Source) Descriptor() protoreflect.EnumDescriptor { |
| return file_chromiumos_config_api_test_results_v2_result_proto_enumTypes[1].Descriptor() |
| } |
| |
| func (Result_Error_Source) Type() protoreflect.EnumType { |
| return &file_chromiumos_config_api_test_results_v2_result_proto_enumTypes[1] |
| } |
| |
| func (x Result_Error_Source) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Result_Error_Source.Descriptor instead. |
| func (Result_Error_Source) EnumDescriptor() ([]byte, []int) { |
| return file_chromiumos_config_api_test_results_v2_result_proto_rawDescGZIP(), []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 |
| ) |
| |
| // Enum value maps for Result_Error_Severity. |
| var ( |
| Result_Error_Severity_name = map[int32]string{ |
| 0: "SEVERITY_UNSPECIFIED", |
| 1: "CRITICAL", |
| 2: "WARNING", |
| } |
| Result_Error_Severity_value = map[string]int32{ |
| "SEVERITY_UNSPECIFIED": 0, |
| "CRITICAL": 1, |
| "WARNING": 2, |
| } |
| ) |
| |
| func (x Result_Error_Severity) Enum() *Result_Error_Severity { |
| p := new(Result_Error_Severity) |
| *p = x |
| return p |
| } |
| |
| func (x Result_Error_Severity) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (Result_Error_Severity) Descriptor() protoreflect.EnumDescriptor { |
| return file_chromiumos_config_api_test_results_v2_result_proto_enumTypes[2].Descriptor() |
| } |
| |
| func (Result_Error_Severity) Type() protoreflect.EnumType { |
| return &file_chromiumos_config_api_test_results_v2_result_proto_enumTypes[2] |
| } |
| |
| func (x Result_Error_Severity) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use Result_Error_Severity.Descriptor instead. |
| func (Result_Error_Severity) EnumDescriptor() ([]byte, []int) { |
| return file_chromiumos_config_api_test_results_v2_result_proto_rawDescGZIP(), []int{0, 0, 1} |
| } |
| |
| // Result for a single invocation request. |
| type Result struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // 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"` |
| } |
| |
| func (x *Result) Reset() { |
| *x = Result{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromiumos_config_api_test_results_v2_result_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Result) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Result) ProtoMessage() {} |
| |
| func (x *Result) ProtoReflect() protoreflect.Message { |
| mi := &file_chromiumos_config_api_test_results_v2_result_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 Result.ProtoReflect.Descriptor instead. |
| func (*Result) Descriptor() ([]byte, []int) { |
| return file_chromiumos_config_api_test_results_v2_result_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *Result) GetState() Result_State { |
| if x != nil { |
| return x.State |
| } |
| return Result_STATE_UNSPECIFIED |
| } |
| |
| func (x *Result) GetErrors() []*Result_Error { |
| if x != nil { |
| return x.Errors |
| } |
| return nil |
| } |
| |
| type Result_Error struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // 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 *structpb.Struct `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` |
| } |
| |
| func (x *Result_Error) Reset() { |
| *x = Result_Error{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromiumos_config_api_test_results_v2_result_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *Result_Error) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Result_Error) ProtoMessage() {} |
| |
| func (x *Result_Error) ProtoReflect() protoreflect.Message { |
| mi := &file_chromiumos_config_api_test_results_v2_result_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 Result_Error.ProtoReflect.Descriptor instead. |
| func (*Result_Error) Descriptor() ([]byte, []int) { |
| return file_chromiumos_config_api_test_results_v2_result_proto_rawDescGZIP(), []int{0, 0} |
| } |
| |
| func (x *Result_Error) GetSource() Result_Error_Source { |
| if x != nil { |
| return x.Source |
| } |
| return Result_Error_SOURCE_UNSPECIFIED |
| } |
| |
| func (x *Result_Error) GetSeverity() Result_Error_Severity { |
| if x != nil { |
| return x.Severity |
| } |
| return Result_Error_SEVERITY_UNSPECIFIED |
| } |
| |
| func (x *Result_Error) GetDetails() *structpb.Struct { |
| if x != nil { |
| return x.Details |
| } |
| return nil |
| } |
| |
| var File_chromiumos_config_api_test_results_v2_result_proto protoreflect.FileDescriptor |
| |
| var file_chromiumos_config_api_test_results_v2_result_proto_rawDesc = []byte{ |
| 0x0a, 0x32, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x6e, |
| 0x66, 0x69, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x72, 0x65, 0x73, |
| 0x75, 0x6c, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x70, |
| 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, |
| 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x74, 0x65, 0x73, 0x74, |
| 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, |
| 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, |
| 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xef, 0x04, 0x0a, 0x06, 0x52, 0x65, |
| 0x73, 0x75, 0x6c, 0x74, 0x12, 0x49, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, |
| 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, |
| 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x74, 0x65, 0x73, 0x74, |
| 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x75, |
| 0x6c, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, |
| 0x4b, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 0x33, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, |
| 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x72, 0x65, 0x73, |
| 0x75, 0x6c, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, |
| 0x72, 0x72, 0x6f, 0x72, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x1a, 0x84, 0x03, 0x0a, |
| 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x52, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, |
| 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x74, |
| 0x65, 0x73, 0x74, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, |
| 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x53, 0x6f, 0x75, 0x72, |
| 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x58, 0x0a, 0x08, 0x73, 0x65, |
| 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x63, |
| 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, |
| 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x72, 0x72, 0x6f, |
| 0x72, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, |
| 0x72, 0x69, 0x74, 0x79, 0x12, 0x31, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, |
| 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x07, |
| 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x59, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, |
| 0x65, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, |
| 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x53, |
| 0x54, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x54, 0x45, |
| 0x53, 0x54, 0x5f, 0x44, 0x52, 0x49, 0x56, 0x45, 0x52, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x54, |
| 0x45, 0x53, 0x54, 0x5f, 0x4c, 0x41, 0x42, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x53, |
| 0x10, 0x03, 0x22, 0x3f, 0x0a, 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, |
| 0x0a, 0x14, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, |
| 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x49, 0x54, |
| 0x49, 0x43, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, |
| 0x47, 0x10, 0x02, 0x22, 0x46, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, |
| 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, |
| 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, |
| 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, |
| 0x0a, 0x07, 0x53, 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, 0x10, 0x03, 0x42, 0x42, 0x5a, 0x40, 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, 0x61, 0x70, 0x69, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x72, 0x65, 0x73, |
| 0x75, 0x6c, 0x74, 0x73, 0x2f, 0x76, 0x32, 0x3b, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x62, |
| 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_chromiumos_config_api_test_results_v2_result_proto_rawDescOnce sync.Once |
| file_chromiumos_config_api_test_results_v2_result_proto_rawDescData = file_chromiumos_config_api_test_results_v2_result_proto_rawDesc |
| ) |
| |
| func file_chromiumos_config_api_test_results_v2_result_proto_rawDescGZIP() []byte { |
| file_chromiumos_config_api_test_results_v2_result_proto_rawDescOnce.Do(func() { |
| file_chromiumos_config_api_test_results_v2_result_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromiumos_config_api_test_results_v2_result_proto_rawDescData) |
| }) |
| return file_chromiumos_config_api_test_results_v2_result_proto_rawDescData |
| } |
| |
| var file_chromiumos_config_api_test_results_v2_result_proto_enumTypes = make([]protoimpl.EnumInfo, 3) |
| var file_chromiumos_config_api_test_results_v2_result_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| var file_chromiumos_config_api_test_results_v2_result_proto_goTypes = []interface{}{ |
| (Result_State)(0), // 0: chromiumos.config.api.test.results.v2.Result.State |
| (Result_Error_Source)(0), // 1: chromiumos.config.api.test.results.v2.Result.Error.Source |
| (Result_Error_Severity)(0), // 2: chromiumos.config.api.test.results.v2.Result.Error.Severity |
| (*Result)(nil), // 3: chromiumos.config.api.test.results.v2.Result |
| (*Result_Error)(nil), // 4: chromiumos.config.api.test.results.v2.Result.Error |
| (*structpb.Struct)(nil), // 5: google.protobuf.Struct |
| } |
| var file_chromiumos_config_api_test_results_v2_result_proto_depIdxs = []int32{ |
| 0, // 0: chromiumos.config.api.test.results.v2.Result.state:type_name -> chromiumos.config.api.test.results.v2.Result.State |
| 4, // 1: chromiumos.config.api.test.results.v2.Result.errors:type_name -> chromiumos.config.api.test.results.v2.Result.Error |
| 1, // 2: chromiumos.config.api.test.results.v2.Result.Error.source:type_name -> chromiumos.config.api.test.results.v2.Result.Error.Source |
| 2, // 3: chromiumos.config.api.test.results.v2.Result.Error.severity:type_name -> chromiumos.config.api.test.results.v2.Result.Error.Severity |
| 5, // 4: chromiumos.config.api.test.results.v2.Result.Error.details:type_name -> google.protobuf.Struct |
| 5, // [5:5] is the sub-list for method output_type |
| 5, // [5:5] is the sub-list for method input_type |
| 5, // [5:5] is the sub-list for extension type_name |
| 5, // [5:5] is the sub-list for extension extendee |
| 0, // [0:5] is the sub-list for field type_name |
| } |
| |
| func init() { file_chromiumos_config_api_test_results_v2_result_proto_init() } |
| func file_chromiumos_config_api_test_results_v2_result_proto_init() { |
| if File_chromiumos_config_api_test_results_v2_result_proto != nil { |
| return |
| } |
| if !protoimpl.UnsafeEnabled { |
| file_chromiumos_config_api_test_results_v2_result_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Result); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromiumos_config_api_test_results_v2_result_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*Result_Error); 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_config_api_test_results_v2_result_proto_rawDesc, |
| NumEnums: 3, |
| NumMessages: 2, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_chromiumos_config_api_test_results_v2_result_proto_goTypes, |
| DependencyIndexes: file_chromiumos_config_api_test_results_v2_result_proto_depIdxs, |
| EnumInfos: file_chromiumos_config_api_test_results_v2_result_proto_enumTypes, |
| MessageInfos: file_chromiumos_config_api_test_results_v2_result_proto_msgTypes, |
| }.Build() |
| File_chromiumos_config_api_test_results_v2_result_proto = out.File |
| file_chromiumos_config_api_test_results_v2_result_proto_rawDesc = nil |
| file_chromiumos_config_api_test_results_v2_result_proto_goTypes = nil |
| file_chromiumos_config_api_test_results_v2_result_proto_depIdxs = nil |
| } |