go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/bisection/proto/v1/bugs.proto (about) 1 // Copyright 2023 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 syntax = "proto3"; 16 17 package luci.bisection.v1; 18 19 option go_package = "go.chromium.org/luci/bisection/proto/v1;bisectionpb"; 20 21 // Information about a bug associated with a failure. 22 message BugInfo { 23 oneof bug { 24 MonorailBugInfo monorail_bug_info = 1; 25 BuganizerBugInfo buganizer_bug_info = 2; 26 } 27 } 28 29 message MonorailBugInfo { 30 // The project of the bug, e.g. "chromium". 31 string project = 1; 32 // Monorail bug ID. 33 int32 bug_id = 2; 34 } 35 36 message BuganizerBugInfo { 37 // Buganizer bug ID. 38 int64 bug_id = 1; 39 }