You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.7 KiB
53 lines
1.7 KiB
6 years ago
|
// Copyright 2018 Google LLC.
|
||
|
//
|
||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
// you may not use this file except in compliance with the License.
|
||
|
// You may obtain a copy of the License at
|
||
|
//
|
||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||
|
//
|
||
|
// Unless required by applicable law or agreed to in writing, software
|
||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
// See the License for the specific language governing permissions and
|
||
|
// limitations under the License.
|
||
|
//
|
||
|
|
||
|
syntax = "proto3";
|
||
|
|
||
|
package google.devtools.resultstore.v2;
|
||
|
|
||
|
import "google/devtools/resultstore/v2/file.proto";
|
||
|
|
||
|
option go_package = "google.golang.org/genproto/googleapis/devtools/resultstore/v2;resultstore";
|
||
|
option java_multiple_files = true;
|
||
|
option java_package = "com.google.devtools.resultstore.v2";
|
||
|
|
||
|
// Represents a set of files within an Invocation. Can contain other file sets.
|
||
|
message FileSet {
|
||
|
// The resource ID components that identify the FileSet.
|
||
|
message Id {
|
||
|
// The Invocation ID.
|
||
|
string invocation_id = 1;
|
||
|
|
||
|
// The FileSet ID.
|
||
|
string file_set_id = 2;
|
||
|
}
|
||
|
|
||
|
// The format of this FileSet resource name must be:
|
||
|
// invocations/${INVOCATION_ID}/fileSets/${FILE_SET_ID}
|
||
|
string name = 1;
|
||
|
|
||
|
// The resource ID components that identify the file set. They must match the
|
||
|
// resource name after proper encoding.
|
||
|
Id id = 2;
|
||
|
|
||
|
// List of names of other file sets that are referenced from this one.
|
||
|
// Each name must point to a file set under the same invocation. The name
|
||
|
// format must be: invocations/${INVOCATION_ID}/fileSets/${FILE_SET_ID}
|
||
|
repeated string file_sets = 3;
|
||
|
|
||
|
// Files that are contained within this file set.
|
||
|
repeated File files = 4;
|
||
|
}
|