go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/analysis/internal/ingestion/control/proto/control.pb.go (about) 1 // Copyright 2022 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/analysis/internal/ingestion/control/proto/control.proto 20 21 package controlpb 22 23 import ( 24 v1 "go.chromium.org/luci/analysis/proto/v1" 25 proto "go.chromium.org/luci/buildbucket/proto" 26 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 27 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 28 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 29 reflect "reflect" 30 sync "sync" 31 ) 32 33 const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38 ) 39 40 // BuildResult represents the information about a buildbucket build 41 // that should be passed to the result ingestion task. 42 // 43 // NextId: 15. 44 type BuildResult struct { 45 state protoimpl.MessageState 46 sizeCache protoimpl.SizeCache 47 unknownFields protoimpl.UnknownFields 48 49 // Buildbucket build ID, unique per Buildbucket instance. 50 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 51 // Buildbucket host, e.g. "cr-buildbucket.appspot.com". 52 Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` 53 // The time the build was created. 54 CreationTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` 55 // The LUCI Project to which the build belongs. 56 Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` 57 // The bucket the builder is a part of. E.g. "try". 58 Bucket string `protobuf:"bytes,13,opt,name=bucket,proto3" json:"bucket,omitempty"` 59 // The builder this build was a part of. 60 Builder string `protobuf:"bytes,5,opt,name=builder,proto3" json:"builder,omitempty"` 61 // The ending status of the build. E.g. Canceled, Success, Failure, Infra failure. 62 Status v1.BuildStatus `protobuf:"varint,6,opt,name=status,proto3,enum=luci.analysis.v1.BuildStatus" json:"status,omitempty"` 63 // The version of code (excluding any unsubmitted changelists) that was 64 // tested by the build. This is the base commit ontop of which any 65 // changelists are applied. 66 Commit *proto.GitilesCommit `protobuf:"bytes,8,opt,name=commit,proto3" json:"commit,omitempty"` 67 // Whether this buildbucket build has a ResultDB invocation. If true, 68 // the invocation is named "build-{id}". 69 HasInvocation bool `protobuf:"varint,9,opt,name=has_invocation,json=hasInvocation,proto3" json:"has_invocation,omitempty"` 70 // The ResultDB host which contains the ResultDB invocation of this 71 // build. Only populated if has_invocation is set. 72 ResultdbHost string `protobuf:"bytes,10,opt,name=resultdb_host,json=resultdbHost,proto3" json:"resultdb_host,omitempty"` 73 // Whether the ResultDB invocation of this buildbucket build is included 74 // in the ResultDB invocation of the build ancestor (if any). 75 // Only populated if has_invocation is set. If the build has no ancestor, 76 // this is set to false. 77 IsIncludedByAncestor bool `protobuf:"varint,11,opt,name=is_included_by_ancestor,json=isIncludedByAncestor,proto3" json:"is_included_by_ancestor,omitempty"` 78 // The changelists that were tested by the build. 79 Changelists []*v1.Changelist `protobuf:"bytes,12,rep,name=changelists,proto3" json:"changelists,omitempty"` 80 // The gardener rotations corresponding to this build. This corresponds to 81 // the "sheriff_rotations" field of the build input properties. 82 GardenerRotations []string `protobuf:"bytes,14,rep,name=gardener_rotations,json=gardenerRotations,proto3" json:"gardener_rotations,omitempty"` 83 } 84 85 func (x *BuildResult) Reset() { 86 *x = BuildResult{} 87 if protoimpl.UnsafeEnabled { 88 mi := &file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_msgTypes[0] 89 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 90 ms.StoreMessageInfo(mi) 91 } 92 } 93 94 func (x *BuildResult) String() string { 95 return protoimpl.X.MessageStringOf(x) 96 } 97 98 func (*BuildResult) ProtoMessage() {} 99 100 func (x *BuildResult) ProtoReflect() protoreflect.Message { 101 mi := &file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_msgTypes[0] 102 if protoimpl.UnsafeEnabled && x != nil { 103 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 104 if ms.LoadMessageInfo() == nil { 105 ms.StoreMessageInfo(mi) 106 } 107 return ms 108 } 109 return mi.MessageOf(x) 110 } 111 112 // Deprecated: Use BuildResult.ProtoReflect.Descriptor instead. 113 func (*BuildResult) Descriptor() ([]byte, []int) { 114 return file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDescGZIP(), []int{0} 115 } 116 117 func (x *BuildResult) GetId() int64 { 118 if x != nil { 119 return x.Id 120 } 121 return 0 122 } 123 124 func (x *BuildResult) GetHost() string { 125 if x != nil { 126 return x.Host 127 } 128 return "" 129 } 130 131 func (x *BuildResult) GetCreationTime() *timestamppb.Timestamp { 132 if x != nil { 133 return x.CreationTime 134 } 135 return nil 136 } 137 138 func (x *BuildResult) GetProject() string { 139 if x != nil { 140 return x.Project 141 } 142 return "" 143 } 144 145 func (x *BuildResult) GetBucket() string { 146 if x != nil { 147 return x.Bucket 148 } 149 return "" 150 } 151 152 func (x *BuildResult) GetBuilder() string { 153 if x != nil { 154 return x.Builder 155 } 156 return "" 157 } 158 159 func (x *BuildResult) GetStatus() v1.BuildStatus { 160 if x != nil { 161 return x.Status 162 } 163 return v1.BuildStatus(0) 164 } 165 166 func (x *BuildResult) GetCommit() *proto.GitilesCommit { 167 if x != nil { 168 return x.Commit 169 } 170 return nil 171 } 172 173 func (x *BuildResult) GetHasInvocation() bool { 174 if x != nil { 175 return x.HasInvocation 176 } 177 return false 178 } 179 180 func (x *BuildResult) GetResultdbHost() string { 181 if x != nil { 182 return x.ResultdbHost 183 } 184 return "" 185 } 186 187 func (x *BuildResult) GetIsIncludedByAncestor() bool { 188 if x != nil { 189 return x.IsIncludedByAncestor 190 } 191 return false 192 } 193 194 func (x *BuildResult) GetChangelists() []*v1.Changelist { 195 if x != nil { 196 return x.Changelists 197 } 198 return nil 199 } 200 201 func (x *BuildResult) GetGardenerRotations() []string { 202 if x != nil { 203 return x.GardenerRotations 204 } 205 return nil 206 } 207 208 // PresubmitResult represents the result from the presubmit pub/sub 209 // that should be passed to the result ingestion task. 210 type PresubmitResult struct { 211 state protoimpl.MessageState 212 sizeCache protoimpl.SizeCache 213 unknownFields protoimpl.UnknownFields 214 215 // The identity of the presubmit run. If the ingestion does not relate to test 216 // results obtained in a presubmit run, this field should not be set. 217 PresubmitRunId *v1.PresubmitRunId `protobuf:"bytes,1,opt,name=presubmit_run_id,json=presubmitRunId,proto3" json:"presubmit_run_id,omitempty"` 218 // The ending status of the presubmit run. E.g. Canceled, Success, Failure. 219 Status v1.PresubmitRunStatus `protobuf:"varint,9,opt,name=status,proto3,enum=luci.analysis.v1.PresubmitRunStatus" json:"status,omitempty"` 220 // The presubmit run mode. 221 // E.g. FULL_RUN, DRY_RUN, QUICK_DRY_RUN. 222 Mode v1.PresubmitRunMode `protobuf:"varint,8,opt,name=mode,proto3,enum=luci.analysis.v1.PresubmitRunMode" json:"mode,omitempty"` 223 // The owner of the presubmit run (if any). 224 // This is the owner of the CL on which CQ+1/CQ+2 was clicked 225 // (even in case of presubmit run with multiple CLs). 226 // There is scope for this field to become an email address if privacy 227 // approval is obtained, until then it is "automation" (for automation 228 // service accounts) and "user" otherwise. 229 Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` 230 // The time the presubmit was created. 231 CreationTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` 232 // Whether the build was critical to the completion of the presubmit run. 233 // True if the failure of the build would cause the presubmit run to fail. 234 Critical bool `protobuf:"varint,7,opt,name=critical,proto3" json:"critical,omitempty"` 235 } 236 237 func (x *PresubmitResult) Reset() { 238 *x = PresubmitResult{} 239 if protoimpl.UnsafeEnabled { 240 mi := &file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_msgTypes[1] 241 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 242 ms.StoreMessageInfo(mi) 243 } 244 } 245 246 func (x *PresubmitResult) String() string { 247 return protoimpl.X.MessageStringOf(x) 248 } 249 250 func (*PresubmitResult) ProtoMessage() {} 251 252 func (x *PresubmitResult) ProtoReflect() protoreflect.Message { 253 mi := &file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_msgTypes[1] 254 if protoimpl.UnsafeEnabled && x != nil { 255 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 256 if ms.LoadMessageInfo() == nil { 257 ms.StoreMessageInfo(mi) 258 } 259 return ms 260 } 261 return mi.MessageOf(x) 262 } 263 264 // Deprecated: Use PresubmitResult.ProtoReflect.Descriptor instead. 265 func (*PresubmitResult) Descriptor() ([]byte, []int) { 266 return file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDescGZIP(), []int{1} 267 } 268 269 func (x *PresubmitResult) GetPresubmitRunId() *v1.PresubmitRunId { 270 if x != nil { 271 return x.PresubmitRunId 272 } 273 return nil 274 } 275 276 func (x *PresubmitResult) GetStatus() v1.PresubmitRunStatus { 277 if x != nil { 278 return x.Status 279 } 280 return v1.PresubmitRunStatus(0) 281 } 282 283 func (x *PresubmitResult) GetMode() v1.PresubmitRunMode { 284 if x != nil { 285 return x.Mode 286 } 287 return v1.PresubmitRunMode(0) 288 } 289 290 func (x *PresubmitResult) GetOwner() string { 291 if x != nil { 292 return x.Owner 293 } 294 return "" 295 } 296 297 func (x *PresubmitResult) GetCreationTime() *timestamppb.Timestamp { 298 if x != nil { 299 return x.CreationTime 300 } 301 return nil 302 } 303 304 func (x *PresubmitResult) GetCritical() bool { 305 if x != nil { 306 return x.Critical 307 } 308 return false 309 } 310 311 // InvocationResult represents the result from the invocation finalization 312 // pub/sub that should be passed to the result ingestion task. 313 type InvocationResult struct { 314 state protoimpl.MessageState 315 sizeCache protoimpl.SizeCache 316 unknownFields protoimpl.UnknownFields 317 } 318 319 func (x *InvocationResult) Reset() { 320 *x = InvocationResult{} 321 if protoimpl.UnsafeEnabled { 322 mi := &file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_msgTypes[2] 323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 324 ms.StoreMessageInfo(mi) 325 } 326 } 327 328 func (x *InvocationResult) String() string { 329 return protoimpl.X.MessageStringOf(x) 330 } 331 332 func (*InvocationResult) ProtoMessage() {} 333 334 func (x *InvocationResult) ProtoReflect() protoreflect.Message { 335 mi := &file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_msgTypes[2] 336 if protoimpl.UnsafeEnabled && x != nil { 337 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 338 if ms.LoadMessageInfo() == nil { 339 ms.StoreMessageInfo(mi) 340 } 341 return ms 342 } 343 return mi.MessageOf(x) 344 } 345 346 // Deprecated: Use InvocationResult.ProtoReflect.Descriptor instead. 347 func (*InvocationResult) Descriptor() ([]byte, []int) { 348 return file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDescGZIP(), []int{2} 349 } 350 351 var File_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto protoreflect.FileDescriptor 352 353 var file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDesc = []byte{ 354 0x0a, 0x4c, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 355 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 356 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 357 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 358 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 359 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x69, 0x6e, 360 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 361 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 362 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 363 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x67, 0x6f, 0x2e, 0x63, 0x68, 364 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 365 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 366 0x31, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 367 0x33, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 368 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x70, 369 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 370 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 371 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 372 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 373 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x04, 0x0a, 0x0b, 0x42, 0x75, 374 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 375 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 376 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x3f, 0x0a, 377 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 378 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 379 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 380 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 381 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 382 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 383 0x65, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 384 0x12, 0x18, 0x0a, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 385 0x09, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x06, 0x73, 0x74, 386 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x6c, 0x75, 0x63, 387 0x69, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 388 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 389 0x73, 0x12, 0x35, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 390 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x2e, 391 0x76, 0x32, 0x2e, 0x47, 0x69, 0x74, 0x69, 0x6c, 0x65, 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 392 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x68, 0x61, 0x73, 0x5f, 393 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 394 0x52, 0x0d, 0x68, 0x61, 0x73, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 395 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x64, 0x62, 0x5f, 0x68, 0x6f, 0x73, 0x74, 396 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x64, 0x62, 397 0x48, 0x6f, 0x73, 0x74, 0x12, 0x35, 0x0a, 0x17, 0x69, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 398 0x64, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x18, 399 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x73, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 400 0x64, 0x42, 0x79, 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x12, 0x3e, 0x0a, 0x0b, 0x63, 401 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 402 0x32, 0x1c, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 403 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x0b, 404 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x67, 405 0x61, 0x72, 0x64, 0x65, 0x6e, 0x65, 0x72, 0x5f, 0x72, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 406 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x67, 0x61, 0x72, 0x64, 0x65, 0x6e, 0x65, 407 0x72, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd8, 0x02, 0x0a, 0x0f, 0x50, 408 0x72, 0x65, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4a, 409 0x0a, 0x10, 0x70, 0x72, 0x65, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x5f, 410 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 411 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x73, 412 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x75, 0x6e, 0x49, 0x64, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x73, 413 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x75, 0x6e, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x06, 0x73, 0x74, 414 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x6c, 0x75, 0x63, 415 0x69, 0x2e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 416 0x65, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 417 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x36, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 418 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x61, 0x6e, 419 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x73, 0x75, 0x62, 420 0x6d, 0x69, 0x74, 0x52, 0x75, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 421 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 422 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 423 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 424 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 425 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 426 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x72, 0x69, 0x74, 0x69, 427 0x63, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x72, 0x69, 0x74, 0x69, 428 0x63, 0x61, 0x6c, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 429 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, 0x12, 0x0a, 0x10, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 430 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x42, 0x4a, 0x5a, 0x48, 0x67, 0x6f, 0x2e, 431 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 432 0x69, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 433 0x6e, 0x61, 0x6c, 0x2f, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 434 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 435 0x72, 0x6f, 0x6c, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 436 } 437 438 var ( 439 file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDescOnce sync.Once 440 file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDescData = file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDesc 441 ) 442 443 func file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDescGZIP() []byte { 444 file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDescOnce.Do(func() { 445 file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDescData) 446 }) 447 return file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDescData 448 } 449 450 var file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 451 var file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_goTypes = []interface{}{ 452 (*BuildResult)(nil), // 0: luci.analysis.internal.ingestion.control.BuildResult 453 (*PresubmitResult)(nil), // 1: luci.analysis.internal.ingestion.control.PresubmitResult 454 (*InvocationResult)(nil), // 2: luci.analysis.internal.ingestion.control.InvocationResult 455 (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp 456 (v1.BuildStatus)(0), // 4: luci.analysis.v1.BuildStatus 457 (*proto.GitilesCommit)(nil), // 5: buildbucket.v2.GitilesCommit 458 (*v1.Changelist)(nil), // 6: luci.analysis.v1.Changelist 459 (*v1.PresubmitRunId)(nil), // 7: luci.analysis.v1.PresubmitRunId 460 (v1.PresubmitRunStatus)(0), // 8: luci.analysis.v1.PresubmitRunStatus 461 (v1.PresubmitRunMode)(0), // 9: luci.analysis.v1.PresubmitRunMode 462 } 463 var file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_depIdxs = []int32{ 464 3, // 0: luci.analysis.internal.ingestion.control.BuildResult.creation_time:type_name -> google.protobuf.Timestamp 465 4, // 1: luci.analysis.internal.ingestion.control.BuildResult.status:type_name -> luci.analysis.v1.BuildStatus 466 5, // 2: luci.analysis.internal.ingestion.control.BuildResult.commit:type_name -> buildbucket.v2.GitilesCommit 467 6, // 3: luci.analysis.internal.ingestion.control.BuildResult.changelists:type_name -> luci.analysis.v1.Changelist 468 7, // 4: luci.analysis.internal.ingestion.control.PresubmitResult.presubmit_run_id:type_name -> luci.analysis.v1.PresubmitRunId 469 8, // 5: luci.analysis.internal.ingestion.control.PresubmitResult.status:type_name -> luci.analysis.v1.PresubmitRunStatus 470 9, // 6: luci.analysis.internal.ingestion.control.PresubmitResult.mode:type_name -> luci.analysis.v1.PresubmitRunMode 471 3, // 7: luci.analysis.internal.ingestion.control.PresubmitResult.creation_time:type_name -> google.protobuf.Timestamp 472 8, // [8:8] is the sub-list for method output_type 473 8, // [8:8] is the sub-list for method input_type 474 8, // [8:8] is the sub-list for extension type_name 475 8, // [8:8] is the sub-list for extension extendee 476 0, // [0:8] is the sub-list for field type_name 477 } 478 479 func init() { file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_init() } 480 func file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_init() { 481 if File_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto != nil { 482 return 483 } 484 if !protoimpl.UnsafeEnabled { 485 file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 486 switch v := v.(*BuildResult); i { 487 case 0: 488 return &v.state 489 case 1: 490 return &v.sizeCache 491 case 2: 492 return &v.unknownFields 493 default: 494 return nil 495 } 496 } 497 file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 498 switch v := v.(*PresubmitResult); i { 499 case 0: 500 return &v.state 501 case 1: 502 return &v.sizeCache 503 case 2: 504 return &v.unknownFields 505 default: 506 return nil 507 } 508 } 509 file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 510 switch v := v.(*InvocationResult); i { 511 case 0: 512 return &v.state 513 case 1: 514 return &v.sizeCache 515 case 2: 516 return &v.unknownFields 517 default: 518 return nil 519 } 520 } 521 } 522 type x struct{} 523 out := protoimpl.TypeBuilder{ 524 File: protoimpl.DescBuilder{ 525 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 526 RawDescriptor: file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDesc, 527 NumEnums: 0, 528 NumMessages: 3, 529 NumExtensions: 0, 530 NumServices: 0, 531 }, 532 GoTypes: file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_goTypes, 533 DependencyIndexes: file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_depIdxs, 534 MessageInfos: file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_msgTypes, 535 }.Build() 536 File_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto = out.File 537 file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_rawDesc = nil 538 file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_goTypes = nil 539 file_go_chromium_org_luci_analysis_internal_ingestion_control_proto_control_proto_depIdxs = nil 540 }