Debian Codegraph @

third_party/googleapis/google/genomics/v1/operations.proto

raw
1 // Copyright 2016 Google Inc.
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 google.genomics.v1;
18
19 import "google/api/annotations.proto";
20 import "google/protobuf/any.proto";
21 import "google/protobuf/timestamp.proto";
22
23 option cc_enable_arenas = true;
24 option go_package = "google.golang.org/genproto/googleapis/genomics/v1;genomics";
25 option java_multiple_files = true;
26 option java_outer_classname = "OperationsProto";
27 option java_package = "com.google.genomics.v1";
28
29
30 // Metadata describing an [Operation][google.longrunning.Operation].
31 message OperationMetadata {
32 // The Google Cloud Project in which the job is scoped.
33 string project_id = 1;
34
35 // The time at which the job was submitted to the Genomics service.
36 google.protobuf.Timestamp create_time = 2;
37
38 // The time at which the job began to run.
39 google.protobuf.Timestamp start_time = 3;
40
41 // The time at which the job stopped running.
42 google.protobuf.Timestamp end_time = 4;
43
44 // The original request that started the operation. Note that this will be in
45 // current version of the API. If the operation was started with v1beta2 API
46 // and a GetOperation is performed on v1 API, a v1 request will be returned.
47 google.protobuf.Any request = 5;
48
49 // Optional event messages that were generated during the job's execution.
50 // This also contains any warnings that were generated during import
51 // or export.
52 repeated OperationEvent events = 6;
53
54 // This field is deprecated. Use `labels` instead. Optionally provided by the
55 // caller when submitting the request that creates the operation.
56 string client_id = 7;
57
58 // Runtime metadata on this Operation.
59 google.protobuf.Any runtime_metadata = 8;
60
61 // Optionally provided by the caller when submitting the request that creates
62 // the operation.
63 map<string, string> labels = 9;
64 }
65
66 // An event that occurred during an [Operation][google.longrunning.Operation].
67 message OperationEvent {
68 // Optional time of when event started.
69 google.protobuf.Timestamp start_time = 1;
70
71 // Optional time of when event finished. An event can have a start time and no
72 // finish time. If an event has a finish time, there must be a start time.
73 google.protobuf.Timestamp end_time = 2;
74
75 // Required description of event.
76 string description = 3;
77 }