1*d5c09012SAndroid Build Coastguard Worker// Copyright 2016 Google Inc. 2*d5c09012SAndroid Build Coastguard Worker// 3*d5c09012SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*d5c09012SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*d5c09012SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*d5c09012SAndroid Build Coastguard Worker// 7*d5c09012SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*d5c09012SAndroid Build Coastguard Worker// 9*d5c09012SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*d5c09012SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*d5c09012SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*d5c09012SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*d5c09012SAndroid Build Coastguard Worker// limitations under the License. 14*d5c09012SAndroid Build Coastguard Worker 15*d5c09012SAndroid Build Coastguard Workersyntax = "proto3"; 16*d5c09012SAndroid Build Coastguard Worker 17*d5c09012SAndroid Build Coastguard Workerpackage google.genomics.v1; 18*d5c09012SAndroid Build Coastguard Worker 19*d5c09012SAndroid Build Coastguard Workerimport "google/api/annotations.proto"; 20*d5c09012SAndroid Build Coastguard Workerimport "google/protobuf/any.proto"; 21*d5c09012SAndroid Build Coastguard Workerimport "google/protobuf/timestamp.proto"; 22*d5c09012SAndroid Build Coastguard Worker 23*d5c09012SAndroid Build Coastguard Workeroption cc_enable_arenas = true; 24*d5c09012SAndroid Build Coastguard Workeroption go_package = "google.golang.org/genproto/googleapis/genomics/v1;genomics"; 25*d5c09012SAndroid Build Coastguard Workeroption java_multiple_files = true; 26*d5c09012SAndroid Build Coastguard Workeroption java_outer_classname = "OperationsProto"; 27*d5c09012SAndroid Build Coastguard Workeroption java_package = "com.google.genomics.v1"; 28*d5c09012SAndroid Build Coastguard Worker 29*d5c09012SAndroid Build Coastguard Worker// Metadata describing an [Operation][google.longrunning.Operation]. 30*d5c09012SAndroid Build Coastguard Workermessage OperationMetadata { 31*d5c09012SAndroid Build Coastguard Worker // The Google Cloud Project in which the job is scoped. 32*d5c09012SAndroid Build Coastguard Worker string project_id = 1; 33*d5c09012SAndroid Build Coastguard Worker 34*d5c09012SAndroid Build Coastguard Worker // The time at which the job was submitted to the Genomics service. 35*d5c09012SAndroid Build Coastguard Worker google.protobuf.Timestamp create_time = 2; 36*d5c09012SAndroid Build Coastguard Worker 37*d5c09012SAndroid Build Coastguard Worker // The time at which the job began to run. 38*d5c09012SAndroid Build Coastguard Worker google.protobuf.Timestamp start_time = 3; 39*d5c09012SAndroid Build Coastguard Worker 40*d5c09012SAndroid Build Coastguard Worker // The time at which the job stopped running. 41*d5c09012SAndroid Build Coastguard Worker google.protobuf.Timestamp end_time = 4; 42*d5c09012SAndroid Build Coastguard Worker 43*d5c09012SAndroid Build Coastguard Worker // The original request that started the operation. Note that this will be in 44*d5c09012SAndroid Build Coastguard Worker // current version of the API. If the operation was started with v1beta2 API 45*d5c09012SAndroid Build Coastguard Worker // and a GetOperation is performed on v1 API, a v1 request will be returned. 46*d5c09012SAndroid Build Coastguard Worker google.protobuf.Any request = 5; 47*d5c09012SAndroid Build Coastguard Worker 48*d5c09012SAndroid Build Coastguard Worker // Optional event messages that were generated during the job's execution. 49*d5c09012SAndroid Build Coastguard Worker // This also contains any warnings that were generated during import 50*d5c09012SAndroid Build Coastguard Worker // or export. 51*d5c09012SAndroid Build Coastguard Worker repeated OperationEvent events = 6; 52*d5c09012SAndroid Build Coastguard Worker 53*d5c09012SAndroid Build Coastguard Worker // This field is deprecated. Use `labels` instead. Optionally provided by the 54*d5c09012SAndroid Build Coastguard Worker // caller when submitting the request that creates the operation. 55*d5c09012SAndroid Build Coastguard Worker string client_id = 7; 56*d5c09012SAndroid Build Coastguard Worker 57*d5c09012SAndroid Build Coastguard Worker // Runtime metadata on this Operation. 58*d5c09012SAndroid Build Coastguard Worker google.protobuf.Any runtime_metadata = 8; 59*d5c09012SAndroid Build Coastguard Worker 60*d5c09012SAndroid Build Coastguard Worker // Optionally provided by the caller when submitting the request that creates 61*d5c09012SAndroid Build Coastguard Worker // the operation. 62*d5c09012SAndroid Build Coastguard Worker map<string, string> labels = 9; 63*d5c09012SAndroid Build Coastguard Worker} 64*d5c09012SAndroid Build Coastguard Worker 65*d5c09012SAndroid Build Coastguard Worker// An event that occurred during an [Operation][google.longrunning.Operation]. 66*d5c09012SAndroid Build Coastguard Workermessage OperationEvent { 67*d5c09012SAndroid Build Coastguard Worker // Optional time of when event started. 68*d5c09012SAndroid Build Coastguard Worker google.protobuf.Timestamp start_time = 1; 69*d5c09012SAndroid Build Coastguard Worker 70*d5c09012SAndroid Build Coastguard Worker // Optional time of when event finished. An event can have a start time and no 71*d5c09012SAndroid Build Coastguard Worker // finish time. If an event has a finish time, there must be a start time. 72*d5c09012SAndroid Build Coastguard Worker google.protobuf.Timestamp end_time = 2; 73*d5c09012SAndroid Build Coastguard Worker 74*d5c09012SAndroid Build Coastguard Worker // Required description of event. 75*d5c09012SAndroid Build Coastguard Worker string description = 3; 76*d5c09012SAndroid Build Coastguard Worker} 77