• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2023 Google LLC
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
15syntax = "proto3";
16
17package google.devtools.resultstore.v2;
18
19import "google/api/resource.proto";
20import "google/devtools/resultstore/v2/common.proto";
21import "google/protobuf/timestamp.proto";
22
23option go_package = "google.golang.org/genproto/googleapis/devtools/resultstore/v2;resultstore";
24option java_multiple_files = true;
25option java_outer_classname = "DownloadMetadataProto";
26option java_package = "com.google.devtools.resultstore.v2";
27
28// The download metadata for an invocation
29message DownloadMetadata {
30  option (google.api.resource) = {
31    type: "resultstore.googleapis.com/DownloadMetadata"
32    pattern: "invocations/{invocation}/downloadMetadata"
33  };
34
35  // The name of the download metadata.  Its format will be:
36  // invocations/${INVOCATION_ID}/downloadMetadata
37  string name = 1;
38
39  // Indicates the upload status of the invocation, whether it is
40  // post-processing, or immutable, etc.
41  UploadStatus upload_status = 2;
42
43  // If populated, the time when CreateInvocation is called.
44  // This does not necessarily line up with the start time of the invocation.
45  // Please use invocation.timing.start_time for that purpose.
46  google.protobuf.Timestamp create_time = 3;
47
48  // If populated, the time when FinalizeInvocation is called or when invocation
49  // is automatically finalized. This field is populated when upload_status
50  // becomes POST_PROCESSING.
51  google.protobuf.Timestamp finalize_time = 4;
52
53  // If populated, the time when all post processing is done and the invocation
54  // is marked as immutable. This field is populated when upload_status becomes
55  // IMMUTABLE.
56  google.protobuf.Timestamp immutable_time = 5;
57}
58