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.bigtable.admin.v2; 18 19import "google/protobuf/timestamp.proto"; 20 21option csharp_namespace = "Google.Cloud.Bigtable.Admin.V2"; 22option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/v2;admin"; 23option java_multiple_files = true; 24option java_outer_classname = "CommonProto"; 25option java_package = "com.google.bigtable.admin.v2"; 26option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2"; 27option ruby_package = "Google::Cloud::Bigtable::Admin::V2"; 28 29// Storage media types for persisting Bigtable data. 30enum StorageType { 31 // The user did not specify a storage type. 32 STORAGE_TYPE_UNSPECIFIED = 0; 33 34 // Flash (SSD) storage should be used. 35 SSD = 1; 36 37 // Magnetic drive (HDD) storage should be used. 38 HDD = 2; 39} 40 41// Encapsulates progress related information for a Cloud Bigtable long 42// running operation. 43message OperationProgress { 44 // Percent completion of the operation. 45 // Values are between 0 and 100 inclusive. 46 int32 progress_percent = 1; 47 48 // Time the request was received. 49 google.protobuf.Timestamp start_time = 2; 50 51 // If set, the time at which this operation failed or was completed 52 // successfully. 53 google.protobuf.Timestamp end_time = 3; 54} 55