operation_metadata.proto 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. syntax = "proto3";
  15. package google.cloud.ml.v1beta1;
  16. import "google/api/annotations.proto";
  17. import "google/protobuf/timestamp.proto";
  18. option java_multiple_files = true;
  19. option java_outer_classname = "OperationMetadataProto";
  20. option java_package = "com.google.cloud.ml.api.v1beta1";
  21. // Copyright 2016 Google Inc. All Rights Reserved.
  22. //
  23. // Proto file for the Machine Learning Service
  24. // Describes the metadata for longrunning operations.
  25. // Represents the metadata of the longrunning.Operation.
  26. message OperationMetadata {
  27. // When the operation was submitted.
  28. google.protobuf.Timestamp create_time = 1;
  29. // When the operation processing was started.
  30. google.protobuf.Timestamp start_time = 2;
  31. // When the operation processing was completed.
  32. google.protobuf.Timestamp end_time = 3;
  33. // Whether the cancellation of this operation has been requested.
  34. bool is_cancellation_requested = 6;
  35. }