go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/cv/internal/run/eventpb/submission.pb.go (about) 1 // Copyright 2021 The LUCI Authors. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.31.0 18 // protoc v3.21.7 19 // source: go.chromium.org/luci/cv/internal/run/eventpb/submission.proto 20 21 package eventpb 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 27 reflect "reflect" 28 sync "sync" 29 ) 30 31 const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36 ) 37 38 type SubmissionResult int32 39 40 const ( 41 SubmissionResult_SUBMISSION_RESULT_UNSPECIFIED SubmissionResult = 0 42 // All CLs have been submitted successfully. 43 SubmissionResult_SUCCEEDED SubmissionResult = 1 44 // Encountered transient failure. 45 // 46 // RM should retry if the deadline hasn't been exceeded. 47 SubmissionResult_FAILED_TRANSIENT SubmissionResult = 2 48 // Encountered permanent failure. 49 // 50 // For example, lack of submit permission or experienced merge conflict. 51 SubmissionResult_FAILED_PERMANENT SubmissionResult = 3 52 ) 53 54 // Enum value maps for SubmissionResult. 55 var ( 56 SubmissionResult_name = map[int32]string{ 57 0: "SUBMISSION_RESULT_UNSPECIFIED", 58 1: "SUCCEEDED", 59 2: "FAILED_TRANSIENT", 60 3: "FAILED_PERMANENT", 61 } 62 SubmissionResult_value = map[string]int32{ 63 "SUBMISSION_RESULT_UNSPECIFIED": 0, 64 "SUCCEEDED": 1, 65 "FAILED_TRANSIENT": 2, 66 "FAILED_PERMANENT": 3, 67 } 68 ) 69 70 func (x SubmissionResult) Enum() *SubmissionResult { 71 p := new(SubmissionResult) 72 *p = x 73 return p 74 } 75 76 func (x SubmissionResult) String() string { 77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 78 } 79 80 func (SubmissionResult) Descriptor() protoreflect.EnumDescriptor { 81 return file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_enumTypes[0].Descriptor() 82 } 83 84 func (SubmissionResult) Type() protoreflect.EnumType { 85 return &file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_enumTypes[0] 86 } 87 88 func (x SubmissionResult) Number() protoreflect.EnumNumber { 89 return protoreflect.EnumNumber(x) 90 } 91 92 // Deprecated: Use SubmissionResult.Descriptor instead. 93 func (SubmissionResult) EnumDescriptor() ([]byte, []int) { 94 return file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDescGZIP(), []int{0} 95 } 96 97 type SubmissionCompleted struct { 98 state protoimpl.MessageState 99 sizeCache protoimpl.SizeCache 100 unknownFields protoimpl.UnknownFields 101 102 // Result of this submission. 103 Result SubmissionResult `protobuf:"varint,1,opt,name=result,proto3,enum=cv.internal.run.eventpb.SubmissionResult" json:"result,omitempty"` 104 QueueReleaseTimestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=queue_release_timestamp,json=queueReleaseTimestamp,proto3" json:"queue_release_timestamp,omitempty"` 105 // Types that are assignable to FailureReason: 106 // 107 // *SubmissionCompleted_Timeout 108 // *SubmissionCompleted_ClFailures 109 FailureReason isSubmissionCompleted_FailureReason `protobuf_oneof:"failure_reason"` 110 } 111 112 func (x *SubmissionCompleted) Reset() { 113 *x = SubmissionCompleted{} 114 if protoimpl.UnsafeEnabled { 115 mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_msgTypes[0] 116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 117 ms.StoreMessageInfo(mi) 118 } 119 } 120 121 func (x *SubmissionCompleted) String() string { 122 return protoimpl.X.MessageStringOf(x) 123 } 124 125 func (*SubmissionCompleted) ProtoMessage() {} 126 127 func (x *SubmissionCompleted) ProtoReflect() protoreflect.Message { 128 mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_msgTypes[0] 129 if protoimpl.UnsafeEnabled && x != nil { 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 if ms.LoadMessageInfo() == nil { 132 ms.StoreMessageInfo(mi) 133 } 134 return ms 135 } 136 return mi.MessageOf(x) 137 } 138 139 // Deprecated: Use SubmissionCompleted.ProtoReflect.Descriptor instead. 140 func (*SubmissionCompleted) Descriptor() ([]byte, []int) { 141 return file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDescGZIP(), []int{0} 142 } 143 144 func (x *SubmissionCompleted) GetResult() SubmissionResult { 145 if x != nil { 146 return x.Result 147 } 148 return SubmissionResult_SUBMISSION_RESULT_UNSPECIFIED 149 } 150 151 func (x *SubmissionCompleted) GetQueueReleaseTimestamp() *timestamppb.Timestamp { 152 if x != nil { 153 return x.QueueReleaseTimestamp 154 } 155 return nil 156 } 157 158 func (m *SubmissionCompleted) GetFailureReason() isSubmissionCompleted_FailureReason { 159 if m != nil { 160 return m.FailureReason 161 } 162 return nil 163 } 164 165 func (x *SubmissionCompleted) GetTimeout() bool { 166 if x, ok := x.GetFailureReason().(*SubmissionCompleted_Timeout); ok { 167 return x.Timeout 168 } 169 return false 170 } 171 172 func (x *SubmissionCompleted) GetClFailures() *SubmissionCompleted_CLSubmissionFailures { 173 if x, ok := x.GetFailureReason().(*SubmissionCompleted_ClFailures); ok { 174 return x.ClFailures 175 } 176 return nil 177 } 178 179 type isSubmissionCompleted_FailureReason interface { 180 isSubmissionCompleted_FailureReason() 181 } 182 183 type SubmissionCompleted_Timeout struct { 184 // Submission deadline is exceeded. Must be permanent failure. 185 Timeout bool `protobuf:"varint,3,opt,name=timeout,proto3,oneof"` 186 } 187 188 type SubmissionCompleted_ClFailures struct { 189 // CLs that fail to submit. Could be transient or permanent. 190 // 191 // As of June 2021, CLs are submitted serially and submitter returns 192 // immediately upon failure so `cl_failures` will have only one entry. 193 // However, submitter may report multiple CL submission failures in the 194 // future (e.g. CV supports parallel CL submission or CV submits a CL 195 // stack in one RPC). 196 ClFailures *SubmissionCompleted_CLSubmissionFailures `protobuf:"bytes,4,opt,name=cl_failures,json=clFailures,proto3,oneof"` 197 } 198 199 func (*SubmissionCompleted_Timeout) isSubmissionCompleted_FailureReason() {} 200 201 func (*SubmissionCompleted_ClFailures) isSubmissionCompleted_FailureReason() {} 202 203 type SubmissionCompleted_CLSubmissionFailure struct { 204 state protoimpl.MessageState 205 sizeCache protoimpl.SizeCache 206 unknownFields protoimpl.UnknownFields 207 208 Clid int64 `protobuf:"varint,1,opt,name=clid,proto3" json:"clid,omitempty"` // Required 209 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Required 210 } 211 212 func (x *SubmissionCompleted_CLSubmissionFailure) Reset() { 213 *x = SubmissionCompleted_CLSubmissionFailure{} 214 if protoimpl.UnsafeEnabled { 215 mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_msgTypes[1] 216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 217 ms.StoreMessageInfo(mi) 218 } 219 } 220 221 func (x *SubmissionCompleted_CLSubmissionFailure) String() string { 222 return protoimpl.X.MessageStringOf(x) 223 } 224 225 func (*SubmissionCompleted_CLSubmissionFailure) ProtoMessage() {} 226 227 func (x *SubmissionCompleted_CLSubmissionFailure) ProtoReflect() protoreflect.Message { 228 mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_msgTypes[1] 229 if protoimpl.UnsafeEnabled && x != nil { 230 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 231 if ms.LoadMessageInfo() == nil { 232 ms.StoreMessageInfo(mi) 233 } 234 return ms 235 } 236 return mi.MessageOf(x) 237 } 238 239 // Deprecated: Use SubmissionCompleted_CLSubmissionFailure.ProtoReflect.Descriptor instead. 240 func (*SubmissionCompleted_CLSubmissionFailure) Descriptor() ([]byte, []int) { 241 return file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDescGZIP(), []int{0, 0} 242 } 243 244 func (x *SubmissionCompleted_CLSubmissionFailure) GetClid() int64 { 245 if x != nil { 246 return x.Clid 247 } 248 return 0 249 } 250 251 func (x *SubmissionCompleted_CLSubmissionFailure) GetMessage() string { 252 if x != nil { 253 return x.Message 254 } 255 return "" 256 } 257 258 type SubmissionCompleted_CLSubmissionFailures struct { 259 state protoimpl.MessageState 260 sizeCache protoimpl.SizeCache 261 unknownFields protoimpl.UnknownFields 262 263 Failures []*SubmissionCompleted_CLSubmissionFailure `protobuf:"bytes,1,rep,name=failures,proto3" json:"failures,omitempty"` 264 } 265 266 func (x *SubmissionCompleted_CLSubmissionFailures) Reset() { 267 *x = SubmissionCompleted_CLSubmissionFailures{} 268 if protoimpl.UnsafeEnabled { 269 mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_msgTypes[2] 270 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 271 ms.StoreMessageInfo(mi) 272 } 273 } 274 275 func (x *SubmissionCompleted_CLSubmissionFailures) String() string { 276 return protoimpl.X.MessageStringOf(x) 277 } 278 279 func (*SubmissionCompleted_CLSubmissionFailures) ProtoMessage() {} 280 281 func (x *SubmissionCompleted_CLSubmissionFailures) ProtoReflect() protoreflect.Message { 282 mi := &file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_msgTypes[2] 283 if protoimpl.UnsafeEnabled && x != nil { 284 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 285 if ms.LoadMessageInfo() == nil { 286 ms.StoreMessageInfo(mi) 287 } 288 return ms 289 } 290 return mi.MessageOf(x) 291 } 292 293 // Deprecated: Use SubmissionCompleted_CLSubmissionFailures.ProtoReflect.Descriptor instead. 294 func (*SubmissionCompleted_CLSubmissionFailures) Descriptor() ([]byte, []int) { 295 return file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDescGZIP(), []int{0, 1} 296 } 297 298 func (x *SubmissionCompleted_CLSubmissionFailures) GetFailures() []*SubmissionCompleted_CLSubmissionFailure { 299 if x != nil { 300 return x.Failures 301 } 302 return nil 303 } 304 305 var File_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto protoreflect.FileDescriptor 306 307 var file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDesc = []byte{ 308 0x0a, 0x3d, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 309 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 310 0x61, 0x6c, 0x2f, 0x72, 0x75, 0x6e, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x2f, 0x73, 311 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 312 0x17, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x72, 0x75, 0x6e, 313 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 314 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 315 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfb, 0x03, 0x0a, 0x13, 0x53, 0x75, 316 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 317 0x64, 0x12, 0x41, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 318 0x0e, 0x32, 0x29, 0x2e, 0x63, 0x76, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 319 0x72, 0x75, 0x6e, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x6d, 320 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 321 0x73, 0x75, 0x6c, 0x74, 0x12, 0x52, 0x0a, 0x17, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x72, 0x65, 322 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 323 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 324 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 325 0x70, 0x52, 0x15, 0x71, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x54, 326 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1a, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 327 0x6f, 0x75, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x74, 0x69, 0x6d, 328 0x65, 0x6f, 0x75, 0x74, 0x12, 0x64, 0x0a, 0x0b, 0x63, 0x6c, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 329 0x72, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x63, 0x76, 0x2e, 0x69, 330 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x72, 0x75, 0x6e, 0x2e, 0x65, 0x76, 0x65, 0x6e, 331 0x74, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 332 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x2e, 0x43, 0x4c, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 333 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 334 0x63, 0x6c, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x1a, 0x43, 0x0a, 0x13, 0x43, 0x4c, 335 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 336 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6c, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 337 0x04, 0x63, 0x6c, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 338 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 339 0x74, 0x0a, 0x14, 0x43, 0x4c, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x46, 340 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x73, 0x12, 0x5c, 0x0a, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x75, 341 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x63, 0x76, 0x2e, 0x69, 342 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x72, 0x75, 0x6e, 0x2e, 0x65, 0x76, 0x65, 0x6e, 343 0x74, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 344 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x2e, 0x43, 0x4c, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x73, 345 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x08, 0x66, 0x61, 0x69, 346 0x6c, 0x75, 0x72, 0x65, 0x73, 0x42, 0x10, 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 347 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2a, 0x70, 0x0a, 0x10, 0x53, 0x75, 0x62, 0x6d, 0x69, 348 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x21, 0x0a, 0x1d, 0x53, 349 0x55, 0x42, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 350 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 351 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x14, 0x0a, 352 0x10, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x49, 0x45, 0x4e, 353 0x54, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x50, 0x45, 354 0x52, 0x4d, 0x41, 0x4e, 0x45, 0x4e, 0x54, 0x10, 0x03, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x6f, 0x2e, 355 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 356 0x69, 0x2f, 0x63, 0x76, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x72, 0x75, 357 0x6e, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x3b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x70, 358 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 359 } 360 361 var ( 362 file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDescOnce sync.Once 363 file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDescData = file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDesc 364 ) 365 366 func file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDescGZIP() []byte { 367 file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDescOnce.Do(func() { 368 file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDescData) 369 }) 370 return file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDescData 371 } 372 373 var file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 374 var file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 375 var file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_goTypes = []interface{}{ 376 (SubmissionResult)(0), // 0: cv.internal.run.eventpb.SubmissionResult 377 (*SubmissionCompleted)(nil), // 1: cv.internal.run.eventpb.SubmissionCompleted 378 (*SubmissionCompleted_CLSubmissionFailure)(nil), // 2: cv.internal.run.eventpb.SubmissionCompleted.CLSubmissionFailure 379 (*SubmissionCompleted_CLSubmissionFailures)(nil), // 3: cv.internal.run.eventpb.SubmissionCompleted.CLSubmissionFailures 380 (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp 381 } 382 var file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_depIdxs = []int32{ 383 0, // 0: cv.internal.run.eventpb.SubmissionCompleted.result:type_name -> cv.internal.run.eventpb.SubmissionResult 384 4, // 1: cv.internal.run.eventpb.SubmissionCompleted.queue_release_timestamp:type_name -> google.protobuf.Timestamp 385 3, // 2: cv.internal.run.eventpb.SubmissionCompleted.cl_failures:type_name -> cv.internal.run.eventpb.SubmissionCompleted.CLSubmissionFailures 386 2, // 3: cv.internal.run.eventpb.SubmissionCompleted.CLSubmissionFailures.failures:type_name -> cv.internal.run.eventpb.SubmissionCompleted.CLSubmissionFailure 387 4, // [4:4] is the sub-list for method output_type 388 4, // [4:4] is the sub-list for method input_type 389 4, // [4:4] is the sub-list for extension type_name 390 4, // [4:4] is the sub-list for extension extendee 391 0, // [0:4] is the sub-list for field type_name 392 } 393 394 func init() { file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_init() } 395 func file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_init() { 396 if File_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto != nil { 397 return 398 } 399 if !protoimpl.UnsafeEnabled { 400 file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 401 switch v := v.(*SubmissionCompleted); i { 402 case 0: 403 return &v.state 404 case 1: 405 return &v.sizeCache 406 case 2: 407 return &v.unknownFields 408 default: 409 return nil 410 } 411 } 412 file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 413 switch v := v.(*SubmissionCompleted_CLSubmissionFailure); i { 414 case 0: 415 return &v.state 416 case 1: 417 return &v.sizeCache 418 case 2: 419 return &v.unknownFields 420 default: 421 return nil 422 } 423 } 424 file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 425 switch v := v.(*SubmissionCompleted_CLSubmissionFailures); i { 426 case 0: 427 return &v.state 428 case 1: 429 return &v.sizeCache 430 case 2: 431 return &v.unknownFields 432 default: 433 return nil 434 } 435 } 436 } 437 file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_msgTypes[0].OneofWrappers = []interface{}{ 438 (*SubmissionCompleted_Timeout)(nil), 439 (*SubmissionCompleted_ClFailures)(nil), 440 } 441 type x struct{} 442 out := protoimpl.TypeBuilder{ 443 File: protoimpl.DescBuilder{ 444 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 445 RawDescriptor: file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDesc, 446 NumEnums: 1, 447 NumMessages: 3, 448 NumExtensions: 0, 449 NumServices: 0, 450 }, 451 GoTypes: file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_goTypes, 452 DependencyIndexes: file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_depIdxs, 453 EnumInfos: file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_enumTypes, 454 MessageInfos: file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_msgTypes, 455 }.Build() 456 File_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto = out.File 457 file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_rawDesc = nil 458 file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_goTypes = nil 459 file_go_chromium_org_luci_cv_internal_run_eventpb_submission_proto_depIdxs = nil 460 }