github.com/GoogleCloudPlatform/testgrid@v0.0.174/pb/test_status/test_status.pb.go (about)

     1  /*
     2  Copyright The TestGrid Authors.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  // Code generated by protoc-gen-go. DO NOT EDIT.
    18  // versions:
    19  // 	protoc-gen-go v1.28.0
    20  // 	protoc        v3.21.1
    21  // source: test_status.proto
    22  
    23  package test_status
    24  
    25  import (
    26  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    27  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    28  	reflect "reflect"
    29  	sync "sync"
    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  type TestStatus int32
    40  
    41  const (
    42  	// Proto versions of test_status.py's GathererStatus
    43  	// Note that: NO_RESULT is used to signal that there should be no change.
    44  	// This must be updated every time a new GathererStatus is added.
    45  	TestStatus_NO_RESULT         TestStatus = 0
    46  	TestStatus_PASS              TestStatus = 1
    47  	TestStatus_PASS_WITH_ERRORS  TestStatus = 2
    48  	TestStatus_PASS_WITH_SKIPS   TestStatus = 3
    49  	TestStatus_RUNNING           TestStatus = 4
    50  	TestStatus_CATEGORIZED_ABORT TestStatus = 5
    51  	TestStatus_UNKNOWN           TestStatus = 6
    52  	TestStatus_CANCEL            TestStatus = 7
    53  	TestStatus_BLOCKED           TestStatus = 8
    54  	TestStatus_TIMED_OUT         TestStatus = 9
    55  	TestStatus_CATEGORIZED_FAIL  TestStatus = 10
    56  	TestStatus_BUILD_FAIL        TestStatus = 11
    57  	TestStatus_FAIL              TestStatus = 12
    58  	TestStatus_FLAKY             TestStatus = 13
    59  	TestStatus_TOOL_FAIL         TestStatus = 14
    60  	TestStatus_BUILD_PASSED      TestStatus = 15
    61  )
    62  
    63  // Enum value maps for TestStatus.
    64  var (
    65  	TestStatus_name = map[int32]string{
    66  		0:  "NO_RESULT",
    67  		1:  "PASS",
    68  		2:  "PASS_WITH_ERRORS",
    69  		3:  "PASS_WITH_SKIPS",
    70  		4:  "RUNNING",
    71  		5:  "CATEGORIZED_ABORT",
    72  		6:  "UNKNOWN",
    73  		7:  "CANCEL",
    74  		8:  "BLOCKED",
    75  		9:  "TIMED_OUT",
    76  		10: "CATEGORIZED_FAIL",
    77  		11: "BUILD_FAIL",
    78  		12: "FAIL",
    79  		13: "FLAKY",
    80  		14: "TOOL_FAIL",
    81  		15: "BUILD_PASSED",
    82  	}
    83  	TestStatus_value = map[string]int32{
    84  		"NO_RESULT":         0,
    85  		"PASS":              1,
    86  		"PASS_WITH_ERRORS":  2,
    87  		"PASS_WITH_SKIPS":   3,
    88  		"RUNNING":           4,
    89  		"CATEGORIZED_ABORT": 5,
    90  		"UNKNOWN":           6,
    91  		"CANCEL":            7,
    92  		"BLOCKED":           8,
    93  		"TIMED_OUT":         9,
    94  		"CATEGORIZED_FAIL":  10,
    95  		"BUILD_FAIL":        11,
    96  		"FAIL":              12,
    97  		"FLAKY":             13,
    98  		"TOOL_FAIL":         14,
    99  		"BUILD_PASSED":      15,
   100  	}
   101  )
   102  
   103  func (x TestStatus) Enum() *TestStatus {
   104  	p := new(TestStatus)
   105  	*p = x
   106  	return p
   107  }
   108  
   109  func (x TestStatus) String() string {
   110  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   111  }
   112  
   113  func (TestStatus) Descriptor() protoreflect.EnumDescriptor {
   114  	return file_test_status_proto_enumTypes[0].Descriptor()
   115  }
   116  
   117  func (TestStatus) Type() protoreflect.EnumType {
   118  	return &file_test_status_proto_enumTypes[0]
   119  }
   120  
   121  func (x TestStatus) Number() protoreflect.EnumNumber {
   122  	return protoreflect.EnumNumber(x)
   123  }
   124  
   125  // Deprecated: Use TestStatus.Descriptor instead.
   126  func (TestStatus) EnumDescriptor() ([]byte, []int) {
   127  	return file_test_status_proto_rawDescGZIP(), []int{0}
   128  }
   129  
   130  var File_test_status_proto protoreflect.FileDescriptor
   131  
   132  var file_test_status_proto_rawDesc = []byte{
   133  	0x0a, 0x11, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72,
   134  	0x6f, 0x74, 0x6f, 0x12, 0x14, 0x74, 0x65, 0x73, 0x74, 0x67, 0x72, 0x69, 0x64, 0x2e, 0x74, 0x65,
   135  	0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x85, 0x02, 0x0a, 0x0a, 0x54, 0x65,
   136  	0x73, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x52,
   137  	0x45, 0x53, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x41, 0x53, 0x53, 0x10,
   138  	0x01, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x41, 0x53, 0x53, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x45,
   139  	0x52, 0x52, 0x4f, 0x52, 0x53, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x41, 0x53, 0x53, 0x5f,
   140  	0x57, 0x49, 0x54, 0x48, 0x5f, 0x53, 0x4b, 0x49, 0x50, 0x53, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07,
   141  	0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x41, 0x54,
   142  	0x45, 0x47, 0x4f, 0x52, 0x49, 0x5a, 0x45, 0x44, 0x5f, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x10, 0x05,
   143  	0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x06, 0x12, 0x0a, 0x0a,
   144  	0x06, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x10, 0x07, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4c, 0x4f,
   145  	0x43, 0x4b, 0x45, 0x44, 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x44, 0x5f,
   146  	0x4f, 0x55, 0x54, 0x10, 0x09, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x41, 0x54, 0x45, 0x47, 0x4f, 0x52,
   147  	0x49, 0x5a, 0x45, 0x44, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x0a, 0x12, 0x0e, 0x0a, 0x0a, 0x42,
   148  	0x55, 0x49, 0x4c, 0x44, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x0b, 0x12, 0x08, 0x0a, 0x04, 0x46,
   149  	0x41, 0x49, 0x4c, 0x10, 0x0c, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x4c, 0x41, 0x4b, 0x59, 0x10, 0x0d,
   150  	0x12, 0x0d, 0x0a, 0x09, 0x54, 0x4f, 0x4f, 0x4c, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x0e, 0x12,
   151  	0x10, 0x0a, 0x0c, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x45, 0x44, 0x10,
   152  	0x0f, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
   153  	0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x50, 0x6c, 0x61, 0x74, 0x66,
   154  	0x6f, 0x72, 0x6d, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x67, 0x72, 0x69, 0x64, 0x2f, 0x70, 0x62, 0x2f,
   155  	0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f,
   156  	0x74, 0x6f, 0x33,
   157  }
   158  
   159  var (
   160  	file_test_status_proto_rawDescOnce sync.Once
   161  	file_test_status_proto_rawDescData = file_test_status_proto_rawDesc
   162  )
   163  
   164  func file_test_status_proto_rawDescGZIP() []byte {
   165  	file_test_status_proto_rawDescOnce.Do(func() {
   166  		file_test_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_status_proto_rawDescData)
   167  	})
   168  	return file_test_status_proto_rawDescData
   169  }
   170  
   171  var file_test_status_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   172  var file_test_status_proto_goTypes = []interface{}{
   173  	(TestStatus)(0), // 0: testgrid.test_status.TestStatus
   174  }
   175  var file_test_status_proto_depIdxs = []int32{
   176  	0, // [0:0] is the sub-list for method output_type
   177  	0, // [0:0] is the sub-list for method input_type
   178  	0, // [0:0] is the sub-list for extension type_name
   179  	0, // [0:0] is the sub-list for extension extendee
   180  	0, // [0:0] is the sub-list for field type_name
   181  }
   182  
   183  func init() { file_test_status_proto_init() }
   184  func file_test_status_proto_init() {
   185  	if File_test_status_proto != nil {
   186  		return
   187  	}
   188  	type x struct{}
   189  	out := protoimpl.TypeBuilder{
   190  		File: protoimpl.DescBuilder{
   191  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   192  			RawDescriptor: file_test_status_proto_rawDesc,
   193  			NumEnums:      1,
   194  			NumMessages:   0,
   195  			NumExtensions: 0,
   196  			NumServices:   0,
   197  		},
   198  		GoTypes:           file_test_status_proto_goTypes,
   199  		DependencyIndexes: file_test_status_proto_depIdxs,
   200  		EnumInfos:         file_test_status_proto_enumTypes,
   201  	}.Build()
   202  	File_test_status_proto = out.File
   203  	file_test_status_proto_rawDesc = nil
   204  	file_test_status_proto_goTypes = nil
   205  	file_test_status_proto_depIdxs = nil
   206  }