123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- syntax = "proto3";
- package google.firestore.admin.v1;
- import "google/firestore/admin/v1/index.proto";
- import "google/protobuf/timestamp.proto";
- option csharp_namespace = "Google.Cloud.Firestore.Admin.V1";
- option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1;admin";
- option java_multiple_files = true;
- option java_outer_classname = "OperationProto";
- option java_package = "com.google.firestore.admin.v1";
- option objc_class_prefix = "GCFS";
- option php_namespace = "Google\\Cloud\\Firestore\\Admin\\V1";
- option ruby_package = "Google::Cloud::Firestore::Admin::V1";
- message IndexOperationMetadata {
-
- google.protobuf.Timestamp start_time = 1;
-
-
- google.protobuf.Timestamp end_time = 2;
-
-
- string index = 3;
-
- OperationState state = 4;
-
- Progress progress_documents = 5;
-
- Progress progress_bytes = 6;
- }
- message FieldOperationMetadata {
-
- message IndexConfigDelta {
-
- enum ChangeType {
-
- CHANGE_TYPE_UNSPECIFIED = 0;
-
- ADD = 1;
-
- REMOVE = 2;
- }
-
- ChangeType change_type = 1;
-
- Index index = 2;
- }
-
- message TtlConfigDelta {
-
- enum ChangeType {
-
- CHANGE_TYPE_UNSPECIFIED = 0;
-
- ADD = 1;
-
- REMOVE = 2;
- }
-
- ChangeType change_type = 1;
- }
-
- google.protobuf.Timestamp start_time = 1;
-
-
- google.protobuf.Timestamp end_time = 2;
-
-
- string field = 3;
-
-
- repeated IndexConfigDelta index_config_deltas = 4;
-
- OperationState state = 5;
-
- Progress progress_documents = 6;
-
- Progress progress_bytes = 7;
-
- TtlConfigDelta ttl_config_delta = 8;
- }
- message ExportDocumentsMetadata {
-
- google.protobuf.Timestamp start_time = 1;
-
-
- google.protobuf.Timestamp end_time = 2;
-
- OperationState operation_state = 3;
-
- Progress progress_documents = 4;
-
- Progress progress_bytes = 5;
-
- repeated string collection_ids = 6;
-
- string output_uri_prefix = 7;
- }
- message ImportDocumentsMetadata {
-
- google.protobuf.Timestamp start_time = 1;
-
-
- google.protobuf.Timestamp end_time = 2;
-
- OperationState operation_state = 3;
-
- Progress progress_documents = 4;
-
- Progress progress_bytes = 5;
-
- repeated string collection_ids = 6;
-
- string input_uri_prefix = 7;
- }
- message ExportDocumentsResponse {
-
-
-
- string output_uri_prefix = 1;
- }
- enum OperationState {
-
- OPERATION_STATE_UNSPECIFIED = 0;
-
- INITIALIZING = 1;
-
- PROCESSING = 2;
-
-
- CANCELLING = 3;
-
- FINALIZING = 4;
-
- SUCCESSFUL = 5;
-
- FAILED = 6;
-
-
- CANCELLED = 7;
- }
- message Progress {
-
- int64 estimated_work = 1;
-
- int64 completed_work = 2;
- }
|