kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/proto/bazel_artifact_selector_v2.proto (about) 1 /* 2 * Copyright 2023 The Kythe Authors. All rights reserved. 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 syntax = "proto3"; 18 19 package kythe.proto; 20 21 option java_multiple_files = true; 22 option go_package = "kythe.io/kythe/proto/bazel_artifact_selector_v2_go_proto"; 23 24 message BazelAspectArtifactSelectorStateV2 { 25 message File { 26 string local_path = 1; 27 string uri = 2; 28 } 29 // All potentially selectable files. 30 repeated File files = 1; 31 32 message FileSet { 33 // All of the files which are part of this set. 34 // The values in this list are indexes into the `files` field. 35 repeated uint64 files = 2; 36 // All of the filesets which are children of this one. 37 // The values in this list are either integral representations 38 // of the NamedSetOfFilesId (if >=0) or the negative index within 39 // the `file_set_ids` field. 40 repeated int64 file_sets = 3; 41 } 42 // Mapping between file_set_id and FileSet. 43 // Either integral representations of the NamedSetOfFilesId (if >=0) 44 // or the negative index within the `file_set_ids` field. 45 map<int64, FileSet> file_sets = 2; 46 47 // All file set ids which have been selected and removed. 48 // The values in this list are either integral representations 49 // of the NamedSetOfFilesId (if >=0) or the negative index within 50 // the `file_set_ids` field. 51 repeated int64 disposed = 3; 52 53 // Mapping between file_set_id and the target for which the 54 // file set was requested. 55 // The keys in this map are either integral representations 56 // of the NamedSetOfFilesId (if >=0) or the negative index within 57 // the `file_set_ids` field. 58 map<int64, string> pending = 4; 59 60 // Mapping between the numerical ids used elsewhere and the string 61 // value for non-integral NamedSetOfFilesId. 62 repeated string file_set_ids = 5; 63 }